one_test_x0 (format=format@entry=0x10040518e "%d %% %d") at stc-t-printf.c:101 101 if (one_test_rc1 == -1) (gdb) 107 show (" sys: ->%s<-\n", one_test_buf1); (gdb) 0x0000000100401087 in show (format=format@entry=0x10040505c " sys: ->%s<-\n") at /usr/src/debug/libgpg-error-1.50-1/tests/t-common.h:119 119 /usr/src/debug/libgpg-error-1.50-1/tests/t-common.h: No such file or directory. (gdb) 122 in /usr/src/debug/libgpg-error-1.50-1/tests/t-common.h (gdb) run_tests () at stc-t-printf.c:201 201 one_test_2 ("%d %% %d", 17, 768114563); (gdb) 0x000000010040142d in one_test_x1 (format=format@entry=0x10040518e "%d %% %d") at stc-t-printf.c:112 112 { (gdb) 117 errno = ENOENT; (gdb) __errno () at /usr/src/debug/cygwin-3.6.0-0.139.g7e3c833592b2/newlib/libc/errno/errno.c:17 17 return &_REENT_ERRNO(_REENT); (gdb) __getreent () at /usr/src/debug/cygwin-3.6.0-0.139.g7e3c833592b2/winsup/cygwin/include/cygwin/config.h:40 40 __asm __volatile__ ("movq %%gs:8,%0" : "=r" (ret)); (gdb) __errno () at /usr/src/debug/cygwin-3.6.0-0.139.g7e3c833592b2/winsup/cygwin/include/cygwin/config.h:44 44 return (struct _reent *) (ret - __CYGTLS_PADSIZE__); (gdb) one_test_x1 (format=format@entry=0x10040518e "%d %% %d") at stc-t-printf.c:118 118 va_start (arg_ptr, format); (gdb) 119 rc2 = gpgrt_vasprintf (&buf2, format, arg_ptr); (gdb) gpgrt_vasprintf (r_buf=r_buf@entry=0x7ffffcaf0, format=format@entry=0x10040518e "%d %% %d", ap=ap@entry=0x7ffffcb48 "\021") at /usr/src/debug/libgpg-error-1.50-1/src/visibility.c:714 714 return _gpgrt_estream_vasprintf (r_buf, format, ap); (gdb) _gpgrt_estream_vasprintf (bufp=bufp@entry=0x7ffffcaf0, format=format@entry=0x10040518e "%d %% %d", arg_ptr=arg_ptr@entry=0x7ffffcb48 "\021") at /usr/src/debug/libgpg-error-1.50-1/src/estream-printf.c:1836 1836 { (gdb) 1840 parm.error_flag = 0; (gdb) 1841 parm.alloced = 512; (gdb) 1842 parm.used = 0; (gdb) 1843 parm.buffer = my_printf_realloc (NULL, parm.alloced); (gdb) _gpgrt_realloc (a=0x0, n=512) at /usr/src/debug/libgpg-error-1.50-1/src/init.c:235 235 if (custom_realloc) (gdb) 238 if (!n) (gdb) 233 _gpgrt_realloc (void *a, size_t n) (gdb) _gpgrt_realloc (n=512, a=0x0) at /usr/src/debug/libgpg-error-1.50-1/src/init.c:244 244 if (!a) (gdb) 245 return malloc (n); (gdb) 233 _gpgrt_realloc (void *a, size_t n) (gdb) 0x00000004882524af in _gpgrt_realloc (n=512, a=) at /usr/src/debug/libgpg-error-1.50-1/src/init.c:245 245 return malloc (n); (gdb) /cygdrive/d/a/scallywag/gdb/gdb-13.2-1.x86_64/src/gdb-13.2/gdb/infrun.c:2640: internal-error: resume_1: Assertion `pc_in_thread_step_range (pc, tp)' failed. (gdb) bt #0 0x0000000488266100 in malloc () at /usr/src/debug/cygwin-3.6.0-0.139.g7e3c833592b2/winsup/cygwin/mm/malloc_wrapper.cc:85 #1 0x000000048825ba5a in _gpgrt_estream_vasprintf (bufp=bufp@entry=0x7ffffcaf0, format=format@entry=0x10040518e "%d %% %d", arg_ptr=arg_ptr@entry=0x7ffffcb48 "\021") at /usr/src/debug/libgpg-error-1.50-1/src/estream-printf.c:1843 #2 0x000000048825cf95 in gpgrt_vasprintf (r_buf=r_buf@entry=0x7ffffcaf0, format=format@entry=0x10040518e "%d %% %d", ap=ap@entry=0x7ffffcb48 "\021") at /usr/src/debug/libgpg-error-1.50-1/src/visibility.c:714 #3 0x000000010040147e in one_test_x1 (format=format@entry=0x10040518e "%d %% %d") at stc-t-printf.c:119 #4 0x0000000100401e5b in run_tests () at stc-t-printf.c:201 #5 main (argc=, argv=) at stc-t-printf.c:559