To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=43549
Issue #:|43549
Summary:|crash on exit with gtk+ plug ...
Component:|gsl
Version:|680m79
Platform:|All
URL:|
OS/Version:|All
Status:|NEW
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|PATCH
Priority:|P3
Subcomponent:|code
Assigned to:|pl
Reported by:|mmeeks
------- Additional comments from [EMAIL PROTECTED] Fri Feb 25 08:39:14 -0800
2005 -------
It seems the:
static NWPixmapCache aCacheItems;
static NWPixmapCache aCachePage;
in BOOL GtkSalGraphics::NWPaintGTKTabItem( ControlType nType, ControlPart nPart,
cause a crash via the ~NWPixmapCache - when the list has already been destroyed.
This should fix that nicely:
--- vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx 31 Jan 2005 09:20:23 -0000
1.10
+++ vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx 25 Feb 2005 16:40:20 -0000
@@ -287,7 +287,8 @@ NWPixmapCache::NWPixmapCache()
}
NWPixmapCache::~NWPixmapCache()
{
- gNWPixmapCacheList->RemoveCache(this);
+ if( gNWPixmapCacheList )
+ gNWPixmapCacheList->RemoveCache(this);
delete[] pData;
}
void NWPixmapCache::ThemeChanged()
@@ -413,6 +414,7 @@ void GtkData::deInitNWF( void )
delete pWidgetMutex;
delete gNWPixmapCacheList;
+ gNWPixmapCacheList = NULL;
}
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]