[Python-modules-team] Bug#743858: segfaults when hgview a repository from https://bitbucket.org/grotegerd/mania
Julien Cristau
julien.cristau at logilab.fr
Mon Apr 7 13:56:18 UTC 2014
Control: reassign -1 python-qt4 4.10.3+dfsg1-1
Reassigning to pyqt. hgview is pure python, a segfault means a bug
somewhere lower in the stack.
On Mon, Apr 7, 2014 at 09:49:39 -0400, Yaroslav Halchenko wrote:
> Package: hgview
> Version: 1.8.0-1
> Severity: important
>
> > hg clone https://bitbucket.org/grotegerd/mania
> > cd mania
> > hgview
> [2] 29515 segmentation fault hgview
>
> since there is no dbg build can't run with python-dbg, so here is the tip
> of backtrace from
>
>
> $> gdb --args /usr/bin/python /usr/bin/hgview
> GNU gdb (GDB) 7.6.2 (Debian 7.6.2-1)
> Copyright (C) 2013 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/python /usr/bin/hgview
> warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000
> warning: Could not load shared library symbols for linux-vdso.so.1.
> Do you need "set solib-search-path" or "set sysroot"?
> [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.
> 0x00007ffff21a5e30 in QMetaObject::cast(QObject*) const () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
> (gdb) bt 10
> #0 0x00007ffff21a5e30 in QMetaObject::cast(QObject*) const () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
> #1 0x00007ffff0425996 in QAction::QAction(QString const&, QObject*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
> #2 0x00007ffff14324e9 in ?? () from /usr/lib/python2.7/dist-packages/PyQt4/QtGui.so
> #3 0x00007ffff14326c8 in ?? () from /usr/lib/python2.7/dist-packages/PyQt4/QtGui.so
> #4 0x00007ffff2eacd4a in ?? () from /usr/lib/python2.7/dist-packages/sip.so
> #5 0x000000000051a80b in type_call.25489 (type=<optimized out>, args=(u'Diff mode', <HgQsci(actions={}) at remote 0x1da0cc8>), kwds=0x0) at ../Objects/typeobject.c:745
> #6 0x000000000055f47a in PyObject_Call (kw=0x0, arg=(u'Diff mode', <HgQsci(actions={}) at remote 0x1da0cc8>), func=<PyQt4.QtCore.pyqtWrapperType at remote 0x1902920>) at ../Objects/abstract.c:2529
> #7 do_call (nk=<optimized out>, na=<optimized out>, pp_stack=0x7fffffffb3f0, func=<PyQt4.QtCore.pyqtWrapperType at remote 0x1902920>) at ../Python/ceval.c:4239
> #8 call_function (oparg=<optimized out>, pp_stack=0x7fffffffb3f0) at ../Python/ceval.c:4044
> #9 PyEval_EvalFrameEx (
> f=f at entry=Frame 0x1f5c560, for file /usr/lib/python2.7/dist-packages/hgviewlib/qt4/hgfileview.py, line 142, in createActions (self=<HgQsci(actions={}) at remote 0x1da0cc8>, name='diffmode', desc=u'Diff mode', icon='diffmode', tip=u'Enable/Disable Diff mode', key=None, cb=None), throwflag=throwflag at entry=0) at ../Python/ceval.c:2666
> (More stack frames follow...)
>
> $> acpolicy libqtcore4
> libqtcore4:
> Installed: 4:4.8.5+git242-g0315971+dfsg-2
> Candidate: 4:4.8.5+git242-g0315971+dfsg-2
> Version table:
> *** 4:4.8.5+git242-g0315971+dfsg-2 0
> 900 http://http.debian.net/debian/ jessie/main amd64 Packages
> 600 http://debian.lcs.mit.edu/debian/ sid/main amd64 Packages
> 100 /var/lib/dpkg/status
>
>
> -- System Information:
> Debian Release: jessie/sid
> APT prefers testing
> APT policy: (900, 'testing'), (600, 'unstable'), (300, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 3.13-1-amd64 (SMP w/2 CPU cores)
> Locale: LANG=en_US, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
>
> Versions of packages hgview depends on:
> ii hgview-common 1.8.0-1
> ii python 2.7.5-5
> ii python-docutils 0.10-3
> ii python-qscintilla2 2.7.2-1
> ii python-qt4 4.10.3+dfsg1-1
>
> hgview recommends no packages.
>
> hgview suggests no packages.
>
> -- no debconf information
>
--
Julien Cristau <julien.cristau at logilab.fr>
Logilab http://www.logilab.fr/
Informatique scientifique & gestion de connaissances
More information about the Python-modules-team
mailing list