Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 12-18-2020, 04:22 AM   #1
Leonatus
Guru
Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.
 
Leonatus's Avatar
 
Posts: 881
Karma: 9496847
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Touch
Strange error message

Windows 10, 64 bit, Sigil v. 1.4.3.
Recently, at opening Sigil, I sometimes receive this error message:
Code:
Error info: Critical: ARB::createContext: wglCreateContextAttribsARB() failed (GL error code: 0x0) for format: QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile), shared context: 0x30000 (Der Vorgang wurde erfolgreich beendet.)
Sigil version: 1.4.3
Runtime Qt: 5.12.9
Compiled Qt: 5.12.9
System: Windows 10 (10.0)
Architecture: x86_64
It's not really a problem, as the book will open nevertheless, and the messages doesn't occur steadily. But it's irritating. Soemone who knows what happens there?
Leonatus is offline   Reply With Quote
Old 12-18-2020, 09:57 AM   #2
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 5,855
Karma: 3571874
Join Date: Nov 2009
Device: many
A google search of the error message produced this:

https://bugreports.qt.io/browse/QTBUG-52397

https://bugreports.qt.io/browse/QTBUG-58322

https://www.mobileread.com/forums/sh....php?p=3951007

So it appears to be OpenGL related and Qt Related. Did you have a large number of Sigil instances open at the same time? Have you tried updating your video driver or make video driver related changes?
KevinH is offline   Reply With Quote
Advert
Old 12-18-2020, 10:13 AM   #3
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 5,855
Karma: 3571874
Join Date: Nov 2009
Device: many
Upon further investigation, it seems to be caused by an out of memory error when allocating memory for a shared memory space. Or by trying to allocate memory too late after initialization. I would double check my video driver then reboot my entire computer to make sure a memory leak in some application is not causing problems at the system level.

Not much of a Windows person so perhaps DiapDealer may have a better idea of what is going on here.
KevinH is offline   Reply With Quote
Old 12-18-2020, 10:36 AM   #4
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 24,680
Karma: 169420718
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I've had the error come up rarely on both Linux and Windows. And like the OP, it never seemed to cause any issues after dismissing it. I haven't encountered it in a long time (though my time spent using Sigil on Windows is rather limited these days).
DiapDealer is offline   Reply With Quote
Old 12-18-2020, 12:34 PM   #5
BeckyEbook
Evangelist
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 466
Karma: 1497025
Join Date: Jan 2017
Location: Poland
Device: Kindle (Key3, PW2, PW3), Nook (ST, GLP), Kobo Touch, Tolino Vision 2
I run into such a bug from time to time (Windows 10), but I have never caught it twice in a row. Usually, the next launch of Sigil starts the program without a problem.
I have an old computer and the "latest" drivers are 8 years old, so even if it's related to the graphics card or drivers, there's nothing I can do about it.

I remember this change in the code, but I have the feeling that I see this message on average once every two months anyway.

I do not report it because:
- I usually work on my build, which may have other issues related to my changes, so I don't want to call the guards when only my private build is on fire,
- I can't repeat it until many weeks have passed and the error message reappears.

It is difficult to debug an error that does not want to be caught.
BeckyEbook is offline   Reply With Quote
Advert
Old 12-18-2020, 12:42 PM   #6
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 5,855
Karma: 3571874
Join Date: Nov 2009
Device: many
That change:

QCoreApplication::setAttribute(Qt::AA_ShareOpenGLC ontexts);

is interesting in that the backtraces attached to those Qt bug reports and others that google found showed that the specific error code 0 was associated with failures to allocate shared memory for openGL (which uses in 4 meg blocks).

So it may be related to the problem?

Kevin



Quote:
Originally Posted by BeckyEbook View Post
I run into such a bug from time to time (Windows 10), but I have never caught it twice in a row. Usually, the next launch of Sigil starts the program without a problem.
I have an old computer and the "latest" drivers are 8 years old, so even if it's related to the graphics card or drivers, there's nothing I can do about it.

I remember this change in the code, but I have the feeling that I see this message on average once every two months anyway.

I do not report it because:
- I usually work on my build, which may have other issues related to my changes, so I don't want to call the guards when only my private build is on fire,
- I can't repeat it until many weeks have passed and the error message reappears.

It is difficult to debug an error that does not want to be caught.
KevinH is offline   Reply With Quote
Old 12-18-2020, 12:50 PM   #7
BeckyEbook
Evangelist
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 466
Karma: 1497025
Join Date: Jan 2017
Location: Poland
Device: Kindle (Key3, PW2, PW3), Nook (ST, GLP), Kobo Touch, Tolino Vision 2
If you mean that with too little memory available in the system (or too defragmented to allocate enough space) – it is possible. I put a lot of strain on my computer, so sometimes memory is too low.
BeckyEbook is offline   Reply With Quote
Old 12-18-2020, 07:39 PM   #8
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 24,680
Karma: 169420718
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I've played with Qt::AA_ShareOpenGLContexts in the past, but I'm fairly certain I've seen the error with and without it.
DiapDealer is offline   Reply With Quote
Old 12-18-2020, 07:50 PM   #9
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 5,855
Karma: 3571874
Join Date: Nov 2009
Device: many
Good to know.
KevinH is offline   Reply With Quote
Old 12-18-2020, 07:54 PM   #10
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 24,680
Karma: 169420718
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
That said: I'm not entirely sure it's necessary. I just know I've see some suggest that it's necessary for QtWebEngine.

Last edited by DiapDealer; 12-19-2020 at 01:02 PM.
DiapDealer is offline   Reply With Quote
Old 12-19-2020, 11:35 AM   #11
Leonatus
Guru
Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.
 
Leonatus's Avatar
 
Posts: 881
Karma: 9496847
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Touch
Quote:
Originally Posted by KevinH View Post
Did you have a large number of Sigil instances open at the same time?
No, always a single one.
Quote:
Have you tried updating your video driver or make video driver related changes?
No, nothing of that kind.
Leonatus is offline   Reply With Quote
Old 12-19-2020, 11:38 AM   #12
Leonatus
Guru
Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.
 
Leonatus's Avatar
 
Posts: 881
Karma: 9496847
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Touch
Quote:
Originally Posted by BeckyEbook View Post
I run into such a bug from time to time (Windows 10), but I have never caught it twice in a row. Usually, the next launch of Sigil starts the program without a problem.
I have an old computer and the "latest" drivers are 8 years old, so even if it's related to the graphics card or drivers, there's nothing I can do about it.
That exactly, but my computer is only one year old.
Leonatus is offline   Reply With Quote
Old 12-19-2020, 05:33 PM   #13
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 24,680
Karma: 169420718
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I've had it happen on brand-new hardware with the very latest drivers. I'm convinced it's a rare race condition of some kind that's causing a spurious warning, to be honest. That's on Windows, mind you.
DiapDealer is offline   Reply With Quote
Old 12-19-2020, 08:25 PM   #14
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 16,401
Karma: 78740911
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Kobo Forma, Kobo Clara HD, Lenovo M8 FHD, iPad Pro, Tolino
Just to toss in that I've seen that error message 3 or 4 times and it doesn't seem to cause any issues nor is it repeatable. I've seen it using the builtin display with the Intel video driver and external monitors using the Nvidia driver though a docking station.
DNSB is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: Error communicating with device message techie6 Devices 5 04-02-2018 10:25 PM
KindleGen error message: E1003 Unknown error in class String. Doitsu Kindle Formats 1 06-25-2014 01:29 PM
Help! I see a strange error message when I connect my ECO Reader to my PC vixta Introduce Yourself 3 04-20-2011 10:42 AM
error message: ERROR ITMS-4099: "Invalid ISBN: [#] at Book (MZItmspBookPac NewDay ePub 3 10-07-2010 02:47 PM
Strange Error Message - Anybody Else Hughdal Sony Reader 4 05-27-2009 07:04 PM


All times are GMT -4. The time now is 08:28 AM.


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