On Sun, Feb 19, 2006 at 12:31:32PM +0100, Mattia Dongili wrote:
> Package: cscope
> Version: 15.5+cvs20050816-1
> Severity: important
> Tags: patch
> 
> Using current kbuild.git tree (or any -mm patch in 2.6.16-rc1 -maybe
> earlier mm also-) I get a segfault in 'make cscope'.
> I tracked this to be caused by:
> 
>       VPATH=/home/mattia/devel/kernel/git/linux-2.6: cscope -b
> 
> cscope dies because of the trailing ':' in:
>       (gdb) bt
>       #0  0xb7e45cd3 in strlen () from /lib/tls/libc.so.6
>       #1  0x0805be0c in vpinit (current_dir=0x80a6460 
> "/home/mattia/devel/kernel/git/linux-2.6") at vpinit.c:126
>       #2  0x0805267e in makevpsrcdirs () at dir.c:98
>       #3  0x080533a1 in makefilelist () at dir.c:276
>       #4  0x0805a70b in main (argc=0, argv=0xbffb6148) at main.c:538
> 
> the attached patch fixes the segfault.

I submitted the same patch upstream, see:
http://sourceforge.net/tracker/index.php?func=detail&aid=1434568&group_id=4664&atid=104664

Thanks
-- 
mattia
:wq!

Attachment: signature.asc
Description: Digital signature

Reply via email to