Calibre fails silently when ebook viewer crashes

Bug #1973865 reported by Ori Avtalion
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Won't Fix
Undecided
Unassigned

Bug Description

Using calibre 5.42 on Linux.

For reasons unrelated to calibre*, launching the ebook-viewer sometimes fails with a core dump.
In those cases, clicking the "View ebook" button in calibre does nothing.

Is it possible for calibre to display an error message when the ebook viewer fails to launch?

[*] The crash happens when I upgrade my display drivers, and don't restart the computer. Many programs crash with an error related to the X server.

Example output:
$ ebook-viewer book.epub
Disabling Qt WebEngine sandbox as version of glibc on this system will break it
Sandboxing disabled by user.
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
QGLXContext: Failed to create dummy context
Failed to create OpenGL context 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)
Aborted (core dumped)

Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1973865

The problem is it doesnt fail to launch. It crashes sometime after
launching. calibre would need to spawn a dedicated thread to watch the
viewer process and check its exit code to find out if it had a clean
exit or not and popup an error if it didnt. And that would create lots
of false positives caused by harmless crashes on exit, which Qt
WebEngine is also very prone too.

 status wontfix

Changed in calibre:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.