https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98784

Waldemar Brodkorb <wbx at openadk dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wbx at openadk dot org

--- Comment #18 from Waldemar Brodkorb <wbx at openadk dot org> ---
Hi,

still happens with gcc 13.2.0.
You can boot a shell and then in strace you see a segfault error:

[pid    28] fstat64(3, {st_mode=S_IFDIR|S_ISVTX|0777, st_size=400, ...}) = 0
[pid    28] brk(0x154000)               = 0x154000
[pid    28] getdents64(3, 0xefb11b80 /* 20 entries */, 4096) = 496
[pid    28] brk(0x155000)               = 0x155000
[pid    28] lstat64("./init", {st_mode=S_IFLNK|0777, st_size=10, ...}) = 0
[pid    28] lstat64("./var", {st_mode=S_IFDIR|0755, st_size=40, ...}) = 0
[pid    28] lstat64("./usr", {st_mode=S_IFDIR|0755, st_size=120, ...}) = 0
[pid    28] lstat64("./tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=40, ...}) =
0
[pid    28] lstat64("./sys", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid    28] lstat64("./sbin", {st_mode=S_IFDIR|0755, st_size=1420, ...}) = 0
[pid    28] lstat64("./run", {st_mode=S_IFDIR|0777, st_size=40, ...}) = 0
[pid    28] lstat64("./root", {st_mode=S_IFDIR|0755, st_size=60, ...}) = 0
[pid    28] lstat64("./proc", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
[pid    28] lstat64("./mnt", {st_mode=S_IFDIR|0755, st_size=40, ...}) = 0
[pid    28] lstat64("./media", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=40, ...})
= 0
[pid    28] lstat64("./linuxrc", {st_mode=S_IFLNK|0777, st_size=11, ...}) = 0
[pid    28] lstat64("./lib", {st_mode=S_IFDIR|0755, st_size=260, ...}) = 0
[pid    28] lstat64("./etc", {st_mode=S_IFDIR|0755, st_size=640, ...}) = 0
[pid    28] lstat64("./dev", {st_mode=S_IFDIR|0755, st_size=640, ...}) = 0
[pid    28] lstat64("./boot", {st_mode=S_IFDIR|0755, st_size=40, ...}) = 0
[pid    28] lstat64("./bin", {st_mode=S_IFDIR|0755, st_size=1920, ...}) = 0
[pid    28] getdents64(3, 0xefb11b80 /* 0 entries */, 4096) = 0
[pid    28] close(3)                    = 0
[pid    28] write(1, "\33[1;34mbin\33[m      \33[1;34metc\33[m"..., 109bin     
etc      linuxrc  proc     sbin     usr
) = 109
[pid    28] write(1, "\33[1;34mboot\33[m     \33[1;36minit\33["..., 109boot    
init     media    root     sys      var
) = 109
[pid    28] write(1, "\33[1;34mdev\33[m      \33[1;34mlib\33[m"..., 90dev     
lib      mnt      run      tmp
) = 90
[pid    28] exit_group(0)               = ?
[pid    28] +++ exited with 0 +++
<... rt_sigsuspend resumed>)            = ? ERESTARTNOHAND (To be restarted if
no handler)
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=28, si_uid=0,
si_status=0, si_utime=0, si_stime=3 /* 0.03 s */} ---
getrusage(RUSAGE_CHILDREN, {ru_utime={tv_sec=0, tv_usec=0}, ru_stime={tv_sec=0,
tv_usec=0}, ...}) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG|WSTOPPED|WCONTINUED,
NULL) = 28
getrusage(RUSAGE_CHILDREN, {ru_utime={tv_sec=0, tv_usec=8000},
ru_stime={tv_sec=0, tv_usec=32000}, ...}) = 0
wait4(-1, 0xefbe678c, WNOHANG|WSTOPPED|WCONTINUED, NULL) = -1 ECHILD (No child
processes)
sigreturn({mask=[INT RT_1 RT_8 RT_15 RT_21 RT_23 RT_31]}) = -1 (errno 629)
--- SIGSEGV {si_signo=SIGSEGV, si_code=SI_KERNEL, si_addr=NULL} ---
+++ killed by SIGSEGV +++

Any tipps how to debug this?

best regards
 Waldemar

Reply via email to