#62 semantic runtime database lost upon etags search

open
semantic (53)
5
2004-12-29
2004-10-20
Igor Lautar
No

I have a semanticdb database which works ok with
semantic-complete-jump.
When I need some tag, but it's not yet in semanticdb, I
use etags TAGS
file for first search, and from there on, sem. should
find it.

But I just noticed that all tags are removed (?) from
runtime database.
When doing M-., then semantic-complete-jump does not
show any tags.

CEDET 1.0beta3, Emacs 21.3.1, (i386-mingw-nt5.0.2195)

Discussion

  • Eric M. Ludlam

    Eric M. Ludlam - 2004-12-29

    Logged In: YES
    user_id=88537

    I cannot reproduce this problem. If you can still reproduce
    this problem
    here are some things to find out:

    1) After "M-x semanticdb-save-all-db" do the semantic.cache
    files
    still have anything in them?

    2) Did the TAGS jump switch you to another directory?

     
  • Eric M. Ludlam

    Eric M. Ludlam - 2004-12-29
    • assigned_to: nobody --> zappo
     
  • Gary Oberbrunner

    Logged In: YES
    user_id=417980
    Originator: NO

    This also happens to me, if I understand correctly. I use Emacs22 with ECB on top of CEDET semantic (cvs versions of both). If I use M-. (tag-search), and select the TAGS file in the current dir, it takes me to the correct source file (same dir), but from then on the Methods buffer in ECB is empty. I presume this is the same error.

    If I kill the source buffer and re-find the file, it gets re-parsed and the methods come back. But I get this error: semanticdb: Failed to deoverlay tag cache, and clicking on methods in the method buffer no longer works (with this error: Wrong type argument: integer-or-marker-p, nil):

    Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil)
    ecb-jump-to-tag("c:/genarts/trunk/sapphire/fft.cxx" ("convolve_direct_fix_fix" function (:typemodifiers ("static") :arguments (... ... ... ... ...) :type "void") nil #<overlay in no buffer>) #<window 9 on fft.cxx> nil nil)
    ecb-method-clicked([cl-struct-tree-node #(" convolve_direct_fix_fix (info,src,dst,scale,c ...
    ecb-tree-buffer-node-select-callback([cl-struct-tree-node #(" convolve_direct_fix_fix (in ...
    tree-buffer-select(1 nil nil nil)
    #[(e) "Á!ˆÂÃĉ‰$‡" [e tree-buffer-mouse-set-point tree-buffer-s ...
    call-interactively(#[(e) "Á!ˆÂÃĉ‰$‡" [e tree-buffer-mouse-set- ...

    Rebuilding the methods buffer seems to make the methods buffer functional again.

    I think there's some interference between regular tags mode and semanticdb. Please email me at garyo at genarts dot com if there's any more info I can help with.

     
  • Eric M. Ludlam

    Eric M. Ludlam - 2007-02-08

    Logged In: YES
    user_id=88537
    Originator: NO

    I've tried more explicit tag jumping in clean areas, and still cannot reproduce w/ CVS cedet, which is mostly like it was in 2006-12 when the last comment was provided. I don't know what it may be.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks