boswars crashed with SIGSEGV

Bug #333544 reported by Sune Keller
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
boswars (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: boswars

I don't know if this debug text was printed upon crash or earlier, but here it is:
"FIXME: storing destroyed Goal - loading will fail
Looping !
Looping !

"

The game window of course disappeared when the game crashed.

I could only send a SIGINT to interrupt the program, which was still running, after which I got this segmentation fault.

ProblemType: Crash
Architecture: i386
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/games/boswars
Package: boswars 2.5-1
ProcCmdline: boswars
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_DK.UTF-8
Signal: 11
SourcePackage: boswars
Stacktrace: #0 0x080dd40a in ?? ()
StacktraceTop: ?? ()
ThreadStacktrace:

Title: boswars crashed with SIGSEGV
Uname: Linux 2.6.28-8-generic i686
UserGroups: adm admin audio cdrom dialout dip fax floppy fuse lpadmin netdev plugdev powerdev pulse pulse-rt sambashare scanner tape users video

Revision history for this message
Sune Keller (sune-keller) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:SaveUnit ()

Changed in boswars:
importance: Undecided → Medium
Revision history for this message
Kalle Olavi Niemitalo (kon) wrote :

The crash was caused by a null pointer dereference. The disassembly shows a loop that follows a linked list and increments a counter. The SaveUnit function in boswars-2.5 has two loops like that; both deal with CConstructionFrame::Next.

Upstream commit r9536 (in boswars-2.5) or r9538 (in trunk) may fix this crash.

Revision history for this message
DaveRunkle (dwrunkle1) wrote :

Mine is basically the same. Saved game more than once. Exited Bos Wars. Came back later the tried to load the saved game.

Revision history for this message
dino99 (9d9) wrote :

This version has expired long ago; no more supported

Changed in boswars (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.