public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "dave at hiauly1 dot hia dot nrc dot ca" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug java/37068] [4.4 Regression] libgcj linkage failure: Incorrect library ABI version detected
Date: Fri, 31 Oct 2008 04:22:00 -0000	[thread overview]
Message-ID: <20081031042257.17292.qmail@sourceware.org> (raw)
In-Reply-To: <bug-37068-276@http.gcc.gnu.org/bugzilla/>



------- Comment #5 from dave at hiauly1 dot hia dot nrc dot ca  2008-10-31 04:22 -------
Subject: Re:  [4.4 Regression] libgcj linkage failure: Incorrect library ABI
version detected

> Same on hppa2.0w-hp-hpux11.11.
> 
> (gdb) bt
> #0  _Jv_CheckABIVersion (value=0)
>     at ../../../gcc/libjava/java/lang/natClassLoader.cc:273
> #1  0xc3f81ab4 in _Jv_RegisterClasses (classes=0x7eff2c78)
>     at ../../../gcc/libjava/java/lang/natClassLoader.cc:295
> #2  0xc3f81b48 in _Jv_RegisterClass (klass=0x0)
>     at ../../../gcc/libjava/java/lang/natClassLoader.cc:441
> #3  0xc4e37894 in global constructors keyed to
> 65535_0__var_tmp__ccxwp2Cmjx_4B3F0796_6CD682F9 ()
>     at
> ../../../../../gcc/libjava/classpath/external/sax/org/xml/sax/SAXNotRecognizedException.java:49

The backtrace is somewhat inaccurate.  However, it seems that some klass
objects are not being correctly initialized:

...
klass=0x77afa164
klass->next_or_version=0xc0061a81
klass=0x77afa1fc
klass->next_or_version=0xc0061a81
klass=0x77af8b50
klass->next_or_version=0x0

(gdb) p ((jclass) 0x77af8b50)->next_or_version
$9 = (jclass) 0x0
(gdb) p *((jclass) 0x77af8b50)                
$10 = {<> = {<No data fields>}, static class$ = {<> = {<No data fields>}, 
    static class$ = <same as static member of an already seen type>, 
    next_or_version = 0x40062a20, name = 0x7714d2cc, accflags = 49, 

(gdb) x/4x 0x77af8b50
0x77af8b50:     0x7714d084      0x00000000      0x00000000      0x77afa530

(gdb) x/4x 0x7714d084
0x7714d084:     0x7714d190      0x00000002      0x76f421d6      0x400013aa

(gdb) x/4x 0x7714d190
0x7714d190:     0x7714d084      0x00000000      0x40062a20      0x7714d2cc

Dave


-- 


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


  parent reply	other threads:[~2008-10-31  4:22 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-09 14:58 [Bug java/37068] New: " danglin at gcc dot gnu dot org
2008-08-10 19:55 ` [Bug java/37068] " pinskia at gcc dot gnu dot org
2008-08-22 15:16 ` rguenth at gcc dot gnu dot org
2008-09-09 12:54 ` hubicka at gcc dot gnu dot org
2008-10-16 20:12 ` dje at gcc dot gnu dot org
2008-10-30 23:28 ` dave at hiauly1 dot hia dot nrc dot ca
2008-10-31  4:22 ` dave at hiauly1 dot hia dot nrc dot ca [this message]
2008-10-31 17:18 ` ro at gcc dot gnu dot org
2008-10-31 19:50 ` dave at hiauly1 dot hia dot nrc dot ca
2008-10-31 23:31 ` dave at hiauly1 dot hia dot nrc dot ca
2008-11-01 16:18 ` danglin at gcc dot gnu dot org
2008-11-01 16:49 ` dave at hiauly1 dot hia dot nrc dot ca
2008-11-02  2:33 ` dave at hiauly1 dot hia dot nrc dot ca
2008-11-03 10:18 ` aph at gcc dot gnu dot org
2008-11-03 11:54 ` jakub at gcc dot gnu dot org
2008-11-03 14:27 ` dave at hiauly1 dot hia dot nrc dot ca
2008-11-03 14:45 ` aph at gcc dot gnu dot org
2008-11-03 14:52 ` jakub at gcc dot gnu dot org
2008-11-03 15:02 ` dave at hiauly1 dot hia dot nrc dot ca
2008-11-03 15:12 ` aph at redhat dot com
2008-11-03 17:35 ` dje at gcc dot gnu dot org
2008-11-03 17:38 ` mmitchel at gcc dot gnu dot org
2008-11-03 17:41 ` jakub at gcc dot gnu dot org
2008-11-03 17:47 ` aph at gcc dot gnu dot org
2008-11-04  5:51 ` mark at codesourcery dot com
2008-11-04 10:32 ` aph at gcc dot gnu dot org
2008-11-04 16:09 ` aph at redhat dot com
2008-11-04 18:11 ` dje dot gcc at gmail dot com
2008-11-04 18:15 ` dje dot gcc at gmail dot com
2008-11-04 18:16 ` aph at redhat dot com
2008-11-04 18:19 ` aph at gcc dot gnu dot org
2008-11-04 18:33 ` dje at gcc dot gnu dot org
2008-11-04 19:01 ` dave at hiauly1 dot hia dot nrc dot ca
2008-11-04 23:06 ` aph at redhat dot com
2008-11-05  1:11 ` dave at hiauly1 dot hia dot nrc dot ca
2008-11-05 10:06 ` aph at gcc dot gnu dot org
2008-11-05 10:14 ` jakub at gcc dot gnu dot org
2008-11-05 13:40 ` ro at techfak dot uni-bielefeld dot de
2008-11-05 14:02 ` aph at redhat dot com
2008-11-05 15:08 ` ro at techfak dot uni-bielefeld dot de
2008-11-05 15:45 ` dje 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=20081031042257.17292.qmail@sourceware.org \
    --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).