Opened 9 years ago

Closed 9 years ago

#6392 closed bug (fixed)

DEBUG app server and DesktopSettings

Reported by: czeidler Owned by: stippi
Priority: normal Milestone: R1
Component: Servers/app_server Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All


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?

Change History (3)

comment:1 Changed 9 years ago by anevilyak

Component: - GeneralServers/app_server
Status: newassigned
Version: R1/alpha2R1/Development

comment:2 Changed 9 years ago by stippi

Yes, I believe the assert is "invalid". I ran across this problem before, but my memory is failing me. I think it was something to do with the lock happening in the constructor of a derived class (LockedDesktopSettings ?), but it's checked too early by the assert.

comment:3 Changed 9 years ago by czeidler

Resolution: fixed
Status: assignedclosed

Ok removed it.

Note: See TracTickets for help on using tickets.