[haiku-bugs] Re: [Haiku] #5871: Backgrounds prefs crash by open favorites

  • From: "stippi" <trac@xxxxxxxxxxxx>
  • Date: Sun, 09 May 2010 11:56:41 -0000

#5871: Backgrounds prefs crash by open favorites
----------------------------------+-----------------------------------------
 Reporter:  damoklas              |       Owner:  axeld    
     Type:  bug                   |      Status:  new      
 Priority:  normal                |   Milestone:  R1/alpha2
Component:  Applications/Tracker  |     Version:  R1/alpha1
 Keywords:                        |   Blockedby:           
 Platform:  All                   |    Blocking:           
----------------------------------+-----------------------------------------

Comment(by stippi):

 The next logical step would be to add printfs in the
 CustomRefFilter::Filter() function to track down where exactly it crashes.
 One possible source of the crash is the "beos_stat" structure which is
 passed to the method. This is a compatibility stucture that is supposed to
 have the same size and fields as the old BeOS R5 "stat" structure. It's
 possible that the binary compatibility mechanism that has been implemented
 somehow got broken in the meantime, or never worked quite right in the
 first place, I don't know. One could print the object's size and track
 whether methods, that are passed this structure are indeed the intended
 versions, and not the new ones that expect a regular "stat" structure
 (which is bigger). But other sources for a crash are possible.

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

Other related posts: