Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-25-2013, 01:57 AM   #1
toddos
Guru
toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.
 
toddos's Avatar
 
Posts: 695
Karma: 822675
Join Date: May 2010
Device: Kobo Aura, Nokia Lumia 920 (Freda)
Windows 8, Calibre 64-bit, and QtGui4.dll error

I'm running into this issue that seems to be very specific to Windows 8 and 64-bit calibre. 64-bit runs fine on my Windows 7 machines, and 32-bit runs fine on my Windows 8 machines. But when I try to run 64-bit on my Windows 8 machine, it crashes. I can force the crash immediately by attempting to convert a book, or I can just sit and wait for it to crash.

From the debug log:

Code:
calibre Debug log
calibre 0.9.32 [64bit]  isfrozen: True is64bit: True
Windows-8-6.2.9200 Windows ('64bit', 'WindowsPE')
('Windows', '8', '6.2.9200')
Python 2.7.4
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Starting up...
Started up in 61.66 seconds with 557 books
QAccessibleWidget::rect: This implementation does not support subelements! (ID 1 unknown for QWidget)
And I see this in eventvwr:

Code:
Log Name:      Application
Source:        Application Error
Date:          5/24/2013 10:46:36 PM
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      irrelevant
Description:
Faulting application name: calibre-debug.exe, version: 0.9.32.0, time stamp: 0x519ee17b
Faulting module name: QtGui4.dll, version: 4.8.3.0, time stamp: 0x50a06c97
Exception code: 0xc0000005
Fault offset: 0x00000000000a2e4f
Faulting process id: 0x2488
Faulting application start time: 0x01ce590aeed88700
Faulting application path: C:\Program Files\Calibre2\calibre-debug.exe
Faulting module path: C:\Program Files\Calibre2\DLLs\QtGui4.dll
Report Id: 7606c559-c4fe-11e2-be89-c4850895cd05
Faulting package full name: 
Faulting package-relative application ID:
Seems like an issue with the 64-bit Qt library in Windows 8?

Now obviously I can continue to just use 32-bit calibre just fine, but given that I have a 64-bit machine running a 64-bit OS with > 4GB of RAM it sure would be nice to be able to take advantage of that.

Edit: I should also point out that I tried with Windows Defender disabled. Same crash, same error. I have no other anti-virus or other apps running. This is otherwise plain stock Windows 8 (not even Pro, at the moment).

Last edited by toddos; 05-25-2013 at 02:02 AM.
toddos is offline   Reply With Quote
Old 05-25-2013, 02:13 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,382
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Since there's a message about accessibility in the debug log, I suggest turning of any accessibility tools in your windows install, like screen readers. In my experience, Qt's accessibility implementation often causes crashes.
kovidgoyal is offline   Reply With Quote
Advert
Old 05-25-2013, 02:48 AM   #3
toddos
Guru
toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.
 
toddos's Avatar
 
Posts: 695
Karma: 822675
Join Date: May 2010
Device: Kobo Aura, Nokia Lumia 920 (Freda)
Odd. I have no accessibility tools installed, nor do I have any of the Windows accessibility features turned on. The only thing I can think this might be is that I have a touchscreen on my laptop, which means that the on-screen keyboard is always available (though not open). Not exactly something I can turn off, since that's built into Win8 and always available when a touchscreen is present.

Edit: To be clear, I'm not using my touchscreen to interact with Calibre. I'm using a regular old trackpad (elantech).

Last edited by toddos; 05-25-2013 at 02:53 AM.
toddos is offline   Reply With Quote
Old 05-25-2013, 03:00 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,382
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Something is querying the accessibility framework in Qt, I doubt it si a on screen keyboard, why would an on screen keyboard need access to accesibility info?
kovidgoyal is offline   Reply With Quote
Old 05-25-2013, 04:07 AM   #5
toddos
Guru
toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.
 
toddos's Avatar
 
Posts: 695
Karma: 822675
Join Date: May 2010
Device: Kobo Aura, Nokia Lumia 920 (Freda)
On-screen keyboard is the closest thing to "accessibility" that would be running on my system. However, that did give me a path to go down. I attached a debugger and ended up seeing this:

Code:
(119c.f2c): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Program Files\Calibre2\DLLs\QtGui4.dll - 
QtGui4!QWidgetPrivate::winSetupGestures+0x26f:
00000000`61662e4f 4c8b11          mov     r10,qword ptr [rcx] ds:00000000`00000068=????????????????
winSetupGestures in QWidgetPrivate seems to be related to supporting multitouch functionality in Qt. I assume that because I have a touch screen, that's why it's being called. Since calibre isn't targeting touch in any way, this must be something internal to Qt that it does automatically, and that's broken in the 64-bit version. It may be somewhat related to this Qt bug.

Since I can't (or won't) disable my touchscreen, I guess I'm stuck with 32-bit calibre until Qt fixes this issue.
toddos is offline   Reply With Quote
Advert
Old 05-25-2013, 04:16 AM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,382
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Hmm, well there are a few things I can try:

1) Upgrading the qt build to 4.8.4 in case the crash was fixed (currently the 64 bit build uses 4.8.3)
2) Disabling gestures in the Qt build.

I'll create a build with (1) in a bit (compiling Qt takes forever), see if it fixes your issue, if not I'll create another build with (2).
kovidgoyal is offline   Reply With Quote
Old 05-25-2013, 04:30 AM   #7
toddos
Guru
toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.
 
toddos's Avatar
 
Posts: 695
Karma: 822675
Join Date: May 2010
Device: Kobo Aura, Nokia Lumia 920 (Freda)
This change looks promising. 4.8.3 was released 2012-09-13, this patch was committed 2012-09-27, and 4.8.4 was released 2012-11-29.
toddos is offline   Reply With Quote
Old 05-25-2013, 07:28 AM   #8
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,382
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Here's the build with Qt 4.8.4 http://calibre-ebook.com/downloads/b...bit-0.9.32.msi
kovidgoyal is offline   Reply With Quote
Old 05-25-2013, 02:28 PM   #9
toddos
Guru
toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.toddos ought to be getting tired of karma fortunes by now.
 
toddos's Avatar
 
Posts: 695
Karma: 822675
Join Date: May 2010
Device: Kobo Aura, Nokia Lumia 920 (Freda)
Thanks! That solved the problem.

Based on what happens immediately after the conversion window closes, which is where the crash was, it must've had something to do with the animated arrow pointing down to the job status. Had I noticed that, I probably could've disabled animations as a workaround. But now I don't need a workaround. Awesome!
toddos is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
64 bit calibre on Windows kovidgoyal Calibre 137 11-14-2017 01:59 PM
Calibre 64 Bit - Windows 7 Help Please spud357c Calibre 27 02-05-2013 08:23 AM
Windows 7 64-bit + Calibre 0.9.14 64 bit BSD rjh007 Calibre 6 01-27-2013 03:35 PM
Does Calibre 64 bit Windows use 64 bit Python? KevinH Calibre 1 01-16-2011 11:14 AM
Calibre - Ever on 64 bit Vista or Windows 7? estral Calibre 16 08-22-2009 04:38 PM


All times are GMT -4. The time now is 09:57 AM.


MobileRead.com is a privately owned, operated and funded community.