[Mono-bugs] [Bug 688030] Using a System.Threading.Timer in a Cocoa app (MonoMac or Monobjc) crashes on shutdown
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Apr 18 11:25:22 EDT 2011
https://bugzilla.novell.com/show_bug.cgi?id=688030
https://bugzilla.novell.com/show_bug.cgi?id=688030#c1
--- Comment #1 from marc hoffman <mh at elitedev.com> 2011-04-18 15:25:20 UTC ---
i have this in MonoDevelop Console (looks to be same class stack):
Stacktrace:
at (wrapper managed-to-native) MonoMac.AppKit.NSApplication.NSApplicationMain
(int,string[]) <IL 0x0009d, 0xffffffff>
at MonoMac.AppKit.NSApplication.Main (string[]) [0x00000] in
/Users/michael/Mono/monomac/src/AppKit/NSApplication.cs:74
at Timer.MainClass.Main (string[]) [0x00005] in
/Users/mh/Projects/Timer/Main.cs:14
at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object
(object,intptr,intptr,intptr) <IL 0x00050, 0xffffffff>
Native stacktrace:
* Assertion at handles.c:1143, condition `thr_ret == 0' not met
0 Timer 0x000b7009 0x0 + 749577
1 libSystem.B.dylib 0x979dd45b _sigtramp + 43
2 ??? 0xffffffff 0x0 + 4294967295
3 libSystem.B.dylib 0x97a6a899 raise + 26
4 libSystem.B.dylib 0x97a809b8 abort + 93
5 Timer 0x0024ee62 0x0 + 2420322
6 Timer 0x0024eec4 0x0 + 2420420
7 Timer 0x0021e5fd 0x0 + 2221565
8 Timer 0x0021c72a 0x0 + 2213674
9 libSystem.B.dylib 0x979961aa __cxa_finalize + 219
10 libSystem.B.dylib 0x979960b4 exit + 33
11 AppKit 0x97da748a -[NSApplication
terminate:] + 1056
12 AppKit 0x97ddf44c -[NSApplication
_terminateSendShould:] + 71
13 CoreFoundation 0x9849eedd __invoking___ + 29
14 CoreFoundation 0x9849ee48 -[NSInvocation invoke] +
136
15 Foundation 0x986ba8d4 __NSFireTimer + 141
16 CoreFoundation 0x98463adb __CFRunLoopRun + 8059
17 CoreFoundation 0x98461464 CFRunLoopRunSpecific +
452
18 CoreFoundation 0x98461291 CFRunLoopRunInMode + 97
19 HIToolbox 0x9249de04 RunCurrentEventLoopInMode
+ 392
20 HIToolbox 0x9249daf5 ReceiveNextEventCommon +
158
21 HIToolbox 0x9249da3e
BlockUntilNextEventMatchingListInMode + 81
22 AppKit 0x97b6e78d _DPSNextEvent + 847
23 AppKit 0x97b6dfce -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
24 AppKit 0x97b30247 -[NSApplication run] +
821
25 AppKit 0x97b282d9 NSApplicationMain + 574
26 ??? 0x023ee374 0x0 + 37675892
27 ??? 0x023ee16e 0x0 + 37675374
28 ??? 0x003d5ff8 0x0 + 4022264
29 ??? 0x003d6156 0x0 + 4022614
30 Timer 0x000114e4 0x0 + 70884
31 Timer 0x001bcca6 0x0 + 1821862
32 Timer 0x001bf2a1 0x0 + 1831585
33 Timer 0x001be68b 0x0 + 1828491
34 Timer 0x00088662 0x0 + 558690
35 Timer 0x00003ca6 0x0 + 15526
Debug info from gdb:
/tmp/mono-gdb-commands.pUJV3Y:1: Error in sourced command file:
unable to debug self
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list