Running hotjava or other AWT apps (SwingSet, JavaTest etc) on Win32 with JDK 1.1.8 Chelsea often results in an access violations and a crash.
The problem appears to be in linker_md.c, sysAddDLSegment, where the string library_name is being stored in a static array without being strdup'd or otherwise copied first. When the pointer goes out of scope dllarray[i].fn contains garbage, causing a crash next time it's dereferenced.
Looks like this was caused by backing out a change between rev 1.31 and 1.32.
The problem appears to be in linker_md.c, sysAddDLSegment, where the string library_name is being stored in a static array without being strdup'd or otherwise copied first. When the pointer goes out of scope dllarray[i].fn contains garbage, causing a crash next time it's dereferenced.
Looks like this was caused by backing out a change between rev 1.31 and 1.32.