Test case: lib/libc/stdlib/getenv_test:setenv_basic

Metadata

Standard output

Test case did not write anything to stdout.

Standard error

Process with PID 53421 exited with signal 11 and dumped core; attempting to gather stack trace
[New LWP 101528]
Core was generated by `/usr/tests/lib/libc/stdlib/getenv_test -vunprivileged-user=tests -r/tmp/kyua.Trh'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  strlen (str=0x0) at /net/blackdragon/usr/home/bdragon/superglue/lib/libc/string/strlen.c:101
101		va = (*lp - mask01);
#0  strlen (str=0x0) at /net/blackdragon/usr/home/bdragon/superglue/lib/libc/string/strlen.c:101
#1  0x00000008102d698c in __setenv (name=0x10000caf "var", nameLen=3, value=0x0, overwrite=1) at /net/blackdragon/usr/home/bdragon/superglue/lib/libc/stdlib/getenv.c:472
#2  0x000000001001144c in atfu_setenv_basic_body (tc=) at /net/blackdragon/usr/home/bdragon/superglue/contrib/netbsd-tests/lib/libc/stdlib/t_getenv.c:167
#3  0x00000008100a7924 in atf_tc_run (tc=0x10030030 , resfile=) at /net/blackdragon/usr/home/bdragon/superglue/contrib/atf/atf-c/tc.c:1008
#4  0x00000008100a3828 in atf_tp_run (tp=, tcname=, resfile=0x81005b000 "/tmp/kyua.TrhFmT/3075/result.atf") at /net/blackdragon/usr/home/bdragon/superglue/contrib/atf/atf-c/tp.c:201
#5  0x00000008100a2c08 in run_tc (tp=, p=, exitcode=) at /net/blackdragon/usr/home/bdragon/superglue/contrib/atf/atf-c/detail/tp_main.c:504
#6  controlled_main (argc=, argv=, add_tcs_hook=, exitcode=) at /net/blackdragon/usr/home/bdragon/superglue/contrib/atf/atf-c/detail/tp_main.c:574
#7  atf_tp_main (argc=, argv=, add_tcs_hook=) at /net/blackdragon/usr/home/bdragon/superglue/contrib/atf/atf-c/detail/tp_main.c:604
#8  0x0000000010010560 in main (argc=, argv=) at /net/blackdragon/usr/home/bdragon/superglue/contrib/netbsd-tests/lib/libc/stdlib/t_getenv.c:201
GDB exited successfully