pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

misc/calibre crashing even sooner than before



With the new stable pkgsrc branch, the ebook reader of misc/calibre
(ebook-viewer; I haven't tried other components yet) crashes on me even
sooner than it did before. In the previous branch it crashed on exit, or
when invoking the epub editor from ebook-viewer.

Calibre is mostly in Python with a few extensions of its own, but mostly using
py-qt5. As such, you can catch tracebacks and this is the one I see, which
seems to be somewhere in a Qt5 library via some py27-qt5 library:

$ gdb /usr/pkg/bin/python2.7 # /usr/pkg/bin/ebook-viewer
GNU gdb (GDB) 7.7.1
Copyright (C) 2014 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.
(gdb) run /usr/pkg/bin/ebook-viewer
Starting program: /usr/pkg/bin/python2.7 /usr/pkg/bin/ebook-viewer
XmbTextListToTextProperty result code -2
XmbTextListToTextProperty result code -2
XmbTextListToTextProperty result code -2

Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 1]
0x00007f7fc0f77450 in _X11TransWritev () from /usr/X11R7/lib/libX11.so.6
(gdb) bt
#0  0x00007f7fc0f77450 in _X11TransWritev () from /usr/X11R7/lib/libX11.so.6
#1  0x00007f7fc0f75dd8 in _XSend () from /usr/X11R7/lib/libX11.so.6
#2  0x00007f7fc0f6c54f in XQueryExtension () from /usr/X11R7/lib/libX11.so.6
#3  0x00007f7fc0f6c3c4 in XInitExtension () from /usr/X11R7/lib/libX11.so.6
#4  0x00007f7fc1406b52 in XRenderFindDisplay () from /usr/X11R7/lib/libXrender.so.1
#5  0x00007f7fc1407979 in XRenderQueryExtension () from /usr/X11R7/lib/libXrender.so.1
#6  0x00007f7fc1606f44 in _XcursorGetDisplayInfo () from /usr/X11R7/lib/libXcursor.so.1
#7  0x00007f7fc16074c9 in XcursorGetDefaultSize () from /usr/X11R7/lib/libXcursor.so.1
#8  0x00007f7fc1603cae in XcursorLibraryLoadCursor () from /usr/X11R7/lib/libXcursor.so.1
#9  0x00007f7fc5c4791c in QXcbCursor::createFontCursor(int) () from /usr/pkg/qt5/lib/libQt5XcbQpa.so.5
#10 0x00007f7fc5c47e2b in QXcbCursor::changeCursor(QCursor*, QWindow*) () from /usr/pkg/qt5/lib/libQt5XcbQpa.so.5
#11 0x00007f7fe6b230a8 in QWindowPrivate::setCursor(QCursor const*) () from /usr/pkg/qt5/lib/libQt5Gui.so.5
#12 0x00007f7fe73eed0f in qt_qpa_set_cursor(QWidget*, bool) () from /usr/pkg/qt5/lib/libQt5Widgets.so.5
#13 0x00007f7fe73f65d8 in QWidgetPrivate::show_sys() () from /usr/pkg/qt5/lib/libQt5Widgets.so.5
#14 0x00007f7fe73fd4a9 in QWidgetPrivate::show_helper() () from /usr/pkg/qt5/lib/libQt5Widgets.so.5
#15 0x00007f7fe73ffd91 in QWidget::setVisible(bool) () from /usr/pkg/qt5/lib/libQt5Widgets.so.5
#16 0x00007f7fe801bd8b in sipQMainWindow::setVisible(bool) () from /usr/pkg/lib/python2.7/site-packages/PyQt5/QtWidgets.so
#17 0x00007f7fe81ec963 in meth_QWidget_show () from /usr/pkg/lib/python2.7/site-packages/PyQt5/QtWidgets.so
#18 0x00007f7ff78d2bbe in PyEval_EvalFrameEx () from /usr/pkg/lib/libpython2.7.so.1.0
#19 0x00007f7ff78d48a6 in PyEval_EvalCodeEx () from /usr/pkg/lib/libpython2.7.so.1.0
#20 0x00007f7ff78d267b in PyEval_EvalFrameEx () from /usr/pkg/lib/libpython2.7.so.1.0
#21 0x00007f7ff78d48a6 in PyEval_EvalCodeEx () from /usr/pkg/lib/libpython2.7.so.1.0
#22 0x00007f7ff78d267b in PyEval_EvalFrameEx () from /usr/pkg/lib/libpython2.7.so.1.0
#23 0x00007f7ff78d48a6 in PyEval_EvalCodeEx () from /usr/pkg/lib/libpython2.7.so.1.0
#24 0x00007f7ff78d4951 in PyEval_EvalCode () from /usr/pkg/lib/libpython2.7.so.1.0
#25 0x00007f7ff78ebb33 in run_mod () from /usr/pkg/lib/libpython2.7.so.1.0
#26 0x00007f7ff78ecac7 in PyRun_FileExFlags () from /usr/pkg/lib/libpython2.7.so.1.0
#27 0x00007f7ff78edadd in PyRun_SimpleFileExFlags () from /usr/pkg/lib/libpython2.7.so.1.0
#28 0x00007f7ff78fcc33 in Py_Main () from /usr/pkg/lib/libpython2.7.so.1.0
#29 0x0000000000400975 in _start ()
(gdb) 

I'll try if misc/calibre1 still works as a fallback.
Unfortunately, when building it it conflicts with some other packages;
example:

pkg_add: Installed package `py27-Pillow-3.3.0' conflicts with `py27-imaging-[0-9]*' when trying to install `py27-imaging-1.1.7nb10'.

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- Wayland: Those who don't understand X
\X/ rhialto/at/xs4all.nl    -- are condemned to reinvent it. Poorly.

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index