Calibre fails silently when ebook viewer crashes
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:
QGLXContext: Failed to create dummy context
Failed to create OpenGL context for format QSurfaceFormat(
Aborted (core dumped)
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