Searching for function call locations causes cscope to break

Bug #870007 reported by Eric Munson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cscope (Ubuntu)
New
Undecided
Unassigned

Bug Description

Checkout Linus' current source tree and index it with 'cscope -k -q -R' then search for each place reserve_pmc_hardware is called. My cscope reports "File does not have expected format" and when I hit enter opens to the vim splash. When I hit enter once more, I get what I suspect is the first or second result. When I close this file the cscope ui won't do anything except re-open the first result. If I close cscope and restart with -d I can look for other functions (reserve_pmc_hardware will break cscope ever time in any search field). I cannot reindex if I start with -k -q -R I get the old index (as if I had used -d instead). cscope will only reindex if I remove the cscope.* files and try again. I have attached screen shots of my terminal at each step.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: cscope 15.7a-3.2
Uname: Linux 3.1.0-rc9 x86_64
Architecture: amd64
Date: Fri Oct 7 09:43:19 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: cscope
UpgradeStatus: Upgraded to natty on 2011-05-01 (159 days ago)

Revision history for this message
Eric Munson (emunson) wrote :
Revision history for this message
Eric Munson (emunson) wrote :
Revision history for this message
Eric Munson (emunson) wrote :
Revision history for this message
Eric Munson (emunson) wrote :
Revision history for this message
Eric Munson (emunson) wrote :

This seems to be a problem on my 32 bit laptop install (running the distro kernel) as well.

Revision history for this message
Eric Munson (emunson) wrote :

If I drop the inverted index, things work fine. Not really a solution, but a work around for now.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.