[Python-modules-team] Bug#794765: Please provide debug build of pyside

Goswin von Brederlow goswin-v-b at web.de
Wed Aug 12 11:52:10 UTC 2015


On Thu, Aug 06, 2015 at 05:51:59PM +0200, Didier 'OdyX' Raboud wrote:
> Control: found -1 1.0.9-2
> 
> Le jeudi, 6 août 2015, 14.40:10 Goswin von Brederlow a écrit :
> > every now and then pyside crashes with a segfault. Most often because
> > it doesn't play nice with the python GC and widgets have to keep
> > python objects stored in C++ alive manually. But sometimes it isn't
> > obvious where and why pyside segfaults. For those it would be nice if
> > one could use python3-dbg and get better gdb backtraces for the
> > application. But this requires a debug build of pyside.
> > 
> > Please provide a debug build of pyside.
> 
> Since 1.0.9-2, debug packages are not built anymore, as they were huge 
> to build and resulted in insanely big binary packages, see 
> http://snapshot.debian.org/package/pyside/1.0.9-1/ .
> 
> You can still build these yourself, see:
> 	http://sources.debian.net/src/pyside/1.2.2-1/debian/README.source
> 
> Is this enough for you? I really don't want to add the debug packages 
> back (and don't plan much PySide work at all, btw).
> 
> Cheers,
> OdyX

Pyside should at least the standard -dbg packages with the striped
symbols so gdb backtraces make sense. 

It would be nice to have everything for python3-dbg because it's a
pain to build debug packages when you need them. Esspecially when more
packages start not shiping them. But if the size is preventing that
for PySide then there isn't much to do there.

Problem is that recompiling pyside might not show the bug anymore
since the toolchain and build dependencies will have changed. Makes it
real hard to debug memory/stack corruption bugs.


Last building debug packages according to README.source does not work:

dpkg-source: error: syntax error in pyside-1.2.1/debian/control at line 383: duplicate field Package found

There is an empty line missing before "Package: python-pyside-dbg".
Either debian/control.in needs to end in an empty line or
debian/control.dbg-packages needs to start with one.

MfG
	Goswin



More information about the Python-modules-team mailing list