Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] With gcc12.2.0, when using the dynamic linking of libasan.so.8 and starting to execute the test, the application crashes, and the printed asan error message is incomplete. How can this be solved? #1851

Open
bodian520 opened this issue Mar 14, 2025 · 0 comments

Comments

@bodian520
Copy link

bodian520 commented Mar 14, 2025

version:

gcc12.2.0
Linux VM-50-142-centos 5.4.119-1-tlinux4-0008 #1 SMP Fri Nov 26 11:17:45 CST 2021 x86_64 x86_64 x86_64 GNU/Linux
dynamic linking of libasan.so.8

config:

export LD_PRELOAD=/usr/lib64/libasan.so.8
export ASAN_OPTIONS=detect_leaks=0:alloc_dealloc_mismatch=0:halt_on_error=0:log_path=/data/tcase/asan.log

error

when starting to execute the test, the application crashes/ stopped, and the printed asan error message is incomplete

error msg:

==20602==ERROR: AddressSanitizer: dynamic-stack-buffer-overflow on address 0x7ffc7dfaf5d8 at pc 0x7f36dae28877 bp 0x7ffc7dfaf4f0 sp 0x7ffc7dfaf4e0
WRITE of size 1 at 0x7ffc7dfaf5d8 thread T0[

Image

libasan.so.8.zip

](url)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant