From: Noa Resare <noa@metamatrix.se>
To: rhug-rhats@sources.redhat.com
Subject: Re: segfault when running ant
Date: Fri, 28 Nov 2003 12:28:00 -0000 [thread overview]
Message-ID: <1070022488.27083.94.camel@ua-213-114-26-86.cust.bredbandsbolaget.se> (raw)
In-Reply-To: <20031128120435.GA12877@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 786 bytes --]
fre 2003-11-28 klockan 13.04 skrev Gary Benson:
> Noa Resare wrote:
> > Program received signal SIGSEGV, Segmentation fault.
> >
> > 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.
In a few days perhaps I'll have the time to try setting up such an
environment.
> 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.
Backtrace is attached. I use the following versions which I believe are
the latest:
[noa@molly bin]$ rpm -q gcc-ssa xerces-j ant
gcc-ssa-3.5ssa-0.20030801.43
xerces-j-2.2.1-11
ant-1.5.2-23
/noa
[-- Attachment #2: ant-bt.txt --]
[-- Type: text/plain, Size: 2457 bytes --]
(gdb) bt
#0 0x00751ada in org.apache.xerces.impl.xs.XSDDescription.equals(java.lang.Object) (this=@6811c02, descObj=@bf2c48a0)
at upstream/src/org/apache/xerces/impl/xs/XSDDescription.java:226
#1 0x068481fd in gnu::gcj::runtime::StackTrace::getClass(gnu::gcj::RawData*) (
p=@6811cea) at ../../../libjava/gnu/gcj/runtime/natStackTrace.cc:129
#2 0x068482ce in gnu::gcj::runtime::StackTrace::classAt(int) (this=@6ca1688,
n=109124610) at ../../../libjava/gnu/gcj/runtime/natStackTrace.cc:150
#3 0x0684b8c0 in java::lang::Class::forName(java::lang::String*) (
className=@6811cea) at ../../../libjava/java/lang/natClass.cc:102
#4 0x06811c02 in gnu.gcj.convert.UnicodeToBytes.getDefaultEncoder() ()
at ../../../libjava/gnu/gcj/convert/UnicodeToBytes.java:49
#5 0x0688cf0c in java.io.PrintStream.PrintStream(java.io.OutputStream, boolean) (this=@bf2c9fa8, out=@6811cea)
at ../../../libjava/java/io/PrintStream.java:128
#6 0x068733fc in java.lang.System.<clinit>() ()
at ../../../libjava/java/lang/System.java:135
#7 0x0684cf81 in java::lang::Class::initializeClass() (this=@6bcd8e0)
at ../../../libjava/java/lang/natClass.cc:831
#8 0x069fb8f8 in _Jv_InitClass (klass=@6811cea) at Class.h:265
#9 0x06872d24 in java.lang.System.getProperty(java.lang.String) (
key=@bf2e6f00) at ../../../libjava/java/lang/System.java:393
#10 0x06876170 in java.lang.Throwable.<clinit>() ()
at ../../../libjava/java/lang/Throwable.java:403
#11 0x0684cf81 in java::lang::Class::initializeClass() (this=@6bce7c0)
at ../../../libjava/java/lang/natClass.cc:831
#12 0x0684d068 in java::lang::Class::initializeClass() (this=@6bc7760)
at Class.h:265
#13 0x0684d068 in java::lang::Class::initializeClass() (this=@6bcaee0)
at Class.h:265
#14 0x0684d068 in java::lang::Class::initializeClass() (this=@6bca140)
at Class.h:265
#15 0x0682bb38 in _Jv_AllocObjectNoFinalizer (klass=@6bca140, size=20)
at Class.h:265
#16 0x0682bb6c in _Jv_AllocObject (klass=@6bca140, size=109124842)
at ../../../libjava/prims.cc:415
#17 0x0682c9ce in _Jv_CreateJavaVM(void*) () at ../../../libjava/prims.cc:921
#18 0x0682cbaf in _Jv_RunMain(java::lang::Class*, char const*, int, char const**, bool) (klass=@8049a20, name=null, argc=1, argv=@bfef4224, is_jar=false)
at ../../../libjava/prims.cc:973
#19 0x0682cd5b in JvRunMain (klass=@6811cea, argc=109124842, argv=@6811cea)
at ../../../libjava/prims.cc:1011
#20 0x0804877c in main ()
next prev parent reply other threads:[~2003-11-28 12:28 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-28 11:42 Noa Resare
2003-11-28 12:04 ` Gary Benson
2003-11-28 12:28 ` Noa Resare [this message]
2003-11-28 13:43 ` Gary Benson
2003-11-28 18:17 ` Jeff Sturm
2003-11-28 22:35 ` Noa Resare
2003-12-16 10:36 ` Noa Resare
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1070022488.27083.94.camel@ua-213-114-26-86.cust.bredbandsbolaget.se \
--to=noa@metamatrix.se \
--cc=rhug-rhats@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).