ebook-viewer (from misc/calibre) is broken (again) (calibre is such a fragile piece of &^%^&%&^). But the crash isn't deeply nested in python interpreters this time, but in something with X cursors or X extensions or something. I'm using the stock base-system X. No silly desktop system, but ctwm. Any ideas? $ ebook-viewer /usr/pkg/share/calibre/tracer.epub QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-rhialto' QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-rhialto' libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile Segmentation fault (core dumped) $ gdb /usr/pkg/bin/python2.7 python2.7.core GNU gdb (GDB) 7.12 Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64--netbsd". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/pkg/bin/python2.7...(no debugging symbols found)...done. [New process 1] [New process 4] [New process 3] [New process 2] Core was generated by `python2.7'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007e891d977450 in _X11TransWritev () from /usr/X11R7/lib/libX11.so.6 [Current thread is 1 (LWP 1)] (gdb) bt #0 0x00007e891d977450 in _X11TransWritev () from /usr/X11R7/lib/libX11.so.6 #1 0x00007e891d975dd8 in _XSend () from /usr/X11R7/lib/libX11.so.6 #2 0x00007e891d96c54f in XQueryExtension () from /usr/X11R7/lib/libX11.so.6 #3 0x00007e891d96c3c4 in XInitExtension () from /usr/X11R7/lib/libX11.so.6 #4 0x00007e891de06b52 in XRenderFindDisplay () from /usr/X11R7/lib/libXrender.so.1 #5 0x00007e891de07979 in XRenderQueryExtension () from /usr/X11R7/lib/libXrender.so.1 #6 0x00007e891e006f44 in _XcursorGetDisplayInfo () from /usr/X11R7/lib/libXcursor.so.1 #7 0x00007e891e0074c9 in XcursorGetDefaultSize () from /usr/X11R7/lib/libXcursor.so.1 #8 0x00007e891e003cae in XcursorLibraryLoadCursor () from /usr/X11R7/lib/libXcursor.so.1 #9 0x00007e892325ddf0 in loadCursor(void*, int) () from /usr/pkg/qt5/lib/libQt5XcbQpa.so.5 #10 0x00007e892325eb6d in QXcbCursor::createFontCursor(int) () from /usr/pkg/qt5/lib/libQt5XcbQpa.so.5 #11 0x00007e892325f1ae in QXcbCursor::changeCursor(QCursor*, QWindow*) () from /usr/pkg/qt5/lib/libQt5XcbQpa.so.5 #12 0x00007e89478f4b0a in QWindowPrivate::applyCursor() () from /usr/pkg/qt5/lib/libQt5Gui.so.5 #13 0x00007e89478f89c0 in QWindowPrivate::setCursor(QCursor const*) () from /usr/pkg/qt5/lib/libQt5Gui.so.5 #14 0x00007e894817bad4 in qt_qpa_set_cursor(QWidget*, bool) () from /usr/pkg/qt5/lib/libQt5Widgets.so.5 #15 0x00007e8948183222 in QWidgetPrivate::show_sys() () from /usr/pkg/qt5/lib/libQt5Widgets.so.5 #16 0x00007e894818b9e2 in QWidgetPrivate::show_helper() () from /usr/pkg/qt5/lib/libQt5Widgets.so.5 #17 0x00007e894818e9e4 in QWidget::setVisible(bool) () from /usr/pkg/qt5/lib/libQt5Widgets.so.5 #18 0x00007e8948e8457e in sipQMainWindow::setVisible(bool) () from /usr/pkg/lib/python2.7/site-packages/PyQt5/QtWidgets.so #19 0x00007e8948fd0b85 in meth_QWidget_show () from /usr/pkg/lib/python2.7/site-packages/PyQt5/QtWidgets.so #20 0x00007e89570d5a69 in PyEval_EvalFrameEx () from /usr/pkg/lib/libpython2.7.so.1.0 #21 0x00007e89570d7220 in PyEval_EvalCodeEx () from /usr/pkg/lib/libpython2.7.so.1.0 #22 0x00007e89570d5e03 in PyEval_EvalFrameEx () from /usr/pkg/lib/libpython2.7.so.1.0 #23 0x00007e89570d7220 in PyEval_EvalCodeEx () from /usr/pkg/lib/libpython2.7.so.1.0 #24 0x00007e89570d5e03 in PyEval_EvalFrameEx () from /usr/pkg/lib/libpython2.7.so.1.0 #25 0x00007e89570d7220 in PyEval_EvalCodeEx () from /usr/pkg/lib/libpython2.7.so.1.0 #26 0x00007e89570d7307 in PyEval_EvalCode () from /usr/pkg/lib/libpython2.7.so.1.0 #27 0x00007e89570eee4f in run_mod () from /usr/pkg/lib/libpython2.7.so.1.0 #28 0x00007e89570efeb6 in PyRun_FileExFlags () from /usr/pkg/lib/libpython2.7.so.1.0 #29 0x00007e89570f0e81 in PyRun_SimpleFileExFlags () from /usr/pkg/lib/libpython2.7.so.1.0 #30 0x00007e89571015c4 in Py_Main () from /usr/pkg/lib/libpython2.7.so.1.0 #31 0x000000000040083b in _start () -Olaf. -- ___ Olaf 'Rhialto' Seibert -- "What good is a Ring of Power \X/ rhialto/at/falu.nl -- if you're unable...to Speak." - Agent Elrond
Attachment:
signature.asc
Description: PGP signature