Opened 11 years ago

Closed 11 years ago

#2189 closed bug (fixed)

PANIC: vm_page_fault: unhandled page fault in kernel space at 0xdeadbf0f, ip 0x80297ab0

Reported by: kaliber Owned by: axeld
Priority: critical Milestone: R1/alpha1
Component: Network & Internet/TCP Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

During wget

vm_soft_fault: va 0xdeadbf0f not covered by area in address space

vm_page_fault: vm_soft_fault returned error 'Bad address' on fault at 0xdeadbf0f, ip 0x80297ab0, write 0, user 0, thread 0xae

PANIC: vm_page_fault: unhandled page fault in kernel space at 0xdeadbf0f, ip 0x80297ab0



Welcome to Kernel Debugging Land...

Running on CPU 0

kdebug> bt

stack trace for thread 174 "wget"

    kernel stack: 0x90aef000 to 0x90af3000

      user stack: 0x7efe7000 to 0x7ffe7000

frame            caller     <image>:function + offset

90af2a88 (+  52) 8008aea7   <kernel>:invoke_debugger_command + 0x00cf

90af2abc (+  64) 8008bc50   <kernel>:_ParseCommand__16ExpressionParserRi + 0x01f8

90af2afc (+  48) 8008b642   <kernel>:EvaluateCommand__16ExpressionParserPCcRi + 0x01de

90af2b2c (+ 228) 8008cd64   <kernel>:evaluate_debug_command + 0x0088

90af2c10 (+  64) 800899e2   <kernel>:kernel_debugger_loop__Fv + 0x017a

90af2c50 (+  48) 8008a695   <kernel>:kernel_debugger + 0x010d

90af2c80 (+ 192) 8008a57d   <kernel>:panic + 0x0029

90af2d40 (+  64) 80061bd3   <kernel>:vm_page_fault + 0x00ab

90af2d80 (+  64) 80097651   <kernel>:page_fault_exception + 0x00b1

90af2dc0 (+  12) 8009ad2d   <kernel>:int_bottom + 0x001d (nearest)

iframe at 0x90af2dcc (end = 0x90af2e24)

 eax 0xdeadbeef     ebx 0x802a1a78      ecx 0x90da5800   edx 0x90e1f180

 esi 0x90e1f000     edi 0x90dfa000      ebp 0x90af2e44   esp 0x90af2e00

 eip 0x80297ab0  eflags 0x10293    

 vector: 0xe, error code: 0x0

90af2dcc (+ 120) 80297ab0   </boot/beos/system/add-ons/kernel/network/stack>:socket_free__FP10net_socket + 0x0020

90af2e44 (+  48) 8029e655   </boot/beos/system/add-ons/kernel/network/stack>:stack_interface_free__FP10net_socket + 0x0025

90af2e74 (+  32) 8004ae2f   <kernel>:socket_free__FP15file_descriptor + 0x001b

90af2e94 (+  48) 80043890   <kernel>:put_fd + 0x0038

90af2ec4 (+  64) 8004397a   <kernel>:close_fd_index + 0x0032

90af2f04 (+  32) 80044359   <kernel>:common_close__Fib + 0x0031

90af2f24 (+  32) 80044c30   <kernel>:_user_close + 0x0018

90af2f44 (+ 100) 8009aea2   <kernel>:pre_syscall_debug_done + 0x0002 (nearest)

iframe at 0x90af2fa8 (end = 0x90af3000)

 eax 0x79           ebx 0x32cc30        ecx 0x7ffe6aa0   edx 0xffff0104

 esi 0xb            edi 0xb             ebp 0x7ffe6acc   esp 0x90af2fdc

 eip 0xffff0104  eflags 0x203      

 vector: 0x63, error code: 0x0

90af2fa8 (+   0) ffff0104

7ffe6acc (+  48) 00206ad0   <_APP_>:test_socket_open + 0x01b8 (nearest)

7ffe6afc (+  48) 00206f89   <_APP_>:fd_close + 0x0061

7ffe6b2c (+ 160) 0020f109   <_APP_>:skey_response + 0x1c55 (nearest)

7ffe6bcc (+ 416) 0020f6ba   <_APP_>:skey_response + 0x2206 (nearest)

7ffe6d6c (+  48) 0020fb85   <_APP_>:ftp_get_listing + 0x0095

7ffe6d9c (+  48) 00210504   <_APP_>:ftp_get_listing + 0x0a14 (nearest)

7ffe6dcc (+ 160) 00210937   <_APP_>:ftp_loop + 0x01f7

7ffe6e6c (+  96) 002210e8   <_APP_>:retrieve_url + 0x0238

7ffe6ecc (+ 176) 0021c725   <_APP_>:main + 0x0811

7ffe6f7c (+  48) 00205893   <_APP_>:_start + 0x005b

7ffe6fac (+  48) 0010078e   2780:runtime_loader_seg0ro@0x00100000 + 0x78e

7ffe6fdc (+   0) 7ffe6fec   2779:wget_main_stack@0x7efe7000 + 0xffffec

Change History (1)

comment:1 by axeld, 11 years ago

Component: - GeneralNetwork & Internet/TCP
Milestone: R1R1/alpha1
Priority: normalcritical
Resolution: fixed
Status: newclosed

Thanks, I could reproduce the problem easily with "wget ftp://..."; Ingo already notified me about a potential problem in my recent TCP changes, and it was exactly that. It's fixed in hrev25278.

Note: See TracTickets for help on using tickets.