Running ./UnitTester NetAPI
causes a KDL.
It is reproducible, happens every time.
vm_page_fault: vm_soft_fault returned error 'Permission denied' on fault at 0xdeadbf1b, ip 0xcdf81932, write 0, user 0, thread 0x177
PANIC: vm_page_fault: unhandled page fault in kernel space at 0xdeadbf1b, ip 0xcdf81932
Welcome to Kernel Debugging Land...
Thread 375 "UnitTester" running on CPU 1
stack trace for thread 375 "UnitTester"
kernel stack: 0x82088000 to 0x8208c000
user stack: 0x722f6000 to 0x732f6000
frame caller <image>:function + offset
0 8208b8a0 (+ 32) 80144c6a <kernel_x86> arch_debug_stack_trace + 0x12
1 8208b8c0 (+ 16) 800a68b7 <kernel_x86> stack_trace_trampoline(NULL) + 0x0b
2 8208b8d0 (+ 12) 80136cc6 <kernel_x86> arch_debug_call_with_fault_handler + 0x1b
3 8208b8dc (+ 48) 800a833b <kernel_x86> debug_call_with_fault_handler + 0x5f
4 8208b90c (+ 64) 800a6acb <kernel_x86> kernel_debugger_loop([34m0x80188917[0m [36m"PANIC: "[0m, [34m0x8019f560[0m [36m"vm_page_fault: unhandled page fault in kernel space at 0x%lx, ip 0x%lx
"[0m, [34m0x8208b9b8[0m [36m"\BF\AD\DE2\F8\CDK\BB\80"[0m, int32: [34m1[0m) + 0x20f
5 8208b94c (+ 48) 800a6e6f <kernel_x86> kernel_debugger_internal([34m0x80188917[0m [36m"PANIC: "[0m, [34m0x8019f560[0m [36m"vm_page_fault: unhandled page fault in kernel space at 0x%lx, ip 0x%lx
"[0m, [34m0x8208b9b8[0m [36m"\BF\AD\DE2\F8\CDK\BB\80"[0m, int32: [34m1[0m) + 0x77
6 8208b97c (+ 48) 800a86ba <kernel_x86> panic + 0x3a
7 8208b9ac (+ 144) 8011bc4d <kernel_x86> vm_page_fault + 0x13d
8 8208ba3c (+ 80) 80146447 <kernel_x86> x86_page_fault_exception + 0x183
9 8208ba8c (+ 12) 801395ac <kernel_x86> int_bottom + 0x3c
kernel iframe at 0x8208ba98 (end = 0x8208bae8)
eax 0xdeadbeef ebx 0xcdf87f90 ecx 0x80094dfe edx 0xcf4e3700
esi 0xcf5ea188 edi 0xcf2548c0 ebp 0x8208bb14 esp 0x8208bacc
eip 0xcdf81932 eflags 0x10246
vector: 0xe, error code: 0x0
10 8208ba98 (+ 124) cdf81932 </boot/system/add-ons/kernel/network/stack> put_domain_datalink_protocols(Interface*: [34m0xcf4e3700[0m, net_domain*: [34m0xcf2548c0[0m) + 0x4a
11 8208bb14 (+ 80) cdf7386c </boot/system/add-ons/kernel/network/stack> _._9Interface + 0xdc
12 8208bb64 (+ 32) 80159cc9 <kernel_x86> BReferenceable<[32m0xcf4e3740[0m>::LastReferenceReleased([34m0xffffffff[0m) + 0x21
13 8208bb84 (+ 48) 80159c92 <kernel_x86> BReferenceable<[32m0xcf4e3740[0m>::ReleaseReference([34m0x8208bc0c[0m) + 0x32
14 8208bbb4 (+ 512) cdf6f8d8 </boot/system/add-ons/kernel/network/stack> datalink_control(net_domain*: [34m0xcf2548c0[0m, int32: [34m8918[0m, [34m0x732f4cbc[0m, [34m0x8208be88[0m) + 0x200
15 8208bdb4 (+ 48) 818181da </boot/system/add-ons/kernel/network/protocols/ipv4> ipv4_control(net_protocol*: [34m0xcf68dc30[0m, int32: [34m251658240[0m, int32: [34m8918[0m, [34m0x732f4cbc[0m, [34m0x8208be88[0m) + 0x42
16 8208bde4 (+ 64) 8182e24a </boot/system/add-ons/kernel/network/protocols/udp> udp_control(net_protocol*: [34m0xcf688428[0m, int32: [34m251658240[0m, int32: [34m8918[0m, [34m0x732f4cbc[0m, [34m0x8208be88[0m) + 0x36
17 8208be24 (+ 80) cdf7abfd </boot/system/add-ons/kernel/network/stack> socket_control(net_socket*: [34m0xcf6ab398[0m, int32: [34m8918[0m, [34m0x732f4cbc[0m, uint32: [34m0x54[0m ([34m84[0m)) + 0x141
18 8208be74 (+ 48) cdf82b34 </boot/system/add-ons/kernel/network/stack> stack_interface_ioctl(net_socket*: [34m0xcf6ab398[0m, uint32: [34m0x22d6[0m ([34m8918[0m), [34m0x732f4cbc[0m, uint32: [34m0x54[0m ([34m84[0m)) + 0x30
19 8208bea4 (+ 48) 800e88e6 <kernel_x86> socket_ioctl(file_descriptor*: [34m0xcf6c6890[0m, uint32: [34m0x22d6[0m ([34m8918[0m), [34m0x732f4cbc[0m, uint32: [34m0x54[0m ([34m84[0m)) + 0x26
20 8208bed4 (+ 48) 800dfc8b <kernel_x86> fd_ioctl([34mfalse[0m, int32: [34m3[0m, uint32: [34m0x22d6[0m ([34m8918[0m), [34m0x732f4cbc[0m, uint32: [34m0x54[0m ([34m84[0m)) + 0x63
21 8208bf04 (+ 64) 800e0a8b <kernel_x86> _user_ioctl + 0x5b
22 8208bf44 (+ 100) 801397af <kernel_x86> handle_syscall + 0xdc
user iframe at 0x8208bfa8 (end = 0x8208c000)
eax 0x92 ebx 0x1bbd164 ecx 0x732f4c7c edx 0x604da114
esi 0x3 edi 0x732f4cbc ebp 0x732f4c98 esp 0x8208bfdc
eip 0x604da114 eflags 0x203202 user esp 0x732f4c7c
vector: 0x63, error code: 0x0
23 8208bfa8 (+ 0) 604da114 <commpage> commpage_syscall + 0x04
24 732f4c98 (+ 144) 005a590d <libbnetapi.so> BNetworkRoster<[32m0x5d6ce0[0m>::RemoveInterface(char const*: [34m0x182bd7b4[0m [36m"loopTest"[0m) + 0x4d
25 732f4d28 (+ 32) 005a5997 <libbnetapi.so> BNetworkRoster<[32m0x5d6ce0[0m>::RemoveInterface(BNetworkInterface const&: [34m0x182bd7b4[0m) + 0x27
26 732f4d48 (+ 64) 01506aaf <libnetapitest.so> NetworkInterfaceTest<[32m0x182bd7a8[0m>::tearDown() + 0x8f
27 732f4d88 (+ 32) 01509e3f <libnetapitest.so> CppUnit::TestCaller<NetworkInterfaceTest, CppUnit::NoExceptionExpected><[32m0x182999a8[0m>::tearDown() + 0x1f
28 732f4da8 (+ 160) 013d64e1 <libcppunit.so> CppUnit::TestCase<[32m0x182999a8[0m>::run(CppUnit::TestResult*: [34m0x732f5018[0m) + 0x73
29 732f4e48 (+ 48) 013e1046 <libcppunit.so> CppUnit::TestSuite<[32m0x182b11d8[0m>::run(CppUnit::TestResult*: [34m0x732f5018[0m) + 0x6e
30 732f4e78 (+ 48) 013e1046 <libcppunit.so> CppUnit::TestSuite<[32m0x732f4efc[0m>::run(CppUnit::TestResult*: [34m0x732f5018[0m) + 0x6e
31 732f4ea8 (+ 208) 013cb39f <libcppunit.so> BTestShell<[32m0x732f4f98[0m>::Run(int32: [34m2[0m, char**: [34m0x732f653c[0m) + 0x6b3
32 732f4f78 (+ 384) 0232f9fd <_APP_> main + 0xc3
33 732f50f8 (+ 64) 0232f677 <_APP_> _start + 0x5c
34 732f5138 (+ 64) 0183bd84 </boot/system/runtime_loader@0x0182c000> <unknown> + 0xfd84
35 732f5178 (+ 0) 604da250 <commpage> commpage_thread_exit + 0x00
kdebug> bt
stack trace for thread 375 "UnitTester"
kernel stack: 0x82088000 to 0x8208c000
user stack: 0x722f6000 to 0x732f6000
frame caller <image>:function + offset
0 8208b690 (+ 48) 800a9460 <kernel_x86> invoke_command_trampoline([34m0x8208b728[0m) + 0x1c
1 8208b6c0 (+ 12) 80136cc6 <kernel_x86> arch_debug_call_with_fault_handler + 0x1b
2 8208b6cc (+ 48) 800a833b <kernel_x86> debug_call_with_fault_handler + 0x5f
3 8208b6fc (+ 64) 800a96bd <kernel_x86> invoke_debugger_command + 0xb9
4 8208b73c (+ 64) 800a94ea <kernel_x86> invoke_pipe_segment(debugger_command_pipe*: [34m0xcce38030[0m, int32: [34m0[0m, [34m0x0[0m [31m"<NULL>"[0m) + 0x7e
5 8208b77c (+ 64) 800a9810 <kernel_x86> invoke_debugger_command_pipe + 0x88
6 8208b7bc (+ 48) 800ab724 <kernel_x86> ExpressionParser<[32m0x8208b86c[0m>::_ParseCommandPipe([34m0x8208b868[0m) + 0x234
7 8208b7ec (+ 64) 800aa944 <kernel_x86> ExpressionParser<[32m0x8208b86c[0m>::EvaluateCommand([34m0x801ba2c0[0m [36m"bt"[0m, [34m0x8208b868[0m) + 0x2c0
8 8208b82c (+ 224) 800acd60 <kernel_x86> evaluate_debug_command + 0x80
9 8208b90c (+ 64) 800a6be0 <kernel_x86> kernel_debugger_loop([34m0x80188917[0m [36m"PANIC: "[0m, [34m0x8019f560[0m [36m"vm_page_fault: unhandled page fault in kernel space at 0x%lx, ip 0x%lx
"[0m, [34m0x8208b9b8[0m [36m"\BF\AD\DE2\F8\CDK\BB\80"[0m, int32: [34m1[0m) + 0x324
10 8208b94c (+ 48) 800a6e6f <kernel_x86> kernel_debugger_internal([34m0x80188917[0m [36m"PANIC: "[0m, [34m0x8019f560[0m [36m"vm_page_fault: unhandled page fault in kernel space at 0x%lx, ip 0x%lx
"[0m, [34m0x8208b9b8[0m [36m"\BF\AD\DE2\F8\CDK\BB\80"[0m, int32: [34m1[0m) + 0x77
11 8208b97c (+ 48) 800a86ba <kernel_x86> panic + 0x3a
12 8208b9ac (+ 144) 8011bc4d <kernel_x86> vm_page_fault + 0x13d
13 8208ba3c (+ 80) 80146447 <kernel_x86> x86_page_fault_exception + 0x183
14 8208ba8c (+ 12) 801395ac <kernel_x86> int_bottom + 0x3c
kernel iframe at 0x8208ba98 (end = 0x8208bae8)
eax 0xdeadbeef ebx 0xcdf87f90 ecx 0x80094dfe edx 0xcf4e3700
esi 0xcf5ea188 edi 0xcf2548c0 ebp 0x8208bb14 esp 0x8208bacc
eip 0xcdf81932 eflags 0x10246
vector: 0xe, error code: 0x0
15 8208ba98 (+ 124) cdf81932 </boot/system/add-ons/kernel/network/stack> put_domain_datalink_protocols(Interface*: [34m0xcf4e3700[0m, net_domain*: [34m0xcf2548c0[0m) + 0x4a
16 8208bb14 (+ 80) cdf7386c </boot/system/add-ons/kernel/network/stack> _._9Interface + 0xdc
17 8208bb64 (+ 32) 80159cc9 <kernel_x86> BReferenceable<[32m0xcf4e3740[0m>::LastReferenceReleased([34m0xffffffff[0m) + 0x21
18 8208bb84 (+ 48) 80159c92 <kernel_x86> BReferenceable<[32m0xcf4e3740[0m>::ReleaseReference([34m0x8208bc0c[0m) + 0x32
19 8208bbb4 (+ 512) cdf6f8d8 </boot/system/add-ons/kernel/network/stack> datalink_control(net_domain*: [34m0xcf2548c0[0m, int32: [34m8918[0m, [34m0x732f4cbc[0m, [34m0x8208be88[0m) + 0x200
20 8208bdb4 (+ 48) 818181da </boot/system/add-ons/kernel/network/protocols/ipv4> ipv4_control(net_protocol*: [34m0xcf68dc30[0m, int32: [34m251658240[0m, int32: [34m8918[0m, [34m0x732f4cbc[0m, [34m0x8208be88[0m) + 0x42
21 8208bde4 (+ 64) 8182e24a </boot/system/add-ons/kernel/network/protocols/udp> udp_control(net_protocol*: [34m0xcf688428[0m, int32: [34m251658240[0m, int32: [34m8918[0m, [34m0x732f4cbc[0m, [34m0x8208be88[0m) + 0x36
22 8208be24 (+ 80) cdf7abfd </boot/system/add-ons/kernel/network/stack> socket_control(net_socket*: [34m0xcf6ab398[0m, int32: [34m8918[0m, [34m0x732f4cbc[0m, uint32: [34m0x54[0m ([34m84[0m)) + 0x141
23 8208be74 (+ 48) cdf82b34 </boot/system/add-ons/kernel/network/stack> stack_interface_ioctl(net_socket*: [34m0xcf6ab398[0m, uint32: [34m0x22d6[0m ([34m8918[0m), [34m0x732f4cbc[0m, uint32: [34m0x54[0m ([34m84[0m)) + 0x30
24 8208bea4 (+ 48) 800e88e6 <kernel_x86> socket_ioctl(file_descriptor*: [34m0xcf6c6890[0m, uint32: [34m0x22d6[0m ([34m8918[0m), [34m0x732f4cbc[0m, uint32: [34m0x54[0m ([34m84[0m)) + 0x26
25 8208bed4 (+ 48) 800dfc8b <kernel_x86> fd_ioctl([34mfalse[0m, int32: [34m3[0m, uint32: [34m0x22d6[0m ([34m8918[0m), [34m0x732f4cbc[0m, uint32: [34m0x54[0m ([34m84[0m)) + 0x63
26 8208bf04 (+ 64) 800e0a8b <kernel_x86> _user_ioctl + 0x5b
27 8208bf44 (+ 100) 801397af <kernel_x86> handle_syscall + 0xdc
user iframe at 0x8208bfa8 (end = 0x8208c000)
eax 0x92 ebx 0x1bbd164 ecx 0x732f4c7c edx 0x604da114
esi 0x3 edi 0x732f4cbc ebp 0x732f4c98 esp 0x8208bfdc
eip 0x604da114 eflags 0x203202 user esp 0x732f4c7c
vector: 0x63, error code: 0x0
28 8208bfa8 (+ 0) 604da114 <commpage> commpage_syscall + 0x04
29 732f4c98 (+ 144) 005a590d <libbnetapi.so> BNetworkRoster<[32m0x5d6ce0[0m>::RemoveInterface(char const*: [34m0x182bd7b4[0m [36m"loopTest"[0m) + 0x4d
30 732f4d28 (+ 32) 005a5997 <libbnetapi.so> BNetworkRoster<[32m0x5d6ce0[0m>::RemoveInterface(BNetworkInterface const&: [34m0x182bd7b4[0m) + 0x27
31 732f4d48 (+ 64) 01506aaf <libnetapitest.so> NetworkInterfaceTest<[32m0x182bd7a8[0m>::tearDown() + 0x8f
32 732f4d88 (+ 32) 01509e3f <libnetapitest.so> CppUnit::TestCaller<NetworkInterfaceTest, CppUnit::NoExceptionExpected><[32m0x182999a8[0m>::tearDown() + 0x1f
33 732f4da8 (+ 160) 013d64e1 <libcppunit.so> CppUnit::TestCase<[32m0x182999a8[0m>::run(CppUnit::TestResult*: [34m0x732f5018[0m) + 0x73
34 732f4e48 (+ 48) 013e1046 <libcppunit.so> CppUnit::TestSuite<[32m0x182b11d8[0m>::run(CppUnit::TestResult*: [34m0x732f5018[0m) + 0x6e
35 732f4e78 (+ 48) 013e1046 <libcppunit.so> CppUnit::TestSuite<[32m0x732f4efc[0m>::run(CppUnit::TestResult*: [34m0x732f5018[0m) + 0x6e
36 732f4ea8 (+ 208) 013cb39f <libcppunit.so> BTestShell<[32m0x732f4f98[0m>::Run(int32: [34m2[0m, char**: [34m0x732f653c[0m) + 0x6b3
37 732f4f78 (+ 384) 0232f9fd <_APP_> main + 0xc3
38 732f50f8 (+ 64) 0232f677 <_APP_> _start + 0x5c
39 732f5138 (+ 64) 0183bd84 </boot/system/runtime_loader@0x0182c000> <unknown> + 0xfd84
40 732f5178 (+ 0) 604da250 <commpage> commpage_thread_exit + 0x00
kdebug>
This may (or may not) be related to #11414.