[haiku-bugs] Re: [Haiku] #10328: [Network Stack] crashes in socket_free

  • From: "ttcoder" <trac@xxxxxxxxxxxx>
  • Date: Tue, 27 May 2014 17:24:44 -0000

#10328: [Network Stack] crashes in socket_free
----------------------------------------+----------------------------
   Reporter:  diver                     |      Owner:  nobody
       Type:  bug                       |     Status:  assigned
   Priority:  normal                    |  Milestone:  R1
  Component:  Network & Internet/Stack  |    Version:  R1/Development
 Resolution:                            |   Keywords:
 Blocked By:                            |   Blocking:  10814
Has a Patch:  0                         |   Platform:  All
----------------------------------------+----------------------------

Comment (by ttcoder):

 Just had a similar KDL (occurs very rarely here), starting from
 BSecureSocket::WaitForData() instead of BSecureSocket::Disconnect() if I
 recall.

 I say "if I recall" because I don't have the full backtrace: I expected it
 would be in `previous_syslog` but unfortunately the interesting part is
 corrupted/truncated by some trailing 'color codes' themselves followed by
 seemingly random binary garbage:

 {{{
 write access attempted on write-protected area 0x54 at 0xdeadb000
 vm_page_fault: vm_soft_fault returned error 'Permission denied' on fault
 at 0xdeadbef7, ip 0x8008d6be, write 1, user 0, thread 0xb45
 PANIC: vm_page_fault: unhandled page fault in kernel space at 0xdeadbef7,
 ip 0x8008d6be

 Welcome to Kernel Debugging Land...
 Thread 2885 "BUrlProtocol.HTTP" running on CPU 1
 stack trace for thread 2885 "BUrlProtocol.HTTP"
     kernel stack: 0x8152a000 to 0x8152e000
       user stack: 0x7a33b000 to 0x7a37b000
 frame               caller     <image>:function + offset
  0 8152dc94 (+  32) 801413b6   <kernel_x86> arch_debug_stack_trace + 0x12
  1 8152dcb4 (+  16) 800a131f   <kernel_x86> stack_trace_trampoline(NULL) +
 0x0b
  2 8152dcc4 (+  12) 801330fe   <kernel_x86>
 arch_debug_call_with_fault_handler + 0x1b
  3 8152dcd0 (+  48) 800a2e8a   <kernel_x86> debug_call_with_fault_handler
 + 0x5a
  4 8152dd00 (+  64) 800a153b   <kernel_x86>
 kernel_debugger_loop(0x80183f77 "PANIC: ",
 0x8019a920 "vm_page_fault: unhandled page fault in kernel
 space at 0x%lx, ip 0x%lx
 }}}

 Also forgot to run a `dis`:-/

--
Ticket URL: <https://dev.haiku-os.org/ticket/10328#comment:9>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: