Re: [AD] SF.net SVN: alleg:[12852] allegro/branches/4.9/src/macosx/hidjoy.m |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: Coordination of admins/developers of the game programming library Allegro <alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] SF.net SVN: alleg:[12852] allegro/branches/4.9/src/macosx/hidjoy.m
- From: Evert Glebbeek <eglebbk@xxxxxxxxxx>
- Date: Mon, 25 Jan 2010 22:34:47 -0500
- Cc: Trent Gamblin <trent@xxxxxxxxxx>
On 25 Jan 2010, at 22:06 , Evert Glebbeek wrote:
> On 25 Jan 2010, at 20:34 , Trent Gamblin wrote:
>> Side note, I ran ex_joystick_events with no joysticks attached and it segfaults
>> somewhere in the native dialog code. Haven't investigated.
>
> Bugger. I'll have a quick look, it may be something simple. Otherwise it should probably go on the tracker.
It's not something simple. I'm stumped.
It crashes on NSAlert* box = [[NSAlert alloc] init]; somewhere deep in the guts of whatever the NSAlert init method is doing.
I can reproduce the problem with ex_native_filechooser (which is a bit of a misnomer really) when I try to close the program, but not when I click in the program window.
The only thing I can think of is that al_show_native_message_box() somehow messes up the ALLEGRO_NATIVE_DIALOG struct in those cases but not in the other case (the only obvious difference I can think of is the number of buttons though).
Anyway, too late in the day to think about it now.
Evert