Bugs item #1503542, was opened at 2006-06-09 16:21
Message generated for change (Comment added) made by broeker
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=104664&aid=1503542&group_id=4664
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Hans-Bernhard Broeker (broeker)
Summary: Get Segmentation Fault (Exit 139) while searching a symbol
Initial Comment:
I have a large project and was able to build
the database whitout any problem. Then I try
to search via vim or cscope gui a tag and with some but
not all symbols I run into a segmentation fault with an
additional message "Exit 139".
The cscope.out file is 164M big.
All is running under linux.
cscope: version 15.5
----------------------------------------------------------------------
>Comment By: Hans-Bernhard Broeker (broeker)
Date: 2006-09-16 13:28
Message:
Logged In: YES
user_id=27517
Symbolic links of files can't really have anything to do
with this. Cscope doesn't care whether a file passed to it
is a symlink or a real file --- it only has to read the
contents, and it'll record the name as it was given.
Anyway, if there were a problem with the file itself, it
would show up at database build time, not while searching
the database.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2006-09-09 10:24
Message:
Logged In: NO
Great! I have solved my problem, which is the same as the
one discussed in this thread, by increasing PATHLEN and
PATLEN to 1024 * 10, as somebody suggessted. The number
might look bigger than what is necessary.
Thanks a lot!
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2006-06-16 17:23
Message:
Logged In: NO
I could find the bug and fix it.
I have simply modified the PATHLEN and PATLEN to 1024
in constants.h which increases the space for symbol and path
length in the prog. The old values were much! to small for
our project, because we have very long path length while using
a lot of symbolic links which are linking to symbolic links
again and again... I could not change this :-)
Also we have very long symbols, they were generated by
automated tools which create c++ source from uml. Dont cry!
we have such stuff and I hate them also :-)
So the bug is fixed. It would be nice if you could
change the sizes also in the cvs.
Regards,
Klaus
----------------------------------------------------------------------
Comment By: Hans-Bernhard Broeker (broeker)
Date: 2006-06-09 23:17
Message:
Logged In: YES
user_id=27517
Sorry, but you'll really have to be a lot more specific
before this turns into a viable bug report. Which symbol
were you searching for, what options of cscope did you use,
on what type of Linux, etc.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=104664&aid=1503542&group_id=4664
|