dynamorio icon indicating copy to clipboard operation
dynamorio copied to clipboard

CRASH while running on Ubuntu 24.04

Open apach301 opened this issue 1 year ago • 2 comments

Hi I tried to run DynamoRIO on ubuntu24.04 (in docker) and found out that it crashes when launching with instrumentation library. The crash occurs only on ubunut24.04 (I also tested Ubuntu 20.04 and 22.04).

Launch command:

./bin64/drrun -quiet -c samples/bin64/libempty.so -- echo hello world

Crash: image

DynamoRIO was built with command:

cmake -DDEBUG=ON -DDISABLE_WARNINGS=ON -DCMAKE_C_COMPILER=clang-14 -DCMAKE_CXX_COMPILER=clang++-14 .. && make -j

Also tried latest pre-built release, libempty.so seems to work, but crash occurs on libbbcount.so: image

Versions

  • Current master, but the bug was also caught on commit from January 2024.
  • Reproduced on DynamoRIO-Linux-10.92.19881.tar.gz
  • 64bit version was tested

apach301 avatar Jun 14 '24 11:06 apach301

This might be related to glibc and its private interfaces that keep changing (#6693 #5437). What version of glibc are you using?

edeiana avatar Jun 14 '24 16:06 edeiana

What version of glibc are you using?

GNU C Library (Ubuntu GLIBC 2.39-0ubuntu8.2) stable release version 2.39. Yeah, this issue seems the same as #6693, I think it's just another changed version of glibc

apach301 avatar Jun 17 '24 15:06 apach301

There was no reason given for the close: did you confirm the #6693 fix solved this? It should be marked as a duplicate then? Adding that label.

derekbruening avatar Feb 28 '25 15:02 derekbruening

It wasn't fixed by #6693 at the time I opened issue, but on current master it works fine with Ubuntu24.04.

apach301 avatar Feb 28 '25 15:02 apach301