Re: [PyInstaller] Segmentation Fault (Core Dump) with building on older OS and running on newer

181 views
Skip to first unread message

Martin Zibricky

unread,
May 16, 2013, 3:40:33 PM5/16/13
to pyins...@googlegroups.com
Anthony Teal píše v St 15. 05. 2013 v 22:54 -0700:
> I am trying to get a program to build under Ubuntu 10.04 and run on
> all systems up to 13.04. I built under 10.04 64bit and ran the binary
> on 12.04 64bit. On 10.04 the binary runs fine, on 12.04 it seg faults
> instantly. I have been at it all night, not sure what to do to get
> passed this.

Without code example is hard to help you.

Anthony Teal

unread,
May 16, 2013, 8:15:10 PM5/16/13
to pyins...@googlegroups.com
I don't know what code you would like to see exactly. I could post the strace log but its gotta be near 1000 lines or so. Everything seems to be loading out of the archive. this is my debug output, so it seems like it is failing when it is actually launching python: http://bpaste.net/show/pd403KupQMa9gJr4oZoZ/

Anthony Teal

unread,
May 17, 2013, 12:48:29 AM5/17/13
to pyins...@googlegroups.com
I am also noticing that everything else seems to be working fine unless I have PyQt4 being used.

Martin Zibricky

unread,
May 17, 2013, 5:47:49 AM5/17/13
to pyins...@googlegroups.com
Anthony Teal píše v Čt 16. 05. 2013 v 17:15 -0700:
> I don't know what code you would like to see exactly. I could post the
> strace log but its gotta be near 1000 lines or so. Everything seems to
> be loading out of the archive. this is my debug output, so it seems
> like it is failing when it is actually launching python:
> http://bpaste.net/show/pd403KupQMa9gJr4oZoZ/

Just a few lines that reproduce your issue.

Anthony Teal

unread,
May 17, 2013, 10:14:18 PM5/17/13
to pyins...@googlegroups.com
It only seems to happen when I use PyQt4 or PySide. Even a simple hello world program with only around 8 lines of code gets the same segfault. It is making it very difficult to pinpoint what exactly is going wrong.

Anthony Teal

unread,
May 17, 2013, 11:08:09 PM5/17/13
to pyins...@googlegroups.com
I have compiled the bootloader as well with lsb and still have the same issues

Martin Zibricky

unread,
May 21, 2013, 9:49:36 AM5/21/13
to pyins...@googlegroups.com
Anthony Teal píše v Pá 17. 05. 2013 v 20:08 -0700:
> I have compiled the bootloader as well with lsb and still have the
> same issues

Could you please try to compile the bootloader with option --no-lsb?

Shubham Somani

unread,
Jul 14, 2013, 6:18:58 AM7/14/13
to pyins...@googlegroups.com
Hi,
I seem to be facing the same problem. 

I am compiling code on Ubuntu 12.04 (where it works perfectly) and when I test it on another Ubuntu system the application seg faults.

I have tried compiling the bootloader with --no-lsb but the application generated even after that gives segmentation faults.

When I run a simple hello world script the exe works on both the systems.

But when I add wxPython to it, it gives seg faults on the 2nd system.


Reply all
Reply to author
Forward
0 new messages