Opened 14 years ago
Closed 14 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: | ||
Platform: | All |
Description
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 by , 14 years ago
Component: | - General → Servers/app_server |
---|---|
Status: | new → assigned |
Version: | R1/alpha2 → R1/Development |
comment:2 by , 14 years ago
Note:
See TracTickets
for help on using tickets.
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.