|
From: Bart V. A. <bar...@gm...> - 2008-05-17 17:11:50
|
Hello, While testing exp-drd on ppc64 I found out that VG_(seginfo_sect_kind)() does not recognize the section type of all instrumented addresses, while this works properly on x86. This is an issue for exp-drd since exp-drd depends on proper recognition of PLT sections. In the example below you can see that VG_(seginfo_sect_kind)() returns section type Vg_SectUnknown for address 0x80eebc8d90. Anyone any idea how I can find out what went wrong ? $ Linux ... 2.6.20-CBE #1 SMP Wed Mar 21 10:24:39 CET 2007 ppc64 ppc64 ppc64 GNU/Linux $ ./vg-in-place -v -d --trace-addr=0x100115b0 --var-info=yes --tool=exp-drd exp-drd/tests/fp_race -m .. --15308:1:aspacem <<< SHOW_SEGMENTS: Memory layout at client startup (27 segments, 3 segnames) --15308:1:aspacem ( 0) /home/bart/software/valgrind-cross/exp-drd/exp-drd-ppc64-linux --15308:1:aspacem ( 1) /home/bart/software/valgrind-cross/exp-drd/tests/fp_race --15308:1:aspacem ( 2) /lib64/ld-2.5.so --15308:1:aspacem 0: RSVN 0000000000-00000fffff 1048576 ----- SmFixed --15308:1:aspacem 1: ANON 0000100000-000011ffff 131072 r-x-- --15308:1:aspacem 2: RSVN 0000120000-0003ffffff 62m ----- SmFixed --15308:1:aspacem 3: 0004000000-000fffffff 192m --15308:1:aspacem 4: file 0010000000-001000ffff 65536 r-x-- d=0x014 i=12222965 o=0 (1) --15308:1:aspacem 5: file 0010010000-001001ffff 65536 rw--- d=0x014 i=12222965 o=0 (1) --15308:1:aspacem 6: anon 0010020000-001002ffff 65536 rwx-- --15308:1:aspacem 7: RSVN 0010030000-001081ffff 8323072 ----- SmLower --15308:1:aspacem 8: 0010820000-0037ffffff 631m --15308:1:aspacem 9: FILE 0038000000-003801ffff 131072 r-x-- d=0x014 i=1213593 o=0 (0) --15308:1:aspacem 10: file 0038020000-003802ffff 65536 r-x-- d=0x014 i=1213593 o=131072 (0) --15308:1:aspacem 11: FILE 0038030000-00381affff 1572864 r-x-- d=0x014 i=12135 93 o=196608 (0) --15308:1:aspacem 12: FILE 00381b0000-00381effff 262144 rw--- d=0x014 i=12135 93 o=1703936 (0) --15308:1:aspacem 13: ANON 00381f0000-0038a7ffff 8978432 rw--- --15308:1:aspacem 14: 0038a80000-0401ffffff 15509m --15308:1:aspacem 15: RSVN 0402000000-040200ffff 65536 ----- SmFixed --15308:1:aspacem 16: ANON 0402010000-0404d7ffff 45m rwx-- --15308:1:aspacem 17: 0404d80000-07fe80ffff 16282m --15308:1:aspacem 18: RSVN 07fe810000-07fefeffff 8257536 ----- SmUpper --15308:1:aspacem 19: anon 07feff0000-07ff00ffff 131072 rwx-- --15308:1:aspacem 20: 07ff010000-07ffffffff 15m --15308:1:aspacem 21: RSVN 0800000000-80ee8affff 495336m ----- SmFixed --15308:1:aspacem 22: file 80ee8b0000-80ee8dffff 196608 r-x-- d=0x303 i=32691 8 o=0 (2) --15308:1:aspacem 23: file 80ee8e0000-80ee8fffff 131072 rw--- d=0x303 i=32691 8 o=131072 (2) --15308:1:aspacem 24: RSVN 80ee900000-ffff83dffff 15868g ----- SmFixed --15308:1:aspacem 25: ANON ffff83e0000-ffff852ffff 1376256 rw--- --15308:1:aspacem 26: RSVN ffff8530000-ffffffffffffffff 16383e ----- SmFixed --15308:1:aspacem >>> ... addr 0x80eebc8d90: section kind 0 ... Bart. |
|
From: Bart V. A. <bar...@gm...> - 2008-05-20 13:28:58
|
On Sat, May 17, 2008 at 7:11 PM, Bart Van Assche <bar...@gm...> wrote: > While testing exp-drd on ppc64 I found out that > VG_(seginfo_sect_kind)() does not recognize the section type of all > instrumented addresses, while this works properly on x86. This is an > issue for exp-drd since exp-drd depends on proper recognition of PLT > sections. In the example below you can see that > VG_(seginfo_sect_kind)() returns section type Vg_SectUnknown for > address 0x80eebc8d90. Anyone any idea how I can find out what went > wrong ? Please ignore the above -- by this time I found out that section recognition (via VG_(seginfo_sect_kind)()) works fine. Bart. |