Re: [AD] Problems with MacOSX port

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2004-12-23, Grzegorz Adam Hankiewicz <gradha@xxxxxxxxxx> wrote:
> Finally, I compiled my old tetris clone and the first screens are OK,
> but the intro screen using stretch_blit shows the title out of the
> screen, and the next screen tries to stretch_blit to the whole screen a
> bitmap, which I guess is bogus because the application is frozen at that
> point, though I can finish it off with the three finker key combo, so no
> callstack.

I think you can ignore the stretch issue, I was possibly having mixed
object files or something like that, since it worked after a clean
build. However, there is still some moment where the game locks up, and
I have traced this to some gui thingy:

(gdb) bt
#0  0x90012588 in clock_sleep_trap ()
#1  0x9000d758 in nanosleep ()
#2  0x90012288 in usleep ()
#3  0x300a80c8 in _unix_rest ()
#4  0x30032d34 in update_dialog ()
#5  0x30031ebc in do_dialog ()
#6  0x30031f9c in popup_dialog ()
#7  0x30035760 in alert3 ()
#8  0x300357b8 in alert ()
#9  0x00009e4c in select_language () at src/langsel.c:43
#10 0x0000934c in init_config () at src/init.c:199
#11 0x0000e470 in _mangled_main (argc=1, argv=0xbffffc98) at
src/multitet.c:427
#12 0x0000fd5c in +[AllegroAppDelegate app_main:] ()
#13 0x90a39b74 in forkThreadForFunction ()
#14 0x900246e8 in _pthread_body ()

I can replicate this running exgui.c, for which I get a similar
backtrace.

#0  0x90012588 in clock_sleep_trap ()
#1  0x9000d758 in nanosleep ()
#2  0x90012288 in usleep ()
#3  0x300a80c8 in _unix_rest ()
#4  0x30032d34 in update_dialog ()
#5  0x30031ebc in do_dialog ()
#6  0x000038bc in _mangled_main ()
#7  0x00003dc0 in +[AllegroAppDelegate app_main:] ()
#8  0x90a39b74 in forkThreadForFunction ()
#9  0x900246e8 in _pthread_body ()

This may be, however, coincidence, as the keyboard still reacts to the
three finker combo key. I just don't know what's upsetting exgui so much
that I get a black screen.




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/