[haiku-bugs] Re: [Haiku] #11098: KDL while on Youtube (crash in common_poll()) (was: KDL while on Youtube)

  • From: "ttcoder" <trac@xxxxxxxxxxxx>
  • Date: Wed, 15 Oct 2014 18:48:46 -0000

#11098: KDL while on Youtube (crash in common_poll())
----------------------------------------+----------------------------
   Reporter:  DaaT                      |      Owner:  axeld
       Type:  bug                       |     Status:  new
   Priority:  normal                    |  Milestone:  R1
  Component:  Network & Internet/Stack  |    Version:  R1/Development
 Resolution:                            |   Keywords:
 Blocked By:                            |   Blocking:
Has a Patch:  0                         |   Platform:  All
----------------------------------------+----------------------------
Changes (by ttcoder):

 * cc: degea@… (added)


Comment:

 Just occured here on hrev47972. Thought of doing a `dis`this time; here
 goes in case it's of use/interest to someone. Editing title as I had
 trouble finding this ticket.. PS - the "-b" syntax should be exposed in
 KDL help, and wondering what command to use to "flush" the KDL session to
 previous_syslog..

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

 Welcome to Kernel Debugging Land...
 Thread 3329 "BUrlProtocol.HTTP" running on CPU 1
 stack trace for thread 3329 "BUrlProtocol.HTTP"
     kernel stack: 0x81efc000 to 0x81f00000
       user stack: 0x7960b000 to 0x7964b000
 frame               caller     <image>:function + offset
  0 81effc94 (+  32) 801422c6   <kernel_x86> arch_debug_stack_trace + 0x12
  1 81effcb4 (+  16) 800a21bf   <kernel_x86> stack_trace_trampoline(NULL) +
 0x0b
  2 81effcc4 (+  12) 8013408e   <kernel_x86>
 arch_debug_call_with_fault_handler + 0x1b
  3 81effcd0 (+  48) 800a3d2a   <kernel_x86> debug_call_with_fault_handler
 + 0x5a
  4 81effd00 (+  64) 800a23db   <kernel_x86>
 kernel_debugger_loop(0x80185c97 "PANIC: ",
 0x8019c700 "vm_page_fault: unhandled page fault in kernel
 space at 0x%lx, ip 0x%lx

  5 81effd40 (+  48) 800a2757   <kernel_x86>
 kernel_debugger_internal(0x80185c97 "PANIC: ",
 0x8019c700 "vm_page_fault: unhandled page fault in kernel
 space at 0x%lx, ip 0x%lx

  6 81effd70 (+  48) 800a40b2   <kernel_x86> panic + 0x3a
  7 81effda0 (+ 144) 80118c9d   <kernel_x86> vm_page_fault + 0x149
  8 81effe30 (+  80) 80143aeb   <kernel_x86> x86_page_fault_exception +
 0x177
  9 81effe80 (+  12) 80136a4c   <kernel_x86> int_bottom + 0x3c
 kernel iframe at 0x81effe8c (end = 0x81effedc)
  eax 0xdeadbeef    ebx 0x0            ecx 0x828043a4  edx 0x828043b4
  esi 0x0           edi 0xf1203ed0     ebp 0x81efff04  esp 0x81effec0
  eip 0x8008e55e eflags 0x13286
  vector: 0xe, error code: 0x2
 10 81effe8c (+ 120) 8008e55e   <kernel_x86> common_poll(pollfd*:
 0xf1203ed0, uint32: 0x1 (1), int64:
 -1511828489000, false) + 0x96
 11 81efff04 (+  64) 8008f108   <kernel_x86> _user_poll + 0x138
 12 81efff44 (+ 100) 80136c4f   <kernel_x86> handle_syscall + 0xdc
 user iframe at 0x81efffa8 (end = 0x81f00000)
  eax 0x7d          ebx 0x3a6144       ecx 0x79648fdc  edx 0x61686114
  esi 0xfffffcd8    edi 0xfffffe9f     ebp 0x79649018  esp 0x81efffdc
  eip 0x61686114 eflags 0x3202    user esp 0x79648fdc
  vector: 0x63, error code: 0x0
 13 81efffa8 (+   0) 61686114   <commpage> commpage_syscall + 0x04
 14 79649018 (+  64) 0102e223   <libbnetapi.so>
 BAbstractSocket<0x1b49da48>::_WaitFor const(int32: 1,
 int64: 9223372036854775807) + 0x85
 15 79649058 (+  32) 0102e27a   <libbnetapi.so>
 BAbstractSocket<0x1b49da48>::WaitForReadable const(int64:
 9223372036854775807) + 0x22
 16 79649078 (+4272) 01038cda   <libbnetapi.so>
 BHttpRequest<0x1e776510>::_MakeRequest() + 0x202
 17 7964a128 (+ 240) 010398b7   <libbnetapi.so>
 BHttpRequest<0x1e776510>::_ProtocolLoop() + 0x195
 18 7964a218 (+  32) 0103fabf   <libbnetapi.so>
 BUrlRequest<0x1e776510>::_ThreadEntry(void*: NULL) + 0x1f
 19 7964a238 (+  32) 002fea32   <libroot.so> _thread_do_exit_work (nearest)
 + 0x8b
 20 7964a258 (+   0) 61686250   <commpage> commpage_thread_exit + 0x00
 kdebug> kdebug> kdebug> dis0x8008e55e: c744180800100000    mov
 $0x1000, 0x8(%eax,%ebx)
 0x8008e566:   66c744f7060010 movw $0x1000, 0x6(%edi,%esi,8)
 0x8008e56d:         c645f701    movb $0x1, -0x9(%ebp)
 0x8008e571:               46    inc %esi
 0x8008e572:           3b750c    cmp 0xc(%ebp), %esi
 0x8008e575:             7289    jb 0x8008e500
 0x8008e577:         807df700    cmpb $0x0, -0x9(%ebp)
 0x8008e57b:             752e    jnz 0x8008e5ab
 0x8008e57d:           83c4f4    add $0xf4, %esp
 0x8008e580:           8b5510    mov 0x10(%ebp), %edx
 kdebug> cowrite access attempted on write-protected area 0x53 at
 0xdeadb000
 vm_page_fault: vm_soft_fault returned error 'Permission denied' on fault
 at 0xdeadbef7, ip 0x8008e55e, write 1, user 0, thread 0xd01

 }}}

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

Other related posts:

  • » [haiku-bugs] Re: [Haiku] #11098: KDL while on Youtube (crash in common_poll()) (was: KDL while on Youtube) - ttcoder