[haiku-bugs] [Haiku] #6392: DEBUG app server and DesktopSettings

  • From: "czeidler" <trac@xxxxxxxxxxxx>
  • Date: Tue, 27 Jul 2010 00:27:00 -0000

#6392: DEBUG app server and DesktopSettings
-------------------------+--------------------------------------------------
   Reporter:  czeidler   |        Owner:  stippi   
       Type:  bug        |       Status:  new      
   Priority:  normal     |    Milestone:  R1       
  Component:  - General  |      Version:  R1/alpha2
   Keywords:             |   Blocked By:           
Has a Patch:  0          |     Platform:  All      
   Blocking:             |  
-------------------------+--------------------------------------------------
 when running the appserver with debug enabled it throw you into the
 debugger when starting processcontrol twice.
 This happens in DesktopSettings.cpp:

 DesktopSettings::DesktopSettings(Desktop* desktop)
         :
         fSettings(desktop->fSettings)
 {
 #if DEBUG
         if (!desktop->fWindowLock.IsWriteLocked()
                 && !desktop->fWindowLock.IsReadLocked())
                 debugger("desktop not locked when trying to access
 settings");
 #endif
 }

 and this is called from ServerApp.cpp:1444

 Anyone knows more?

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/6392>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: