Warzone2100 / old-trac-import

Archived Import of (old) Warzone 2100 Trac
0 stars 0 forks source link

Crash when trying to design a sensor turret with python body and full tracks in campaign #437

Closed wzdev-ci closed 15 years ago

wzdev-ci commented 15 years ago

keyword_campaign keyword_python_body keyword_sensor keyword_tracks. resolution_fixed type_bug | by Asterisk


Crash when trying to design a sensor turret with python body and full track,in campaign.

Operating system: windows xp

This error came up:

Microsoft visual c++ runtime libary
Assertion fail!

Program: C:\Program Files\Warzone 2100\warzone2100.exe
File:Frame.c
Line:419

Expression: !"openSaveFile: couldn't open file for writing"

For information on how your program can cause an assertion fail, see the C++ document on asserts.

(Press retry to debug the application -JIT must be enabled.)

Abort Retry Ignore

Abort... aborts the whole thing Retry just makes it pop up again... Ignore aborts the whole thing aswell...


Issue migrated from trac:437 at 2022-04-15 18:13:10 -0700

wzdev-ci commented 15 years ago

Asterisk uploaded file crash.png (12.3 KiB)

crash image crash.png

wzdev-ci commented 15 years ago

Rhamphoryncus commented


I've ran into a crash with the sensor turret before. What I found is that numWeapons was 0 but the asWeapon slots were garbage (or possibly an negative number, but the slots are unsigned). The game expects the first slot to be 0, even when numWeapons is 0. The cases I looked at sustained this invariant, so it may be a case I didn't look at, or uninitialized memory, or simply corruption. I'm afraid I don't know more than that.

wzdev-ci commented 15 years ago

Giel commented


Please see WikiFormatting to understand how special formatting works here (BB-code isn't supported).

wzdev-ci commented 15 years ago

Giel edited the issue description

wzdev-ci commented 15 years ago

Giel commented


Asterisk could you attach the warzone2100.RPT file (in the same directory as where warzone is installed)?

wzdev-ci commented 15 years ago

Giel changed status from new to closed

wzdev-ci commented 15 years ago

Giel set resolution to needinfo

wzdev-ci commented 14 years ago

Buginator removed milestone (was 2.2)

wzdev-ci commented 14 years ago

Buginator commented


Milestone 2.2 deleted

wzdev-ci commented 5 years ago

Topi Miettinen toiwoton@... changed owner from ` toTopi Miettinen toiwoton@gmail.com`

wzdev-ci commented 5 years ago

Topi Miettinen toiwoton@... changed resolution from Requesting more information about issue to fixed

wzdev-ci commented 5 years ago

Topi Miettinen toiwoton@... committed [244]


In https://github.com/Warzone2100/warzone2100/commit/244fd2cbcb12465866191dcc7203aca7719fab8c:

#CommitTicketReference repository="" revision="244fd2cbcb12465866191dcc7203aca7719fab8c"
Fix a crash when loading a saved game of a challenge from CLI

Closes #437.