bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Backtraces from rumpdisk.static and fdisk when fdisk is called on wd0


From: Damien Zammit
Subject: Backtraces from rumpdisk.static and fdisk when fdisk is called on wd0
Date: Wed, 16 Feb 2022 06:33:17 +0000

gdb in rumpdisk.static after rumpns_sys_open was called already:

Thread 31 hit Breakpoint 1, 0x08152e40 in rumpns_sys_pread ()
(gdb) bt
#0  0x08152e40 in rumpns_sys_pread ()
#1  0x0810297c in rump_syscall ()
#2  0x080f5ed4 in rump___sysimpl_pread ()
#3  0x08048bed in rumpdisk_device_read (d=0x20081340, reply_port=121, 
reply_port_type=18,
    mode=0, bn=2, count=512, data=0x12822f2c, bytes_read=0x12820e2c)
    at ../../rumpdisk/block-rump.c:347
#4  0x0804b6ad in _Xdevice_read (InHeadP=<optimized out>, OutHeadP=0x12822f00)
    at deviceServer.c:552
#5  0x08049219 in demuxer (inp=0x12820ef0, outp=0x12822f00)
    at ../../libmachdev/ds_routines.c:336
#6  0x0804cf0d in internal_demuxer (inp=0x12820ef0, outheadp=<optimized out>)
    at ../../libports/manage-one-thread.c:96
#7  0x0819a1f0 in mach_msg_server_timeout ()
#8  0x0804cfe5 in ports_manage_port_operations_one_thread (bucket=0x20001c70,
    demuxer=0x80491e0 <demuxer>, timeout=0) at 
../../libports/manage-one-thread.c:120
#9  0x08049711 in machdev_server (arg=0x0) at ../../libmachdev/ds_routines.c:354
#10 0x0806019e in entry_point (self=<optimized out>, start_routine=<optimized 
out>,
    arg=<optimized out>) at pt-create.c:79
#11 0x00000000 in ?? ()


root@zamhurd:~# gdb --args fdisk /dev/wd0
GNU gdb (Debian 10.1-2+hurd.1) 10.1.90.20210103-git
Copyright (C) 2021 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 "i686-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from fdisk...
(No debugging symbols found in fdisk)
(gdb) r
Starting program: /sbin/fdisk /dev/wd0

Welcome to fdisk (util-linux 2.37.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

fdisk: libblkid/src/probe.c:687: blkid_probe_get_buffer: Assertion `bf->off <= 
real_off' failed.
[New Thread 740.5]

Thread 4 received signal SIGABRT, Aborted.
0x01194b0c in mach_msg_trap () at 
./build-tree/hurd-i386-libc/mach/mach_msg_trap.S:2
2       ./build-tree/hurd-i386-libc/mach/mach_msg_trap.S: No such file or 
directory.
(gdb) bt
#0  0x01194b0c in mach_msg_trap () at 
./build-tree/hurd-i386-libc/mach/mach_msg_trap.S:2
#1  0x01195306 in __GI___mach_msg (msg=0x10398ac, option=3, send_size=48, 
rcv_size=32,
    rcv_name=19, timeout=0, notify=0) at msg.c:111
#2  0x0148a3ec in __msg_sig_post (process=21, signal=6, sigcode=0, refport=32)
    at ./build-tree/hurd-i386-libc/hurd/RPC_msg_sig_post.c:149
#3  0x011e2efc in kill_port (refport=<optimized out>, msgport=<optimized out>)
    at ../sysdeps/mach/hurd/kill.c:67
#4  kill_pid (pid=pid@entry=740) at ../sysdeps/mach/hurd/kill.c:104
#5  0x011e320d in __GI___kill (pid=740, sig=6) at 
../sysdeps/mach/hurd/kill.c:138
#6  0x011e243a in __GI_raise (signo=6) at ../sysdeps/htl/raise.c:47
#7  __GI_raise (signo=6) at ../sysdeps/htl/raise.c:29
#8  0x01194864 in __GI_abort () at abort.c:79
#9  0x01194720 in __assert_fail_base (
    fmt=0x13845e0 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
    assertion=0x1440897 "bf->off <= real_off", file=0x1440882 
"libblkid/src/probe.c",
    line=687, function=0x1440dc4 "blkid_probe_get_buffer") at assert.c:92
#10 0x011d9ab9 in __GI___assert_fail (assertion=0x1440897 "bf->off <= real_off",
    file=0x1440882 "libblkid/src/probe.c", line=687,
    function=0x1440dc4 "blkid_probe_get_buffer") at assert.c:101
#11 0x01417659 in ?? () from /usr/lib/i386-gnu/libblkid.so.1
#12 0x0142d499 in ?? () from /usr/lib/i386-gnu/libblkid.so.1
#13 0x0142991a in ?? () from /usr/lib/i386-gnu/libblkid.so.1
#14 0x01418984 in blkid_do_probe () from /usr/lib/i386-gnu/libblkid.so.1
#15 0x01068c85 in ?? () from /usr/lib/i386-gnu/libfdisk.so.1
--Type <RET> for more, q to quit, c to continue without paging--
#16 0x0105c7cf in ?? () from /usr/lib/i386-gnu/libfdisk.so.1
#17 0x0105ca4e in fdisk_assign_device () from /usr/lib/i386-gnu/libfdisk.so.1
#18 0x0803eb41 in ?? ()
#19 0x011cb744 in __libc_start_main (main=0x803e390, argc=2, argv=0x1039e54, 
init=0x8051f50,
    fini=0x8051fb0, rtld_fini=0x117e0 <_dl_fini>, stack_end=0x1039e4c)
    at ../csu/libc-start.c:363
#20 0x0803f382 in ?? ()


(gdb) bt full
#0  0x01194b0c in mach_msg_trap () at 
./build-tree/hurd-i386-libc/mach/mach_msg_trap.S:2
No locals.
#1  0x01195306 in __GI___mach_msg (msg=0x10398ac, option=3, send_size=48, 
rcv_size=32,
    rcv_name=19, timeout=0, notify=0) at msg.c:111
        ret = <optimized out>
#2  0x0148a3ec in __msg_sig_post (process=21, signal=6, sigcode=0, refport=32)
    at ./build-tree/hurd-i386-libc/hurd/RPC_msg_sig_post.c:149
        Mess = {In = {Head = {msgh_bits = 4608, msgh_size = 32, 
msgh_remote_port = 0, {
                msgh_local_port = 19, msgh_protected_payload = 19}, msgh_seqno 
= 4,
              msgh_id = 23100}, signalType = {msgt_name = 2, msgt_size = 32,
              msgt_number = 1, msgt_inline = 1, msgt_longform = 0, 
msgt_deallocate = 0,
              msgt_unused = 0}, signal = 0, sigcodeType = {msgt_name = 2, 
msgt_size = 32,
              msgt_number = 1, msgt_inline = 1, msgt_longform = 0, 
msgt_deallocate = 0,
              msgt_unused = 0}, sigcode = 0, refportType = {msgt_name = 19, 
msgt_size = 32,
              msgt_number = 1, msgt_inline = 1, msgt_longform = 0, 
msgt_deallocate = 0,
              msgt_unused = 0}, refport = 32}, Out = {Head = {msgh_bits = 4608,
              msgh_size = 32, msgh_remote_port = 0, {msgh_local_port = 19,
                msgh_protected_payload = 19}, msgh_seqno = 4, msgh_id = 23100},
            RetCodeType = {msgt_name = 2, msgt_size = 32, msgt_number = 1, 
msgt_inline = 1,
              msgt_longform = 0, msgt_deallocate = 0, msgt_unused = 0}, RetCode 
= 0}}
        InP = 0x10398ac
        OutP = 0x10398ac
        msg_result = <optimized out>
        signalType = {msgt_name = <optimized out>, msgt_size = <optimized out>,
          msgt_number = <optimized out>, msgt_inline = <optimized out>,
          msgt_longform = <optimized out>, msgt_deallocate = <optimized out>,
          msgt_unused = <optimized out>}
        sigcodeType = {msgt_name = <optimized out>, msgt_size = <optimized out>,
          msgt_number = <optimized out>, msgt_inline = <optimized out>,
          msgt_longform = <optimized out>, msgt_deallocate = <optimized out>,
          msgt_unused = <optimized out>}
        refportType = {msgt_name = <optimized out>, msgt_size = <optimized out>,
          msgt_number = <optimized out>, msgt_inline = <optimized out>,
          msgt_longform = <optimized out>, msgt_deallocate = <optimized out>,
          msgt_unused = <optimized out>}
        RetCodeCheck = {msgt_name = <optimized out>, msgt_size = <optimized 
out>,
          msgt_number = <optimized out>, msgt_inline = <optimized out>,
          msgt_longform = <optimized out>, msgt_deallocate = <optimized out>,
          msgt_unused = <optimized out>}
#3  0x011e2efc in kill_port (refport=<optimized out>, msgport=<optimized out>)
    at ../sysdeps/mach/hurd/kill.c:67
No locals.
#4  kill_pid (pid=pid@entry=740) at ../sysdeps/mach/hurd/kill.c:104
        __err = <optimized out>
--Type <RET> for more, q to quit, c to continue without paging--
        msgport = 21
        refport = 32
        taskerr = <optimized out>
#5  0x011e320d in __GI___kill (pid=740, sig=6) at 
../sysdeps/mach/hurd/kill.c:138
        delivered = 0
        err = 20963328
        proc = 2
        ulink = {resource = {next = 0x0, prevp = 0x14bcb18}, thread = {next = 
0x0,
            prevp = 0x14b5c5c}, cleanup = 0x11c9790 <_hurd_port_cleanup>, 
cleanup_data = 0x2}
#6  0x011e243a in __GI_raise (signo=6) at ../sysdeps/htl/raise.c:47
        err = <optimized out>
#7  __GI_raise (signo=6) at ../sysdeps/htl/raise.c:29
No locals.
#8  0x01194864 in __GI_abort () at abort.c:79
        save_stage = 1
        act = {__sigaction_handler = {sa_handler = 0x1440dc4, sa_sigaction = 
0x1440dc4},
          sa_mask = 0, sa_flags = 19092217}
        sigs = 32
#9  0x01194720 in __assert_fail_base (
    fmt=0x13845e0 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
    assertion=0x1440897 "bf->off <= real_off", file=0x1440882 
"libblkid/src/probe.c",
    line=687, function=0x1440dc4 "blkid_probe_get_buffer") at assert.c:92
        str = 0x20006470 "\006"
        total = 4096
#10 0x011d9ab9 in __GI___assert_fail (assertion=0x1440897 "bf->off <= real_off",
    file=0x1440882 "libblkid/src/probe.c", line=687,
    function=0x1440dc4 "blkid_probe_get_buffer") at assert.c:101
No locals.
#11 0x01417659 in ?? () from /usr/lib/i386-gnu/libblkid.so.1
No symbol table info available.
#12 0x0142d499 in ?? () from /usr/lib/i386-gnu/libblkid.so.1
No symbol table info available.
#13 0x0142991a in ?? () from /usr/lib/i386-gnu/libblkid.so.1
No symbol table info available.
#14 0x01418984 in blkid_do_probe () from /usr/lib/i386-gnu/libblkid.so.1
No symbol table info available.
#15 0x01068c85 in ?? () from /usr/lib/i386-gnu/libfdisk.so.1
No symbol table info available.
#16 0x0105c7cf in ?? () from /usr/lib/i386-gnu/libfdisk.so.1
No symbol table info available.
#17 0x0105ca4e in fdisk_assign_device () from /usr/lib/i386-gnu/libfdisk.so.1
No symbol table info available.
#18 0x0803eb41 in ?? ()
No symbol table info available.
--Type <RET> for more, q to quit, c to continue without paging--
#19 0x011cb744 in __libc_start_main (main=0x803e390, argc=2, argv=0x1039e54, 
init=0x8051f50,
    fini=0x8051fb0, rtld_fini=0x117e0 <_dl_fini>, stack_end=0x1039e4c)
    at ../csu/libc-start.c:363
        result = <optimized out>
#20 0x0803f382 in ?? ()
No symbol table info available.
(gdb)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]