[Mono-list] embeded mono segfaults without calling managed code
kumpera at gmail.com
Mon Aug 5 13:52:33 UTC 2013
For Java, try this:
On Mon, Aug 5, 2013 at 1:49 AM, Chris Ochs <chris at ochsnet.com> wrote:
> It appears that java and mono both use some of the same signals for GC and
> pthreads, and step on each other. If you embed mono in a java app it works
> fine until you start spinning up other java threads, then it eventually
> segfaults. This happens even if you do nothing but call mono_jit_init in
> the main thread.
> On Fri, Aug 2, 2013 at 10:50 PM, snacktime <chris at ochsnet.com> wrote:
>> I'm embedding mono using C, which I'm calling from java. I'm loading the
>> mono runtime in the main thread. That all works fine, until I load the
>> of my app, at which point it segfaults. It does this even when the only
>> thing I do is call mono_jit_init(). My c method that calls that returns
>> void, there are no references to anything from the mono side that I'm
>> carrying around.
>> I'd debug it with gdb but it's a jruby app, and I haven't figured out how
>> debug that under gdb.
>> View this message in context:
>> Sent from the Mono - General mailing list archive at Nabble.com.
>> Mono-list maillist - Mono-list at lists.ximian.com
> Mono-list maillist - Mono-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list