Bugs item #916227, was opened at 2004-03-15 01:33
Message generated for change (Comment added) made by broeker
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=104664&aid=916227&group_id=4664
Category: C lexer/parser
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Hans-Bernhard Broeker (broeker)
Summary: Coredump on Solaris with wu-ftpd source
Initial Comment:
Bug reported by Alan.Burlison@...
The file src/COPYRIGHT.c from the wu-ftpd-2.6.2
distribution makes cscope-15.5 dump core:
00014f64 multicharconstant (20000401, 20000401, 20,
22, 5e94c, 2710) + 68
000149d8 yylex (13b1c, 2710, 3b353, 3b340, 3b34c,
3b35b) + e24
0001b33c crossref (67, 9, 0, 51774, 5ed88, 0) + 19c
00018158 build (1, 0, 1, 0, 67be8, 66666400) + 8a8
000254c0 main (5ec00, 3b000, ffbff670, 3cc9c,
3cc00, 0) + e60
00013b04 _start (0, 0, 0, 0, 0, 0) + 108
At a guess I'd say this is falling off the end of yytext.
----------------------------------------------------------------------
>Comment By: Hans-Bernhard Broeker (broeker)
Date: 2004-03-15 16:02
Message:
Logged In: YES
user_id=27517
I agree with your guess.
More to the point, this is probably caused by the known
problem in Sun's lex, where the method used by cscope's
scanner.l to extend the size of yytext[] beyond the default
fails. Note that this problem is mentioned in cscope's
INSTALL document, which also recommends a solution: use flex
instead.
I can't make heads or tails of that traceback you posted.
What are all those numbers inside the parentheses? They
can't be function arguments --- multicharconstant() has only
one argument. Building with -g for debug information may
get you a more useful traceback.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=104664&aid=916227&group_id=4664
|