Package: calibre
Version: 0.8.41+dfsg-1
Severity: important

Dear Maintainer,
starting calibre crashes with :

gdb --args python2.7  /usr/bin/calibre
GNU gdb (GDB) 7.4-debian
Copyright (C) 2012 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-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/python2.7...Reading symbols from 
/usr/lib/debug/usr/bin/python2.7...done.
done.
(gdb) r
Starting program: /usr/bin/python2.7 /usr/bin/calibre
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
Python Exception <class 'gdb.error'> There is no member named ma_mask.: 
createClassType (client=0x7fffe2ae9e80, ctd=0x7fffe2aea000, mod_dict=) at 
/build/buildd-sip4_4.13.2-1-amd64-oTGNAQ/sip4-4.13.2/siplib/siplib.c:5502
5502    /build/buildd-sip4_4.13.2-1-amd64-oTGNAQ/sip4-4.13.2/siplib/siplib.c: 
Aucun fichier ou dossier de ce type.
(gdb) bt
Python Exception <class 'gdb.error'> There is no member named ma_mask.: 
#0  createClassType (client=0x7fffe2ae9e80, ctd=0x7fffe2aea000, mod_dict=) at 
/build/buildd-sip4_4.13.2-1-amd64-oTGNAQ/sip4-4.13.2/siplib/siplib.c:5502
Python Exception <class 'gdb.error'> There is no member named ma_mask.: 
#1  0x00007ffff2231698 in sip_api_init_module (client=0x7fffe2ae9e80, 
mod_dict=) at 
/build/buildd-sip4_4.13.2-1-amd64-oTGNAQ/sip4-4.13.2/siplib/siplib.c:1418
#2  0x00007fffe28dc737 in initpictureflow () from 
/usr/lib/calibre/calibre/plugins/pictureflow.so
#3  0x0000000000504454 in _PyImport_LoadDynamicModule ()
#4  0x00000000005370ab in import_submodule.39132 ()
#5  0x000000000046e18f in load_next.39137 ()
#6  0x0000000000537974 in import_module_level.isra.3.39158 ()
#7  0x00000000004d682b in builtin___import__.32813 ()
#8  0x00000000005228cc in PyEval_EvalFrameEx ()
#9  0x0000000000529c42 in PyEval_EvalCodeEx ()
#10 0x0000000000522e68 in PyEval_EvalFrameEx ()
#11 0x00000000005230b2 in PyEval_EvalFrameEx ()
#12 0x0000000000529c42 in PyEval_EvalCodeEx ()
#13 0x000000000057e740 in function_call.15047 ()
#14 0x000000000049d1e6 in PyObject_Call ()
#15 0x00000000004e4baa in instancemethod_call.8523 ()
#16 0x000000000049d1e6 in PyObject_Call ()
#17 0x0000000000502e97 in call_method.25480 ()
#18 0x0000000000523aed in PyEval_EvalFrameEx ()
#19 0x0000000000529c42 in PyEval_EvalCodeEx ()
#20 0x000000000057dd98 in PyImport_ExecCodeModuleEx ()
#21 0x00000000005366b8 in load_source_module.39078 ()
#22 0x00000000005370ab in import_submodule.39132 ()
#23 0x000000000046e18f in load_next.39137 ()
#24 0x0000000000537b31 in import_module_level.isra.3.39158 ()
#25 0x00000000004d682b in builtin___import__.32813 ()
#26 0x000000000049d1e6 in PyObject_Call ()
#27 0x000000000049d7f6 in PyEval_CallObjectWithKeywords ()
#28 0x0000000000524e2e in PyEval_EvalFrameEx ()
#29 0x0000000000529c42 in PyEval_EvalCodeEx ()
#30 0x000000000057dd98 in PyImport_ExecCodeModuleEx ()
#31 0x00000000005366b8 in load_source_module.39078 ()
#32 0x00000000005370ab in import_submodule.39132 ()
#33 0x000000000046e18f in load_next.39137 ()
#34 0x0000000000537b31 in import_module_level.isra.3.39158 ()
#35 0x00000000004d682b in builtin___import__.32813 ()
#36 0x000000000049d1e6 in PyObject_Call ()
#37 0x000000000049d7f6 in PyEval_CallObjectWithKeywords ()
#38 0x0000000000524e2e in PyEval_EvalFrameEx ()
#39 0x00000000005230b2 in PyEval_EvalFrameEx ()
#40 0x0000000000529c42 in PyEval_EvalCodeEx ()
#41 0x0000000000522e68 in PyEval_EvalFrameEx ()
#42 0x0000000000529c42 in PyEval_EvalCodeEx ()
#43 0x000000000057ee71 in PyRun_FileExFlags ()
#44 0x000000000057f533 in PyRun_SimpleFileExFlags ()
---Type <return> to continue, or q <return> to quit---
#45 0x00000000005345e6 in Py_Main ()
#46 0x00007ffff6977ead in __libc_start_main (main=<optimized out>, 
argc=<optimized out>, ubp_av=<optimized out>, init=<optimized out>, 
fini=<optimized out>, rtld_fini=<optimized out>, 
    stack_end=0x7fffffffdc98) at libc-start.c:228
#47 0x000000000041dfd1 in _start ()

which looks like a python sip api breakage.
The changes shown in the bugreport are both due to me rebuilding the package 
against latest python-sip 
ie 4.13.2-1 via pdebuild with an up to date pbuilder base.tgz and me installing 
the binary install from the
calibre site (thus the calibre bin points to /opt/calibre) after taking the 
above backtrace.

Best regards,
Alban


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.3.0-rc5test0-00204-gae942ae (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages calibre depends on:
ii  calibre-bin                        0.8.41+dfsg-1
ii  fonts-liberation [ttf-liberation]  1.07.2-2
ii  imagemagick                        8:6.7.4.0-3
ii  poppler-utils                      0.18.4-1
ii  python-beautifulsoup               3.2.0-2
ii  python-chardet                     2.0.1-2
ii  python-cherrypy3                   3.2.2-2
ii  python-cssutils                    0.9.9-1
ii  python-dateutil                    1.5-1
ii  python-dbus                        1.0.0-1
ii  python-imaging                     1.1.7-4
ii  python-lxml                        2.3.2-1
ii  python-mechanize                   1:0.2.5-2
ii  python-pkg-resources               0.6.24-1
ii  python-pyparsing                   1.5.2-2
ii  python-qt4                         4.9.1-2
ii  python-routes                      1.13-1
ii  python2.7                          2.7.3~rc2-2
ii  xdg-utils                          1.1.0~rc1+git20111210-6

Versions of packages calibre recommends:
ii  python-dnspython  1.9.4-1

calibre suggests no packages.

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/bin/calibre (from calibre package)
debsums: changed file /usr/bin/calibre-customize (from calibre package)
debsums: changed file /usr/bin/calibre-debug (from calibre package)
debsums: changed file /usr/bin/calibre-parallel (from calibre package)
debsums: changed file /usr/bin/calibre-server (from calibre package)
debsums: changed file /usr/bin/calibre-smtp (from calibre package)
debsums: changed file /usr/bin/calibredb (from calibre package)
debsums: changed file /usr/bin/ebook-convert (from calibre package)
debsums: changed file /usr/bin/ebook-device (from calibre package)
debsums: changed file /usr/bin/ebook-meta (from calibre package)
debsums: changed file /usr/bin/ebook-viewer (from calibre package)
debsums: changed file /usr/bin/epub-fix (from calibre package)
debsums: changed file /usr/bin/fetch-ebook-metadata (from calibre package)
debsums: changed file /usr/bin/lrf2lrs (from calibre package)
debsums: changed file /usr/bin/lrfviewer (from calibre package)
debsums: changed file /usr/bin/lrs2lrf (from calibre package)
debsums: changed file /usr/bin/markdown-calibre (from calibre package)
debsums: changed file /usr/bin/pdfmanipulate (from calibre package)
debsums: changed file /usr/bin/web2disk (from calibre package)



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to