Date: Sun, 05 Oct 2014 07:22:39 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-testing@freebsd.org Subject: [Bug 193499] [tests] usr.bin/yacc/err_syntax27.error failures with the latest kyua Message-ID: <bug-193499-32464-sdIEUf8bJf@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-193499-32464@https.bugs.freebsd.org/bugzilla/> References: <bug-193499-32464@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193499 --- Comment #6 from Craig Rodrigues <rodrigc@FreeBSD.org> --- I recompiled byacc without optimization, by doing: make DEBUG_FLAGS="-g -O0". Here is what I got from the backtrace. (gdb) where #0 0x00000000004134ed in copy_param (k=13) at /builds/FreeBSD_HEAD/usr.bin/yacc/../../contrib/byacc/reader.c:681 #1 0x000000000040cf9d in read_declarations () at /builds/FreeBSD_HEAD/usr.bin/yacc/../../contrib/byacc/reader.c:1359 #2 0x000000000040ce03 in reader () at /builds/FreeBSD_HEAD/usr.bin/yacc/../../contrib/byacc/reader.c:3250 #3 0x0000000000405ed2 in main (argc=8, argv=0x7fffffffeb90) at /builds/FreeBSD_HEAD/usr.bin/yacc/../../contrib/byacc/main.c:692 (gdb) frame 0 #0 0x00000000004134ed in copy_param (k=13) at /builds/FreeBSD_HEAD/usr.bin/yacc/../../contrib/byacc/reader.c:681 681 buf[i] = (char)c; (gdb) info locals buf = 0x8010140f0 "int regs[26] \n", '¥' <repeats 83 times>, "int regs[26] \n", '¥' <repeats 83 times>, "int re"... c = -91 head = (param *) 0xffffffea00000000 p = (param *) 0x41241c i = 4112144 name = -5424 type2 = 0 (gdb) frame 1 #1 0x000000000040cf9d in read_declarations () at /builds/FreeBSD_HEAD/usr.bin/yacc/../../contrib/byacc/reader.c:1359 1359 copy_param(k); (gdb) info locals c = 37 k = 13 (gdb) frame 2 #2 0x000000000040ce03 in reader () at /builds/FreeBSD_HEAD/usr.bin/yacc/../../contrib/byacc/reader.c:3250 3250 read_declarations(); (gdb) info locals No locals. (gdb) frame 3 #3 0x0000000000405ed2 in main (argc=8, argv=0x7fffffffeb90) at /builds/FreeBSD_HEAD/usr.bin/yacc/../../contrib/byacc/main.c:692 692 reader(); (gdb) info locals No locals. (gdb) p argv[0] $1 = 0x7fffffffedf8 "../yacc" (gdb) p argv[1] $2 = 0x7fffffffee00 "-v" (gdb) p argv[2] $3 = 0x7fffffffee03 "-d" (gdb) p argv[3] $4 = 0x7fffffffee06 "-p" (gdb) p argv[4] $5 = 0x7fffffffee09 "err_syntax27_" (gdb) p argv[5] $6 = 0x7fffffffee17 "-b" (gdb) p argv[6] $7 = 0x7fffffffee1a "test-err_syntax27" (gdb) p argv[7] $8 = 0x7fffffffee2c "./err_syntax27.y" (gdb) p argv[8] $9 = 0x0 -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-193499-32464-sdIEUf8bJf>
