Open thesamesam opened 2 weeks ago
The same command throws with export UBSAN_OPTIONS="print_stacktrace=1:halt_on_error=0"
:
libdtrace/dt_subr.c:119:3: runtime error: null pointer passed as argument 2, which is declared to never be null
#0 0x7f2b33d2c2da in dtrace_xstr2desc libdtrace/dt_subr.c:119
#1 0x7f2b33e5ebe9 in dt_probe_lookup2 libdtrace/dt_probe.c:203
#2 0x7f2b33e281a3 in dt_cook_provider libdtrace/dt_parser.c:4742
#3 0x7f2b33e21829 in dt_node_cook libdtrace/dt_parser.c:4813
#4 0x7f2b33d55afc in dt_compile libdtrace/dt_cc.c:739
#5 0x7f2b33d59b4b in dt_program_compile libdtrace/dt_cc.c:1436
#6 0x7f2b33d59b4b in dtrace_program_fcompile libdtrace/dt_cc.c:1458
#7 0x5622e7c22c8f in compile_file cmd/dtrace.c:478
#8 0x5622e7c1c3ad in main cmd/dtrace.c:1351
#9 0x7f2b3323d834 (/usr/lib64/libc.so.6+0x26834)
#10 0x7f2b3323d8e7 in __libc_start_main (/usr/lib64/libc.so.6+0x268e7)
#11 0x5622e7c1f5c4 in _start (/home/sam/git/dtrace-utils-bad/build/dtrace+0xc5c4)
libdtrace/dt_subr.c:120:3: runtime error: null pointer passed as argument 2, which is declared to never be null
#0 0x7f2b33d2c243 in dtrace_xstr2desc libdtrace/dt_subr.c:120
#1 0x7f2b33e5ebe9 in dt_probe_lookup2 libdtrace/dt_probe.c:203
#2 0x7f2b33e281a3 in dt_cook_provider libdtrace/dt_parser.c:4742
#3 0x7f2b33e21829 in dt_node_cook libdtrace/dt_parser.c:4813
#4 0x7f2b33d55afc in dt_compile libdtrace/dt_cc.c:739
#5 0x7f2b33d59b4b in dt_program_compile libdtrace/dt_cc.c:1436
#6 0x7f2b33d59b4b in dtrace_program_fcompile libdtrace/dt_cc.c:1458
#7 0x5622e7c22c8f in compile_file cmd/dtrace.c:478
#8 0x5622e7c1c3ad in main cmd/dtrace.c:1351
#9 0x7f2b3323d834 (/usr/lib64/libc.so.6+0x26834)
#10 0x7f2b3323d8e7 in __libc_start_main (/usr/lib64/libc.so.6+0x268e7)
#11 0x5622e7c1f5c4 in _start (/home/sam/git/dtrace-utils-bad/build/dtrace+0xc5c4)
Noticed when looking into something else acting up, decided to try build w/ UBSAN: