[haiku-bugs] Re: [Haiku] #5282: PANIC: vm_page_fault: unhandled page fault in kernel space at 0x24, ip 0x80039a50

  • From: "anevilyak" <trac@xxxxxxxxxxxx>
  • Date: Sun, 17 Jan 2010 23:32:33 -0000

#5282: PANIC: vm_page_fault: unhandled page fault in kernel space at 0x24, ip
0x80039a50
------------------------------+---------------------------------------------
 Reporter:  jonas.kirilla     |       Owner:  axeld         
     Type:  bug               |      Status:  new           
 Priority:  critical          |   Milestone:  R1            
Component:  File Systems/BFS  |     Version:  R1/Development
 Keywords:                    |   Blockedby:                
 Platform:  All               |    Blocking:                
------------------------------+---------------------------------------------
Changes (by anevilyak):

  * component:  System/Kernel => File Systems/BFS


Comment:

 The problem appears to be as follows: Inode::ReadAt() calls
 file_cache_read() with a NULL file cache pointer (which it is not prepared
 to cope with as it triggers the invalid fault while reading
 ref->disabled_count), because Inode only creates a cache for files and
 attributes, which a symlink doesn't match. However, what I don't
 understand is how this doesn't panic on every symlink.

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

Other related posts: