public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/24251] New: Segmentation fault using org.w3c.dom.
@ 2005-10-07 8:32 khiraly123 at gmx dot net
2005-10-07 8:36 ` [Bug java/24251] " khiraly123 at gmx dot net
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: khiraly123 at gmx dot net @ 2005-10-07 8:32 UTC (permalink / raw)
To: java-prs
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/24251] Segmentation fault using org.w3c.dom.
2005-10-07 8:32 [Bug java/24251] New: Segmentation fault using org.w3c.dom khiraly123 at gmx dot net
@ 2005-10-07 8:36 ` khiraly123 at gmx dot net
2005-10-07 8:37 ` khiraly123 at gmx dot net
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: khiraly123 at gmx dot net @ 2005-10-07 8:36 UTC (permalink / raw)
To: java-prs
------- Comment #1 from khiraly123 at gmx dot net 2005-10-07 08:36 -------
Created an attachment (id=9917)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9917&action=view)
Testcase, java source file
Exactly the same file, what is available on:
http://khiraly.4242.hu/tmp/saxsux/SaxSux.java
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24251
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/24251] Segmentation fault using org.w3c.dom.
2005-10-07 8:32 [Bug java/24251] New: Segmentation fault using org.w3c.dom khiraly123 at gmx dot net
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
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: khiraly123 at gmx dot net @ 2005-10-07 8:37 UTC (permalink / raw)
To: java-prs
------- Comment #2 from khiraly123 at gmx dot net 2005-10-07 08:37 -------
Created an attachment (id=9918)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9918&action=view)
XML file, what the java program use
Exactly the same file, what is available on:
http://khiraly.4242.hu/tmp/saxsux/config.xml
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24251
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/24251] Segmentation fault using org.w3c.dom.
2005-10-07 8:32 [Bug java/24251] New: Segmentation fault using org.w3c.dom khiraly123 at gmx dot net
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
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: aph at gcc dot gnu dot org @ 2005-10-11 17:58 UTC (permalink / raw)
To: java-prs
--
aph at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |aph at gcc dot gnu dot org
|dot org |
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2005-10-11 17:58:46
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24251
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/24251] [4.0/4.1 Regression] BC-compiled interfaces in libgcj can't be called from non-BC code
2005-10-07 8:32 [Bug java/24251] New: Segmentation fault using org.w3c.dom khiraly123 at gmx dot net
` (2 preceding siblings ...)
2005-10-11 17:58 ` aph at gcc dot gnu dot org
@ 2005-10-12 13:06 ` pinskia at gcc dot gnu dot org
2005-10-13 17:36 ` cvs-commit at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-12 13:06 UTC (permalink / raw)
To: java-prs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24251
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/24251] [4.0/4.1 Regression] BC-compiled interfaces in libgcj can't be called from non-BC code
2005-10-07 8:32 [Bug java/24251] New: Segmentation fault using org.w3c.dom khiraly123 at gmx dot net
` (3 preceding siblings ...)
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
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-10-13 17:36 UTC (permalink / raw)
To: java-prs
------- Comment #3 from cvs-commit at gcc dot gnu dot org 2005-10-13 17:36 -------
Subject: Bug 24251
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: aph@gcc.gnu.org 2005-10-13 17:36:07
Modified files:
libjava : ChangeLog link.cc
Log message:
2005-10-12 Andrew Haley <aph@redhat.com>
PR java/24251
* link.cc (ensure_method_table_complete): Install Miranda methods
for interfaces too.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&r1=1.3754&r2=1.3755
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/link.cc.diff?cvsroot=gcc&r1=1.18&r2=1.19
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24251
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/24251] [4.0 Regression] BC-compiled interfaces in libgcj can't be called from non-BC code
2005-10-07 8:32 [Bug java/24251] New: Segmentation fault using org.w3c.dom khiraly123 at gmx dot net
` (4 preceding siblings ...)
2005-10-13 17:36 ` cvs-commit at gcc dot gnu dot org
@ 2005-10-13 18:40 ` 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
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-13 18:40 UTC (permalink / raw)
To: java-prs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
Known to work| |4.1.0
Summary|[4.0/4.1 Regression] BC- |[4.0 Regression] BC-compiled
|compiled interfaces in |interfaces in libgcj can't
|libgcj can't be called from |be called from non-BC code
|non-BC code |
Target Milestone|4.2.0 |4.0.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24251
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/24251] [4.0 Regression] BC-compiled interfaces in libgcj can't be called from non-BC code
2005-10-07 8:32 [Bug java/24251] New: Segmentation fault using org.w3c.dom khiraly123 at gmx dot net
` (5 preceding siblings ...)
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
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-10-14 11:41 UTC (permalink / raw)
To: java-prs
------- Comment #4 from cvs-commit at gcc dot gnu dot org 2005-10-14 11:41 -------
Subject: Bug 24251
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: aph@gcc.gnu.org 2005-10-14 11:41:40
Modified files:
libjava : link.cc ChangeLog
Log message:
2005-10-12 Andrew Haley <aph@redhat.com>
PR java/24251
* link.cc (ensure_method_table_complete): Install Miranda methods
for interfaces too.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/link.cc.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.10.2.5&r2=1.10.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.3391.2.107&r2=1.3391.2.108
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24251
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug java/24251] [4.0 Regression] BC-compiled interfaces in libgcj can't be called from non-BC code
2005-10-07 8:32 [Bug java/24251] New: Segmentation fault using org.w3c.dom khiraly123 at gmx dot net
` (6 preceding siblings ...)
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
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-14 13:15 UTC (permalink / raw)
To: java-prs
------- Comment #5 from pinskia at gcc dot gnu dot org 2005-10-14 13:15 -------
Fixed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24251
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-10-14 13:15 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-07 8:32 [Bug java/24251] New: Segmentation fault using org.w3c.dom khiraly123 at gmx dot net
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
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).