I'm embedding MonoTouch's mono library in an objective-C iOS project, which
is working fine for basic stuff like creating instances of .NET objects,
calling methods and setting properties via the embedded mono C API.
When I try and use my large .NET assembly, however, I seem to be getting a
SIGBUS signal on a garbage collection thread. I can't work out from the
stack trace (pasted below) why this is happening. Any suggestions for how
can I debug this?
Thanks.
(lldb) bt
* thread #10: tid = 0x2a03, 0x0cc0765f, stop reason = signal SIGBUS
frame #0: 0x0cc0765f
frame #1: 0x0cc0753c
frame #2: 0x0c8b1d79
frame #3: 0x00058dd2 EmbeddedMonoTouch`mono_jit_runtime_invoke + 722 at
mini.c:5797
frame #4: 0x001b8cde EmbeddedMonoTouch`mono_runtime_invoke + 126 at
object.c:2757
frame #5: 0x001b8e1c EmbeddedMonoTouch`mono_runtime_delegate_invoke + 92
at object.c:3422
frame #6: 0x001f44f2 EmbeddedMonoTouch`start_wrapper [inlined]
start_wrapper_internal + 457 at threads.c:790
frame #7: 0x001f4329 EmbeddedMonoTouch`start_wrapper + 9 at
threads.c:832
frame #8: 0x0022647a EmbeddedMonoTouch`thread_start_routine + 154 at
wthreads.c:287
frame #9: 0x0024d86d EmbeddedMonoTouch`GC_start_routine + 93 at
pthread_support.c:1468
frame #10: 0x94bfced9 libsystem_c.dylib`_pthread_start + 335
--
View this message in context:
http://monotouch.2284126.n4.nabble.com/SIGBUS-in-garbage-collection-thread-tp4655764.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch