[complicated Java app with native code crashing in some OSes, not others]
>My first assumption is that I must have some strange memory bug in
>the C library.
It sure sounds that way.
>The thing that confuses this is that the C-only test programs run
>fine on all three OS's and the java clients run fine under Linux.
>It's only java under solaris and NT that is a problem.
Memory trashing gives very random bugs. Try running your C test
programs under Purify or an equivalent tool. I haven't kept up in this
domain; gcc was supposed to build in some support for bounds checking,
Checker looked pretty good for Linux a year ago, even ElectricFence
might turn something up.
Steve - are you able to test your JDK ports under one of these tools?
It could help a lot in making the VM more stable, although if Sun
isn't careful about this kind of testing then you might spend all your
time hunting down their bugs.