-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
EnglishNativeThis issue is conveyed exclusively in English.This issue is conveyed exclusively in English.EnhancementImprovement or enhancement.Improvement or enhancement.
Milestone
Description
Description
For CentOS7, we got error as bellow, see google/sanitizers#796 for detail:
==48458==ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD.
-
SRS Version: 5.0.119
-
SRS Log:
==48458==ASan runtime does not come first in initial library list; you should either link
runtime to your application or manually preload it with LD_PRELOAD.
- SRS Config:
./objs/srs -c conf/srs.conf
Replay
CentOS 7.
Step 1: Link asan by shared library.
./configure --sanitizer=on --sanitizer-static=off && make
Step 2: Run SRS
./objs/srs -c conf/srs.conf
#==48458==ASan runtime does not come first in initial library list; you should either link
# runtime to your application or manually preload it with LD_PRELOAD.
There is a workaround:
env LD_PRELOAD=/lib64/libasan.so.5 ./objs/srs -c conf/srs.conf
Metadata
Metadata
Assignees
Labels
EnglishNativeThis issue is conveyed exclusively in English.This issue is conveyed exclusively in English.EnhancementImprovement or enhancement.Improvement or enhancement.