[Mono-list] strange mono initialization problem

Zaphod j0k3rin@yahoo.co.in
Thu, 15 Aug 2002 21:45:30 +0530


On Thu, Aug 15, 2002 at 05:08:38PM +0200, Paolo Molaro wrote:

> The only limitation I know of is with the pthread library: to be able to
> dlopen a shared object that uses pthread (and have it work), your main
> application needs to be linked to libpthread as well. Is that already 
> the case?
> Of course a stack trace is always useful to check where the real problem is.

No the real issue lies with dlopening is that it cannot do GC operations from
dlopened .so files due to a stack issue ... This ends up smashing the stack
and is the major issue while calling the GC_init() ... You should get a
wrong mark which ends up being freed ... IIRC this bug was discussed on 
the Portable.net lists/irc sometime back ..