public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "jojelino at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug libgcj/51500] [4.7 regression] 106 unexpected libjava testsuite failures with mingw32
Date: Sun, 05 Feb 2012 02:11:00 -0000	[thread overview]
Message-ID: <bug-51500-8172-Inh7qOresl@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-51500-8172@http.gcc.gnu.org/bugzilla/>

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

--- Comment #22 from gee <jojelino at gmail dot com> 2012-02-05 02:11:12 UTC ---
Breakpoint 9, _Unwind_RaiseException (exc=0xa92820)
    at ../.././libgcc/unwind.inc:88
88        uw_init_context (&this_context);
(gdb) bt
#0  _Unwind_RaiseException (exc=0xa92820) at ../.././libgcc/unwind.inc:88
#1  0x6968e0a0 in _Jv_Throw (value=0xbfeb40)
    at ../.././libjava/exception.cc:132
#2  0x6969fc07 in _Jv_InterpMethod::run (retp=0x22fe08, args=0x22fe28,
    meth=0xbf8d80) at ../.././libjava/interpret-run.cc:2695
#3  0x69ce1125 in ffi_closure_raw_SYSV () at ../.././libffi/src/x86/win32.S:723
#4  0x00f90015 in ?? ()
#5  0x696fa456 in gnu.java.lang.MainThread.run()void (this=0xbfdf60)
    at /tmp/gcc/libjava/gnu/java/lang/MainThread.java:106
#6  0x696cbfd2 in _Jv_ThreadRun (thread=0xbfdf60)
    at ../.././libjava/java/lang/natThread.cc:335
#7  0x69683f5d in _Jv_RunMain (vm_args=0x22ff30, klass=0x0,
    name=0x3d883a "ExtraClassLoader", argc=0x1, argv=0x3d88d4, is_jar=0x0)
    at ../.././libjava/prims.cc:1795
#8  0x66bc6bed in main (argc=0x4, argv=0x3d88c8) at ../.././libjava/gij.cc:333
#9  0x004010fd in __mingw_CRTStartup () at ../../.././winsup/mingw/crt1.c:244
#10 0x00000408 in ?? ()
#11 0x7ffdc000 in ?? ()
#12 0x00000000 in ?? ()
(gdb) c
Continuing.

Breakpoint 10, uw_frame_state_for (context=context@entry=0x22f948,
    fs=fs@entry=0x22f9c8) at ../.././libgcc/unwind-dw2.c:1187
1187          return MD_FALLBACK_FRAME_STATE_FOR (context, fs);
(gdb) bt
#0  uw_frame_state_for (context=context@entry=0x22f948, fs=fs@entry=0x22f9c8)
    at ../.././libgcc/unwind-dw2.c:1187
#1  0x6e9547f8 in _Unwind_RaiseException (exc=0xa92820)
    at ../.././libgcc/unwind.inc:99
#2  0x6968e0a0 in _Jv_Throw (value=0xbfeb40)
    at ../.././libjava/exception.cc:132
#3  0x6969fc07 in _Jv_InterpMethod::run (retp=0x22fe08, args=0x22fe28,
    meth=0xbf8d80) at ../.././libjava/interpret-run.cc:2695
#4  0x69ce1125 in ffi_closure_raw_SYSV () at ../.././libffi/src/x86/win32.S:723
#5  0x00f90015 in ?? ()
#6  0x696fa456 in gnu.java.lang.MainThread.run()void (this=0xbfdf60)
    at /tmp/gcc/libjava/gnu/java/lang/MainThread.java:106
#7  0x696cbfd2 in _Jv_ThreadRun (thread=0xbfdf60)
    at ../.././libjava/java/lang/natThread.cc:335
#8  0x69683f5d in _Jv_RunMain (vm_args=0x22ff30, klass=0x0,
    name=0x3d883a "ExtraClassLoader", argc=0x1, argv=0x3d88d4, is_jar=0x0)
    at ../.././libjava/prims.cc:1795
#9  0x66bc6bed in main (argc=0x4, argv=0x3d88c8) at ../.././libjava/gij.cc:333
#10 0x004010fd in __mingw_CRTStartup () at ../../.././winsup/mingw/crt1.c:244
#11 0x00000408 in ?? ()
#12 0x7ffdc000 in ?? ()
#13 0x00000000 in ?? ()
(gdb) si
0x6e953cbd in i386_w32_fallback_frame_state (fs=0x22f9c8,
    context=<optimized out>) at ./md-unwind-support.h:134
134       if (SIG_PAT1 || SIG_PAT2 || SIG_SEH1 || SIG_SEH2)
(gdb) p context
$1 = <optimized out>
(gdb) up
#1  uw_frame_state_for (context=context@entry=0x22f948, fs=fs@entry=0x22f9c8)
    at ../.././libgcc/unwind-dw2.c:1187
1187          return MD_FALLBACK_FRAME_STATE_FOR (context, fs);
(gdb) p context
$2 = (struct _Unwind_Context *) 0x22f948
(gdb) p *context
$3 = {
  reg = {0x22fa8c, 0x0, 0x22fa90, 0x22fde4, 0x0, 0x22fe20, 0x22fe1c, 0x22fdec,
    0x22fe24, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
  cfa = 0x22fe28,
  ra = 0xf90015,
  lsda = 0x0,
  bases = {
    tbase = 0x0,
    dbase = 0x0,
    func = 0x69ce1100
  },
  flags = 0x40000000,
  version = 0x0,
  args_size = 0x0,
  by_value = ""
}
(gdb) bt
#0  0x6e953cbd in i386_w32_fallback_frame_state (fs=0x22f9c8,
    context=<optimized out>) at ./md-unwind-support.h:134
#1  uw_frame_state_for (context=context@entry=0x22f948, fs=fs@entry=0x22f9c8)
    at ../.././libgcc/unwind-dw2.c:1187
#2  0x6e9547f8 in _Unwind_RaiseException (exc=0xa92820)
    at ../.././libgcc/unwind.inc:99
#3  0x6968e0a0 in _Jv_Throw (value=0xbfeb40)
    at ../.././libjava/exception.cc:132
#4  0x6969fc07 in _Jv_InterpMethod::run (retp=0x22fe08, args=0x22fe28,
    meth=0xbf8d80) at ../.././libjava/interpret-run.cc:2695
#5  0x69ce1125 in ffi_closure_raw_SYSV () at ../.././libffi/src/x86/win32.S:723
#6  0x00f90015 in ?? ()
#7  0x696fa456 in gnu.java.lang.MainThread.run()void (this=0xbfdf60)
    at /tmp/gcc/libjava/gnu/java/lang/MainThread.java:106
#8  0x696cbfd2 in _Jv_ThreadRun (thread=0xbfdf60)
    at ../.././libjava/java/lang/natThread.cc:335
#9  0x69683f5d in _Jv_RunMain (vm_args=0x22ff30, klass=0x0,
    name=0x3d883a "ExtraClassLoader", argc=0x1, argv=0x3d88d4, is_jar=0x0)
    at ../.././libjava/prims.cc:1795
#10 0x66bc6bed in main (argc=0x4, argv=0x3d88c8) at ../.././libjava/gij.cc:333
#11 0x004010fd in __mingw_CRTStartup () at ../../.././winsup/mingw/crt1.c:244
#12 0x00000408 in ?? ()
#13 0x7ffdc000 in ?? ()
---Type <return> to continue, or q <return> to quit---
#14 0x00000000 in ?? ()

attachment 26573 didn't solve case where exception 
does we need to feed dwarf2 frame info into closure trampoline in win32?


  parent reply	other threads:[~2012-02-05  2:11 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-10 18:43 [Bug libgcj/51500] New: " jojelino at gmail dot com
2011-12-10 18:59 ` [Bug libgcj/51500] " jojelino at gmail dot com
2011-12-12 10:09 ` rguenth at gcc dot gnu.org
2011-12-12 14:46 ` jojelino at gmail dot com
2011-12-12 14:49 ` jojelino at gmail dot com
2011-12-17 21:56 ` ktietz at gcc dot gnu.org
2011-12-18 22:02 ` jojelino at gmail dot com
2012-01-18 13:37 ` jojelino at gmail dot com
2012-01-30  7:29 ` ktietz at gcc dot gnu.org
2012-01-30 15:11 ` jojelino at gmail dot com
2012-01-30 16:39 ` ubizjak at gmail dot com
2012-01-30 19:20 ` ktietz at gcc dot gnu.org
2012-01-30 19:59 ` ubizjak at gmail dot com
2012-01-30 22:21 ` ktietz at gcc dot gnu.org
2012-01-30 23:05 ` ubizjak at gmail dot com
2012-01-31  9:47 ` ktietz70 at googlemail dot com
2012-02-01  5:21 ` jojelino at gmail dot com
2012-02-01 10:46 ` ktietz at gcc dot gnu.org
2012-02-05  2:11 ` jojelino at gmail dot com [this message]
2012-02-05  2:44 ` jojelino at gmail dot com
2012-02-13 15:20 ` ktietz at gcc dot gnu.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-51500-8172-Inh7qOresl@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).