Issues

Issue #87 resolved

latest commit prevents app from running in debug mode

Marc Van Olmen
created an issue

The following commit:

cae3a9e Fix usage of atos to avoid errors when using Xcode 5.1 on OSX 10.9

Prevents the app to run in debug mode on 10.8 with Xcode 5.1.1, also the "unmangling" doesn't seem to work in that case.

2014-05-30 11:50:13.326 Checkout[39354:303] *** ObjC exception 'NSInvalidArgumentException' (reason: 'Class OC_PythonObject: no such selector: removeObserver:forKeyPath:context:') discarded
Stack trace (most recent call last):
  0x3
  0x2a55
  0x2bcb3
  0x9384d568
  0x9384d7d4
  0x9384dce0
  0x93eb810c
  0x93ebe040
  0x9856ddbe
  0x8fe0a605
  0x8fe04e0b
  0x8fe100ba
  0x8fe10268
  0x8fe13fde
  0x8fe13cda
  0x18a76b3
  0x18a99eb
  0x33e706d
  0x33e6f5c
  0x33c2b77
  0x33c2a2c
  0x33c0825
  0x33c2a2c
  0x33c1de5
  0x33c2a2c
  0x33bd57f
  0x33b8cbe
  0x330a505
  0x33b7a8f
  0x33daba5
  0x33da433
  0x33da3db
  0x33da14e
  0x33d7f7c
  0x33d6d6a
  0x33c2b77
  0x33c2a2c
  0x33bc4b3
  0x330dbdc
  0x330a505
  0x3373043
  0x3370715
  0x330a505
  0x333c22b
  0x33c2a2c
  0x33c0230
  0x5b74f5f
  0x5b7b15d
  0x5b9443e
  0x5b7aef4
  0x5b92e78
  0x5b8aae9
  0x93ef460b
  0x917f552e
  0x66d467e
2014-05-30 11:50:13.380 Checkout[39354:303] *** ObjC exception 'NSUncaughtSystemExceptionException' (reason: 'Uncaught system exception: signal 5') discarded
Stack trace (most recent call last):
  0x3
  0x2a55
  0x2bcb3
  0x9384d568
  0x9384d7d4
  0x9384dce0
  0x93eb810c
  0x93ebe040
  0x9856ddbe
  0x8fe0a605
  0x8fe04e0b
  0x8fe100ba
  0x8fe10268
  0x8fe13fde
  0x8fe13cda
  0x18a76b3
  0x18a99eb
  0x33e706d
  0x33e6f5c
  0x33c2b77
  0x33c2a2c
  0x33c0825
  0x33c2a2c
  0x33c1de5
  0x33c2a2c
  0x33bd57f
  0x33b8cbe
  0x330a505
  0x33b7a8f
  0x33daba5
  0x33da433
  0x33da3db
  0x33da14e
  0x33d7f7c
  0x33d6d6a
  0x33c2b77
  0x33c2a2c
  0x33bc4b3
  0x330dbdc
  0x330a505
  0x3373043
  0x3370715
  0x330a505
  0x333c22b
  0x33c2a2c
  0x33c0230
  0x5b74f5f
  0x5b7b15d
  0x5b9443e
  0x5b7aef4
  0x5b92e78
  0x5b8aae9
  0xffffffff
  0x940af94b
  0x66d484b
2014-05-30 11:50:13.434 Checkout[39354:303] *** ObjC exception 'NSUncaughtSystemExceptionException' (reason: 'Uncaught system exception: signal 11') discarded
Stack trace (most recent call last):
  0x688589c0
  0xe5895500
  0x1c36260
  0x917f552e
  0xffffffff
  0x940af94b
  0x66d484b

If I revert to the commit just before above commit, the app is able to run

dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/atos) has __RESTRICT/__restrict section
2014-05-30 12:49:40.515 Checkout[75577:303] *** ObjC exception 'NSInvalidArgumentException' (reason: 'Class OC_PythonObject: no such selector: removeObserver:forKeyPath:context:') discarded
Stack trace (most recent call last):
  0x00000003 (in Checkout)
  start (in Checkout) + 53
  main (in Checkout) (main.m:29)
  -[NSBundle load] (in Foundation) + 41
  -[NSBundle loadAndReturnError:] (in Foundation) + 612
  _NSBundleLoadCode (in Foundation) + 553
  _CFBundleLoadExecutableAndReturnError (in CoreFoundation) + 684
  _CFBundleDlfcnLoadBundle (in CoreFoundation) + 224
  dlopen (in libdyld.dylib) + 68
  dlopen (in dyld) + 718
  dyld::runInitializers(ImageLoader*) (in dyld) + 88
  ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) (in dyld) + 62
  ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) (in dyld) + 356
  ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) (in dyld) + 64
  ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) (in dyld) + 230
  _py2app_bundle_load (in Checkout) + 131
  pyobjc_main (in Checkout) + 8875
  PyRun_File (in Python) + 61
  PyRun_FileExFlags (in Python) + 172
  PyEval_EvalCode (in Python) + 87
  PyEval_EvalCodeEx (in Python) + 2012
  PyEval_EvalFrameEx (in Python) + 26869
  PyEval_EvalCodeEx (in Python) + 2012
  PyEval_EvalFrameEx (in Python) + 32437
  PyEval_EvalCodeEx (in Python) + 2012
  PyEval_EvalFrameEx (in Python) + 13903
  PyEval_CallObjectWithKeywords (in Python) + 78
  PyObject_Call (in Python) + 85
  builtin___import__ (in Python) + 159
  PyImport_ImportModuleLevel (in Python) + 1045
  ensure_fromlist (in Python) + 371
  ensure_fromlist (in Python) + 283
  import_submodule (in Python) + 286
  load_source_module (in Python) + 748
  PyImport_ExecCodeModuleEx (in Python) + 186
  PyEval_EvalCode (in Python) + 87
  PyEval_EvalCodeEx (in Python) + 2012
  PyEval_EvalFrameEx (in Python) + 9603
  PyObject_CallFunctionObjArgs (in Python) + 156
  PyObject_Call (in Python) + 85
  type_call (in Python) + 51
  slot_tp_new (in Python) + 165
  PyObject_Call (in Python) + 85
  function_call (in Python) + 139
  PyEval_EvalCodeEx (in Python) + 2012
  PyEval_EvalFrameEx (in Python) + 25344
  classAddMethods (in _objc.so) + 191
  PyObjCClass_AddMethods (in _objc.so) + 285
  PyObjCSelector_FromFunction (in _objc.so) + 862
  PyObjCClass_FindSelector (in _objc.so) + 580
  PyObjCSelector_FindNative (in _objc.so) + 1256
  +[OC_PythonObject methodSignatureForSelector:] (in _objc.so) + 153
  +[NSException raise:format:] (in CoreFoundation) + 139
  objc_exception_throw (in libobjc.A.dylib) + 230
  NSExceptionHandlerExceptionRaiser (in ExceptionHandling) + 211
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/atos) has __RESTRICT/__restrict section
2014-05-30 12:49:45.588 Checkout[75577:303] *** ObjC exception 'NSInvalidArgumentException' (reason: 'Class OC_PythonObject: no such selector: addObserver:forKeyPath:options:context:') discarded
Stack trace (most recent call last):
  0x00000003 (in Checkout)
  start (in Checkout) + 53
  main (in Checkout) (main.m:29)
  -[NSBundle load] (in Foundation) + 41
  -[NSBundle loadAndReturnError:] (in Foundation) + 612
  _NSBundleLoadCode (in Foundation) + 553
  _CFBundleLoadExecutableAndReturnError (in CoreFoundation) + 684
  _CFBundleDlfcnLoadBundle (in CoreFoundation) + 224
  dlopen (in libdyld.dylib) + 68
  dlopen (in dyld) + 718
  dyld::runInitializers(ImageLoader*) (in dyld) + 88
  ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) (in dyld) + 62
  ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) (in dyld) + 356
  ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) (in dyld) + 64
  ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) (in dyld) + 230
  _py2app_bundle_load (in Checkout) + 131
  pyobjc_main (in Checkout) + 8875
  PyRun_File (in Python) + 61
  PyRun_FileExFlags (in Python) + 172
  PyEval_EvalCode (in Python) + 87
  PyEval_EvalCodeEx (in Python) + 2012
  PyEval_EvalFrameEx (in Python) + 26869
  PyEval_EvalCodeEx (in Python) + 2012
  PyEval_EvalFrameEx (in Python) + 32437
  PyEval_EvalCodeEx (in Python) + 2012
  PyEval_EvalFrameEx (in Python) + 13903
  PyEval_CallObjectWithKeywords (in Python) + 78
  PyObject_Call (in Python) + 85
  builtin___import__ (in Python) + 159
  PyImport_ImportModuleLevel (in Python) + 1045
  ensure_fromlist (in Python) + 371
  ensure_fromlist (in Python) + 283
  import_submodule (in Python) + 286
  load_source_module (in Python) + 748
  PyImport_ExecCodeModuleEx (in Python) + 186
  PyEval_EvalCode (in Python) + 87
  PyEval_EvalCodeEx (in Python) + 2012
  PyEval_EvalFrameEx (in Python) + 9603
  PyObject_CallFunctionObjArgs (in Python) + 156
  PyObject_Call (in Python) + 85
  type_call (in Python) + 51
  slot_tp_new (in Python) + 165
  PyObject_Call (in Python) + 85
  function_call (in Python) + 139
  PyEval_EvalCodeEx (in Python) + 2012
  PyEval_EvalFrameEx (in Python) + 25344
  classAddMethods (in _objc.so) + 191
  PyObjCClass_AddMethods (in _objc.so) + 285
  PyObjCSelector_FromFunction (in _objc.so) + 862
  PyObjCClass_FindSelector (in _objc.so) + 580
  PyObjCSelector_FindNative (in _objc.so) + 1256
  +[OC_PythonObject methodSignatureForSelector:] (in _objc.so) + 153
  +[NSException raise:format:] (in CoreFoundation) + 139
  objc_exception_throw (in libobjc.A.dylib) + 230
  NSExceptionHandlerExceptionRaiser (in ExceptionHandling) + 211
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/atos) has __RESTRICT/__restrict section
2014-05-30 12:49:52.879 Checkout[75577:303] *** ObjC exception 'NSInvalidArgumentException' (reason: 'Class OC_PythonObject: no such selector: removeObserver:forKeyPath:') discarded
Stack trace (most recent call last):
  0x00000003 (in Checkout)
  start (in Checkout) + 53
  main (in Checkout) (main.m:29)
  -[NSBundle load] (in Foundation) + 41
  -[NSBundle loadAndReturnError:] (in Foundation) + 612
  _NSBundleLoadCode (in Foundation) + 553
  _CFBundleLoadExecutableAndReturnError (in CoreFoundation) + 684
  _CFBundleDlfcnLoadBundle (in CoreFoundation) + 224
  dlopen (in libdyld.dylib) + 68
  dlopen (in dyld) + 718
  dyld::runInitializers(ImageLoader*) (in dyld) + 88
  ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) (in dyld) + 62
  ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) (in dyld) + 356
  ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) (in dyld) + 64
  ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) (in dyld) + 230
  _py2app_bundle_load (in Checkout) + 131
  pyobjc_main (in Checkout) + 8875
  PyRun_File (in Python) + 61
  PyRun_FileExFlags (in Python) + 172
  PyEval_EvalCode (in Python) + 87
  PyEval_EvalCodeEx (in Python) + 2012
  PyEval_EvalFrameEx (in Python) + 26869
  PyEval_EvalCodeEx (in Python) + 2012
  PyEval_EvalFrameEx (in Python) + 32437
  PyEval_EvalCodeEx (in Python) + 2012
  PyEval_EvalFrameEx (in Python) + 13903
  PyEval_CallObjectWithKeywords (in Python) + 78
  PyObject_Call (in Python) + 85
  builtin___import__ (in Python) + 159
  PyImport_ImportModuleLevel (in Python) + 1045
  ensure_fromlist (in Python) + 371
  ensure_fromlist (in Python) + 283
  import_submodule (in Python) + 286
  load_source_module (in Python) + 748
  PyImport_ExecCodeModuleEx (in Python) + 186
  PyEval_EvalCode (in Python) + 87
  PyEval_EvalCodeEx (in Python) + 2012
  PyEval_EvalFrameEx (in Python) + 9603
  PyObject_CallFunctionObjArgs (in Python) + 156
  PyObject_Call (in Python) + 85
  type_call (in Python) + 51
  slot_tp_new (in Python) + 165
  PyObject_Call (in Python) + 85
  function_call (in Python) + 139
  PyEval_EvalCodeEx (in Python) + 2012
  PyEval_EvalFrameEx (in Python) + 25344
  classAddMethods (in _objc.so) + 191
  PyObjCClass_AddMethods (in _objc.so) + 285
  PyObjCSelector_FromFunction (in _objc.so) + 862
  PyObjCClass_FindSelector (in _objc.so) + 580
  PyObjCSelector_FindNative (in _objc.so) + 1256
  +[OC_PythonObject methodSignatureForSelector:] (in _objc.so) + 153
  +[NSException raise:format:] (in CoreFoundation) + 139
  objc_exception_throw (in libobjc.A.dylib) + 230
  NSExceptionHandlerExceptionRaiser (in ExceptionHandling) + 211

Comments (1)

  1. Log in to comment