[haiku-bugs] Re: [Haiku] #8650: KDL launching WebPositive development version

  • From: "anevilyak" <trac@xxxxxxxxxxxx>
  • Date: Sat, 30 Jun 2012 16:23:50 -0000

#8650: KDL launching WebPositive development version
----------------------+----------------------------
   Reporter:  aldeck  |      Owner:  nobody
       Type:  bug     |     Status:  new
   Priority:  high    |  Milestone:  R1
  Component:  System  |    Version:  R1/Development
 Resolution:          |   Keywords:
 Blocked By:          |   Blocking:
Has a Patch:  0       |   Platform:  All
----------------------+----------------------------

Comment (by anevilyak):

 Looked into it a bit more. The faults start immediately after mapping the
 stack for that thread it appears:

 {{{
 create_anonymous_area [1] pthread func_250_kstack: size 0x4000
 map_backing_store: aspace 0x8280af00, cache 0x80fd0380, virtual
 0x00000000, offset 0x0, size 16384, addressSpec 4, wiring 2, protection
 176, area 0x81b9bca0, areaName 'pthread func_250_kstack'
 vm_create_anonymous_area: done
 create_anonymous_area [247] pthread func_250_stack: size 0x41000
 map_backing_store: aspace 0x80ffb540, cache 0x80fc83f0, virtual
 0x70000000, offset 0x0, size 266240, addressSpec 2, wiring 0, protection
 59, area 0x81b9bc50, areaName 'pthread func_250_stack'
 vm_create_anonymous_area: done
 vm_soft_fault: va 0x0 not covered by area in address space
 vm_page_fault: vm_soft_fault returned error 'Bad address' on fault at
 0xa9, ip 0x8010eea9, write 0, user 0, thread 0xfa
 vm_soft_fault: va 0x0 not covered by area in address space
 vm_page_fault: vm_soft_fault returned error 'Bad address' on fault at
 0xa9, ip 0x8010eea9, write 0, user 0, thread 0xfa
 vm_soft_fault: va 0x0 not covered by area in address space
 vm_page_fault: vm_soft_fault returned error 'Bad address' on fault at
 0xa9, ip 0x8010eea9, write 0, user 0, thread 0xfa
 vm_soft_fault: va 0x0 not covered by area in address space
 vm_page_fault: vm_soft_fault returned error 'Bad address' on fault at
 0x65, ip 0x249dc92, write 0, user 1, thread 0xfa
 vm_page_fault: thread "pthread func" (250) in team "WebPositive" (247)
 tried to read address 0x65, ip 0x249dc92 ("libwebcore.so_seg0ro"
 +0x1f15c92)
 write access attempted on write-protected area 0xd at 0x8010e000
 vm_page_fault: vm_soft_fault returned error 'Permission denied' on fault
 at 0x8010eee3, ip 0x81ba3eb8, write 1, user 0, thread 0xfa
 write access attempted on write-protected area 0x18f3 at 0x01f15000
 vm_page_fault: vm_soft_fault returned error 'Permission denied' on fault
 at 0x1f15c92, ip 0x8075ae, write 1, user 0, thread 0xfa
 }}}

 What strikes me as somewhat odd is that the virtual address for its kernel
 stack is at address 0x0, is that permissible?

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8650#comment:7>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: