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
Bug description
Running QBDIPreload on applications that eventually call malloc results in a crash. As virtually any application calls malloc once on execution time, I cannot instrument any application that is more complex than hello world. After adding a single malloc call in a hello world example, this crash also occurs.
Minimal code to reproduce the bug
Run the official QBDIPreload c example with for example grep or something similar: LD_BIND_NOW=1 LD_PRELOAD=./libtracer_preload_c.so grep
Specific command to reproduce the bug LD_BIND_NOW=1 LD_PRELOAD=./libtracer_preload_c.so grep
Version (please complete the following information):
OS: Manjaro Linux (derivative of Arch Linux)
Architecture: x64
QBDI version: current dev-next (48bae1d) and also the official binary at version 0.8.0
Additional context
I have a very similar problem when trying to instrument an application with DynamoRIO. There almost all applications crash with a SEGV even in the most trivial examples.
After some testing I found out that this could have been a result of the recent update of the Arch Linux glibc package from version glibc-2.33-5 to glibc-2.35-2.
So it could be that this issue is reproducible on any recent Arch Linux installs.
The text was updated successfully, but these errors were encountered:
I think it may be the name of the libc. Before, the realname of the libc is libc-2.xx.so but it's now libc.so.6.
QBDI should not instrument the libc, as malloc isn't reentrant. We will update QBDIPreload to blacklist the new name.
Bug description
Running QBDIPreload on applications that eventually call malloc results in a crash. As virtually any application calls malloc once on execution time, I cannot instrument any application that is more complex than hello world. After adding a single malloc call in a hello world example, this crash also occurs.
Bug log
Crash message:
Minimal code to reproduce the bug
Run the official QBDIPreload c example with for example grep or something similar:
LD_BIND_NOW=1 LD_PRELOAD=./libtracer_preload_c.so grep
Specific command to reproduce the bug
LD_BIND_NOW=1 LD_PRELOAD=./libtracer_preload_c.so grep
Version (please complete the following information):
Additional context
I have a very similar problem when trying to instrument an application with DynamoRIO. There almost all applications crash with a SEGV even in the most trivial examples.
After some testing I found out that this could have been a result of the recent update of the Arch Linux glibc package from version glibc-2.33-5 to glibc-2.35-2.
So it could be that this issue is reproducible on any recent Arch Linux installs.
The text was updated successfully, but these errors were encountered: