Cannot debug pyside applications
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyside (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
$ cat test.py
import PySide.QtCore
print "Import successful"
This is what I expected to happen:
$ python2.7 test.py
Import successful
This is what happened
$ python2.7-dbg test.py
python2.7-dbg: ../Objects/
Aborted (core dumped)
$ lsb_release -rd
Description: Ubuntu 12.04.2 LTS
Release: 12.04
$ apt-cache policy python-pyside
python-pyside:
Installed: 1.1.0-1
Candidate: 1.1.0-1
Version table:
*** 1.1.0-1 0
990 http://
100 /var/lib/
$ apt-cache policy python
python:
Installed: 2.7.3-0ubuntu2
Candidate: 2.7.3-0ubuntu2
Version table:
*** 2.7.3-0ubuntu2 0
990 http://
100 /var/lib/
$ apt-cache policy python-dbg
python-dbg:
Installed: 2.7.3-0ubuntu2
Candidate: 2.7.3-0ubuntu2
Version table:
*** 2.7.3-0ubuntu2 0
990 http://
100 /var/lib/
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: python-pyside 1.1.0-1
ProcVersionSign
Uname: Linux 3.2.0-32-generic x86_64
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu17.1
Architecture: amd64
Date: Tue May 21 10:55:48 2013
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120823.1)
MarkForUpload: True
PackageArchitec
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: pyside
UpgradeStatus: No upgrade log present (probably fresh install)
#0 0x00007fbb265cd425 in __GI_raise (sig=<optimized out>) at ../nptl/ sysdeps/ unix/sysv/ linux/raise. c:64 object. c", line=<optimized out>, function=<optimized out>) object. c", line=65, function=0x5fe7b0 "_Py_AddToAllOb jects") at assert.c:103 object. c:65 f2a00) at ../Objects/ typeobject. c:3960 x86_64- linux-gnu/ libshiboken- python2. 7.so.1. 1 :Module: :create( char const*, void*) () from /usr/lib/ x86_64- linux-gnu/ libshiboken- python2. 7.so.1. 1 python2. 7/dist- packages/ PySide/ QtCore. so LoadDynamicModu le (name=0x7fff653 32a30 "PySide.QtCore", pathname= 0x7fff65331940 "/usr/lib/ python2. 7/dist- packages/ PySide/ QtCore. so", fp=0x262abb0) at ../Python/ importdl. c:53 32a30 "PySide.QtCore", fp=0x262abb0, pathname= 0x7fff65331940 "/usr/lib/ python2. 7/dist- packages/ PySide/ QtCore. so", type=3, loader=0x0) at ../Python/ import. c:1831 0x7fff65332a37 "QtCore", fullname= 0x7fff65332a30 "PySide.QtCore") at ../Python/ import. c:2595 0x7fff653329f8, buf=0x7fff65332a30 "PySide.QtCore", p_buflen= 0x7fff65332a08) at ../Python/ import. c:2415 {'__builtins_ _': <module at remote 0x7fbb27cb1470>, '__name__': '__main__', '__file__': 'test.py', '__doc__': None, '__package__': None}, locals= _builtins_ _': <module at remote 0x7fbb27cb1470>, '__name__': '__main__', '__file__': 'test.py', '__doc__': None, '__package__': None}, fromlist=None, level=-1) at ../Python/ import. c:2144 ImportModuleLev el (name=0x25f1c3c "PySide.QtCore", globals= {'__builtins_ _': <module at remote 0x7fbb27cb1470>, '__name__': '__main__', '__file__': 'test.py', '__doc__': None, '__package__': None}, {'__builtins_ _': <module at remote 0x7fbb27cb1470>, '__name__': '__main__', '__file__': 'test.py', '__doc__': None, '__package__': None}, fromlist=None, level=-1) at ../Python/ import. c:2188 PySide. QtCore' , {'__builtins__': <module at remote 0x7fbb27cb1470>, '__name__': '__main__', '__file__': 'test.py', '__doc__': None, '__package__': None}, {...}, None), kwds= bltinmodule. c:49
#1 0x00007fbb265d0b8b in __GI_abort () at abort.c:91
#2 0x00007fbb265c60ee in __assert_fail_base (fmt=<optimized out>, assertion=0x5fd8d8 "(op->_ob_prev == ((void *)0)) == (op->_ob_next == ((void *)0))", file=0x5fd8c0 "../Objects/
at assert.c:94
#3 0x00007fbb265c6192 in __GI___assert_fail (assertion=0x5fd8d8 "(op->_ob_prev == ((void *)0)) == (op->_ob_next == ((void *)0))", file=0x5fd8c0 "../Objects/
#4 0x0000000000487c78 in _Py_AddToAllObjects (op=<unknown at remote 0x7fbb252f2a00>, force=0) at ../Objects/
#5 0x00000000004ba785 in PyType_Ready (type=0x7fbb252
#6 0x00007fbb250d1900 in Shiboken::init() () from /usr/lib/
#7 0x00007fbb250df799 in Shiboken:
#8 0x00007fbb25b85da9 in initQtCore () from /usr/lib/
#9 0x0000000000547e2d in _PyImport_
#10 0x0000000000543de2 in load_module (name=0x7fff653
#11 0x0000000000545fee in import_submodule (mod=<module at remote 0x25f1d60>, subname=
#12 0x000000000054554d in load_next (mod=<module at remote 0x25f1d60>, altmod=<module at remote 0x25f1d60>, p_name=
#13 0x00000000005447e2 in import_module_level (name=0x0, globals=
{'_
#14 0x0000000000544c68 in PyImport_
locals=
#15 0x000000000051043b in builtin___import__ (self=0x0, args=('
0x0) at ../Python/
#16 0x0000000000486804 in PyCFunction_Call (func=<built-in functio...