xchataqua/xchataqua — Issue #20: Ruby plugin deinit crashes on quit
Author: kylelemons
Created: 2012-02-20 20:46:00+00:00
State: open

Moving ruby.bundle out of the PlugIns/ directory allows XChat to exit properly. Stack trace below.

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib	0x00007fff86014ce2 __pthread_kill + 10
1 libsystem_c.dylib	0x00007fff8c6987d2 pthread_kill + 95
2 libsystem_c.dylib	0x00007fff8c689a7a abort + 143
3 libruby.1.dylib	0x0000000107ac1649 rb_bug + 316
4 libruby.1.dylib	0x0000000107b28d8c 0x107aae000 + 503180
5 libsystem_c.dylib	0x00007fff8c6eacfa _sigtramp + 26
6 libruby.1.dylib	0x0000000107ad2a93 0x107aae000 + 150163
7 libruby.1.dylib	0x0000000107ad1ffe 0x107aae000 + 147454
8 libruby.1.dylib	0x0000000107acf040 0x107aae000 + 135232
9 libruby.1.dylib	0x0000000107ad2ed3 0x107aae000 + 151251
10 libruby.1.dylib	0x0000000107ace99f rb_funcall + 116
11 ruby	0x0000000107aa4363 xchat_plugin_deinit + 40
12 org.3rddev.xchatazure	0x0000000100047fd5 plugin_free + 42
13 org.3rddev.xchatazure	0x0000000100048188 plugin_kill_all + 43
14 org.3rddev.xchatazure	0x00000001000540d8 xchat_exit + 26
15 org.3rddev.xchatazure	0x0000000100054083 session_free + 600
16 org.3rddev.xchatazure	0x000000010000e84d -[ChatWindow windowWillClose:] + 25
17 org.3rddev.xchatazure	0x0000000100020d82 -[TabOrWindowView close] + 338
18 org.3rddev.xchatazure	0x000000010001f890 -[TabOrWindowViewTabDelegate windowWillClose:] + 65
19 com.apple.Foundation	0x00007fff8b16bde2 __-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 + 47
20 com.apple.CoreFoundation	0x00007fff860a4e0a _CFXNotificationPost + 2634
21 com.apple.Foundation	0x00007fff8b158097 -[NSNotificationCenter postNotificationName:object:userInfo:] + 65
22 com.apple.AppKit	0x00007fff83393ced __-[NSWindow _close]_block_invoke_1 + 244
23 com.apple.AppKit	0x00007fff83393bd7 -[NSWindow _close] + 363
24 org.3rddev.xchatazure	0x0000000100022a78 -[AquaChat applicationWillTerminate:] + 125
25 com.apple.Foundation	0x00007fff8b16bde2 __-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 + 47
26 com.apple.CoreFoundation	0x00007fff860a4e0a _CFXNotificationPost + 2634
27 com.apple.Foundation	0x00007fff8b158097 -[NSNotificationCenter postNotificationName:object:userInfo:] + 65
28 com.apple.AppKit	0x00007fff831209e7 -[NSApplication terminate:] + 1540
29 com.apple.CoreFoundation	0x00007fff860eba1d -[NSObject performSelector:withObject:] + 61
30 com.apple.AppKit	0x00007fff8321f710 -[NSApplication sendAction:to:from:] + 139
31 com.apple.AppKit	0x00007fff8330cbd7 -[NSMenuItem _corePerformAction] + 399
32 com.apple.AppKit	0x00007fff8330c90e -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 125
33 com.apple.AppKit	0x00007fff83289c3a -[NSMenu performKeyEquivalent:] + 281
34 com.apple.AppKit	0x00007fff8328888d -[NSApplication _handleKeyEquivalent:] + 526
35 com.apple.AppKit	0x00007fff83180170 -[NSApplication sendEvent:] + 4282
36 org.3rddev.xchatazure	0x0000000100029f18 -[SGApplication sendEvent:] + 259
37 com.apple.AppKit	0x00007fff83116682 -[NSApplication run] + 555
38 org.3rddev.xchatazure	0x0000000100054807 main + 1603
39 org.3rddev.xchatazure	0x00000001000017f4 start + 52