This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/18635] New: .stdlib/tst-makecontext fails on i686


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]