From: Godmar Back (gback@cs.utah.edu)
Date: Fri Feb 05 1999 - 01:48:02 EST
>
> Godmar et. al.,
>
> Regarding this problem of protecting non-reentrant libc routines
> (like malloc()) with mutex's... it seems like we should apply
> some kind of immediate fix now, even if a less than optimal one.
> Then we can work out optimizations later.
>
> My ulterior motive here is that we're trying to get Apache
> working with jserv, and it's working OK but bombing out with
> "recursive malloc" errors.
>
> What would be the simplest thing we could slap on there for
> the time being? I'd be willing to do it if you can explain
> how it can be done simply.
>
> By the way, I don't think the JNI spec says anything about
> whether native code can expect to be protected from preemption.
> Does anyone know more about this? If not, we have to protect
> all native calls anyway.
>
Hmmm, I'm still trying to find the problem in Linux...
I'd like to see a backtrace of a recursive malloc call.
Is that possible?
- Godmar
This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:58 EDT