OS: ubuntu 22.04.02 LTS on WSL, installed from windows store
Gloabal version: 6.6.10
Reprocedure step:

1.    git clone https://github.com/u-boot/u-boot.git

2.    gtags --skip-symlink --gtagslabel native-pygments

3.    ls -l G*

[cid:image001.png@01D9EADD.62559C30]

4.     git checkout -b tmp v2012.10

5.     global -u

6.     ls -l G*

[cid:image002.png@01D9EADE.0275E3A0]



7.     git checkout master

8.     global -u

[cid:image003.png@01D9EADE.3C802290]

       P.S.  Step 6 I noted that the size of GTAGS increased abnormally, if I 
generate the database in this branch(tmp) directly instead of updating it by 
“global -u”,  the size of gtags won’t be that large, see below
[cid:image004.png@01D9EADF.CC5C2DE0]


What I expect:
       The size of database should maintain the same when I switch back to the 
original branch and try to update database by inputing `global -u`, and 
`Segmentation fault ` should not happen.

What occurred:
       `Segmentation fault `  happened as mentioned before.


Reply via email to