Date: Fri, 3 Sep 1999 02:06:50 -0400 From: Justin Wells <jread@semiotek.com> To: freebsd-java@freebsd.org Subject: 1.1.8 segfaults Message-ID: <19990903020650.A10276@semiotek.com>
next in thread | raw e-mail | index | archive | help
The latest version of the JDK 1.1.8 (both ELF and AOUT) segfaults on one of my class files, reliably, at the same point. I tried it on two different machines: a FreeBSD 3.2 machine with the ELF release; and a 2.2.7 machine with the AOUT release installed. It crashes on both at the same point. It works fine under the 1.1.7 JDK, and it works fine under both Linux JDK's (IBM and Blackdown). Interestingly enough, though, it crashes the Kaffe VM in exactly the same way, at the same line. If I remove that line, Kaffe and the 1.1.8 JVM are happy again. I tried to create a trivial example that replicates the problem, but I wasn't able to do it. So I could make a large package including the current version of my software available, along with a shell script that runs it in the way that shows the problem. Since it's a pre-release version in the midst of a major code change, I don't want to publish it--but I'll supply it privately to whoever wants to try and debug this. Please e-mail me as justin at the same domain (semiotek.com) and ask me to send you a copy. (Replies to this message will wind up in my mailing list inbox, which I often mass-delete when I am busy, so send it to my regular account instead). For the curious, it happens during some recursive introspection of a hierarchy of classes. The particular Java expression that causes the segfault is this: iterClass.isAssignableFrom(returnType); in the case that causes the segfault, iterClass is one of my own private classes (org.webmacro.util.java2.Iterator) and the returntype happens to be java.util.Enumeration. However, who knows what actually caused the problem. Perhaps something odd is happening on the stack. I compiled with both 'jikes' and with 'javac' and the problem results no matter which one is used, so I don't think it would involve a compiler bug. Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990903020650.A10276>