public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "khiraly123 at gmx dot net" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug java/24251]  New: Segmentation fault using org.w3c.dom.
Date: Fri, 07 Oct 2005 08:32:00 -0000	[thread overview]
Message-ID: <bug-24251-11476@http.gcc.gnu.org/bugzilla/> (raw)

Hi!

As discussed on the mailing list (
http://gcc.gnu.org/ml/java/2005-10/msg00025.html ), there is a segmentation
fault problem using org.w3c.dom.* packages.

Verified on debian SID (me, gcj version 4.0.2) and on FC3 (David Daney, CVS
head) using the small test program what was wirtten to demonstrate the
segfault.

Here is the test program:
http://khiraly.4242.hu/tmp/saxsux/SaxSux.java
http://khiraly.4242.hu/tmp/saxsux/config.xml

Quick quide:
khiraly@elite:~/saxsux$ javac SaxSux.java
khiraly@elite:~/saxsux$ java SaxSux config.xml
Teszt
true
khiraly@elite:~/saxsux$ gcj-4.0 --main=SaxSux SaxSux.java
khiraly@elite:~/saxsux$ ./a.out config.xml
Aborted
khiraly@elite:~/saxsux$

gdb output (CVS HEAD):
#0  0xb7fe8402 in __kernel_vsyscall ()
#1  0x00b887d5 in raise () from /lib/tls/libc.so.6
#2  0x00b8a149 in abort () from /lib/tls/libc.so.6
#3  0xb74f81c7 in _Jv_Throw (value=0x17b7b0)
     at ../../../gcccvsmain/gcc/libjava/exception.cc:111
#4  0xb74ec0ea in catch_segv (_dummy=Could not find the frame base for 
"catch_segv".
) at ../../../gcccvsmain/gcc/libjava/prims.cc:152
#5  <signal handler called>
#6  0x0804a508 in org::w3c::dom::Node::class$ ()
#7  0x08049340 in SaxSux.getStringElement(java.lang.String) ()
#8  0x0804906e in SaxSux.main(java.lang.String[]) ()
#9  0xb75189d3 in gnu::java::lang::MainThread::call_main (this=0x62f18)
     at ../../../gcccvsmain/gcc/libjava/gnu/java/lang/natMainThread.cc:47
#10 0xb7559a07 in gnu.java.lang.MainThread.run() (this=0x62f18) at 
MainThread.java:105
#11 0xb75277eb in _Jv_ThreadRun (thread=0x62f18)
     at ../../../gcccvsmain/gcc/libjava/java/lang/natThread.cc:299
#12 0xb74ed03d in _Jv_RunMain (vm_args=0x0, klass=0x804a2c0, name=0x0, 
argc=2,
     argv=0xbf8e5bd4, is_jar=false) at 
../../../gcccvsmain/gcc/libjava/prims.cc:1386
#13 0xb74ed1a2 in _Jv_RunMain (klass=0x804a2c0, name=0x0, argc=2, 
argv=0xbf8e5bd4,
     is_jar=false) at ../../../gcccvsmain/gcc/libjava/prims.cc:1397
#14 0xb74ed1e7 in JvRunMain (klass=0x804a2c0, argc=2, argv=0xbf8e5bd4)
     at ../../../gcccvsmain/gcc/libjava/prims.cc:1403
#15 0x08048fc4 in main ()

Best regards, 
 Khiraly


-- 
           Summary: Segmentation fault using org.w3c.dom.
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: khiraly123 at gmx dot net


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24251


             reply	other threads:[~2005-10-07  8:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-07  8:32 khiraly123 at gmx dot net [this message]
2005-10-07  8:36 ` [Bug java/24251] " khiraly123 at gmx dot net
2005-10-07  8:37 ` khiraly123 at gmx dot net
2005-10-11 17:58 ` aph at gcc dot gnu dot org
2005-10-12 13:06 ` [Bug java/24251] [4.0/4.1 Regression] BC-compiled interfaces in libgcj can't be called from non-BC code pinskia at gcc dot gnu dot org
2005-10-13 17:36 ` cvs-commit at gcc dot gnu dot org
2005-10-13 18:40 ` [Bug java/24251] [4.0 " pinskia at gcc dot gnu dot org
2005-10-14 11:41 ` cvs-commit at gcc dot gnu dot org
2005-10-14 13:15 ` pinskia at gcc dot gnu dot org

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=bug-24251-11476@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=java-prs@gcc.gnu.org \
    /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).