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 41842 exited with signal 11 and dumped core; attempting to gather stack trace
(no debugging symbols found)...Core was generated by `/usr/tests/lib/libc/stdlib/getenv_test -vunprivileged-user=tests -r/tmp/kyua.JMm'.
Program terminated with signal 11, Segmentation fault.
#0  strlen (str=0x0) at /usr/src/lib/libc/string/strlen.c:100
100	/usr/src/lib/libc/string/strlen.c: No such file or directory.
	in /usr/src/lib/libc/string/strlen.c
#0  strlen (str=0x0) at /usr/src/lib/libc/string/strlen.c:100
#1  0x281a8a02 in __setenv (name=, nameLen=, value=0x0, overwrite=1)
    at /usr/src/lib/libc/stdlib/getenv.c:470
#2  0x281a835e in setenv (name=0x8049d8a "var", value=0x0, overwrite=1) at /usr/src/lib/libc/stdlib/getenv.c:595
#3  0x0804949e in ?? ()
#4  0x08049d8a in ?? ()
#5  0x00000000 in ?? ()
Current language:  auto; currently minimal
GDB exited successfully