bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SEGV running tests on IRIX 6.5.19m


From: Albert Chin-A-Young
Subject: SEGV running tests on IRIX 6.5.19m
Date: Mon, 24 May 2004 18:14:41 -0500
User-agent: Mutt/1.5.6i

Below is the first of the test results for bison-1.875 on IRIX 6.5.19m
with the SGI C compiler.

$ uname -aR
IRIX64 puar 6.5 6.5.19m 01100304 IP30
$ gmake check
...
## --------------------------- ##
## GNU Bison 1.875 test suite. ##
## --------------------------- ##

Input Processing.

  1: input.at:28       ok
  2: input.at:46       ok
  3: input.at:64       ./testsuite[1226]: 20730283 Memory fault(coredump) 
FAILED near `input.at:80'
  4: input.at:93       ok

$ cd tests
$ cat a.y
%token foo
%type <bar> exp
%%
exp: foo {} foo
   | foo
   | /* Empty. */
   ;
$ ../src/bison a.y
a.y:4.6zsh: segmentation fault (core dumped)  ../src/bison a.y
$ dbx ../src/bison core
dbx> where
  0 quotearg_buffer_restyled(buffer = 0x10064800 = "a.y", buffersize = 4, arg = 
0x1, argsize = 4294967295, quoting_style = escape_quoting_style=4, o = 
0x7ffc3478) ["/opt/build/bison-1.875/lib/quotearg.c":256, 0x10040fe0]
  1 quotearg_buffer(buffer = 0x10064800 = "a.y", buffersize = 4, arg = 0x1, 
argsize = 4294967295, o = 0x7ffc3478) 
["/opt/build/bison-1.875/lib/quotearg.c":503, 0x10041b5c]
  2 quotearg_n_options(n = 3, arg = 0x1, argsize = 4294967295, options = 
0x7ffc3478) ["/opt/build/bison-1.875/lib/quotearg.c":560, 0x10041cec]
  3 quotearg_n_style(n = 3, s = escape_quoting_style=4, arg = 0x1) 
["/opt/build/bison-1.875/lib/quotearg.c":600, 0x10041fa0]
  4 location_print(out = 0xfb2ad38, loc = (...)) 
["/opt/build/bison-1.875/src/location.c":39, 0x100105b0]
  5 warn_at(loc = (...), message = 0x10052818 = "type clash on default action: 
<%s> != <%s>", ... = <void>) ["/opt/build/bison-1.875/src/complain.c":77, 
0x100091d4]
  6 grammar_current_rule_check() ["/opt/build/bison-1.875/src/reader.c":264, 
0x10025dcc]
  7 grammar_rule_end(loc = (...)) ["/opt/build/bison-1.875/src/reader.c":285, 
0x10025ed4]
  8 gram_parse() ["/opt/build/bison-1.875/src/parse-gram.y":348, 0x10020468]
  9 reader() ["/opt/build/bison-1.875/src/reader.c":501, 0x10026b7c]
 10 main(argc = 2, argv = 0x7ffc5f24) ["/opt/build/bison-1.875/src/main.c":80, 
0x10010768]

I tried GCC and all tests passed successfully so the bug is in the SGI
compiler. Based on the above, can you point me somewhere I can start
looking?

-- 
albert chin (address@hidden)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]