NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
toolchain/54226: address sanitizer doesn't work
>Number: 54226
>Category: toolchain
>Synopsis: address sanitizer doesn't work
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri May 24 05:30:00 +0000 2019
>Originator: coypu
>Release: NetBSD 8.99.41
>Organization:
>Environment:
NetBSD plu 8.99.41 NetBSD 8.99.41 (GENERIC) #0: Thu May 23 18:48:19 IDT 2019 fly@plu:/home/fly/obj/sys/arch/amd64/compile/GENERIC amd64
>Description:
#!/bin/sh
cat << EOF > AAAtest.c
int main() { return 0; }
EOF
gcc AAAtest.c -fsanitize=address -lasan -o AAAtest
./AAAtest
Expected: zero exit status, no output.
Got: non-zero exit status, output about trace
[ 1067.4843830] sorry, pid 1842 was killed: orphaned traced process
[1] Killed ./AAAtest
>How-To-Repeat:
>Fix:
I'm not sure. am I doing this wrong?
Home |
Main Index |
Thread Index |
Old Index