[DragonFlyBSD - Bug #3357] (Resolved) tincd induced panic
bugtracker-admin at leaf.dragonflybsd.org
bugtracker-admin at leaf.dragonflybsd.org
Sun Sep 3 07:34:26 PDT 2023
Issue #3357 has been updated by fgudin.
Status changed from New to Resolved
Cherry-picked 0f9a55c487a8e66f57486a0e9e4ec8a856a347e7 and it's fixed.
Thanks so much Matt!
----------------------------------------
Bug #3357: tincd induced panic
http://bugs.dragonflybsd.org/issues/3357#change-14524
* Author: fgudin
* Status: Resolved
* Priority: Normal
* Category: Networking
* Target version: 6.4
* Start date: 2023-09-02
----------------------------------------
Hello,
trying to join a tinc VPN, the tincd triggers a panic when connecting:
<pre>
(…)
Loaded symbols for /boot/kernel/led.ko
_get_mycpu () at ./machine/thread.h:69
69./machine/thread.h: No such file or directory.
(kgdb) bt
#0 _get_mycpu () at ./machine/thread.h:69
#1 md_dumpsys (di=0xffffffff81192ba0 <dumper>) at /usr/src/sys/platform/pc64/x86_64/dump_machdep.c:274
#2 0xffffffff802c9228 in db_fncall (dummy1=<optimized out>, dummy2=<optimized out>, dummy3=<optimized out>,
dummy4=<optimized out>) at /usr/src/sys/ddb/db_command.c:559
#3 0xffffffff802c96e6 in db_command (last_cmdp=0xffffffff81145350 <db_last_command>, cmd_table=<optimized out>,
aux_cmd_tablep=<optimized out>, aux_cmd_tablep_end=<optimized out>) at /usr/src/sys/ddb/db_command.c:401
#4 db_command_loop () at /usr/src/sys/ddb/db_command.c:468
#5 0xffffffff802ccd12 in db_trap (type=type at entry=12, code=code at entry=0) at /usr/src/sys/ddb/db_trap.c:71
#6 0xffffffff80bd2156 in kdb_trap (type=type at entry=12, code=code at entry=0, regs=regs at entry=0xfffff8008b0c1528)
at /usr/src/sys/platform/pc64/x86_64/db_interface.c:176
#7 0xffffffff80bda6ed in trap_fatal (frame=frame at entry=0xfffff8008b0c1528, eva=<optimized out>)
at /usr/src/sys/platform/pc64/x86_64/trap.c:1095
#8 0xffffffff80bdad45 in trap_pfault (usermode=0, frame=0xfffff8008b0c1528) at /usr/src/sys/platform/pc64/x86_64/trap.c:995
#9 trap_pfault (frame=0xfffff8008b0c1528, usermode=0) at /usr/src/sys/platform/pc64/x86_64/trap.c:854
#10 0xffffffff80bdb26c in trap (frame=0xfffff8008b0c1528) at /usr/src/sys/platform/pc64/x86_64/trap.c:629
#11 0xffffffff80b9e95a in calltrap () at /usr/src/sys/platform/pc64/x86_64/exception.S:319
#12 0xffffffff807c3d9b in tcp6_ctlinput (msg=0xfffff8008b0c16e8) at ./cpu/endian.h:168
#13 0xffffffff80748377 in netmsg_put_port (port=<optimized out>, lmsg=<optimized out>) at /usr/src/sys/net/netisr.c:171
#14 netmsg_put_port (port=<optimized out>, lmsg=<optimized out>) at /usr/src/sys/net/netisr.c:166
#15 0xffffffff8067b016 in lwkt_beginmsg (msg=0xfffff8008b0c16e8, port=<optimized out>) at /usr/src/sys/kern/lwkt_msgport.c:193
#16 lwkt_domsg (port=<optimized out>, msg=0xfffff8008b0c16e8, flags=0) at /usr/src/sys/kern/lwkt_msgport.c:193
#17 0xffffffff806c4bbc in so_pr_ctlinput (pr=pr at entry=0xffffffff810fe450 <inet6sw+208>, cmd=cmd at entry=5,
arg=arg at entry=0xfffff8004ef97698, extra=extra at entry=0xfffff8008b0c18b8) at /usr/src/sys/kern/uipc_msg.c:610
#18 0xffffffff806be2d3 in kpfctlinput2 (cmd=cmd at entry=5, sa=sa at entry=0xfffff8004ef97698,
ctlparam=ctlparam at entry=0xfffff8008b0c18b8) at /usr/src/sys/kern/uipc_domain.c:238
#19 0xffffffff807e38f4 in ip6_output () at /usr/src/sys/netinet6/ip6_output.c:710
#20 0xffffffff807f2894 in udp6_output (in6p=0xfffff8004ef97640, m=0xfffff80113f11e00, addr6=<optimized out>, control=0x0,
td=<optimized out>) at /usr/src/sys/netinet6/udp6_output.c:251
#21 0xffffffff807f2b38 in udp6_send (msg=0xfffff801150ef6c0) at /usr/src/sys/netinet6/udp6_usrreq.c:701
#22 0xffffffff80747ee9 in netmsg_service_loop (arg=<optimized out>) at /usr/src/sys/net/netisr.c:370
#23 0xffffffff80672900 in _lwkt_dequeue (td=<error reading variable: Cannot access memory at address 0x8>)
at /usr/src/sys/kern/lwkt_thread.c:158
#24 lwkt_deschedule_self (td=<optimized out>) at /usr/src/sys/kern/lwkt_thread.c:326
</pre>
(I did 'call dumpsys' to get the dump; at time of the crash, the top of stack is at tcp6_ctlinput())
Where should i upload my core ? I guess this would help a lot troubleshooting this.
Thanks in advance for your help!
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
More information about the Bugs
mailing list