Community
Participate
Working Groups
Wuala (an Eclipse Cocoa based application) is crashing on Mac OS X 10.7 Lion beta when hitting Command Q to quit : Thread 0 Crashed: 0 libobjc.A.dylib 0x00007fff9227eead objc_msgSend_vtable5 + 21 1 com.apple.AppKit 0x00007fff8f4ae598 -[NSApplication encodeRestorableStateWithCoder:] + 96 2 com.apple.AppKit 0x00007fff8f9e8b49 -[NSPersistentUIRecord generateArchive:] + 177 3 com.apple.AppKit 0x00007fff8f9e827b recursivelyEncodeInvalidPersistentState + 406 4 com.apple.AppKit 0x00007fff8f9e7a3b -[NSPersistentUIManager flushAllChangesOptionallyWaitingUntilDone:] + 1515 5 com.apple.AppKit 0x00007fff8f865dde __-[NSWindow _close]_block_invoke_1 + 97 6 com.apple.AppKit 0x00007fff8f3f7ac6 -[NSWindow _close] + 363 7 libswt-pi-cocoa-3655.jnilib 0x0000000108e110fc Java_org_eclipse_swt_internal_cocoa_OS_objc_1msgSend__JJ + 46 8 ??? 0x0000000101540a96 0 + 4317252246 9 ??? 0x0000000101496929 0 + 4316555561 10 ??? 0x000000010149685a 0 + 4316555354 11 ??? 0x000000010149685a 0 + 4316555354 12 ??? 0x000000010149685a 0 + 4316555354 13 ??? 0x000000010149685a 0 + 4316555354 14 ??? 0x000000010149685a 0 + 4316555354 15 ??? 0x000000010149685a 0 + 4316555354 16 ??? 0x000000010149685a 0 + 4316555354 17 ??? 0x0000000101496d34 0 + 4316556596 18 ??? 0x000000010149685a 0 + 4316555354 The app's delegate has been deallocated while it is still attached to the application, so Appkit crashes while trying to message it. Whoever is responsible for setting the NSApp's delegate in the Eclipse Cocoa port should clear it when that delegate is deallocated.
Perhaps I'm not doing the same thing as Bino, but hitting Command-Q works fine for me using Indigo and 10.7.0 (the first release)
I cannot reproduce this problem. Please reopen if it still happens for you with 10.7.0 (the first release).