Package: global
Version: 6.6.5-1
Severity: normal
Tags: upstream
X-Debbugs-Cc: gaff...@live.com

Dear Maintainer,

        Situation: Developing in a check-out of the Zephyr project repository.
        A lot of files from simulation runs had been deleted ("twister* in the 
lines below)
        Had switched branch, wanted to updated the tags database

        Using ggtags from Emacs, the "Update tag files" menu item reported a 
segmentation fault:
----------
-*- mode: compilation; default-directory: 
"~/repoutsjekk/zephyrproject/zephyr/subsys/bluetooth/audio/" -*-
Compilation started at Thu Jan 27 13:09:44

global -u
Segmentation fault

global -u exited abnormally with code 1 at Thu Jan 27 13:10:06
--------

        Running "global -u" from the command line gave the same result - 
segfault (below is output from "global -u -vv"):

--------
[Thu Jan 27 13:18:50 CET 2022] Gtags started.
 Using configuration file '/etc/gtags/gtags.conf'.
 Using configuration label 'default'.
 Tag found in '/home/asbjorn/repoutsjekk/zephyrproject/zephyr'.
 Incremental updating.
[Thu Jan 27 13:19:12 CET 2022] Updating 'GTAGS' and 'GRTAGS'.
 [1/267521] deleting tags of doc/_build/src/guides/test/mocking.c
 [2/267521] deleting tags of 
twister-out.12/native_posix/tests/bluetooth/shell/bluetooth.shell.audio.no_otsc/zephyr/include/generated/devicetree_unfixed.h
 [3/267521] deleting tags of 
twister-out.12/native_posix/tests/bluetooth/shell/bluetooth.shell.audio.no_otsc/zephyr/include/generated/syscall_list.h
 [4/267521] deleting tags of 
twister-out.12/native_posix/tests/bluetooth/shell/bluetooth.shell.audio.no_otsc/zephyr/include/generated/otype-to-size.h
 [5/267521] deleting tags of 
twister-out.12/native_posix/tests/bluetooth/shell/bluetooth.shell.audio.no_otsc/zephyr/include/generated/autoconf.h
 [6/267521] deleting tags of 
twister-out.12/native_posix/tests/bluetooth/shell/bluetooth.shell.audio.no_otsc/zephyr/include/generated/offsets.h

 [...]

 [267519/267521] deleting tags of 
twister-out.5/qemu_x86/tests/bluetooth/shell/bluetooth.shell.shell_br/zephyr/misc/generated/configs.c
 [267520/267521] deleting tags of 
twister-out.5/qemu_x86/tests/bluetooth/shell/bluetooth.shell.shell_br/CMakeFiles/3.21.2/CompilerIdCXX/CMakeCXXCompilerId.cpp
 [267521/267521] deleting tags of 
twister-out.5/qemu_x86/tests/bluetooth/shell/bluetooth.shell.shell_br/CMakeFiles/3.21.2/CompilerIdC/CMakeCCompilerId.c
Segmentation fault
------------------

        Deleting GPATH, GRTAGS and GTAGS and runnning "gtags" brought the 
system back to a working state.

-- System Information:
Debian Release: 11.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.14.0-1-amd64 (SMP w/16 CPU threads)
Kernel taint flags: TAINT_WARN
Locale: LANG=nn_NO.UTF-8, LC_CTYPE=nn_NO.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages global depends on:
ii  emacsen-common  3.0.4
ii  libc6           2.31-13+deb11u2
ii  libltdl7        2.4.6-15
ii  libncurses6     6.2+20201114-2
ii  libsqlite3-0    3.34.1-3
ii  libtinfo6       6.2+20201114-2

Versions of packages global recommends:
ii  python3  3.9.2-3

Versions of packages global suggests:
ii  chromium [www-browser]     90.0.4430.212-1
pn  doxygen                    <none>
pn  exuberant-ctags            <none>
ii  firefox-esr [www-browser]  78.15.0esr-1~deb11u1
pn  id-utils                   <none>
ii  konqueror [www-browser]    4:20.12.0-4
pn  python3-pygments           <none>

-- no debconf information

Reply via email to