![]() |
#1 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 776
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Forma
|
Editor Crashing Occasionally After Paste
Last night, I was editing some epub3 books in the Calibre (v 6.9.0) Editor and had multiple crashes. I *think* they were all just after pasting a word or two into the Search bar at the bottom. Not reproducible on demand, so I can't give any more information. I just copied a word or two, went to the Search bar, hit CTRL-V and the editor disappeared. The three reports in the Event Viewer look pretty close to each other.
This is a nine-day-old fresh installation of Windows 11 22H2 with the latest Calibre. Here's the last one error: Code:
Log Name: Application Source: Application Error Date: 12/8/2022 9:22:07 PM Event ID: 1000 Task Category: Application Crashing Events Level: Error Keywords: User: DavesWin11\Dave Computer: DavesWin11 Description: Faulting application name: calibre-parallel.exe, version: 6.9.0.0, time stamp: 0x63802411 Faulting module name: Qt6WebEngineCore.dll, version: 6.3.1.0, time stamp: 0x633237c2 Exception code: 0xc0000005 Fault offset: 0x00000000002189ae Faulting process id: 0x0x2224 Faulting application start time: 0x0x1D90B8E1229CD97 Faulting application path: C:\Program Files\Calibre2\calibre-parallel.exe Faulting module path: C:\Program Files\Calibre2\app\bin\Qt6WebEngineCore.dll Report Id: 00887643-1ce5-4004-ab21-3ca67a0182cd Faulting package full name: Faulting package-relative application ID: Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Application Error" Guid="{a0e9b465-b939-57d7-b27d-95d8e925ff57}" /> <EventID>1000</EventID> <Version>0</Version> <Level>2</Level> <Task>100</Task> <Opcode>0</Opcode> <Keywords>0x8000000000000000</Keywords> <TimeCreated SystemTime="2022-12-09T05:22:07.0656762Z" /> <EventRecordID>2399</EventRecordID> <Correlation /> <Execution ProcessID="1624" ThreadID="296" /> <Channel>Application</Channel> <Computer>DavesWin11</Computer> <Security UserID="S-1-5-21-4271303389-4217837961-1808198341-1001" /> </System> <EventData> <Data Name="AppName">calibre-parallel.exe</Data> <Data Name="AppVersion">6.9.0.0</Data> <Data Name="AppTimeStamp">63802411</Data> <Data Name="ModuleName">Qt6WebEngineCore.dll</Data> <Data Name="ModuleVersion">6.3.1.0</Data> <Data Name="ModuleTimeStamp">633237c2</Data> <Data Name="ExceptionCode">c0000005</Data> <Data Name="FaultingOffset">00000000002189ae</Data> <Data Name="ProcessId">0x2224</Data> <Data Name="ProcessCreationTime">0x1d90b8e1229cd97</Data> <Data Name="AppPath">C:\Program Files\Calibre2\calibre-parallel.exe</Data> <Data Name="ModulePath">C:\Program Files\Calibre2\app\bin\Qt6WebEngineCore.dll</Data> <Data Name="IntegratorReportId">00887643-1ce5-4004-ab21-3ca67a0182cd</Data> <Data Name="PackageFullName"> </Data> <Data Name="PackageRelativeAppId"> </Data> </EventData> </Event> CPU: AMD Ryzen 5 5600X (Vermeer, VMR-B0) 3700 MHz (37.00x100.0) @ 3593 MHz (36.00x99.8) Motherboard: GIGABYTE B550 VISION D-P BIOS: F15d, 07/20/2022 Chipset: AMD B550 (Promontory PROM19 C) Memory: 16384 MBytes @ 1597 MHz, 14-14-14-34 - 8192 MB PC25600 DDR4 SDRAM - G.Skill F4-3200C14-8GFX - 8192 MB PC25600 DDR4 SDRAM - G.Skill F4-3200C14-8GFX Graphics: AMD Radeon RX 6800 XT AMD Radeon RX 6800 XT, 16384 MB GDDR6 SDRAM Drive: KINGSTON SKC3000D2048G, 2000.4 GB, NVMe Sound: ATI/AMD Navi2x - High Definition Audio Controller Sound: AMD Family 17h/19h - HD Audio Controller Network: RealTek Semiconductor RTL8125 Gaming 2.5GbE Family Ethernet Controller Network: Intel Wi-Fi 6 AX200 160MHz OS: Microsoft Windows 11 Professional (x64) Build 22621.900 |
![]() |
![]() |
![]() |
#2 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 776
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Forma
|
I'll also try running Calibre in debug mode for a bit to see if I can catch this. Of course, my assumption is that Windows is responsible for things like cut/paste so this shouldn't be a Calibre issue at all. But, so far, it's not happening anywhere else. Then again, maybe the problem isn't happening with the paste. I'll have to pay more attention to that, as well.
I hate Windows. I especially hate Windows 11. And, most especially, I hate 22H2. Last edited by enuddleyarbl; 12-09-2022 at 10:28 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That's a crash in webengine (the preview panel). Update your GPU drivers or turn off hardware acceleration for webengine as described here: https://doc.qt.io/qt-6/qtwebengine-debugging.html
|
![]() |
![]() |
![]() |
#4 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 450
Karma: 3886916
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Pop_Os!, Kobo Forma
|
Quote:
|
|
![]() |
![]() |
![]() |
#5 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 776
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Forma
|
My AMD video drivers for my AMD Radeon RX 6800 XT are fully updated (Adrenalin version 22.11.2). So, it looks like I'll need to set the following environment variable someplace:
Code:
QTWEBENGINE_CHROMIUM_FLAGS="--disable-gpu" Variable Name: QTWEBENGINE_CHROMIUM_FLAGS Variable Value: disable-gpu No quotes, no double dash, exactly as shown, above. Is that the correct way to do this on Windows? ![]() Last edited by enuddleyarbl; 12-09-2022 at 12:13 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You need the leading dashes.
|
![]() |
![]() |
![]() |
#7 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 776
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Forma
|
I don't want to jinx myself, but it's been almost two days of editing in Calibre and Kovid's suggestion of turning off gpu hardware acceleration for QTWebEngine seems to have worked. I added the following to Windows:
![]() (note the dashes in the parameter Kovid mentioned, above) And no crashes in the editor. It also appears to have solved my problems with Calibre and various of its tools not appearing to start but taking up 10% of the CPU: https://www.mobileread.com/forums/sh...d.php?t=350519 and the viewer occasionally taking a looooong time to start: https://www.mobileread.com/forums/sh...d.php?t=348750 I'm furiously knocking on wood. So, we'll see if those things are actually fixed over time. Thanks again, Kovid. |
![]() |
![]() |
![]() |
#8 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 776
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Forma
|
Drat.
Disabling hardware acceleration didn't fix it. It just happened again on a paste (CTRL-V) of some simple material (' class="copyright"') copied with the standard CTRL-C. I'm pretty sure this was the first thing I did in this Editor session. Here's the Event Viewer information: Code:
Log Name: Application Source: Application Error Date: 12/11/2022 7:04:23 AM Event ID: 1000 Task Category: Application Crashing Events Level: Error Keywords: User: DavesWin11\Dave Computer: DavesWin11 Description: Faulting application name: calibre-parallel.exe, version: 6.9.0.0, time stamp: 0x63802411 Faulting module name: Qt6WebEngineCore.dll, version: 6.3.1.0, time stamp: 0x633237c2 Exception code: 0xc0000005 Fault offset: 0x00000000002189ae Faulting process id: 0x0x25DC Faulting application start time: 0x0x1D90D71A504AC51 Faulting application path: C:\Program Files\Calibre2\calibre-parallel.exe Faulting module path: C:\Program Files\Calibre2\app\bin\Qt6WebEngineCore.dll Report Id: 3e3d541f-931f-4b87-a740-c5205ae4ad37 Faulting package full name: Faulting package-relative application ID: Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Application Error" Guid="{a0e9b465-b939-57d7-b27d-95d8e925ff57}" /> <EventID>1000</EventID> <Version>0</Version> <Level>2</Level> <Task>100</Task> <Opcode>0</Opcode> <Keywords>0x8000000000000000</Keywords> <TimeCreated SystemTime="2022-12-11T15:04:23.9905735Z" /> <EventRecordID>2793</EventRecordID> <Correlation /> <Execution ProcessID="5684" ThreadID="5276" /> <Channel>Application</Channel> <Computer>DavesWin11</Computer> <Security UserID="S-1-5-21-4271303389-4217837961-1808198341-1001" /> </System> <EventData> <Data Name="AppName">calibre-parallel.exe</Data> <Data Name="AppVersion">6.9.0.0</Data> <Data Name="AppTimeStamp">63802411</Data> <Data Name="ModuleName">Qt6WebEngineCore.dll</Data> <Data Name="ModuleVersion">6.3.1.0</Data> <Data Name="ModuleTimeStamp">633237c2</Data> <Data Name="ExceptionCode">c0000005</Data> <Data Name="FaultingOffset">00000000002189ae</Data> <Data Name="ProcessId">0x25dc</Data> <Data Name="ProcessCreationTime">0x1d90d71a504ac51</Data> <Data Name="AppPath">C:\Program Files\Calibre2\calibre-parallel.exe</Data> <Data Name="ModulePath">C:\Program Files\Calibre2\app\bin\Qt6WebEngineCore.dll</Data> <Data Name="IntegratorReportId">3e3d541f-931f-4b87-a740-c5205ae4ad37</Data> <Data Name="PackageFullName"> </Data> <Data Name="PackageRelativeAppId"> </Data> </EventData> </Event> Code:
Log Name: Microsoft-Windows-ModernDeployment-Diagnostics-Provider/ManagementService Source: Microsoft-Windows-ModernDeployment-Diagnostics-Provider Date: 12/11/2022 7:04:24 AM Event ID: 1010 Task Category: None Level: Error Keywords: User: DavesWin11\Dave Computer: DavesWin11 Description: Autopilot.dll WIL error was reported. HRESULT: 0x80070491 File: onecoreuap\admin\moderndeployment\autopilot\dll\dllmain.cpp, line 128 Message: NULL Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Microsoft-Windows-ModernDeployment-Diagnostics-Provider" Guid="{bab3ad92-fb96-5902-450b-b8421bdec7bd}" /> <EventID>1010</EventID> <Version>0</Version> <Level>2</Level> <Task>0</Task> <Opcode>0</Opcode> <Keywords>0x1000000000000000</Keywords> <TimeCreated SystemTime="2022-12-11T15:04:24.7187665Z" /> <EventRecordID>965</EventRecordID> <Correlation /> <Execution ProcessID="2260" ThreadID="10476" /> <Channel>Microsoft-Windows-ModernDeployment-Diagnostics-Provider/ManagementService</Channel> <Computer>DavesWin11</Computer> <Security UserID="S-1-5-21-4271303389-4217837961-1808198341-1001" /> </System> <EventData> <Data Name="HRESULT">0x80070491</Data> <Data Name="File">onecoreuap\admin\moderndeployment\autopilot\dll\dllmain.cpp</Data> <Data Name="Line">128</Data> <Data Name="Message">NULL</Data> </EventData> </Event> Double-drat. If I hadn't written that disabling hardware acceleration was the solution to this and several other of my issue, I'm sure nothing bad would have happened ![]() EDIT: BTW, that CTRL-C text I added, above, is actually from my Windows copy/paste buffer. So, the copy worked fine. It's just Qt6WebEngineCore.dll got a Exception code: 0xc0000005 (access violation, I believe) on a simple paste. And that shouldn't happen. I guess I'm looking at a full system re-install in some attempt to make sure this isn't something corrupted on my system (although DISM, SFC and chkdsk all find no issues). Last edited by enuddleyarbl; 12-11-2022 at 10:25 AM. |
![]() |
![]() |
![]() |
#9 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
QtWebEngine is the component that powers the preview panel (its basically chrome wrapped up in Qt). When you paste you trigger a refresh of the preview since the content has changed. And the webengine is crashing. Sadly there's no easy way to get debug info on the crash in windows, so unless you can come up with a reliable reproducer there isnt much else I can suggest.
|
![]() |
![]() |
![]() |
#10 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 776
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Forma
|
Sorry, Kovid. It doesn't seem to be reproducible. I just went back into the very same book, copied the very same text and pasted it (many, many time) into the Find field of the Search bar (which is where I was pasting before). No problems. Ditto for pasting into the text, itself (many, many times). And ditto for just hitting F5 to refresh the screen a few hundred times.
Last edited by enuddleyarbl; 12-11-2022 at 11:03 AM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[bug, 5.34.0] Can't paste cover & TOC editor loses input | Katsunami | Calibre | 14 | 12-21-2021 09:22 PM |
Viewer and editor crashing on other than primary monitor | CarryNL | Calibre | 5 | 05-30-2020 08:06 AM |
Editor keeps crashing when trying to update TOC | edeniz | Editor | 15 | 01-16-2019 01:03 PM |
sigil 7.4 and maverick crashing crashing crashing | Carrigboy | Sigil | 103 | 09-04-2014 11:47 AM |
Can the kindle 3 be used as a text editor with copy/paste function somehow? | kinkle | Amazon Kindle | 3 | 05-19-2011 10:50 AM |