public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/18635] New: .stdlib/tst-makecontext fails on i686
@ 2015-07-07 17:46 hjl.tools at gmail dot com
  2015-07-07 19:04 ` [Bug libc/18635] " hjl.tools at gmail dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: hjl.tools at gmail dot com @ 2015-07-07 17:46 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18635

            Bug ID: 18635
           Summary: .stdlib/tst-makecontext fails on i686
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

On i686, I got

Program received signal SIGSEGV, Segmentation fault.
uw_frame_state_for (context=context@entry=0x8050120 <st1+15968>, 
    fs=fs@entry=0x80501a0 <st1+16096>)
    at /export/gnu/import/git/sources/gcc/libgcc/unwind-dw2.c:1249
1249          return MD_FALLBACK_FRAME_STATE_FOR (context, fs);
(gdb) bt
#0  uw_frame_state_for (context=context@entry=0x8050120 <st1+15968>, 
    fs=fs@entry=0x80501a0 <st1+16096>)
    at /export/gnu/import/git/sources/gcc/libgcc/unwind-dw2.c:1249
#1  0xf7e102a8 in _Unwind_Backtrace (trace=0x8049420 <backtrace_helper>, 
    trace_argument=0x8050298 <st1+16344>)
    at /export/gnu/import/git/sources/gcc/libgcc/unwind.inc:290
#2  0x080494a6 in cf (i=-78) at tst-makecontext.c:72
#3  0xf7e55d1b in makecontext ()
    at ../sysdeps/unix/sysv/linux/i386/makecontext.S:87
#4  0xffffffb2 in ?? ()
#5  0x00000000 in ?? ()
(gdb) p *context
$4 = {reg = {0x0, 0x0, 0x0, 0x80502a8 <st1+16360>, 0x0, 0x8050278 <st1+16312>, 
    0x8050270 <st1+16304>, 0x8050274 <st1+16308>, 0x80502b0 <st1+16368>, 0x0, 
    0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, cfa = 0x80502b4 <st1+16372>, 
  ra = 0xffffffb2, lsda = 0x0, bases = {tbase = 0x0, dbase = 0xf7fcc000, 
    func = 0xf7e55cd0 <makecontext>}, flags = 1073741824, version = 0, 
  args_size = 0, by_value = '\000' <repeats 17 times>}
(gdb) 

context->ra (0xffffffb2) is bogus.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-09-04 19:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-07 17:46 [Bug libc/18635] New: .stdlib/tst-makecontext fails on i686 hjl.tools at gmail dot com
2015-07-07 19:04 ` [Bug libc/18635] " hjl.tools at gmail dot com
2015-07-08 14:33 ` [Bug libc/18635] stdlib/tst-makecontext " hjl.tools at gmail dot com
2015-07-15  7:35 ` cvs-commit at gcc dot gnu.org
2015-08-04 10:11 ` [Bug libc/18635] stdlib/tst-makecontext fails on ix86 schwab@linux-m68k.org
2015-08-04 15:49 ` cvs-commit at gcc dot gnu.org
2015-08-04 15:50 ` schwab@linux-m68k.org
2015-08-05 21:37 ` cvs-commit at gcc dot gnu.org
2015-09-04 19:07 ` cvs-commit at gcc dot gnu.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).