Issues

Issue #66 resolved

time.sleep(1) crashed script

Thomaschaaf
created an issue

Hello,

yesterday I downloaded py2app from bitbucket and built it. Now I am trying to build an application (on Mac OS X 10.7.4). Running this application on 10.7 and 10.8 works. But now I try and run the application on 10.6 and get an error "Illegal Instruction".

You can find the crashlog at: pastie.org/5077809 watcher.py http://pastie.org/5077813 setup.py http://pastie.org/5077838

The output when running it:

./example-app.app/Contents/MacOS/example-app 1350554252.17 Illegal instruction

Comments (7)

  1. Ronald Oussoren repo owner

    Which python build do you use? (Apple's, binary installer from python.org, self build, home-brew, macports, ...)

    The crash appears to be in python itself (in the implementation of time.sleep), which is odd .

  2. Ronald Oussoren repo owner

    (Reply via rona...@mac.com):

    I could do that, but that wouldn't really help w.r.t. fixing the problem. I'll try to reproduce this problem later this week on my machines, building on OSX 10.8 and running on 10.6.

  3. Ronald Oussoren repo owner

    Homebrew appears to install with MACOSX_DEPLOYMENT_TARGET set to the current OS, which means it will only work on the same major OSX release as the build machine or any newer OSX release.

    This explains why your program crashed on OSX 10.6, and that the python.org installer fixed that issue.

  4. Log in to comment