Issue 33138 - office can't be shutdown after smoketest
Summary: office can't be shutdown after smoketest
Status: CLOSED FIXED
Alias: None
Product: Draw
Classification: Application
Component: code (show other issues)
Version: 680m51
Hardware: Other Linux, all
: P1 (highest) Trivial (vote)
Target Milestone: OOo 2.0
Assignee: groucho266
QA Contact: issues@graphics
URL:
Keywords:
: 32903 (view as issue list)
Depends on:
Blocks:
 
Reported: 2004-08-18 10:20 UTC by oliver.bolte
Modified: 2004-08-23 10:25 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description oliver.bolte 2004-08-18 10:20:22 UTC
This happens only when draw/impress - test is activated.

Here the stack:
Assertion Failed: File alloc.c, Line 453: __rtl_memory_verify(): dynamic memory
corruption
Backtrace: [0] /tmp/obo/office/opt/openoffice1.9.51/program/libsal.so.3:
osl_assertFailedLine+0xdc
Backtrace: [1] /tmp/obo/office/opt/openoffice1.9.51/program/libsal.so.3:
osl_getFileStatus+0xe96
Backtrace: [2] /tmp/obo/office/opt/openoffice1.9.51/program/libsal.so.3:
osl_getFileStatus+0x11ce
Backtrace: [3] /tmp/obo/office/opt/openoffice1.9.51/program/libsal.so.3:
rtl_freeMemory+0x57
Backtrace: [4] ./soffice.bin: vcl_customIcon17+0x232
Backtrace: [5] ./soffice.bin: _ZdaPv+0x2f
Backtrace: [6] /tmp/obo/office/opt/openoffice1.9.51/program/libsvl680li.so:
_ZN10SfxItemSetD1Ev+0x1ab
Backtrace: [7] /tmp/obo/office/opt/openoffice1.9.51/program/libsvx680li.so:
_ZN12SdrPaintViewD2Ev+0x1cc
Backtrace: [8] /tmp/obo/office/opt/openoffice1.9.51/program/libsvx680li.so:
_ZN11SdrSnapViewD2Ev+0x53
Backtrace: [9] /tmp/obo/office/opt/openoffice1.9.51/program/libsvx680li.so:
_ZN11SdrMarkViewD2Ev+0x8b
Backtrace: [10] /tmp/obo/office/opt/openoffice1.9.51/program/libsvx680li.so:
_ZN11SdrEditViewD2Ev+0x53
Backtrace: [11] /tmp/obo/office/opt/openoffice1.9.51/program/libsvx680li.so:
_ZN15SdrPolyEditViewD2Ev+0x53
Backtrace: [12] /tmp/obo/office/opt/openoffice1.9.51/program/libsvx680li.so:
_ZN15SdrGlueEditViewD2Ev+0x53
Backtrace: [13] /tmp/obo/office/opt/openoffice1.9.51/program/libsvx680li.so:
_ZN14SdrObjEditViewD2Ev+0xb8
Backtrace: [14] /tmp/obo/office/opt/openoffice1.9.51/program/libsvx680li.so:
_ZN15SdrExchangeViewD2Ev+0x53
Backtrace: [15] /tmp/obo/office/opt/openoffice1.9.51/program/libsvx680li.so:
_ZN11SdrDragViewD2Ev+0x7e
Backtrace: [16] /tmp/obo/office/opt/openoffice1.9.51/program/libsvx680li.so:
_ZN13SdrCreateViewD2Ev+0xd1
Backtrace: [17] /tmp/obo/office/opt/openoffice1.9.51/program/libsvx680li.so:
_ZN7SdrViewD2Ev+0x82
Backtrace: [18] /tmp/obo/office/opt/openoffice1.9.51/program/libsvx680li.so:
_ZN7E3dViewD2Ev+0x130
Backtrace: [19] /tmp/obo/office/opt/openoffice1.9.51/program/libsvx680li.so:
_ZN10FmFormViewD2Ev+0xa7
Backtrace: [20] /tmp/obo/office/opt/openoffice1.9.51/program/libsd680li.so:
_ZN2sd4ViewD2Ev+0x19f
Backtrace: [21] /tmp/obo/office/opt/openoffice1.9.51/program/libsd680li.so:
_ZN2sd8DrawViewD0Ev+0xbc
Backtrace: [22] /tmp/obo/office/opt/openoffice1.9.51/program/libsd680li.so:
_ZN4_STL8auto_ptrIN2sd8DrawViewEED1Ev+0x3c
Backtrace: [23] /tmp/obo/office/opt/openoffice1.9.51/program/libsd680li.so:
_ZN2sd9toolpanel8controls15PreviewRendererD1Ev+0x20
Backtrace: [24] /tmp/obo/office/opt/openoffice1.9.51/program/libsd680li.so:
_ZN2sd9toolpanel8controls19MasterPageContainer14ImplementationD1Ev+0x128
Backtrace: [25] /tmp/obo/office/opt/openoffice1.9.51/program/libsd680li.so:
_ZN4_STL8auto_ptrIN2sd9toolpanel8controls19MasterPageContainer14ImplementationEED1Ev+0x31
Backtrace: [26] /tmp/obo/office/opt/openoffice1.9.51/program/libsd680li.so:
_ZN2sd9toolpanel8controls19MasterPageContainerD0Ev+0x2e
Backtrace: [27] /tmp/obo/office/opt/openoffice1.9.51/program/libsd680li.so:
_ZN2sd25SdGlobalResourceContainerD1Ev+0xd6
Backtrace: [28] /tmp/obo/office/opt/openoffice1.9.51/program/libsd680li.so:
_ZN4_STL8auto_ptrIN2sd25SdGlobalResourceContainerEED1Ev+0x31
Backtrace: [29] /tmp/obo/office/opt/openoffice1.9.51/program/libsd680li.so:
_ZN8SdModuleD0Ev+0xe7
Backtrace: [30] /tmp/obo/office/opt/openoffice1.9.51/program/libsfx680li.so:
_ZN9SfxModule19DestroyModules_ImplEv+0x78
Backtrace: [31] /tmp/obo/office/opt/openoffice1.9.51/program/libsfx680li.so:
_ZN14SfxApplicationD0Ev+0x77
Backtrace: [32] /tmp/obo/office/opt/openoffice1.9.51/program/libsfx680li.so:
_ZN25SfxTerminateListener_Impl17notifyTerminationERKN3com3sun4star4lang11EventObjectE+0x1be
Backtrace: [33] /tmp/obo/office/opt/openoffice1.9.51/program/libfwk680li.so:
+0x347c5
Backtrace: [34] /tmp/obo/office/opt/openoffice1.9.51/program/libfwk680li.so:
+0x30282
Backtrace: [35] /tmp/obo/office/opt/openoffice1.9.51/program/libfwk680li.so:
component_getFactory+0x50b8
Backtrace: [36] /tmp/obo/office/opt/openoffice1.9.51/program/libfwk680li.so:
component_getFactory+0x4294
Backtrace: [37] /tmp/obo/office/opt/openoffice1.9.51/program/libfwk680li.so:
component_getFactory+0x3f86
Backtrace: [38] ./soffice.bin: _ZNK4Link4CallEPv+0x26
Backtrace: [39] /tmp/obo/office/opt/openoffice1.9.51/program/libvcl680li.so:
_ZN3vcl11EventPoster12DoEvent_ImplEPNS_9UserEventE+0x30
Backtrace: [40] /tmp/obo/office/opt/openoffice1.9.51/program/libvcl680li.so:
_ZN3vcl11EventPoster20LinkStubDoEvent_ImplEPvS1_+0x24
Backtrace: [41] ./soffice.bin: _ZNK4Link4CallEPv+0x26
Backtrace: [42] /tmp/obo/office/opt/openoffice1.9.51/program/libvcl680li.so:
_Z15ImplHandleCloseP6Window+0x247
Backtrace: [43] /tmp/obo/office/opt/openoffice1.9.51/program/libvcl680li.so:
_Z19ImplWindowFrameProcPvP8SalFrametPKv+0x667
Backtrace: [44]
/tmp/obo/office/opt/openoffice1.9.51/program/libvclplug_gen680li.so:
_ZNK8SalFrame12CallCallbackEtPKv+0x3d
Backtrace: [45]
/tmp/obo/office/opt/openoffice1.9.51/program/libvclplug_gen680li.so:
_ZN10SalDisplay21DispatchInternalEventEv+0x103
Backtrace: [46]
/tmp/obo/office/opt/openoffice1.9.51/program/libvclplug_gen680li.so:
_ZN13SalX11Display5YieldEh+0x27
Backtrace: [47]
/tmp/obo/office/opt/openoffice1.9.51/program/libvclplug_gen680li.so:
_ZN10SalDisplay10doDestructEv+0x539
Backtrace: [48]
/tmp/obo/office/opt/openoffice1.9.51/program/libvclplug_gen680li.so:
_ZNK10YieldEntry15HandleNextEventEv+0x21
Backtrace: [49]
/tmp/obo/office/opt/openoffice1.9.51/program/libvclplug_gen680li.so:
_ZN7SalXLib5YieldEh+0xe6
Backtrace: [50]
/tmp/obo/office/opt/openoffice1.9.51/program/libvclplug_gen680li.so:
_ZN14X11SalInstance5YieldEh+0x3b
Backtrace: [51] /tmp/obo/office/opt/openoffice1.9.51/program/libvcl680li.so:
_ZN11Application5YieldEv+0x76
Backtrace: [52] /tmp/obo/office/opt/openoffice1.9.51/program/libvcl680li.so:
_ZN11Application7ExecuteEv+0x3c
Backtrace: [53] ./soffice.bin: _ZN7desktop7Desktop4MainEv+0x31b2
Backtrace: [54] /tmp/obo/office/opt/openoffice1.9.51/program/libvcl680li.so:
_Z6SVMainv+0xa3
Backtrace: [55] /tmp/obo/office/opt/openoffice1.9.51/program/libvcl680li.so:
main+0x51
Backtrace: [56] /lib/libc.so.6: __libc_start_main+0xcf
Backtrace: [57] ./soffice.bin: _start+0x21
Comment 1 oliver.bolte 2004-08-18 10:22:03 UTC
reassigned.
Comment 2 clippka 2004-08-18 10:26:13 UTC
andre, stack looks like shutdown of the toolpanel, please take over
Comment 3 groucho266 2004-08-18 10:35:50 UTC
Accepted.
Comment 4 groucho266 2004-08-18 18:32:50 UTC
In sd/source/ui/toolpanel/controls/PreviewRenderer.cxx a view was created (on
demand) that uses the item pool of a given doc shell.  This view was held alive
too long, i.e. after the docshell had been destroyed.  This resulted in item
sets of the view not correctly deleted and a crash.

The fix is  to have the PreviewRenderer listen for the SFX_DYING_HINT now sent
by the DrawDocShell.  It then deletes the view that depends on the docshell.
Later requests for a view result in the creation of a new view for a valid docshell.
Comment 5 oliver.bolte 2004-08-19 11:01:33 UTC
.
Comment 6 oliver.bolte 2004-08-19 11:02:13 UTC
.
Comment 7 groucho266 2004-08-23 10:25:40 UTC
*** Issue 32903 has been marked as a duplicate of this issue. ***