At 5:50 PM -0500 8/16/02, Moss wrote:
Has anyone seen a crash on Mac OS 9 as a result of zooming a window
and then closing it (via the close box or quitting the app)? I used
the default RB project, turned on the Zoom and Resize properties for
the default window and built a classic and carbon app. Build, run,
zoom the window, then quit. The Carbon build crashes on OS 9.1 with
CarbonLib 1.6. The Classic app works fine.
I have the same results. Run my Carbon build on OS 9.1, everything
seems to work. Crashes on exit if I've zoomed a window, exits fine
if I haven't.
I had CarbonLib 1.1.1 handy so I dropped it in. It has a similar
problem, except the crash happens immediately when I click the
zoombox. (This reminds me that I had a crash in the development
environment the other day when I zoomed the Language Reference
window. I had CarbonLib 1.1.1 active then too.). Perhaps the zoom
code is corrupting the window record??
Today I'm running:
Mac OS 9.1
CarbonLib 1.6
Stack crawl:
PowerPC unmapped memory exception at 2F0F42A4
The "Drop Test (Mac OS X)" heap at 0B158550 is ok
Calling chain using A6/R1 links
Back chain ISA Caller
0CAF5C60 PPC 3FD84AAC
0CAF5B10 PPC 3FD84900
0CAF5990 PPC 3D0C7C0C
0CAF5940 PPC 3D1A0B5C RuntimeRun+0000C
0CAF5900 PPC 3D1A4860 mainloop()+00080
0CAF58B0 PPC 3D1A4614 ResumeFocusChecking()+00424
0CAF5850 PPC 3D1A5BD4 PumpedEventQueue::HandleEvents()+00014
0CAF5810 PPC 3D1A5EB4 PumpedEventQueue::InternalHandleEvents()+00294
0CAF5790 PPC 3D1A3C24
EnvironmentEventQueue::HandleMenuItem(unsigned char, long)+00014
0CAF5750 PPC 3D1A12D0 HandleMenu(unsigned char, unsigned long)+00490
0CAF55E0 PPC 3D1472C8 ApplicationQuit+000A8
0CAF55A0 PPC 3D14722C ApplicationQuit+0000C
0CAF5560 PPC 3D1471E8 TestApplicationQuit()+000C8
0CAF5520 PPC 3D143078 IterateRuntimeWindowList(unsigned char
(*)(Window*, long), long)+00018
0CAF54E0 PPC 3D142FD0 IterateWindowList+00060
0CAF5490 PPC 3D1470FC FSpGetItemInfo(FSSpec, CInfoPBRec&)+0026C
0CAF5440 PPC 3D20DAD0 RuntimeViewWindow::Close()+000F0
I am submitting a RealBug report and I suggest that anyone else
having the same problem do the same.
Dave
|