多个应用程序出现总线错误(核心转储)

多个应用程序出现总线错误(核心转储)

我的 endeavourOS 系统遇到奇怪的行为。

就上下文而言,它似乎是在格式错误的 svg 文件导致 inkscape 和我的系统崩溃之后开始发生的,之后我需要硬重启它。

对于几个应用程序(列出我测试过的最后几个应用程序:,,,flameshot) ,我在终端中收到了一条消息,仅此而已。通过一些谷歌搜索,我明白我需要使用,但我无法理解它的输出:keepassxcquiterssBus error (core dumped)gdb

$ gdb flameshot
[...]
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from flameshot...

This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.archlinux.org>
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
Reading symbols from /home/user/.cache/debuginfod_client/b8258803335f21d12df1003c59200a5afb4dc585/debuginfo...                                                                                                                              

(gdb) run flameshot
Starting program: /usr/bin/flameshot flamshot
Downloading separate debug info for system-supplied DSO at 0x7ffff7fc6000                                                                                                                                                                 
Download failed: Connection reset by peer.  Continuing without separate debug info for system-supplied DSO at 0x7ffff7fc6000.                                                                                                             

Program received signal SIGBUS, Bus error.
memset () at ../sysdeps/x86_64/multiarch/../multiarch/memset-vec-unaligned-erms.S:244
244             VMOVU   %VMM(0), (%rdi)
                                                                                                                                                                                                   
(gdb) backtrace
#0  memset () at ../sysdeps/x86_64/multiarch/../multiarch/memset-vec-unaligned-erms.S:244
#1  0x00007ffff7fcf524 in _dl_map_segments (loader=0x7fffffffd300, has_holes=<optimized out>, maplength=<optimized out>, nloadcmds=<optimized out>, loadcmds=<optimized out>, type=<optimized out>, header=0x8, fd=<optimized out>, 
    l=0x7ffff7f89530) at ./dl-map-segments.h:176
#2  _dl_map_object_from_fd (name=name@entry=0x555555569361 "libQt5Widgets.so.5", origname=origname@entry=0x0, fd=<optimized out>, fbp=fbp@entry=0x7fffffffd3a0, realname=<optimized out>, loader=loader@entry=0x7ffff7ffe2e0, 
    l_type=<optimized out>, mode=<optimized out>, stack_endp=<optimized out>, nsid=<optimized out>) at dl-load.c:1258
#3  0x00007ffff7fd0b01 in _dl_map_object (loader=<optimized out>, name=0x555555569361 "libQt5Widgets.so.5", type=1, trace_mode=<optimized out>, mode=0, nsid=<optimized out>) at dl-load.c:2249
#4  0x00007ffff7fca865 in openaux (a=a@entry=0x7fffffffd950) at dl-deps.c:64
#5  0x00007ffff7fc94e1 in __GI__dl_catch_exception (exception=exception@entry=0x7fffffffd930, operate=operate@entry=0x7ffff7fca830 <openaux>, args=args@entry=0x7fffffffd950) at dl-catch.c:237
#6  0x00007ffff7fcacc5 in _dl_map_object_deps (map=map@entry=0x7ffff7ffe2e0, preloads=<optimized out>, npreloads=npreloads@entry=0, trace_mode=<optimized out>, open_mode=open_mode@entry=0) at dl-deps.c:232
#7  0x00007ffff7fe695e in dl_main (phdr=<optimized out>, phnum=<optimized out>, user_entry=<optimized out>, auxv=<optimized out>) at rtld.c:1965
#8  0x00007ffff7fe3583 in _dl_sysdep_start (start_argptr=start_argptr@entry=0x7fffffffe180, dl_main=dl_main@entry=0x7ffff7fe5040 <dl_main>) at ../sysdeps/unix/sysv/linux/dl-sysdep.c:140
#9  0x00007ffff7fe4d6e in _dl_start_final (arg=0x7fffffffe180) at rtld.c:494
#10 _dl_start (arg=0x7fffffffe180) at rtld.c:581
#11 0x00007ffff7fe3b68 in _start () from /lib64/ld-linux-x86-64.so.2
#12 0x0000000000000002 in ?? ()
#13 0x00007fffffffe58e in ?? ()
#14 0x00007fffffffe5a1 in ?? ()
#15 0x0000000000000000 in ?? ()
(gdb) 

编辑:完整回溯:https://pastebin.com/grMUQiWH

我现在该从哪里着手解决这个问题?

答案1

修复,

Program received signal SIGBUS, Bus error.
memset () at ../sysdeps/x86_64/multiarch/../multiarch/memset-vec-unaligned-erms.S:244

带我去这个 github 仓库

我重新安装glibc了:

sudo pacman -Syu glibc --overwrite "*"

现在一切都恢复正常了

编辑:由于 Killertofus 的评论而修改了命令

相关内容