gpt4 book ai didi

linux - 提交或 pull 入 git 时出现总线错误(核心已转储)

转载 作者:IT王子 更新时间:2023-10-29 00:42:09 29 4
gpt4 key购买 nike

当我尝试提交或 pull 此错误时 Bus error (core dumped) 发生了!

当我用 gdb 调试它时,(gdb git,run commit -a,where) 结果是:

muculus@muculus-laptop:~/www/pure/core$ gdb git
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/bin/git...(no debugging symbols found)...done.
(gdb) run commit -a
Starting program: /usr/bin/git commit -a
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGBUS, Bus error.
0x00000000004e9338 in ?? ()
(gdb) where
#0 0x00000000004e9338 in ?? ()
#1 0x00000000004ea64f in ?? ()
#2 0x00000000004b5143 in ?? ()
#3 0x00000000004ada6e in ?? ()
#4 0x000000000041d29b in ?? ()
#5 0x000000000041df17 in ?? ()
#6 0x0000000000405634 in ?? ()
#7 0x0000000000404a30 in ?? ()
#8 0x00007ffff73ee76d in __libc_start_main (main=0x404980, argc=3, ubp_av=0x7fffffffe008, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fffffffdff8) at libc-start.c:226
#9 0x0000000000404e65 in ?? ()
#10 0x00007fffffffdff8 in ?? ()
#11 0x000000000000001c in ?? ()
#12 0x0000000000000003 in ?? ()
#13 0x00007fffffffe34b in ?? ()
#14 0x0000000000000000 in ?? ()
(gdb)

我该如何解决这个问题?

最佳答案

尝试运行 dmesg。在我的例子中,这是由于硬件错误:sda 上的坏扇区。

关于linux - 提交或 pull 入 git 时出现总线错误(核心已转储),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12120458/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com