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/14359] tst-cancelx4.out: Segmentation fault


http://sourceware.org/bugzilla/show_bug.cgi?id=14359

Carlos O'Donell <carlos_odonell at mentor dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING
                 CC|                            |carlos_odonell at mentor
                   |                            |dot com

--- Comment #22 from Carlos O'Donell <carlos_odonell at mentor dot com> 2012-07-24 02:34:59 UTC ---
(In reply to comment #21)
> (gdb) bt
> #0  0x0ed0c370 in _Unwind_Resume@plt ()
> #1  0x0ed0ffdd in __pthread_cleanup_routine (__frame=<optimized out>) at
> ../nptl/sysdeps/pthread/pthread.h:602
> #2  tf_usleep (arg=0x0) at tst-cancel4.c:335
> #3  0xe062c2d8 in start_thread (arg=0xe0455b40) at pthread_create.c:308
> #4  0xe05872ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:132
> (gdb) disas /r 0x0ed0c370
> Dump of assembler code for function _Unwind_Resume@plt:
> => 0x0ed0c370 <+0>:    ff a3 74 01 00 00    jmp    *0x174(%ebx)
>    0x0ed0c376 <+6>:    68 d0 02 00 00    push   $0x2d0
>    0x0ed0c37b <+11>:    e9 40 fa ff ff    jmp    0xed0bdc0
> End of assembler dump.
> (gdb) info registers
> eax            0xe0455d90    -532324976
> ecx            0xed13e30    248593968
> edx            0x0    0
> ebx            0x0    0
> esp            0xe045534c    0xe045534c
> ebp            0xe0455368    0xe0455368
> esi            0xe0455d90    -532324976
> edi            0x3d0f00    4001536
> eip            0xed0c370    0xed0c370 <_Unwind_Resume@plt>
> eflags         0x10202    [ IF RF ]
> cs             0x23    35
> ss             0x2b    43
> ds             0x2b    43
> es             0x2b    43
> fs             0x0    0
> gs             0x63    99

This is tricky. It could be a miscompilation of either glibc or the testcase by
the compiler which causes the unwinder to fail.

When you run the testsuite for glibc what are the results?

The official 2.16 release had a clean testsuite run:
http://sourceware.org/glibc/wiki/Release/2.16

The reason I ask is that other failures in the testsuite might indicate a
problem with your build environment.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]