MagerValp / AutoDMG

Create deployable system images from OS X installer
1.22k stars 117 forks source link

10.9.2 13C64 and crash of AutoDMG 1.2.1 #31

Closed Marcel75 closed 10 years ago

Marcel75 commented 10 years ago

I've tried to build a Vanilla-DMG from the latest version 1.3.40 of the Mavericks Installer, but AutoDMG crashes.

Here is the report:

Process: AutoDMG [23170] Path: /Applications/AutoDMG.app/Contents/MacOS/AutoDMG Identifier: se.gu.it.AutoDMG Version: 1.2.1 (194) Code Type: X86-64 (Native) Parent Process: launchd [485] Responsible: AutoDMG [23170] User ID: 1818105622

Date/Time: 2014-02-26 15:29:43.775 +0100 OS Version: Mac OS X 10.9.2 (13C64) Report Version: 11 Anonymous UUID: C595D9E2-2948-1688-B795-DEBE0F2FFFC6

Sleep/Wake UUID: D8A3E48B-A6D3-4D9E-B0C2-5355A6293708

Crashed Thread: 13

Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information: *\ Terminating app due to uncaught exception 'OC_PythonException', reason: '<type 'exceptions.UnicodeDecodeError'>: 'ascii' codec can't decode byte 0xc3 in position 9: ordinal not in range(128)' abort() called terminating with uncaught exception of type NSException

Application Specific Backtrace 1: 0 CoreFoundation 0x00007fff8de4525c __exceptionPreprocess + 172 1 libobjc.A.dylib 0x00007fff8caa0e75 objc_exception_throw + 43 2 CoreFoundation 0x00007fff8de44e09 -[NSException raise] + 9 3 _objc.so 0x00000001065f2626 PyObjCFFI_MakeClosure + 2197 4 libffi.dylib 0x00007fff93ffea1f ffi_closure_unix64_inner + 509 5 libffi.dylib 0x00007fff93ffe11e ffi_closure_unix64 + 70 6 libsystem_pthread.dylib 0x00007fff98176899 _pthread_body + 138 7 libsystem_pthread.dylib 0x00007fff9817672a _pthread_struct_init + 0 8 libsystem_pthread.dylib 0x00007fff9817afc9 thread_start + 13

Thread 0:: Dispatch queue: com.apple.main-thread 0 com.apple.CoreFoundation 0x00007fff8dd01ae7 CFBasicHashFindBucket + 3463 1 com.apple.CoreFoundation 0x00007fff8dd00d2f CFDictionaryGetValue + 111 2 com.apple.AppKit 0x00007fff8e35e450 -[NSView _removeNextPointersToMe] + 432 3 com.apple.AppKit 0x00007fff8e35dff4 -[NSView _removeFromKeyViewLoop] + 204 4 com.apple.AppKit 0x00007fff8e35d8cc -[NSView _finalizeWithReferenceCounting] + 980 5 com.apple.AppKit 0x00007fff8e35d4d0 -[NSView dealloc] + 151 6 com.apple.AppKit 0x00007fff8e3fabe7 -[NSControl dealloc] + 134 7 com.apple.AppKit 0x00007fff8e3fab5a -[NSTextField dealloc] + 58 8 com.apple.FinderKit 0x00007fff95b785d2 -[FI_TNameTextField dealloc] + 56 9 libobjc.A.dylib 0x00007fff8ca9a65a (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 502 10 com.apple.CoreFoundation 0x00007fff8dd2fb72 _CFAutoreleasePoolPop + 50 11 com.apple.Foundation 0x00007fff9434be17 -[NSAutoreleasePool drain] + 147 12 com.apple.AppKit 0x00007fff8e303bd8 -[NSApplication run] + 725 13 com.apple.AppKit 0x00007fff8e2ee913 NSApplicationMain + 940 14 _AppKit.so 0x0000000106f9cf91 0x106f9a000 + 12177 15 org.python.python 0x0000000104bd914d PyEval_EvalFrameEx + 8080 16 org.python.python 0x0000000104bd7093 PyEval_EvalCodeEx + 1641 17 org.python.python 0x0000000104bdd8c8 0x104b57000 + 551112 18 org.python.python 0x0000000104bda4d4 PyEval_EvalFrameEx + 13079 19 org.python.python 0x0000000104bd7093 PyEval_EvalCodeEx + 1641 20 org.python.python 0x0000000104bd6a24 PyEval_EvalCode + 54 21 org.python.python 0x0000000104bf5c2c 0x104b57000 + 650284 22 org.python.python 0x0000000104bf5cd3 PyRun_FileExFlags + 137 23 org.python.python 0x0000000104bf5821 PyRun_SimpleFileExFlags + 718 24 se.gu.it.AutoDMG 0x0000000104b52c05 0x104b52000 + 3077 25 libdyld.dylib 0x00007fff8a6935fd start + 1

Thread 1: 0 libsystem_kernel.dylib 0x00007fff923c2e6a __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff98177f08 _pthread_wqthread + 330 2 libsystem_pthread.dylib 0x00007fff9817afb9 start_wqthread + 13

Thread 2:: Dispatch queue: com.apple.libdispatch-manager 0 libsystem_kernel.dylib 0x00007fff923c3662 kevent64 + 10 1 libdispatch.dylib 0x00007fff946ce43d _dispatch_mgr_invoke + 239 2 libdispatch.dylib 0x00007fff946ce152 _dispatch_mgr_thread + 52

. . .

and so on ...

Any idea?

Thanks in advance, Marcel

MagerValp commented 10 years ago

Looks like there's a unicode bug lurking in the code, but there are no details as to where. Can you extract the AutoDMG log from the system log?

MagerValp commented 10 years ago

Also, running /Applications/AutoDMG.app/Contents/MacOS/AutoDMG from inside Terminal.app should give you the full error message in the terminal.

Marcel75 commented 10 years ago

Ok, great hint and thanks for the fast answer. :)

If I start the app with root-privileges from Terminal via /Applications/AutoDMG.app/Contents/MacOS/AutoDMG it seems to work fine.

PS: My user is a managed user without administrative privileges, maybe that's the problem? With the 10.9.0 and 10.9.1 builds I had no issues ...

Marcel75 commented 10 years ago

PS: Build successfull. :) Now I'll try to enroll it on a new machine via Casper Imaging.

Do you still need the extracted AutoDMG log from the system log?

MagerValp commented 10 years ago

The Application should not be started with root privileges. Please run it in the terminal without sudo, I'd like to find the bug.