[AD] Current SVN broken on OS X

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


SVN revisions after 12417 are broken for me on OS X (I haven't tried all of them though, I noticed a problem with image loading in 12444 and went back to find the last revision that worked, which seems to be 14217, but the back trace I get for 12418 is different than for the later version, suggesting the problem is different).

For 12444, the backtrace is
(gdb) r
Starting program: /Users/eglebbk/Program/Allegro5/4.9/Build/examples/ ex_bitmap
Reading symbols for shared libraries +++. done
Reading symbols for shared libraries + done
Reading symbols for shared libraries + done
Reading symbols for shared libraries + done

Program received signal SIGABRT, Aborted.
0x00007fff8461dd36 in mach_msg_trap ()
(gdb) thread 2
[Switching to thread 2 (process 95253 thread 0x3603)]
0x00007fff846e767e in __semwait_signal_nocancel ()
(gdb) bt
#0  0x00007fff846e767e in __semwait_signal_nocancel ()
#1  0x00007fff846e72b4 in nanosleep$NOCANCEL ()
#2  0x00007fff846e13c4 in usleep$NOCANCEL ()
#3  0x00007fff846f5f37 in abort ()
#4 0x0000000100053e9a in _al_rotate_scale_flip_coordinates () at / Users/eglebbk/Program/Allegro5/4.9/src/pixels.c:416 #5 0x00000001000548e5 in al_put_pixel (x=0, y=0, color={r = 0.188235298, g = 0.188235298, b = 0.254901975, a = 1}) at /Users/ eglebbk/Program/Allegro5/4.9/src/pixels.c:443 #6 0x000000010000d5db in al_load_pcx_entry () at /Users/eglebbk/ Program/Allegro5/4.9/addons/image/pcx.c:136 #7 0x000000010000d9f8 in al_load_pcx (filename=0x100004f20 "data/ mysha.pcx") at /Users/eglebbk/Program/Allegro5/4.9/addons/image/pcx.c: 251 #8 0x000000010000cf3d in al_load_bitmap (filename=0x100004f20 "data/ mysha.pcx") at /Users/eglebbk/Program/Allegro5/4.9/addons/image/iio.c: 258 #9 0x0000000100004a42 in _mangled_main (argc=1, argv=0x7fff5fbfeca0) at /Users/eglebbk/Program/Allegro5/4.9/examples/ex_bitmap.c:49 #10 0x0000000100063ba2 in call_user_main () at /Users/eglebbk/Program/ Allegro5/4.9/src/macosx/main.m:240 #11 0x0000000100063bf9 in +[AllegroAppDelegate app_main:] (self=0x1000be420, _cmd=0x100095b1a, arg=0x0) at /Users/eglebbk/ Program/Allegro5/4.9/src/macosx/main.m:251
#12 0x00007fff8232f915 in __NSThread__main__ ()
#13 0x00007fff8464bdcb in _pthread_start ()
#14 0x00007fff8464bc8d in thread_start ()
(gdb)

In case it helps, for 12418 the backtrace is
(gdb) r
Starting program: /Users/eglebbk/Program/Allegro5/4.9/Build/examples/ ex_bitmap
Reading symbols for shared libraries . done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x00000000000000a0
[Switching to process 94539 thread 0x3603]
0x00000001000391e3 in _al_deduce_color_format (eds=0x98) at /Users/ eglebbk/Program/Allegro5/4.9/src/display_settings.c:524
524	   if (eds->settings[ALLEGRO_RED_SIZE]   == 8 &&
(gdb) bt
#0 0x00000001000391e3 in _al_deduce_color_format (eds=0x98) at /Users/ eglebbk/Program/Allegro5/4.9/src/display_settings.c:524 #1 0x0000000100037334 in al_get_display_format () at /Users/eglebbk/ Program/Allegro5/4.9/src/display_new.c:267 #2 0x0000000100050787 in _al_try_display_format (format=0x1004528ac) at /Users/eglebbk/Program/Allegro5/4.9/src/pixels.c:214 #3 0x00000001000508c6 in _al_get_real_pixel_format (format=0) at / Users/eglebbk/Program/Allegro5/4.9/src/pixels.c:247 #4 0x000000010008fdbb in _al_ogl_create_bitmap (d=0x100864800, w=640, h=480) at /Users/eglebbk/Program/Allegro5/4.9/src/opengl/ogl_bitmap.c: 877 #5 0x0000000100090d27 in _al_ogl_create_backbuffer (disp=0x100864800) at /Users/eglebbk/Program/Allegro5/4.9/src/opengl/ogl_display.c:227 #6 0x00000001000681b4 in create_display_win (w=640, h=480) at /Users/ eglebbk/Program/Allegro5/4.9/src/macosx/osxgl.m:925 #7 0x000000010006855f in create_display (w=640, h=480) at /Users/ eglebbk/Program/Allegro5/4.9/src/macosx/osxgl.m:1018 #8 0x0000000100036d76 in al_create_display (w=640, h=480) at /Users/ eglebbk/Program/Allegro5/4.9/src/display_new.c:60 #9 0x00000001000049f1 in _mangled_main (argc=1, argv=0x7fff5fbfeca0) at /Users/eglebbk/Program/Allegro5/4.9/examples/ex_bitmap.c:34 #10 0x0000000100062cfe in call_user_main () at /Users/eglebbk/Program/ Allegro5/4.9/src/macosx/main.m:240 #11 0x0000000100062d55 in +[AllegroAppDelegate app_main:] (self=0x1000bd440, _cmd=0x100094c5a, arg=0x0) at /Users/eglebbk/ Program/Allegro5/4.9/src/macosx/main.m:251
#12 0x00007fff8232f915 in __NSThread__main__ ()
#13 0x00007fff8464bdcb in _pthread_start ()
#14 0x00007fff8464bc8d in thread_start ()
(gdb)

I haven't followed the colour format/conversion changes recently in enough detail that I can quickly isolate the problem, but hopefully this is enough for someone else to figure out what the problem is, or to give me a hint on where to start looking. :)

Evert




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