You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
running just about any client-interface test on FC16:
Program received signal SIGSEGV, Segmentation fault.
0x42835540 in ?? ()
(gdb) bt
#0 0x42835540 in ?? () #1 0xf7625ac1 in module_relocate_symbol (modbase=0xf6fd5000 "\177ELF\001\001\001\003", rel=0xf6febdd4, pd=0x4fdd9238, is_rela=false)
at /work/dr/build_suite/src/core/linux/module.c:1584 #2 0xf7625c81 in module_relocate_rel (modbase=0xf6fd5000 "\177ELF\001\001\001\003", pd=0x4fdd9238, start=0xf6febdb4, end=0xf6febdf4)
at /work/dr/build_suite/src/core/linux/module.c:1632 #3 0xf7629206 in privload_relocate_mod (mod=0x4fdd9038) at /work/dr/build_suite/src/core/linux/loader.c:843 #4 0xf7628743 in privload_process_imports (mod=0x4fdd9038) at /work/dr/build_suite/src/core/linux/loader.c:556 #5 0xf7569f2e in privload_load_finalize (privmod=0x4fdd9038) at /work/dr/build_suite/src/core/loader_shared.c:516 #6 0xf756990a in privload_load (filename=0xffb20c5c "/lib/libc.so.6", dependent=0x4fdd7038)
at /work/dr/build_suite/src/core/loader_shared.c:420 #7 0xf76288fb in privload_locate_and_load (impname=0xf739156f "libc.so.6", dependent=0x4fdd7038)
at /work/dr/build_suite/src/core/linux/loader.c:628 #8 0xf762870f in privload_process_imports (mod=0x4fdd7038) at /work/dr/build_suite/src/core/linux/loader.c:548 #9 0xf7569f2e in privload_load_finalize (privmod=0x4fdd7038) at /work/dr/build_suite/src/core/loader_shared.c:516 #10 0xf7568e0e in loader_init () at /work/dr/build_suite/src/core/loader_shared.c:125 #11 0xf740ce0a in dynamorio_app_init () at /work/dr/build_suite/src/core/dynamo.c:497
case ELF_R_IRELATIVE:
res = modbase + (is_rela ? addend : *r_addr);
xref r923 :
fixes issue #478 handle irelative
xref r948 :
fixes issue #534 stl_test failure in Linux
#define R_386_IRELATIVE 42 /* Adjust indirectly by program base */
=>
it's the horrible ELF nomenclature of "program base" really meaning
"delta of loaded base from preferred base": should use delta instead of loaded
From [email protected] on June 07, 2012 15:29:18
running just about any client-interface test on FC16:
Program received signal SIGSEGV, Segmentation fault.
0x42835540 in ?? ()
(gdb) bt
#0 0x42835540 in ?? ()
#1 0xf7625ac1 in module_relocate_symbol (modbase=0xf6fd5000 "\177ELF\001\001\001\003", rel=0xf6febdd4, pd=0x4fdd9238, is_rela=false)
at /work/dr/build_suite/src/core/linux/module.c:1584
#2 0xf7625c81 in module_relocate_rel (modbase=0xf6fd5000 "\177ELF\001\001\001\003", pd=0x4fdd9238, start=0xf6febdb4, end=0xf6febdf4)
at /work/dr/build_suite/src/core/linux/module.c:1632
#3 0xf7629206 in privload_relocate_mod (mod=0x4fdd9038) at /work/dr/build_suite/src/core/linux/loader.c:843
#4 0xf7628743 in privload_process_imports (mod=0x4fdd9038) at /work/dr/build_suite/src/core/linux/loader.c:556
#5 0xf7569f2e in privload_load_finalize (privmod=0x4fdd9038) at /work/dr/build_suite/src/core/loader_shared.c:516
#6 0xf756990a in privload_load (filename=0xffb20c5c "/lib/libc.so.6", dependent=0x4fdd7038)
at /work/dr/build_suite/src/core/loader_shared.c:420
#7 0xf76288fb in privload_locate_and_load (impname=0xf739156f "libc.so.6", dependent=0x4fdd7038)
at /work/dr/build_suite/src/core/linux/loader.c:628
#8 0xf762870f in privload_process_imports (mod=0x4fdd7038) at /work/dr/build_suite/src/core/linux/loader.c:548
#9 0xf7569f2e in privload_load_finalize (privmod=0x4fdd7038) at /work/dr/build_suite/src/core/loader_shared.c:516
#10 0xf7568e0e in loader_init () at /work/dr/build_suite/src/core/loader_shared.c:125
#11 0xf740ce0a in dynamorio_app_init () at /work/dr/build_suite/src/core/dynamo.c:497
82ccaa6: 80 7d d4 00 cmpb $0x0,-0x2c(%ebp)
82ccaaa: 74 05 je 82ccab1 <dr_syscall_invoke_another+0x22c34>
82ccaac: 8b 45 f4 mov -0xc(%ebp),%eax
82ccaaf: eb 05 jmp 82ccab6 <dr_syscall_invoke_another+0x22c39>
82ccab1: 8b 45 e8 mov -0x18(%ebp),%eax
82ccab4: 8b 00 mov (%eax),%eax
82ccab6: 03 45 08 add 0x8(%ebp),%eax
82ccab9: 89 45 ec mov %eax,-0x14(%ebp)
r_addr = ((ELF_ADDR () (void)) res) ();
82ccabc: 8b 45 ec mov -0x14(%ebp),%eax
82ccabf: ff d0 call *%eax
82ccac1: 8b 55 e8 mov -0x18(%ebp),%edx
82ccac4: 89 02 mov %eax,(%edx)
break;
(gdb) info reg
eax 0x42835540 1115903296
ecx 0x0 0
edx 0xf7625aa6 -144549210
ebx 0xf76e024c -143785396
esp 0xffb20a9c 0xffb20a9c
ebp 0xffb20af8 0xffb20af8
esi 0xf6febe90 -151077232
edi 0xf7709aec -143615252
eip 0x42835540 0x42835540
eflags 0x10203 CF IF RF info local
r_addr = 0xf717f010
r_type = 42
r_sym = 0
sym = 0xf6fd8e38
res = 0x42835540 <Address 0x42835540 out of bounds>
addend = 0
name = 0xf6fe2158 ""
resolved = true
(gdb) info args
modbase = 0xf6fd5000 "\177ELF\001\001\001\003"
rel = 0xf6febdd4
pd = 0x4fdd9238
is_rela = false
Original issue: http://code.google.com/p/dynamorio/issues/detail?id=796
The text was updated successfully, but these errors were encountered: