Ticket #204 (new defect)
Segmentation fault when using executable on another machine
|Reported by:||anonymous||Owned by:||giovannibajo|
|Severity:||normal||Keywords:||pyInstaller, commands, segmentationFault, ant|
Hi, I'm facing a pretty peculiar issue. I'm using pyInstaller to create linux binaries. My build and target system are identical in terms of OS, hardware etc.
Once I create my executable (using shared python to handle dependencies better), the executable works perfectly fine on my local machine. When I run this executable on another machine, it fails on a particular command :
status,out = commands.getstatusoutput("ant -f build.xml")
Commands is a python package which I use to run unix commands from my python program.
The program still continues and finishes, but the previous command returns a segmentation fault.
if i run my python program on this target machine using python test.py, it works fine again. I have attached my spec file to the bug.
Is there anyway I can debug why I get a segmentationFault in the executable ? Version of pyInstaller : 1.4