Displaying 9 results from an estimated 9 matches for "dyld_stub___cxa_throw".
2012 Nov 29
0
[LLVMdev] radr://12777299, "potential pthread/eh bug exposed by libsanitizer"
I debugged this a bit and it seems the mach_override patching of __cxa_throw is bogus. The start of that function is patched to jump to garbage.
Breakpoint 1, 0x0000000100001c19 in main ()
(gdb) display/i $pc
2: x/i $pc 0x100001c19 <main+318>: callq 0x100016386 <dyld_stub___cxa_throw>
(gdb) si
0x0000000100016386 in dyld_stub___cxa_throw ()
2: x/i $pc 0x100016386 <dyld_stub___cxa_throw>: jmpq *0xae1c(%rip) # 0x1000211a8
(gdb)
0x0000000102244870 in __cxa_throw ()
2: x/i $pc 0x102244870 <__cxa_throw>: jmpq 0xffd27000
(gdb) # the above its __cxa_throw...
2012 Nov 30
3
[LLVMdev] radr://12777299, "potential pthread/eh bug exposed by libsanitizer"
...I debugged this a bit and it seems the mach_override patching of __cxa_throw is bogus. The start of that function is patched to jump to garbage.
>
> Breakpoint 1, 0x0000000100001c19 in main ()
> (gdb) display/i $pc
> 2: x/i $pc 0x100001c19 <main+318>: callq 0x100016386 <dyld_stub___cxa_throw>
> (gdb) si
> 0x0000000100016386 in dyld_stub___cxa_throw ()
> 2: x/i $pc 0x100016386 <dyld_stub___cxa_throw>: jmpq *0xae1c(%rip) # 0x1000211a8
> (gdb)
> 0x0000000102244870 in __cxa_throw ()
> 2: x/i $pc 0x102244870 <__cxa_throw>: jmpq 0xffd2700...
2012 Nov 30
0
[LLVMdev] radr://12777299, "potential pthread/eh bug exposed by libsanitizer"
...the mach_override patching of
> __cxa_throw is bogus. The start of that function is patched to jump to
> garbage.
> >
> > Breakpoint 1, 0x0000000100001c19 in main ()
> > (gdb) display/i $pc
> > 2: x/i $pc 0x100001c19 <main+318>: callq 0x100016386
> <dyld_stub___cxa_throw>
> > (gdb) si
> > 0x0000000100016386 in dyld_stub___cxa_throw ()
> > 2: x/i $pc 0x100016386 <dyld_stub___cxa_throw>: jmpq
> *0xae1c(%rip) # 0x1000211a8
> > (gdb)
> > 0x0000000102244870 in __cxa_throw ()
> > 2: x/i $pc 0x102244870 <_...
2012 Nov 30
2
[LLVMdev] radr://12777299, "potential pthread/eh bug exposed by libsanitizer"
...> __cxa_throw is bogus. The start of that function is patched to jump to
> > garbage.
> > >
> > > Breakpoint 1, 0x0000000100001c19 in main ()
> > > (gdb) display/i $pc
> > > 2: x/i $pc 0x100001c19 <main+318>: callq 0x100016386
> > <dyld_stub___cxa_throw>
> > > (gdb) si
> > > 0x0000000100016386 in dyld_stub___cxa_throw ()
> > > 2: x/i $pc 0x100016386 <dyld_stub___cxa_throw>: jmpq
> > *0xae1c(%rip) # 0x1000211a8
> > > (gdb)
> > > 0x0000000102244870 in __cxa_throw ()
> >...
2012 Nov 29
5
[LLVMdev] radr://12777299, "potential pthread/eh bug exposed by libsanitizer"
Jack, can you please upload this test somewhere?
On Thu, Nov 29, 2012 at 10:09 AM, Kostya Serebryany <kcc at google.com> wrote:
> +glider
> The compiler hardly matters here, I would expect the same failures with
> clang.
> Alex, could you please take a look?
>
> --kcc
>
>
> On Thu, Nov 29, 2012 at 9:55 PM, Jack Howarth <howarth at bromo.med.uc.edu>
>
2012 Dec 01
4
[LLVMdev] radr://12777299, "potential pthread/eh bug exposed by libsanitizer"
...> __cxa_throw is bogus. The start of that function is patched to jump to
> > garbage.
> > >
> > > Breakpoint 1, 0x0000000100001c19 in main ()
> > > (gdb) display/i $pc
> > > 2: x/i $pc 0x100001c19 <main+318>: callq 0x100016386
> > <dyld_stub___cxa_throw>
> > > (gdb) si
> > > 0x0000000100016386 in dyld_stub___cxa_throw ()
> > > 2: x/i $pc 0x100016386 <dyld_stub___cxa_throw>: jmpq
> > *0xae1c(%rip) # 0x1000211a8
> > > (gdb)
> > > 0x0000000102244870 in __cxa_throw ()
> >...
2012 Dec 01
0
[LLVMdev] radr://12777299, "potential pthread/eh bug exposed by libsanitizer"
...he start of that function is patched to jump to
> > > garbage.
> > > >
> > > > Breakpoint 1, 0x0000000100001c19 in main ()
> > > > (gdb) display/i $pc
> > > > 2: x/i $pc 0x100001c19 <main+318>: callq 0x100016386
> > > <dyld_stub___cxa_throw>
> > > > (gdb) si
> > > > 0x0000000100016386 in dyld_stub___cxa_throw ()
> > > > 2: x/i $pc 0x100016386 <dyld_stub___cxa_throw>: jmpq
> > > *0xae1c(%rip) # 0x1000211a8
> > > > (gdb)
> > > > 0x00000001022448...
2012 Nov 30
1
[LLVMdev] radr://12777299, "potential pthread/eh bug exposed by libsanitizer"
...us. The start of that function is patched to jump to
>> > garbage.
>> > >
>> > > Breakpoint 1, 0x0000000100001c19 in main ()
>> > > (gdb) display/i $pc
>> > > 2: x/i $pc 0x100001c19 <main+318>: callq 0x100016386
>> > <dyld_stub___cxa_throw>
>> > > (gdb) si
>> > > 0x0000000100016386 in dyld_stub___cxa_throw ()
>> > > 2: x/i $pc 0x100016386 <dyld_stub___cxa_throw>: jmpq
>> > *0xae1c(%rip) # 0x1000211a8
>> > > (gdb)
>> > > 0x0000000102244870 in...
2012 Dec 01
1
[LLVMdev] radr://12777299, "potential pthread/eh bug exposed by libsanitizer"
...atched to jump to
> > > > garbage.
> > > > >
> > > > > Breakpoint 1, 0x0000000100001c19 in main ()
> > > > > (gdb) display/i $pc
> > > > > 2: x/i $pc 0x100001c19 <main+318>: callq 0x100016386
> > > > <dyld_stub___cxa_throw>
> > > > > (gdb) si
> > > > > 0x0000000100016386 in dyld_stub___cxa_throw ()
> > > > > 2: x/i $pc 0x100016386 <dyld_stub___cxa_throw>: jmpq
> > > > *0xae1c(%rip) # 0x1000211a8
> > > > > (gdb)
> > &...