Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Null Layout Manager Problems with OS X...



OS X seems to have real big problems with Null Layout managers (as far as I can tell). Unfortunately due to time constraints we have been forced to use Null layout managers so that we can create our Dialogs as fast as possible using JBuilder. (I'm not the one creating them) Unfortunately as well, as long as it looks good on Windows and is usable on other platforms, (even if it's ugly) that's what we're going to live with.

This is working OK (even though I don't like the way things look under OS 9/OS X) except that we keep getting a ton of Bus errors whenever a dialog with a Null Layout manager is pulled up under OS X. Some dialogs will come up and work, some won't come up at all, and some will come up and then die. But pretty much all of them will die eventually. (if you play around with the components long enough) The behavior seems to be pretty random and all I get from the command line is the text "Bus error." There's no stack trace or anything, just "Bus error."

I'm wondering if this is a known problem and if so are there any work-arounds? I've seen this behavior with OS X Java GM, DP 1, DP 1 with HotSpot 1.3.1, and on DP 1 with and without hardware acceleration turned on. Although when HW acceleration is on I get the Bus errors far less frequently.

Sometimes I do get more than just a Bus error: (I got this with HW acceleration on)

---------------------
This host is probably already deleted. host :
CarbonWindowFrameHost, fWindow = null
kCGSErrorIllegalArgument : CGSReleaseRegion: Invalid region
Bus error
---------------------

I'd like to create a sample app that I could use to submit a bug report but I just don't have the time right now. We have a deadline fast approaching and I won't be able to get to creating a good bug report for a while. I'd just like to know if this is a known issue and if anything is being done about it.

Thanks!

____________________________________

Dave Thorup
Software Engineer
email@hidden
voice: 801-805-9422

CORDA Technologies, Inc.
http://www.corda.com
Interactive Data-Driven Graphics




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.