[PyQt] Segfaulting in PyQt-4.6

Hans-Peter Jansen hpj at urpla.net
Sat Oct 17 14:20:36 BST 2009


Am Samstag 17 Oktober 2009 schrieb jonnobleuk at gmail.com:
> On Saturday 17 October 2009 11:57:15 Hans-Peter Jansen wrote:
> > Am Samstag 17 Oktober 2009 schrieb jonnobleuk at gmail.com:
> > > I have a bit of a problem. My application worked fine in ver-4.5.*
> > > but every time I start it in 4.6 the app fails to start and all I see
> > > is
> > >
> > >     "Segmentation fault (core dumped)"
> > >
> > > I've tried to debug the app in Eric IDE but all I get is
> > >
> > >     "The program being debugged terminated unexpectedly"
> > >
> > > Has anything critical changed between 4.5 and 4.6?
> >
> > Yes, a lot. Phil is on the way to get rid from QStrings and QVariants
> > while supporting Py3 properly. You might try current snapshots.
> >
> > > How do I go about
> > > debugging my application?
> >
> > Unfortunately, you did not told us your environment, which is
> > significant for debugging. It boils down to enabling the debug options
> > in sip and PyQt, and installing the debug symbol packages for Qt and
> > Python.
> >
>
> Cheers. That explains a lot. When you say "get rid of QStrings" does that
> mean completely?

Well, yes by default for Py3, but you can have them back, if you beg for ;-)

> Env:
> Funtoo x86
> linux-2.6.31.4
> qt-4.5.3
> gcc-4.3.3
> glibc-2.9
>
> or
>
> Ubuntu Karmic x86
>
> For some reason I haven't compiled with debug option enabled.

Try snapshots first: "both" configure.py's takes a --debug switch, btw.

Pete


More information about the PyQt mailing list