[Pythonmac-SIG] debugging bus error on launch [py2app]

Jeffrey O'Neill jeff.oneill at openstv.org
Mon Jun 6 19:15:40 CEST 2011


On Mon, Jun 6, 2011 at 1:08 PM, Chris Weisiger <cweisiger at msg.ucsf.edu>wrote:

> On Mon, Jun 6, 2011 at 9:56 AM, Jeffrey O'Neill <jeff.oneill at openstv.org>wrote:
>
>>
>> Hi Ronald,
>>
>> Thanks for the suggestions.  I'm not importing GUI code in a thread (and
>> threads are not used in launching the app either) so that is not causing the
>> problem.
>>
>> I tried gdb with no-strip and the output is below.  It doesn't help me
>> any. :(  GDB says it is x86_64-apple-darwin while my app is 32 bit but I
>> don't know if that matters.
>>
>
> That sounds like it would cause a problem. :) You said you upgraded your
> Python install; are you sure you got the 32-bit version? If you do
>
> import platform; print platform.architecture()
>
> what do you get?
>
> Does the program work properly when not built as an app?
>

Yes, definitely 32-bit Python:

$ python
Python 2.7.1 (r271:86882M, Nov 30 2010, 09:39:13)
[GCC 4.0.1 (Apple Inc. build 5494)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform; print platform.architecture()
('32bit', '')

My app works fine when run without py2app.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20110606/29afc453/attachment-0001.html>


More information about the Pythonmac-SIG mailing list