#946 SEGV crash when dependent class is missing

open
nobody
5
2006-02-20
2006-02-20
Anonymous
No

Unpack the attached test files;

Using the following environment:
Ant 1.6.5
Java 1.3.1_15-b01 or Java 1.4.2_10-b03
Windows XP

C:> ant -f jikes.xml
results in a jikes SEGV (Microsoft "jikes.exe has
encountered a problem and needs to close" dialog)

I came across this due to missing dependencies, the
SEGV makes it real hard to track down what the real
error is,
in the end I tracked it down to the missing
dependencies of org.apache.axis.MessageContext

But surely Jikes should report a helpful error in this
case, not SEGV?!

----
Ed
ed.randall@wallstreetsystems.com

Discussion

  • test case for Jikes SEGV

     
    Attachments
  • Josef Spillner
    Josef Spillner
    2006-06-02

    Logged In: YES
    user_id=2207

    Confirming this bug. And the SEGV patch which is in the
    tracker fixed this for me as well. So I'd encourage
    applying the patch.

    In my case, an Apache Tomcat 5.0.30-based project, I simply
    called
    CoyoteConnector cc = new CoyoteConnector();
    which is defined in tomcat-coyote.jar. However it also
    needs javax.management.MBeanRegistration as it implements
    its interface, which itself is located in jmx.jar.
    But I could prepare a real testcase, but think more
    testcases are not really needed for this bug.