Re: [AD] Allegro 5 TODOs (from wiki) |
[ 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] Allegro 5 TODOs (from wiki)
- From: Evert Glebbeek <eglebbk@xxxxxxxxxx>
- Date: Sun, 30 Nov 2008 19:56:59 -0500
On 30-Nov-08, at 5:46 PM, Evert Glebbeek wrote:
System: new (aluminium) MacBook running OS X 10.5.5.
I'll investigate.
Ok, fixed. The problem was that the "display" element of the bitmap
was not correctly set after it was transfered to a different display.
Aside: the debug output in gdb was almost useless while the ASSERT()
statements were in place. Compare the stack trace in my previous
message with the one I got when I commented out the ASSERT() lines
(which actually pointed me in the right direction):
#0 0x000244e4 in _alemu_memcmp (s1=0x61636365, s2=0xb00a0c80, num=22)
at /Users/eglebbk/Program/Allegro5/4.9/src/libc.c:109
#1 0x00039eb4 in _al_vector_find (vec=0x19b7bc, ptr_item=0xb00a0c80)
at /Users/eglebbk/Program/Allegro5/4.9/src/misc/vector.c:189
#2 0x0003a007 in _al_vector_find_and_delete (vec=0x19b7bc,
ptr_item=0xb00a0c80) at /Users/eglebbk/Program/Allegro5/4.9/src/misc/
vector.c:244
#3 0x0000a679 in al_destroy_bitmap (bitmap=0x1ae340) at /Users/
eglebbk/Program/Allegro5/4.9/src/bitmap_new.c:214
#4 0x00005e98 in _mangled_main () at /Users/eglebbk/Program/
Allegro5/4.9/examples/ex_multiwin.c:107
#5 0x0003d39c in call_user_main () at /Users/eglebbk/Program/
Allegro5/4.9/src/macosx/main.m:216
#6 0x0003d3ed in +[AllegroAppDelegate app_main:] (self=0x812c0,
_cmd=0x60152, arg=0x0) at /Users/eglebbk/Program/Allegro5/4.9/src/
macosx/main.m:227
#7 0x9151bbad in -[NSThread main] ()
#8 0x9151b754 in __NSThread__main__ ()
#9 0x947ecf79 in _pthread_start ()
#10 0x947ece36 in thread_start ()
I hope I'm missing something here... anyone else had a similar
experience before?
Evert