Comment 1 for bug 76179

Revision history for this message
In , Karl Bartel (karlb) wrote : I can't locate the problem

tags 184437 help

I can reproduce this bug under Mac OS X only (at least I think it is
this bug...), but I am unable to locate the problem.

Here's the backtrace (line numbers might slightly differ, because I'm
using my current dev version):

Thread 0 Crashed:
0 SDL 0x30008fec SDL_SoftBlit + 0xcc
1 SDL 0x3001f5c0 SDL_LowerBlit + 0x11c
2 SDL 0x3001f7a8 SDL_UpperBlit + 0x1d4
3 ??? 0x0001c540 BlitToBB + 0xe8 (gfx.c:393)
4 ??? 0x00020550 DestroyTarget + 0xa4
(missile.c:104)
5 ??? 0x0001d66c HandleBomb + 0x8f0 (bomb.c:84)
6 ??? 0x0000c680 ProcessEvents + 0xe0
(game.c:316)
7 ??? 0x0000cef8 StartGame + 0x1d4 (game.c:429)
8 ??? 0x0001fd90 SDL_main + 0x138 (main.c:460)

So the critical line seems to be line 104 in missile.c:
BlitPart(rect.x,rect.y,BackBuffer,rect);

I really can't see any problem with it. And to make the whole problem
even more strange, the bug seems to only occur when playing the game
with sound.

Any help with this is appreciated,
Karl