Test case: lib/libc/stdio/printf_test:snprintf_posarg_error

Metadata

Standard output

Test case did not write anything to stdout.

Standard error

Process with PID 41772 exited with signal 11 and dumped core; attempting to gather stack trace
(no debugging symbols found)...Core was generated by `/usr/tests/lib/libc/stdio/printf_test -vunprivileged-user=tests -r/tmp/kyua.JMmJ'.
Program terminated with signal 11, Segmentation fault.
#0  0x281b02a2 in memset () from /lib/libc.so.7
#0  0x281b02a2 in memset () from /lib/libc.so.7
#1  0x40000000 in ?? ()
#2  0x281540d8 in __find_arguments (fmt0=0xbfbfd644 "%1073741823$d", ap=0xbfbfd640 "éÿÿÿ%1073741823$d", argtable=0xbfbfd36c)
    at /usr/src/lib/libc/stdio/printf-pos.c:641
#3  0x281500c3 in __vfprintf (fp=0xbfbfd528, locale=0x281ca2ac, fmt0=0xbfbfd644 "%1073741823$d", ap=)
    at /usr/src/lib/libc/stdio/vfprintf.c:573
#4  0x281a94d2 in snprintf (str=0xbfbfd664 "@\f\b(|Ö¿¿|Ö¿¿jÎ\a(â¼°c", n=, fmt=0xbfbfd644 "%1073741823$d")
    at /usr/src/lib/libc/stdio/snprintf.c:72
#5  0x080491e4 in ?? ()
#6  0xbfbfd664 in ?? ()
#7  0x00000010 in ?? ()
#8  0xbfbfd644 in ?? ()
#9  0xffffffe9 in ?? ()
#10 0x37303125 in ?? ()
#11 0x31343733 in ?? ()
#12 0x24333238 in ?? ()
#13 0x63b00064 in ?? ()
#14 0x281c81c0 in .got () from /lib/libc.so.7
#15 0xbfbfd890 in ?? ()
#16 0x28080f58 in .bss () from /usr/lib/libprivateatf-c.so.1
#17 0x0804ad4c in __stderrp ()
#18 0x280780e4 in atf_tc_run (tc=0x804ad4c, resfile=0xf 
) at /usr/src/contrib/atf/atf-c/tc.c:1008 #19 0x280780e4 in atf_tc_run (tc=0x804ad4c, resfile=0x28416000 "") at /usr/src/contrib/atf/atf-c/tc.c:1008 #20 0x280750d8 in atf_tp_run (tp=0xbfbfdb20, tcname=0x28415060 "", resfile=0x28416000 "") at /usr/src/contrib/atf/atf-c/tp.c:201 #21 0x2807487c in atf_tp_main (argc=4, argv=0xbfbfeba0, add_tcs_hook=0x8048bc0 ) at /usr/src/contrib/atf/atf-c/detail/tp_main.c:504 #22 0x08048bb3 in ?? () #23 0x00000004 in ?? () #24 0xbfbfeba0 in ?? () #25 0x08048bc0 in ?? () #26 0xbfbfeb78 in ?? () #27 0x08048a2d in ?? () #28 0x00000004 in ?? () #29 0xbfbfeba0 in ?? () #30 0xbfbfebb4 in ?? () #31 0xbfbfeb9c in ?? () #32 0x00000000 in ?? () GDB exited successfully