Hi!
I'm using PyInstaller 2.0 to compile Binaries for Linux. On the Machine where I build it (with Python 2.6/Debian), the Binary executes without any Problems. On any other Machine it quits immediately after executing with an Segmentation Fault. Same issu when I build it on another PC (Python 2.7/Gentoo).
I started the Programm with strace (on a non-build-machine), the last (and I guess most interesting) Part is as follow:
[pid 14128] --- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 14128 detached
<... wait4 resumed> [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV && WCOREDUMP(s)}], 0, NULL) = 14128
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigaction(SIGINT, {SIG_DFL, [INT], SA_RESTART}, {0x8049990, [INT], SA_RESTART}, 8) = 0
rt_sigaction(SIGKILL, {SIG_DFL, [KILL], SA_RESTART}, {0x8049990, [INT], SA_RESTART}, 8) = -1 EINVAL (Invalid argument)
rt_sigaction(SIGTERM, {SIG_DFL, [TERM], SA_RESTART}, {0x8049990, [TERM], SA_RESTART}, 8) = 0
gettid() = 14127
tgkill(14127, 14127, SIGSEGV) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV (core dumped) +++
[ Process PID=14127 runs in 32 bit mode. ]
What's the matter here? I also tried the -F parameter but nothing changed.
Greetings
Second, I ran pyinstaller on a 64bit-System with Python 2.7. Still got that Segmentation Fault on the Ubuntu Machine. Pretty confusing.
Goebel Consult
http://www.goebel-consult.de
Monatliche Kolumne:
http://www.cissp-gefluester.de/2011-02-fleisige-datensammler-fur-lukratives-geschaeftsmodell-gesucht
Blog:
http://www.goebel-consult.de/blog/20060215
Goebel Consult ist Mitglied bei http://www.7-it.de/