From: <no...@so...> - 2002-01-02 16:54:50
|
Bugs item #490840, was opened at 2001-12-09 07:18 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=104664&aid=490840&group_id=4664 Category: None Group: None >Status: Closed >Resolution: Duplicate Priority: 5 Submitted By: sami farin (safari) >Assigned to: Hans-Bernhard Broeker (broeker) Summary: -R + symbolic link loop = segfault Initial Comment: # cd /usr/include ; cscope -R -b Segmentation fault (core dumped) ...yadda yadda... (gdb) bt #0 0x4918cabc in _IO_vfprintf (s=0xbffe6000, format=0x8062c98 "%s/%s", ap=0xbffe60ec) at ../sysdeps/i386/i486/bits/string.h:530 #1 0x491a86e3 in _IO_vsprintf ( string=0xbffe6160 "gnome-xml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/l"..., format=0x8062c98 "%s/%s", args=0xbffe60e8) at iovsprintf.c:46 #2 0x49194e87 in sprintf ( s=0xbffe6160 "gnome-xml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/libxml/l"..., format=0x8062c98 "%s/%s") at sprintf.c:38 #3 0x08050e37 in scan_dir (adir=0xbffe0068 <Address 0xbffe0068 out of bounds>, recurse_dir=YES) at dir.c:382 #4 0x00682e79 in ?? () Cannot access memory at address 0x726f6d65 (gdb) q # ls -l gnome-xml/libxml lrwxrwxrwx 1 root root 1 Aug 20 18:42 gnome-xml/libxml -> . (cscope works after rm -f gnome-xml/libxml) --- also, another bug/whatever, getline is defined already in stdio.h in GNU libc. cscope might want to rename that function... ---------------------------------------------------------------------- >Comment By: Hans-Bernhard Broeker (broeker) Date: 2002-01-02 08:54 Message: Logged In: YES user_id=27517 That might turn out to be a tough one :-( The original error is on the user's side of course. Infinite recursive links should be avoided whenever possible. Anyway: the problem has been detected earlier, and a fix is in the CVS version of the sources already. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=104664&aid=490840&group_id=4664 |