iconic crash boom bam

Thomas McGrath III 3mcgrath at adelphia.net
Fri Jan 30 22:08:18 EST 2004


I created a new stack with decorations set to empty and the rect of the 
window set to the screen size. I put a button on my no decorations 
stack to iconic it.
It seems (no docs to support it) that the iconic will not work with out 
the decorations set. BUT when I temporarily set the decorations and 
try, IT CRASHES badda bing.

--in button
on mouseUp
	lock screen
	set the decorations of this stack to "Title,minimize"
	set the iconic of this stack to true
	unlock screen
end mouseUp

--in stack
on unIconifyStack
	set the decorations of this stack to empty
end unIconifyStack

That's it... This crashes revolution every time I try it.

What is causing the crash?

Tom
Below is part of the crash report because the whole report is too big 
for Userev.



Date/Time:      2004-01-30 21:46:52 -0500
OS Version:     10.3.2 (Build 7D24)
Report Version: 2

Command: Revolution
Path:    /Applications/Revolution 
2.1.2/Revolution.app/Contents/MacOS/Revolution
Version: 2.1.2 (2.1.2)
PID:     1359
Thread:  0

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

Thread 0 Crashed:
0   com.apple.HIToolbox       	0x92830f24 
HIObject::IsAccessibilityIgnored() + 0
1   com.apple.HIToolbox       	0x927da850 
WindowData::BaseHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, 
void*) + 0x5b4
2   com.apple.HIToolbox       	0x927d2384 DispatchEventToHandlers + 
0x150
3   com.apple.HIToolbox       	0x927d25f8 
SendEventToEventTargetInternal + 0x174
4   com.apple.HIToolbox       	0x9282909c CallNextEventHandler + 0x3c
5   ???                       	0x000e1dd0 
WinEvtHndlr__FP25OpaqueEventHandlerCallRefP14OpaqueEventRefPv + 0x194
6   com.apple.HIToolbox       	0x927d2384 DispatchEventToHandlers + 
0x150
7   com.apple.HIToolbox       	0x927d25f8 
SendEventToEventTargetInternal + 0x174
8   com.apple.HIToolbox       	0x927d6a60 
SendEventToEventTargetWithOptions + 0x28
9   com.apple.HIToolbox       	0x9282bce0 SendSimpleWindowEvent + 0x60
10  com.apple.HIToolbox       	0x929aa470 
CollapseWindowInternal(OpaqueWindowPtr*, unsigned char, unsigned char) 
+ 0x244
11  com.apple.HIToolbox       	0x9285d120 
SelectWindowInGroup(WindowData*, WindowContext*, OpaqueWindowGroupRef*) 
+ 0x98
12  com.apple.HIToolbox       	0x92883320 SelectWindow + 0x28
13  com.apple.HIToolbox       	0x92965970 RestoreWindowFromDock + 0x5c
14  com.apple.HIToolbox       	0x92800dbc HandleWindowEvent + 0xd64
15  com.apple.HIToolbox       	0x9281bccc BasicWindowHandler + 0x340
16  com.apple.HIToolbox       	0x927d2384 DispatchEventToHandlers + 
0x150
17  com.apple.HIToolbox       	0x927d25f8 
SendEventToEventTargetInternal + 0x174
18  com.apple.HIToolbox       	0x927d6a60 
SendEventToEventTargetWithOptions + 0x28
19  com.apple.HIToolbox       	0x929a6bb4 
SelectWindowFromDock(WindowData*) + 0x80
20  com.apple.HIToolbox       	0x92847f24 DockCallback(unsigned long, 
void*, void*, void*) + 0x158
21  com.apple.HIServices      	0x92d489d8 _DCXSelectWindow + 0x38
22  com.apple.HIServices      	0x92d48988 _XSelectWindow + 0x50
23  com.apple.HIServices      	0x92d43938 DockClientDefs_server + 0xa8
24  com.apple.HIServices      	0x92d43828 dockClientMachCallback + 0x18
25  com.apple.CoreFoundation  	0x901ad4d0 __CFMachPortPerform + 0xe0
26  com.apple.CoreFoundation  	0x901a9c54 __CFRunLoopDoSource1 + 0xc8
27  com.apple.CoreFoundation  	0x90191b20 __CFRunLoopRun + 0x540
28  com.apple.CoreFoundation  	0x901960bc CFRunLoopRunSpecific + 0x148
29  com.apple.HIToolbox       	0x927d632c RunCurrentEventLoopInMode + 
0xac
30  com.apple.HIToolbox       	0x927d9408 GetNextEventMatchingMask + 
0x1a0
31  com.apple.HIToolbox       	0x927ecebc WNEInternal + 0xa0
32  com.apple.HIToolbox       	0x927fdb90 WaitNextEvent + 0x4c
33  ???                       	0x000d8d90 
handle__10MCScreenDCdUcUcRUcn1 + 0x2ac
34  ???                       	0x000d6a28 wait__10MCScreenDCdUcUc + 
0x104
35  ???                       	0x00097628 X_main_loop + 0x118
36  ???                       	0x000f0ea0 main + 0x2c
37  ???                       	0x00003fbc _start + 0x17c
38  ???                       	0x00003e3c start + 0x30



More information about the use-livecode mailing list