Opened 16 years ago

Closed 16 years ago

#2399 closed bug (fixed)

pagefault for net requests after the interface deletion

Reported by: korli Owned by: axeld
Priority: normal Milestone: R1
Component: Network & Internet/Stack Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by korli)

domain_interface_went_down(1, /dev/net/etherpci/0)
invalidate_routes(1, /dev/net/etherpci/0)
ether: still waiting for read/write to finish
module: We don't seem to have a reference to module <NULL>
vm_soft_fault: va 0xdeadbf18 not covered by area in address space
vm_page_fault: vm_soft_fault returned error 'Bad address' on fault at 0xdeadbf18, ip 0x8027772b, write 0, user 0, thread 0xa4
PANIC: vm_page_fault: unhandled page fault in kernel space at 0xdeadbf18, ip 0x8027772b

Welcome to Kernel Debugging Land...
Running on CPU 0
kdebug> bt
stack trace for thread 164 "wget"
    kernel stack: 0x802c9000 to 0x802cd000
      user stack: 0x7efe7000 to 0x7ffe7000
frame            caller     <image>:function + offset
802cc8a0 (+  48) 8004b9f9   <kernel>:invoke_debugger_command + 0x00ed
802cc8d0 (+  64) 8004b7f1   <kernel>:invoke_pipe_segment__FP21debugger_command_pipelPc + 0x0079
802cc910 (+  64) 8004bb39   <kernel>:invoke_debugger_command_pipe + 0x009d
802cc950 (+  48) 8004ca14   <kernel>:_ParseCommandPipe__16ExpressionParserRi + 0x0234
802cc980 (+  48) 8004c3ca   <kernel>:EvaluateCommand__16ExpressionParserPCcRi + 0x01de
802cc9b0 (+ 224) 8004dde0   <kernel>:evaluate_debug_command + 0x0088
802cca90 (+  64) 8004a00a   <kernel>:kernel_debugger_loop__Fv + 0x017a
802ccad0 (+  48) 8004aa3b   <kernel>:kernel_debugger + 0x0117
802ccb00 (+ 192) 8004a919   <kernel>:panic + 0x0029
802ccbc0 (+  64) 800969f9   <kernel>:vm_page_fault + 0x00b1
802ccc00 (+  64) 800a0f21   <kernel>:page_fault_exception + 0x00b1
802ccc40 (+  12) 800a460a   <kernel>:int_bottom + 0x002a (nearest)
iframe at 0x802ccc4c (end = 0x802ccca4)
 eax 0xdeadbeef     ebx 0x8027d198      ecx 0x0          edx 0x91a92ca0
 esi 0x92825540     edi 0x91ac50c0      ebp 0x802ccce4   esp 0x802ccc80
 eip 0x8027772b  eflags 0x202
 vector: 0xe, error code: 0x0
802ccc4c (+ 152) 8027772b   </boot/beos/system/add-ons/kernel/network/stack>:find_route__FP10net_domainPC8sockaddr + 0x00a7
802ccce4 (+  64) 80277912   </boot/beos/system/add-ons/kernel/network/stack>:get_route_internal__FP18net_domain_privatePC8sockaddr + 0x00ca
802ccd24 (+  80) 802784c6   </boot/beos/system/add-ons/kernel/network/stack>:get_buffer_route__FP10net_domainP10net_bufferPP9net_route + 0x0056
802ccd74 (+  64) 8026e35e   </boot/beos/system/add-ons/kernel/network/stack>:datalink_send_datagram__FP12net_protocolP10net_domainP10net_buffer + 0x0076
802ccdb4 (+  48) 8029fca9   </boot/beos/system/add-ons/kernel/network/protocols/udp>:SendData__11UdpEndpointP10net_buffer + 0x002d
802ccde4 (+  48) 802a065b   </boot/beos/system/add-ons/kernel/network/protocols/udp>:udp_send_data__FP12net_protocolP10net_buffer + 0x0023
802cce14 (+ 112) 802748cf   </boot/beos/system/add-ons/kernel/network/stack>:socket_send__FP10net_socketP6msghdrPCvUli + 0x048b
802cce84 (+  64) 80279fe8   </boot/beos/system/add-ons/kernel/network/stack>:stack_interface_send__FP10net_socketPCvUli + 0x0038
802ccec4 (+  48) 800742b6   <kernel>:common_send__FiPCvUlib + 0x004a
802ccef4 (+  80) 80075a09   <kernel>:_user_send + 0x0045
802ccf44 (+ 100) 800a47e2   <kernel>:pre_syscall_debug_done + 0x0002 (nearest)
iframe at 0x802ccfa8 (end = 0x802cd000)
 eax 0x91           ebx 0x27b178        ecx 0x7ffe4bb0   edx 0xffff0104
 esi 0x3            edi 0x0             ebp 0x7ffe4bdc   esp 0x802ccfdc
 eip 0xffff0104  eflags 0x216
 vector: 0x63, error code: 0x0
802ccfa8 (+   0) ffff0104
7ffe4bdc (+ 400) 002737aa   <libnetwork.so>:__res_nsend + 0x106a (nearest)
7ffe4d6c (+1456) 00272d4c   <libnetwork.so>:__res_nsend + 0x060c
7ffe531c (+1104) 00271bfd   <libnetwork.so>:__res_nquery + 0x0109
7ffe576c (+1104) 002721fa   <libnetwork.so>:__res_nquerydomain + 0x0126
7ffe5bbc (+1120) 00271ee2   <libnetwork.so>:__res_nsearch + 0x013e
7ffe601c (+1136) 00248ed2   <libnetwork.so>:__irs_dns_ho + 0x03d6 (nearest)
7ffe648c (+  80) 0024d0f3   <libnetwork.so>:__irs_gen_ho + 0x02ff (nearest)
7ffe64dc (+1088) 0024f9f4   <libnetwork.so>:gethostbyname2_p + 0x00fc
7ffe691c (+  48) 0024f8ec   <libnetwork.so>:gethostbyname_p + 0x004c
7ffe694c (+  48) 0024f7a6   <libnetwork.so>:gethostbyname + 0x0026
7ffe697c (+  48) 002120d6   <_APP_>:address_list_release + 0x00a2 (nearest)
7ffe69ac (+  48) 002266fd   <_APP_>:run_with_timeout + 0x0031
7ffe69dc (+  48) 00212116   <_APP_>:address_list_release + 0x00e2 (nearest)
7ffe6a0c (+  80) 00212624   <_APP_>:lookup_host + 0x00e4
7ffe6a5c (+  64) 0020635b   <_APP_>:connect_to_host + 0x0023
7ffe6a9c (+ 448) 002165ba   <_APP_>:cleanup_html_url + 0x1cee (nearest)
7ffe6c5c (+ 512) 00217f12   <_APP_>:http_loop + 0x0516
7ffe6e5c (+ 112) 0022109a   <_APP_>:retrieve_url + 0x01ea
7ffe6ecc (+ 176) 0021c725   <_APP_>:main + 0x0811
7ffe6f7c (+  48) 00205893   <_APP_>:_start + 0x005b
7ffe6fac (+  48) 0010084a   5136:runtime_loader_seg0ro@0x00100000 + 0x84a
7ffe6fdc (+   0) 7ffe6fec   5135:wget_main_stack@0x7efe7000 + 0xffffec

Change History (2)

comment:1 by korli, 16 years ago

Description: modified (diff)

hrev25990, Qemu, gcc2.95

comment:2 by korli, 16 years ago

Resolution: fixed
Status: newclosed

Seems fixed.

Note: See TracTickets for help on using tickets.