Issue 77547 - Crashes in TransferableHelper on exit
Summary: Crashes in TransferableHelper on exit
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: porting
Classification: Code
Component: MacOSX (show other issues)
Version: 680m211
Hardware: Mac Mac OS X, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: ericb
QA Contact: issues@porting
URL:
Keywords: aqua
: 78320 (view as issue list)
Depends on:
Blocks:
 
Reported: 2007-05-19 02:54 UTC by msicotte
Modified: 2007-06-23 12:55 UTC (History)
2 users (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 msicotte 2007-05-19 02:54:04 UTC
Crashes in TransferableHelper on exit
Comment 1 msicotte 2007-05-19 02:54:24 UTC
keyword
Comment 2 pavel 2007-05-19 09:57:07 UTC
.
Comment 3 eric.bachard 2007-05-25 04:50:57 UTC
The log :

Date/Time:      2007-05-25 05:50:19.160 +0200
OS Version:     10.4.8 (Build 8N1051)
Report Version: 4

Command: soffice-bin
Path:    /Users/ericb/Desktop/Aqua_m211/OpenOffice.org 2.3.app/Contents/MacOS/soffice-bin
Parent:  WindowServer [60]

Version: 2.3.0 (???)

PID:    27420
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0x8b2051ff

Thread 0 Crashed:
0   libsvt680mxi.dylib             	0x0162510f TransferableHelper::~TransferableHelper [in-charge 
deleting]() + 675
1   libfwk680mxi.dylib             	0x187d688f 0x187d4000 + 10383
2   libfwk680mxi.dylib             	0x187dc547 0x187d4000 + 34119
3   libfwk680mxi.dylib             	0x1883459e component_writeInfo + 62584
4   libfwk680mxi.dylib             	0x18834a36 component_writeInfo + 63760
5   libvcl680mxi.dylib             	0x0121dc4d vcl::EventPoster::LinkStubDoEvent_Impl(void*, void*) + 37
6   libvcl680mxi.dylib             	0x011c2219 ImplWindowFrameProc(void*, SalFrame*, unsigned short, 
void const*) + 1615
7   libvcl680mxi.dylib             	0x012317aa HandleOOoSalUserEvent(OpaqueEventHandlerCallRef*, 
OpaqueEventRef*, void*) + 228
8   com.apple.HIToolbox            	0x92dd786b DispatchEventToHandlers(EventTargetRec*, 
OpaqueEventRef*, HandlerCallRec*) + 1093
9   com.apple.HIToolbox            	0x92dd6f10 SendEventToEventTargetInternal(OpaqueEventRef*, 
OpaqueEventTargetRef*, HandlerCallRec*) + 304
10  com.apple.HIToolbox            	0x92dd6dd5 SendEventToEventTargetWithOptions + 55
11  com.apple.HIToolbox            	0x92dde357 ToolboxEventDispatcherHandler
(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 357
12  com.apple.HIToolbox            	0x92dd7c22 DispatchEventToHandlers(EventTargetRec*, 
OpaqueEventRef*, HandlerCallRec*) + 2044
13  com.apple.HIToolbox            	0x92dd6f10 SendEventToEventTargetInternal(OpaqueEventRef*, 
OpaqueEventTargetRef*, HandlerCallRec*) + 304
14  com.apple.HIToolbox            	0x92dde1f0 SendEventToEventTarget + 56
15  libvcl680mxi.dylib             	0x0123eacf AquaSalInstance::Yield(bool, bool) + 121
16  libvcl680mxi.dylib             	0x010138bf Application::Yield(bool) + 83
17  libvcl680mxi.dylib             	0x01013941 Application::Execute() + 63
18  org.openoffice.script          	0x000151f4 desktop::Desktop::Main() + 4716
19  libvcl680mxi.dylib             	0x01019063 ImplSVMain() + 373
20  libvcl680mxi.dylib             	0x01019142 MainRunLoopForThreadedApps(__EventLoopTimer*, 
void*) + 62
21  com.apple.HIToolbox            	0x92e10c41 TimerVector + 31
22  com.apple.CoreFoundation       	0x9082a822 CFRunLoopRunSpecific + 3341
23  com.apple.CoreFoundation       	0x90829b0e CFRunLoopRunInMode + 61
24  com.apple.HIToolbox            	0x92dd8bef RunCurrentEventLoopInMode + 285
25  com.apple.HIToolbox            	0x92dd82fd ReceiveNextEventCommon + 385
26  com.apple.HIToolbox            	0x92e20c8f _AcquireNextEvent + 58
27  com.apple.HIToolbox            	0x92e20ad0 RunApplicationEventLoop + 150
28  libvcl680mxi.dylib             	0x0101920e ImplSVMainHook(unsigned char*) + 136
29  libvcl680mxi.dylib             	0x010190ef SVMain() + 17
30  org.openoffice.script          	0x0000255f main + 95
31  org.openoffice.script          	0x00001e8e start + 258
32  org.openoffice.script          	0x00001db5 start + 41

Comment 4 eric.bachard 2007-05-25 04:50:59 UTC
The log :

Date/Time:      2007-05-25 05:50:19.160 +0200
OS Version:     10.4.8 (Build 8N1051)
Report Version: 4

Command: soffice-bin
Path:    /Users/ericb/Desktop/Aqua_m211/OpenOffice.org 2.3.app/Contents/MacOS/soffice-bin
Parent:  WindowServer [60]

Version: 2.3.0 (???)

PID:    27420
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0x8b2051ff

Thread 0 Crashed:
0   libsvt680mxi.dylib             	0x0162510f TransferableHelper::~TransferableHelper [in-charge 
deleting]() + 675
1   libfwk680mxi.dylib             	0x187d688f 0x187d4000 + 10383
2   libfwk680mxi.dylib             	0x187dc547 0x187d4000 + 34119
3   libfwk680mxi.dylib             	0x1883459e component_writeInfo + 62584
4   libfwk680mxi.dylib             	0x18834a36 component_writeInfo + 63760
5   libvcl680mxi.dylib             	0x0121dc4d vcl::EventPoster::LinkStubDoEvent_Impl(void*, void*) + 37
6   libvcl680mxi.dylib             	0x011c2219 ImplWindowFrameProc(void*, SalFrame*, unsigned short, 
void const*) + 1615
7   libvcl680mxi.dylib             	0x012317aa HandleOOoSalUserEvent(OpaqueEventHandlerCallRef*, 
OpaqueEventRef*, void*) + 228
8   com.apple.HIToolbox            	0x92dd786b DispatchEventToHandlers(EventTargetRec*, 
OpaqueEventRef*, HandlerCallRec*) + 1093
9   com.apple.HIToolbox            	0x92dd6f10 SendEventToEventTargetInternal(OpaqueEventRef*, 
OpaqueEventTargetRef*, HandlerCallRec*) + 304
10  com.apple.HIToolbox            	0x92dd6dd5 SendEventToEventTargetWithOptions + 55
11  com.apple.HIToolbox            	0x92dde357 ToolboxEventDispatcherHandler
(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 357
12  com.apple.HIToolbox            	0x92dd7c22 DispatchEventToHandlers(EventTargetRec*, 
OpaqueEventRef*, HandlerCallRec*) + 2044
13  com.apple.HIToolbox            	0x92dd6f10 SendEventToEventTargetInternal(OpaqueEventRef*, 
OpaqueEventTargetRef*, HandlerCallRec*) + 304
14  com.apple.HIToolbox            	0x92dde1f0 SendEventToEventTarget + 56
15  libvcl680mxi.dylib             	0x0123eacf AquaSalInstance::Yield(bool, bool) + 121
16  libvcl680mxi.dylib             	0x010138bf Application::Yield(bool) + 83
17  libvcl680mxi.dylib             	0x01013941 Application::Execute() + 63
18  org.openoffice.script          	0x000151f4 desktop::Desktop::Main() + 4716
19  libvcl680mxi.dylib             	0x01019063 ImplSVMain() + 373
20  libvcl680mxi.dylib             	0x01019142 MainRunLoopForThreadedApps(__EventLoopTimer*, 
void*) + 62
21  com.apple.HIToolbox            	0x92e10c41 TimerVector + 31
22  com.apple.CoreFoundation       	0x9082a822 CFRunLoopRunSpecific + 3341
23  com.apple.CoreFoundation       	0x90829b0e CFRunLoopRunInMode + 61
24  com.apple.HIToolbox            	0x92dd8bef RunCurrentEventLoopInMode + 285
25  com.apple.HIToolbox            	0x92dd82fd ReceiveNextEventCommon + 385
26  com.apple.HIToolbox            	0x92e20c8f _AcquireNextEvent + 58
27  com.apple.HIToolbox            	0x92e20ad0 RunApplicationEventLoop + 150
28  libvcl680mxi.dylib             	0x0101920e ImplSVMainHook(unsigned char*) + 136
29  libvcl680mxi.dylib             	0x010190ef SVMain() + 17
30  org.openoffice.script          	0x0000255f main + 95
31  org.openoffice.script          	0x00001e8e start + 258
32  org.openoffice.script          	0x00001db5 start + 41

Comment 5 eric.bachard 2007-05-25 04:52:51 UTC
Description of the issue :

Create a new document (whatever type you want), and quit without saving.

The crash is not fully reproducible, but occurs very often. 

Comment 6 eric.bachard 2007-05-25 04:59:47 UTC
To complete the issue :

I have rebuild libsvtools with debug enabled, and tried to trace. 

Looks like some exception occurs. The log said :

exception catched in svtools/source/config/viewoptions.cxx line 443  :
" The object has already been disposed."

To avoid a crash : just comment mrParent.ImplFlush() line 234 in svtools/source/misc/transfer.cxx 

Looks like we try to modify/free an object already disposed. mrParent here.
Comment 7 jjmckenzie 2007-05-25 05:04:43 UTC
Confirmed problem exists in Pavel's build as well.
James McKenzie
Comment 8 pavel 2007-06-12 06:33:08 UTC
*** Issue 78320 has been marked as a duplicate of this issue. ***
Comment 9 eric.bachard 2007-06-20 05:36:45 UTC
Since the new saltimer implementation, this issue seems to have vanished.

Can someone confirm ?
Comment 10 pavel 2007-06-23 12:55:09 UTC
yes, I haven't seen it for a long time -> WORKSFORME.
Comment 11 pavel 2007-06-23 12:55:26 UTC
.