#224 cscope segment fault, use vim with cscope on valgrind

open
Neil Horman
None
5
2008-04-10
2008-02-02
Anonymous
No

On redhat linux Fedora Core release 3. login with same user on smae computer.

Use vim with cscope on other project is perfect but algrind-3.3.0 source code.

I make cscope file with shell

#!/bin/bash
cscope -b -k -R -P`pwd`
ctags --file-scope=no -R `pwd`

Use command cs f f FILENAME is right, but use command
cs f c function_name make cscope segement fault and vim
returne error : E262: error reading cscope connection 0

Discussion

  • Logged In: YES
    user_id=27517
    Originator: NO

    Please try to formulate your report in terms of actual cscope commands. I don't use the vim interface to cscope, and thus don't necessarily know what "cs f c function_name" actually does.

     
  • Neil Horman
    Neil Horman
    2008-02-03

    Logged In: YES
    user_id=827328
    Originator: NO

    +1 to Hans' comments. Also, if you're using FC3, please try the cscope package from a later Fedora release. I vaguely recall fixing a few segfaults over the past few years.

     
  • Neil Horman
    Neil Horman
    2008-04-10

    • assigned_to: nobody --> nhorman
     
  • Tomas Hoger
    Tomas Hoger
    2009-05-05

    Once cscope crash related to valgrind sources was fixed in Fedora cscope packages in FC5 time frame:
    https://bugzilla.redhat.com/show_bug.cgi?id=189666

    This problem should be fixed upstream in 15.6.