UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Bug report #279 segfault loading savegame, reproducible.
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Bug report
  • Category
    Campaign
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    3. Normal
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/279 Item 279] imported from sourceforge.net tracker on 2013-01-28 18:15:21

Simply try to load the attached savegame for a
segfault. console log and gdb backtrace follows. Also,
the savegame seems suspiciously small. Maybe it
actually is a bug in the save game function? Still,
would be nice if it didn't segfault.

Second stage parsing started...
FindFile: ./base/ufos/armor.ufo
FindFile: ./base/ufos/basemanagement.ufo
FindFile: ./base/ufos/campaign.ufo
stage: intro
stage: ufos_are_coming
stage: invasion
stage: alienbase
FindFile: ./base/ufos/equipment.ufo
FindFile: ./base/ufos/equipment_missions.ufo
FindFile: ./base/ufos/events.ufo
FindFile: ./base/ufos/fonts.ufo
FindFile: ./base/ufos/inventory.ufo
FindFile: ./base/ufos/medals.ufo
FindFile: ./base/ufos/menu_aircraft.ufo
FindFile: ./base/ufos/menu_althud.ufo
FindFile: ./base/ufos/menu_bases.ufo
FindFile: ./base/ufos/menu_buildings.ufo
FindFile: ./base/ufos/menu_buy.ufo
FindFile: ./base/ufos/menu_campaign.ufo
FindFile: ./base/ufos/menu_geoscape.ufo
FindFile: ./base/ufos/menu_hire.ufo
FindFile: ./base/ufos/menu_hud.ufo
FindFile: ./base/ufos/menu_lostwon.ufo
FindFile: ./base/ufos/menu_main.ufo
FindFile: ./base/ufos/menu_multiplayer.ufo
FindFile: ./base/ufos/menu_nohud.ufo
FindFile: ./base/ufos/menu_options.ufo
FindFile: ./base/ufos/menu_production.ufo
FindFile: ./base/ufos/menu_research.ufo
FindFile: ./base/ufos/menu_singleplayer.ufo
FindFile: ./base/ufos/menu_stats.ufo
FindFile: ./base/ufos/menu_team.ufo
FindFile: ./base/ufos/menu_transfer.ufo
FindFile: ./base/ufos/menu_tutorials.ufo
FindFile: ./base/ufos/menu_ufopedia.ufo
FindFile: ./base/ufos/missions.ufo
FindFile: ./base/ufos/models.ufo
FindFile: ./base/ufos/nations.ufo
FindFile: ./base/ufos/ptl_misc.ufo
FindFile: ./base/ufos/ptl_weaponsfx.ufo
FindFile: ./base/ufos/research.ufo
FindFile: ./base/ufos/seq_credits.ufo
FindFile: ./base/ufos/seq_ingame.ufo
FindFile: ./base/ufos/seq_intro.ufo
FindFile: ./base/ufos/seq_modelview.ufo
FindFile: ./base/ufos/seq_tutorials.ufo
FindFile: ./base/ufos/shaders.ufo
FindFile: ./base/ufos/team_aliens.ufo
FindFile: ./base/ufos/team_civilians.ufo
FindFile: ./base/ufos/team_humans.ufo
FindFile: ./base/ufos/weapons.ufo
FindFile: ./base/ufos/weapons_human.ufo
FindFile: ./base/ufos/weapons_laser.ufo
FindFile: ./base/ufos/weapons_melee.ufo
FindFile: ./base/ufos/weapons_plasma.ufo
FindFile: ./base/ufos/weapons_tachyon.ufo
FindFile: ./base/ufos/weapons_ugv.ufo
Global data loaded - size 5542288 bytes
FindFile: ./base/pics/menu/map_earth_mask.tga
FindFile: ./base/pics/menu/map_earth_nations.tga

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1212524864 (LWP 546)]
0x0805b794 in CL_UpdatePointersInGlobalData () at
client/cl_campaign.c:1502
1502
gd.employees[type][i].chr.inv = &gd.employees[type][i].inv;
(gdb) bt
#0 0x0805b794 in CL_UpdatePointersInGlobalData () at
client/cl_campaign.c:1502
#1 0x0805bd8b in CL_GameLoad (filename=0x1a64bc10 "slot3")
at client/cl_campaign.c:1650
#2 0x0805c7c7 in CL_GameLoadCmd () at
client/cl_campaign.c:1840
#3 0x0808faa7 in Cmd_ExecuteString (text=0xbfc9cb34
"game_load slot3")
at qcommon/cmd.c:793
#4 0x0808ed74 in Cbuf_Execute () at qcommon/cmd.c:263
#5 0x0806fcce in CL_SendCommand () at
client/cl_main.c:1381
#6 0x080703ba in CL_Frame (msec=1) at
client/cl_main.c:1590
#7 0x08098cd1 in Qcommon_Frame (msec=1) at
qcommon/common.c:1540
#8 0x080b027c in main (argc=10, argv=0xbfc9d0c4)
at ports/linux/sys_linux.c:421
(gdb)

===== Comments Ported from Sourceforge =====

====== jkaartinen (2006-08-31 22:37:45) ======

savegame causing the segfault.
====== jkaartinen (2006-08-31 22:40:06) ======

if a more complete log is needed.
====== cassiterite (2006-09-01 21:50:30) ======

Logged In: YES
user_id=1171370

From discussion on the forums with the bug submitter it is
believed this is likely to have been caused caused by an
out-of-disk space condition while saving the game
(corrupting the save-game file so subsequent loads fail).

This in-itself would be a bug - insufficient checking in the
save-game routine for free disk-space (albiet rather minor I
would say).
====== cassiterite (2006-09-01 21:51:16) ======

Logged In: YES
user_id=1171370

In my previous comment I meant to say:

"From discussion on IRC with the bug submitter"....
====== cassiterite (2006-09-07 23:11:21) ======

Logged In: YES
user_id=1171370

I'm updating the status of this bug to pending (see my
previous comments).
====== sf-robot (2006-09-22 02:20:13) ======

Logged In: YES
user_id=1312539

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif