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 <>
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:
Find the GDB manual and other documentation resources online at:
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/
(gdb) bt
#0  0x00007f7fc0f77450 in _X11TransWritev () from /usr/X11R7/lib/
#1  0x00007f7fc0f75dd8 in _XSend () from /usr/X11R7/lib/
#2  0x00007f7fc0f6c54f in XQueryExtension () from /usr/X11R7/lib/
#3  0x00007f7fc0f6c3c4 in XInitExtension () from /usr/X11R7/lib/
#4  0x00007f7fc1406b52 in XRenderFindDisplay () from /usr/X11R7/lib/
#5  0x00007f7fc1407979 in XRenderQueryExtension () from /usr/X11R7/lib/
#6  0x00007f7fc1606f44 in _XcursorGetDisplayInfo () from /usr/X11R7/lib/
#7  0x00007f7fc16074c9 in XcursorGetDefaultSize () from /usr/X11R7/lib/
#8  0x00007f7fc1603cae in XcursorLibraryLoadCursor () from /usr/X11R7/lib/
#9  0x00007f7fc5c4791c in QXcbCursor::createFontCursor(int) () from /usr/pkg/qt5/lib/
#10 0x00007f7fc5c47e2b in QXcbCursor::changeCursor(QCursor*, QWindow*) () from /usr/pkg/qt5/lib/
#11 0x00007f7fe6b230a8 in QWindowPrivate::setCursor(QCursor const*) () from /usr/pkg/qt5/lib/
#12 0x00007f7fe73eed0f in qt_qpa_set_cursor(QWidget*, bool) () from /usr/pkg/qt5/lib/
#13 0x00007f7fe73f65d8 in QWidgetPrivate::show_sys() () from /usr/pkg/qt5/lib/
#14 0x00007f7fe73fd4a9 in QWidgetPrivate::show_helper() () from /usr/pkg/qt5/lib/
#15 0x00007f7fe73ffd91 in QWidget::setVisible(bool) () from /usr/pkg/qt5/lib/
#16 0x00007f7fe801bd8b in sipQMainWindow::setVisible(bool) () from /usr/pkg/lib/python2.7/site-packages/PyQt5/
#17 0x00007f7fe81ec963 in meth_QWidget_show () from /usr/pkg/lib/python2.7/site-packages/PyQt5/
#18 0x00007f7ff78d2bbe in PyEval_EvalFrameEx () from /usr/pkg/lib/
#19 0x00007f7ff78d48a6 in PyEval_EvalCodeEx () from /usr/pkg/lib/
#20 0x00007f7ff78d267b in PyEval_EvalFrameEx () from /usr/pkg/lib/
#21 0x00007f7ff78d48a6 in PyEval_EvalCodeEx () from /usr/pkg/lib/
#22 0x00007f7ff78d267b in PyEval_EvalFrameEx () from /usr/pkg/lib/
#23 0x00007f7ff78d48a6 in PyEval_EvalCodeEx () from /usr/pkg/lib/
#24 0x00007f7ff78d4951 in PyEval_EvalCode () from /usr/pkg/lib/
#25 0x00007f7ff78ebb33 in run_mod () from /usr/pkg/lib/
#26 0x00007f7ff78ecac7 in PyRun_FileExFlags () from /usr/pkg/lib/
#27 0x00007f7ff78edadd in PyRun_SimpleFileExFlags () from /usr/pkg/lib/
#28 0x00007f7ff78fcc33 in Py_Main () from /usr/pkg/lib/
#29 0x0000000000400975 in _start ()

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

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 'Rhialto' Seibert  -- Wayland: Those who don't understand X
\X/ rhialto/at/    -- are condemned to reinvent it. Poorly.

Attachment: signature.asc
Description: PGP signature

Home | Main Index | Thread Index | Old Index