bugGlobulation 2 - Bugs: bug #8741, Abort trap: Assertion failed: (s),...

 
 

bug #8741: Abort trap: Assertion failed: (s), function Surface, file Sprite.cpp, line 38.

Submitted by:  None
Submitted on:  Thu 29 Apr 2004 03:58:08 PM UTC  
 
Severity: 3 - NormalStatus: Works For Me
Assigned to: NoneOpen/Closed: Closed
Release: NoneOperating System: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 06 Aug 2004 05:10:04 PM UTC, comment #1:

I'm sorry but it is an SDL bug. This function should never return NULL when source is non-NULL (which it is).

You can try with latest CVS, and if the problem is still there, report it to SDL (http://www.libsdl.org)

Good luck,

Steph

Stephane Magnenat <nct>
Project Administrator
Thu 29 Apr 2004 03:58:08 PM UTC, original submission:

I have just built Glob2 on FreeBSD-current (using the freshly commited port) and have observed a number of aborts within minutes of playing. Sometimes the program just aborts without useful error message, but here I got a failed assertion:

g- global gradient to building bgid=1029@(94, 81) failed! p=(88, 82), canSwim=0
g- global gradient to building bgid=3074@(70, 35) failed! p=(59, 32), canSwim=0
g- global gradient to building bgid=1029@(94, 81) failed! p=(88, 82), canSwim=0
g- global gradient to building bgid=1028@(97, 84) failed! p=(88, 82), canSwim=0
Assertion failed: (s), function Surface, file Sprite.cpp, line 38.
Abort trap

The failed assertion is the 3rd line within function Surface():

Sprite::Surface::Surface(SDL_Surface *source)
{
assert(source);
s = SDL_DisplayFormatAlpha(source);
assert(s);
SDL_FreeSurface(source);

this->t = -1;
#ifdef HAVE_LIBGL
// TODO : if we use GL (check on graphicContext, allocate GL texture)
#endif
}

The program has been built/linked against the following packages:

XFree86-libraries-4.3.0
aalib-1.4.r5
arts-1.2.2
esound-0.2.34
expat-1.95.7
fontconfig-2.2.2
freetype2-2.1.7
gettext-0.13.1
glib-2.4.0
guilib-1.1.1
jpeg-6b
lcms-1.09
libXft-2.1.6
libaudiofile-0.2.6
libiconv-1.9.1
libmad-0.15.0b
libmng-1.0.7
libogg-1.1
libvorbis-1.0.1
nas-1.6
pkgconfig-0.15.0
png-1.2.5
qt-3.3.1
sdl-1.2.7
sdl_image-1.2.3
sdl_net-1.2.5
svgalib-1.4.3
tiff-3.6.1

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #1268:  Auto_save.game.bz2 added by None (24KiB - application/x-bzip2 - Auto save file (saved game aborts within half a minute on my system, regardless of user actions))

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 06 Aug 2004 05:10:04 PM UTCnctStatusNone=>Works For Me
  Open/ClosedOpen=>Closed
Thu 29 Apr 2004 03:58:08 PM UTCNoneAttached File-=>Added Auto_save.game.bz2, #1253

Back to the top


Powered by Savane 3.1-cleanup1