Bug 222273 - igb(4): Kernel panic (fatal trap 12) due to network related processes
Summary: igb(4): Kernel panic (fatal trap 12) due to network related processes
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 11.0-RELEASE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-net mailing list
URL:
Keywords: crash, needs-qa
Depends on:
Blocks:
 
Reported: 2017-09-13 01:06 UTC by aayla.secura.1138
Modified: 2018-04-09 15:12 UTC (History)
3 users (show)

See Also:
koobs: mfc-stable10?
koobs: mfc-stable11?


Attachments
kgdb backtrace (5.44 KB, text/plain)
2017-09-13 01:06 UTC, aayla.secura.1138
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description aayla.secura.1138 2017-09-13 01:06:31 UTC
Created attachment 186312 [details]
kgdb backtrace

The steps to getting it to panic are a bit elaborate, but the bug is reproducible every time: If I stop the netif service, then run dhclient on the wired network interface and in the meantime (while dhclient is sending discover messages) I perform a network related operation, such as printing the routing table, the kernel panics with Fatal trap 12: page fault while in kernel mode.

FreeBSD version is 11.0-RELEASE-p1.

It is a server machine: The CPU is Xeon E3-1275v6. The motherboard is Intel DBS1200SPLR, it has two Ethernet ports, both using igb driver. I tried wiring each and the panic occurs either way, but only if dhclient is run on the active (plugged in) interface.

I attach the crash dump from one of the panics. The original forum thread I opened is here: https://forums.freebsd.org/threads/62338/

The bug may be the same, or related, to this: https://lists.freebsd.org/pipermail/freebsd-hackers/2017-June/051200.html
Comment 1 Terry Kennedy 2017-09-13 01:21:58 UTC
This appears to be a NULL + 0x17 pointer reference at soclose+0x3c

uipc_socket.c:1046 error = (*so->so_proto->pr_usrreqs->pru_disconnect)(so);
Comment 2 Eugene Grosbein freebsd_committer 2018-04-09 15:12:50 UTC
Is it repeatable with 11.1-RELEASE, or better try 11.1-STABLE?