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

Re: netdde translator crashing



On Thu, Apr 15, 2021 at 10:15:30AM +0200, Samuel Thibault wrote:
> João Pedro Malhado, le jeu. 15 avril 2021 09:56:06 +0200, a ecrit:
> > On Thu, Apr 15, 2021 at 12:08:40AM +0200, Samuel Thibault wrote:
> > > Alternatively, you can try to use a static version, that gdb should be
> > > fine with:
> > 
> > Ok, thanks. Follows the backtrace of the core file dumped by this static
> > version.
> 
> Please use
> 
> thread apply all bt full
> 
> so we have all information available.

OK, here it goes.
GNU gdb (Debian 10.1-2) 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 netdde.static...

warning: core file may not match specified executable file.
[New process 684]
[New process 1]
[New process 2]
[New process 3]
[New process 4]
[New process 5]
[New process 6]
[New process 7]

warning: Unexpected size of section `.reg2/684' in core file.
Core was generated by `/root/netdde.static'.
Program terminated with signal SIGSEGV, Segmentation fault.

warning: Unexpected size of section `.reg2/684' in core file.
#0  0x081e285c in mach_msg_trap ()
[Current thread is 1 (process 684)]

Thread 8 (process 7):
warning: Unexpected size of section `.reg2/7' in core file.
#0  0x08187f26 in ddekit_thread_get_my_data () at ../../libddekit/thread.c:148
No locals.
#1  0x0816a998 in current_thread_info () at ./libdde-linux26/lib/src/arch/l4/process.c:22
        cur = <optimized out>
#2  0x0808390c in e100_hw_init (nic=nic@entry=0x704a0) at ./dde/e100.c:1500
        err = <optimized out>
        __func__ = "e100_hw_init"
#3  0x080850c7 in e100_up (nic=nic@entry=0x704a0) at ./dde/e100.c:2201
        err = 0
#4  0x080856af in e100_up (nic=0x704a0) at ./dde/e100.c:2695
        err = 0
        err_rx_clean_list = <optimized out>
        err_clean_cbs = <optimized out>
        err_no_irq = <optimized out>
        err = <optimized out>
        err_rx_clean_list = <optimized out>
        err_clean_cbs = <optimized out>
        err_no_irq = <optimized out>
#5  e100_open (netdev=0x70020) at ./dde/e100.c:2692
        nic = 0x704a0
        err = 0
        __func__ = "e100_open"
#6  0x0817f2ba in dev_open (dev=0x70020) at ./libdde-linux26/lib/src/net/core/dev.c:1085
        ops = 0x8388760 <e100_netdev_ops>
        ret = <optimized out>
#7  0x08166a0d in device_open ()
No symbol table info available.
#8  0x0816723f in ds_device_open ()
No symbol table info available.
#9  0x0816847a in _Xdevice_open ()
No symbol table info available.
#10 0x0816765a in demuxer ()
No symbol table info available.
#11 0x0819fde3 in internal_demuxer ()
No symbol table info available.
#12 0x081a5720 in mach_msg_server_timeout ()
No symbol table info available.
#13 0x0819feb5 in ports_manage_port_operations_one_thread ()
No symbol table info available.
#14 0x08168205 in machdev_trivfs_loop ()
No symbol table info available.
#15 0x0819a96f in entry_point (self=<optimized out>, start_routine=<optimized out>, arg=<optimized out>) at pt-create.c:62
No locals.
#16 0x00000000 in ?? ()
No symbol table info available.

Thread 7 (process 6):
warning: Unexpected size of section `.reg2/6' in core file.
#0  0x081e285c in mach_msg_trap ()
No symbol table info available.
#1  0x081a53f6 in mach_msg ()
No symbol table info available.
#2  0x081a5709 in mach_msg_server_timeout ()
No symbol table info available.
#3  0x0819feb5 in ports_manage_port_operations_one_thread ()
No symbol table info available.
#4  0x0816761d in machdev_server ()
No symbol table info available.
#5  0x080483b8 in machdev_run1 (arg=0x0) at ./machdev.c:16
No locals.
#6  0x08187df3 in _priv_fun (arg=0x1000d4f0) at ../../libddekit/thread.c:101
        priv_arg = 0x1000d4f0
#7  0x0819a96f in entry_point (self=<optimized out>, start_routine=<optimized out>, arg=<optimized out>) at pt-create.c:62
No locals.
#8  0x00000000 in ?? ()
No symbol table info available.

Thread 6 (process 5):
warning: Unexpected size of section `.reg2/5' in core file.
#0  0x081b0f64 in _hurd_intr_rpc_mach_msg ()
No symbol table info available.
#1  0x08256ce2 in gsync_wait_intr ()
No symbol table info available.
#2  0x0819d879 in __sem_timedwait_internal (sem=0x102210, clock_id=0, timeout=0x0) at ../sysdeps/htl/sem-timedwait.c:138
        __handlers = 0x1014ac
        __handler = {__handler = 0x819d740 <__sem_wait_cleanup>, __arg = 0x102210, __next = 0x0}
        isem = 0x102210
        err = <optimized out>
        ret = 0
        flags = <optimized out>
        cancel_oldtype = 0
        v = <optimized out>
#3  0x0819d96c in __sem_wait (sem=0x102210) at ../sysdeps/htl/sem-wait.c:29
No locals.
#4  0x081881f6 in _sem_timedwait_internal (timeout=0, sem=0x102210) at ../../libddekit/thread.c:248
        ret = <optimized out>
        ts = {tv_sec = <optimized out>, tv_nsec = <optimized out>}
#5  ddekit_sem_down (sem=0x102210) at ../../libddekit/thread.c:268
No locals.
#6  0x0816b1ba in schedule () at ./libdde-linux26/lib/src/arch/l4/sched.c:30
        t = 0x101cc0
#7  0x0816edd5 in worker_thread (__cwq=0x11c04) at ./libdde-linux26/lib/src/kernel/workqueue.c:339
        cwq = 0x11c04
        wait = {flags = 0, private = 0x101d40, func = 0x816e970 <autoremove_wake_function>, task_list = {next = 0x11c1c, prev = 0x11c1c}}
#8  0x0816ce69 in kthread (_create=0x2003d40) at ./libdde-linux26/contrib/kernel/kthread.c:83
        create = 0x2003d40
        threadfn = 0x816ecf0 <worker_thread>
        data = 0x11c04
        ret = -4
#9  0x0816adba in __kthread_helper (arg=0x101370) at ./libdde-linux26/lib/src/arch/l4/process.c:169
        k = 0x101370
        _fn = 0x816ce20 <kthread>
        _arg = 0x2003d40
#10 0x08187df3 in _priv_fun (arg=0x101420) at ../../libddekit/thread.c:101
        priv_arg = 0x101420
#11 0x0819a96f in entry_point (self=<optimized out>, start_routine=<optimized out>, arg=<optimized out>) at pt-create.c:62
No locals.
#12 0x00000000 in ?? ()
No symbol table info available.

Thread 5 (process 4):
warning: Unexpected size of section `.reg2/4' in core file.
#0  0x081b0f64 in _hurd_intr_rpc_mach_msg ()
No symbol table info available.
#1  0x08256ce2 in gsync_wait_intr ()
No symbol table info available.
#2  0x0819d879 in __sem_timedwait_internal (sem=0x11012d0, clock_id=0, timeout=0x0) at ../sysdeps/htl/sem-timedwait.c:138
        __handlers = 0x100cec
        __handler = {__handler = 0x819d740 <__sem_wait_cleanup>, __arg = 0x11012d0, __next = 0x0}
        isem = 0x11012d0
        err = <optimized out>
        ret = 0
        flags = <optimized out>
        cancel_oldtype = 0
        v = <optimized out>
#3  0x0819d96c in __sem_wait (sem=0x11012d0) at ../sysdeps/htl/sem-wait.c:29
No locals.
#4  0x081881f6 in _sem_timedwait_internal (timeout=0, sem=0x11012d0) at ../../libddekit/thread.c:248
        ret = <optimized out>
        ts = {tv_sec = <optimized out>, tv_nsec = <optimized out>}
#5  ddekit_sem_down (sem=0x11012d0) at ../../libddekit/thread.c:268
No locals.
#6  0x0816b1ba in schedule () at ./libdde-linux26/lib/src/arch/l4/sched.c:30
        t = 0x1100d80
#7  0x0816edd5 in worker_thread (__cwq=0x11d44) at ./libdde-linux26/lib/src/kernel/workqueue.c:339
        cwq = 0x11d44
        wait = {flags = 0, private = 0x1100e00, func = 0x816e970 <autoremove_wake_function>, task_list = {next = 0x11d5c, prev = 0x11d5c}}
#8  0x0816ce69 in kthread (_create=0x2003d40) at ./libdde-linux26/contrib/kernel/kthread.c:83
        create = 0x2003d40
        threadfn = 0x816ecf0 <worker_thread>
        data = 0x11d44
        ret = -4
#9  0x0816adba in __kthread_helper (arg=0x100bb0) at ./libdde-linux26/lib/src/arch/l4/process.c:169
        k = 0x100bb0
        _fn = 0x816ce20 <kthread>
        _arg = 0x2003d40
#10 0x08187df3 in _priv_fun (arg=0x100c60) at ../../libddekit/thread.c:101
        priv_arg = 0x100c60
#11 0x0819a96f in entry_point (self=<optimized out>, start_routine=<optimized out>, arg=<optimized out>) at pt-create.c:62
No locals.
#12 0x00000000 in ?? ()
No symbol table info available.

Thread 4 (process 3):
warning: Unexpected size of section `.reg2/3' in core file.
#0  0x081b0f64 in _hurd_intr_rpc_mach_msg ()
No symbol table info available.
#1  0x08256ce2 in gsync_wait_intr ()
No symbol table info available.
#2  0x0819d879 in __sem_timedwait_internal (sem=0x10004a70, clock_id=0, timeout=0x0) at ../sysdeps/htl/sem-timedwait.c:138
        __handlers = 0x10003cbc
        __handler = {__handler = 0x819d740 <__sem_wait_cleanup>, __arg = 0x10004a70, __next = 0x0}
        isem = 0x10004a70
        err = <optimized out>
        ret = 0
        flags = <optimized out>
        cancel_oldtype = 0
        v = <optimized out>
#3  0x0819d96c in __sem_wait (sem=0x10004a70) at ../sysdeps/htl/sem-wait.c:29
No locals.
#4  0x081881f6 in _sem_timedwait_internal (timeout=0, sem=0x10004a70) at ../../libddekit/thread.c:248
        ret = <optimized out>
        ts = {tv_sec = <optimized out>, tv_nsec = <optimized out>}
#5  ddekit_sem_down (sem=0x10004a70) at ../../libddekit/thread.c:268
No locals.
#6  0x081887b1 in __timer_sleep (to=4294967295) at ../../libddekit/timer.c:259
        err = 0
        err = <optimized out>
#7  ddekit_timer_thread (arg=0x0) at ../../libddekit/timer.c:301
        timer = <optimized out>
        to = 4294967295
#8  0x08187df3 in _priv_fun (arg=0x10003c30) at ../../libddekit/thread.c:101
        priv_arg = 0x10003c30
#9  0x0819a96f in entry_point (self=<optimized out>, start_routine=<optimized out>, arg=<optimized out>) at pt-create.c:62
No locals.
#10 0x00000000 in ?? ()
No symbol table info available.

Thread 3 (process 2):
warning: Unexpected size of section `.reg2/2' in core file.
#0  0x081b0f64 in _hurd_intr_rpc_mach_msg ()
No symbol table info available.
#1  0x08256ce2 in gsync_wait_intr ()
No symbol table info available.
#2  0x0819d879 in __sem_timedwait_internal (sem=0x10003270, clock_id=0, timeout=0x0) at ../sysdeps/htl/sem-timedwait.c:138
        __handlers = 0x100033ac
        __handler = {__handler = 0x819d740 <__sem_wait_cleanup>, __arg = 0x10003270, __next = 0x0}
        isem = 0x10003270
        err = <optimized out>
        ret = 0
        flags = <optimized out>
        cancel_oldtype = 0
        v = <optimized out>
#3  0x0819d96c in __sem_wait (sem=0x10003270) at ../sysdeps/htl/sem-wait.c:29
No locals.
#4  0x081881f6 in _sem_timedwait_internal (timeout=0, sem=0x10003270) at ../../libddekit/thread.c:248
        ret = <optimized out>
        ts = {tv_sec = <optimized out>, tv_nsec = <optimized out>}
#5  ddekit_sem_down (sem=0x10003270) at ../../libddekit/thread.c:268
No locals.
#6  0x0816b8b6 in l4dde26_softirq_thread (arg=0x0) at ./libdde-linux26/lib/src/arch/l4/softirq.c:253
No locals.
#7  0x08187df3 in _priv_fun (arg=0x10003320) at ../../libddekit/thread.c:101
        priv_arg = 0x10003320
#8  0x0819a96f in entry_point (self=<optimized out>, start_routine=<optimized out>, arg=<optimized out>) at pt-create.c:62
No locals.
#9  0x00000000 in ?? ()
No symbol table info available.

Thread 2 (process 1):
warning: Unexpected size of section `.reg2/1' in core file.
#0  0x081b0f64 in _hurd_intr_rpc_mach_msg ()
No symbol table info available.
#1  0x08256ce2 in gsync_wait_intr ()
No symbol table info available.
#2  0x0819d879 in __sem_timedwait_internal (sem=0x100b60, clock_id=0, timeout=0x0) at ../sysdeps/htl/sem-timedwait.c:138
        __handlers = 0x1000267c
        __handler = {__handler = 0x819d740 <__sem_wait_cleanup>, __arg = 0x100b60, __next = 0x0}
        isem = 0x100b60
        err = <optimized out>
        ret = 0
        flags = <optimized out>
        cancel_oldtype = 0
        v = <optimized out>
#3  0x0819d96c in __sem_wait (sem=0x100b60) at ../sysdeps/htl/sem-wait.c:29
No locals.
#4  0x081881f6 in _sem_timedwait_internal (timeout=0, sem=0x100b60) at ../../libddekit/thread.c:248
        ret = <optimized out>
        ts = {tv_sec = <optimized out>, tv_nsec = <optimized out>}
#5  ddekit_sem_down (sem=0x100b60) at ../../libddekit/thread.c:268
No locals.
#6  0x0816b1ba in schedule () at ./libdde-linux26/lib/src/arch/l4/sched.c:30
        t = 0x100610
#7  0x0816d3bd in kthreadd (unused=0x0) at ./libdde-linux26/contrib/kernel/kthread.c:250
        tsk = <optimized out>
#8  0x0816adba in __kthread_helper (arg=0x10002510) at ./libdde-linux26/lib/src/arch/l4/process.c:169
        k = 0x10002510
        _fn = 0x816d150 <kthreadd>
        _arg = 0x0
#9  0x08187df3 in _priv_fun (arg=0x100025f0) at ../../libddekit/thread.c:101
        priv_arg = 0x100025f0
#10 0x0819a96f in entry_point (self=<optimized out>, start_routine=<optimized out>, arg=<optimized out>) at pt-create.c:62
No locals.
#11 0x00000000 in ?? ()
No symbol table info available.

Thread 1 (process 684):
#0  0x081e285c in mach_msg_trap ()
No symbol table info available.
#1  0x081a53f6 in mach_msg ()
No symbol table info available.
#2  0x0824f46e in crash_dump_task ()
No symbol table info available.
#3  0x081ae528 in post_signal ()
No symbol table info available.
#4  0x081aeff5 in _hurd_internal_post_signal ()
No symbol table info available.
#5  0x0825d03c in _S_catch_exception_raise ()
No symbol table info available.
#6  0x0824b9b6 in _Xexception_raise ()
No symbol table info available.
#7  0x0824ba41 in _S_exc_server ()
No symbol table info available.
#8  0x081e3fa4 in msgport_server ()
No symbol table info available.
#9  0x081a5720 in mach_msg_server_timeout ()
No symbol table info available.
#10 0x081a5848 in mach_msg_server ()
No symbol table info available.
#11 0x081e402e in _hurd_msgport_receive ()
No symbol table info available.
#12 0x0819a96f in entry_point (self=<optimized out>, start_routine=<optimized out>, arg=<optimized out>) at pt-create.c:62
No locals.
#13 0x00000000 in ?? ()
No symbol table info available.

Reply to: