Hello!
I'm trying to make a FreeBSD port of dyninst. The code builds
(targets: all, parseThat, and test-full),
but, when I attempt to run the test_driver, only the first 4 tests
pass. The driver crashes after that:
TEST COMP OPT ABI MODE
THREAD LINK PIC RESULT
test2_2 none 64 create NA
dynamic nonPIC PASSED
test2_1 none 64 create NA
dynamic nonPIC PASSED
test_pt_ls none 64 create NA
dynamic nonPIC PASSED
test_pt_ls none 64 rewriter NA
dynamic nonPIC PASSED
Segmentation fault (core dumped)
According to gdb, the crash is inside Elf_X.C:
#0 0x00000008047e54a7 in
Dyninst::Elf_X_Data::get_verDefSym (this=0x7fffffffaaf0) at
../src/Elf_X.C:808
808 return new Elf_X_Verdef(is64, data->d_buf);
(gdb) p is64
$2 = true
(gdb) p this
$3 = (Dyninst::Elf_X_Data * const) 0x7fffffffaaf0
(gdb) p *this
$4 = {data = "" is64 = true}
I'm on FreeBSD-9.1/amd64 and setting PLATFORM to
amd64-unknown-freebsd7.2. The runTests-program is
unusable:
../../../dyninst/scripts does not exist. Paradyn
scripts dir required.
so I am trying to use the test_driver directly. Other than PLATFORM
and LD_LIBRARY_PATH, do I need to set some other env-variables,
perhaps?
Please, advise. Thank you!
-mi
|
|