This is the mail archive of the rhug-rhats@sources.redhat.com mailing list for the RHUG project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: segfault when running ant


Noa Resare wrote:
> Starting program: /usr/bin/ant
> [Thread debugging using libthread_db enabled]
> [New Thread -1084473216 (LWP 4823)]
>  
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1084473216 (LWP 4823)]
> 0x00751ada in
> org.apache.xerces.impl.xs.XSDDescription.equals(java.lang.Object)
>     (this=@6811c02, descObj=@bf37d8a0)
>     at upstream/src/org/apache/xerces/impl/xs/XSDDescription.java:226
> 226         public boolean equals(Object descObj) {
> Current language:  auto; currently java
> 
> How should I go about debugging this?

The way I debug things is to keep a copy of gcc and RHUG built with
-O0, etc, and try and reproduce the failure in that.  That way I can
change things easily.

Can you generate a backtrace for the above?  Also, are you using the
very latest Naoko packages?  Including Naoko gcc-ssa?  The gcc-ssa in
Fedora will not work.

> ps. I have no previous experience using gcj, so segfaults from java
> code is a new thing to me.

Debugging them is pretty much like debugging C or C++, except that
listings come up in Java ;)

Gary


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]