Bug#382904: Touching left edge with xjump theme causes segmentation fault

Josh Triplett josh at freedesktop.org
Tue Aug 15 07:26:12 UTC 2006


Bas Wijnen wrote:
> On Sun, Aug 13, 2006 at 08:16:45PM -0700, Josh Triplett wrote:
>> With the theme set to xjump, running into the left edge consistently
>> causes a segmentation fault.  ~/.sdljump.cfg attached.
> 
> I can't reproduce this.  Perhaps it has something to do with the openGL
> rendering.  Could you run it in gdb and send a stack backtrace?

Good call about OpenGL; backtrace:

GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".

(gdb) run
Starting program: /tmp/sdljump-0.91-1/src/sdljump
[Thread debugging using libthread_db enabled]
[New Thread -1484617504 (LWP 21564)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1484617504 (LWP 21564)]
GL2D_BlitLargeGLpart (src=0x823b1f0, sx=-2, sy=405, x=-2, y=405, w=16, h=16,
    alpha=255 'ÿ') at SDL_2dgl.c:478
478				GL2D_BlitGLpart(src->pics[i][j], sx2, sy2, x+xCount, y+yCount, w2, h2, alpha);
(gdb) bt
#0  GL2D_BlitLargeGLpart (src=0x823b1f0, sx=-2, sy=405, x=-2, y=405, w=16,
    h=16, alpha=255 'ÿ') at SDL_2dgl.c:478
#1  0x0804f333 in GL2D_BlitLargeSurfaceGL (src=0x823b1f0, src_r=0x0,
    dest_r=0x823b1f0, alpha=255 'ÿ') at SDL_2dgl.c:498
#2  0x0805599b in JPB_PrintSurface (src=0x823b1f0, src_r=0xafb07d90,
    dest_r=0x0) at surface.c:213
#3  0x08049f38 in drawBg (surf=0x81d6b48, x=-2, y=405, w=16, h=16) at game.c:45
#4  0x0804a031 in recoverScr (gfx=0xafb08020, game=0xafb07eb0, x=-1, y=288,
    w=45, h=45) at game.c:770
#5  0x0804a3b9 in undrawHero (heronum=0, gfx=0xafb08020, game=0xafb07eb0)
    at game.c:747
#6  0x0804bff7 in updateGame (game=0xafb07eb0, gfx=0xafb08020, ms=10)
    at game.c:462
#7  0x0804c23f in playGame (gfx=0xafb08020, numHeros=1) at game.c:261
#8  0x0804e241 in mainMenu (gfx=0xafb08020) at menu.c:249
#9  0x0804c8b3 in main (argc=1, argv=0xafb08354) at main.c:83
(gdb) The program is running.  Exit anyway? (y or n)

I can easily and consistently reproduce this, so let me know if you need
more information.

- Josh Triplett

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20060815/73c2b6ad/signature-0001.pgp


More information about the Pkg-games-devel mailing list