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 #3356 Segfault on quicksave in debugger
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "CAN'T REPRODUCE".
Issue basics
  • Type of issue
    Bug report
  • Category
    General
  • Targetted for
    Not determined
  • Status
    Closed
  • Progress
  • Priority
    1. Very low
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
    CAN'T REPRODUCE
  • 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/3356 Item 3356] imported from sourceforge.net tracker on 2013-01-28 20:08:16

Hi all,

I use current HEAD on:
Linux debian 2.6.32-5-amd64 #1 SMP Sun May 6 05:12:07 UTC 2012 x86_64 GNU/Linux

When I try to debug a mission, segfault happens all the time on basttlescape start:

Program received signal SIGSEGV, Segmentation fault.
0xf7bfa498 in ?? () from /usr/lib/libmxml.so.1
(gdb) bt full
#0 0xf7bfa498 in ?? () from /usr/lib/libmxml.so.1
No symbol table info available.
#1 0xf7bfc567 in ?? () from /usr/lib/libmxml.so.1
No symbol table info available.
#2 0xf7bfc7de in ?? () from /usr/lib/libmxml.so.1
No symbol table info available.
#3 0xf7bfc88c in ?? () from /usr/lib/libmxml.so.1
No symbol table info available.
#4 0xf7bfc88c in ?? () from /usr/lib/libmxml.so.1
No symbol table info available.
#5 0xf7bfc88c in ?? () from /usr/lib/libmxml.so.1
No symbol table info available.
#6 0xf7bfc88c in ?? () from /usr/lib/libmxml.so.1
No symbol table info available.
#7 0xf7bfc88c in ?? () from /usr/lib/libmxml.so.1
No symbol table info available.
#8 0xf7bfccbf in mxmlSaveString () from /usr/lib/libmxml.so.1
No symbol table info available.
#9 0x08183868 in SAV_GameSave (filename=0x81f6a2a "slotquick",
comment=0xf1e50222 "QuickSave", error=0xffffccb8)
at src/client/cgame/campaign/cp_save.cpp:307
res = -236649950
bufLen = 4294954116
---Type <return> to continue, or q <return> to quit---
message = "2084 Oct 26\000\220\314\377\377\377\377\377\377 j\037\b\n\000\000\000\364", <incomplete sequence \357>
timeStampBuffer = "2012/08/20 17:37:08\000\210\000j\n\250\275P\n\005\000\000"
buf = 0x0
node = 0xf40ee50
savegame = "save/slotquick.savx\000H\000\000\000\000\000\000\000(\t\000\000\240\003\250\367p\t\000\000\320\003\250\367(\t\000\000\240\003\250\367\364\357\247\367\240\003\250\367\216\223\232\367\274\312\377\377\255\270\232\367\036\000\000\000\364\357\247\367\364\357\247\367P\356@\017 \313\377\377 @\226\367P\356@\017P\356@\017:\000\000\000\254\003\250\367\003\000\000\000\020\000\000\000\271.\t\b\330\003\250\367h\364O\016\320\003\250\367\364\357\247\367\030", &#039;\000&#039; <repeats 11 times>"\240, \003\250\367\000\000\000\000|\215!\n\364\357\247\367\240\003\250\367\377\377\377\377\064\313\377\377|\271\232\367P\t\226\367\244\253@\017\034\373\067\017\364\357\247\000\270\267\060\017\377\377\377\377\204\313\377\377\357V\240\367L\335L\016\377\377\377\377\377\377\377\377\001\000\000\000\240\003\250\367\230\006\000\000\334\356\006\017P\216\361\n\377\377\377\377L\335L\016"
requiredBufferLength = 0
dummy = "<?"
fbuf = 0x5 <Address 0x5 out of bounds>
topNode = 0xf40abc8
header = {version = 4, compressed = 1, subsystems = 21, dummy = {
0 <repeats 13 times>},
---Type <return> to continue, or q <return> to quit---
gameVersion = "2.5-dev\000\000\000\000\000\000\000\000",
name = "QuickSave", &#039;\000&#039; <repeats 22 times>,
gameDate = "2084 Oct 26", &#039;\000&#039; <repeats 20 times>,
realDate = "2012/08/20 17:37:08", &#039;\000&#039; <repeats 12 times>,
xmlSize = 0}
i = 21
date = {year = 2084, month = 10 &#039;\n&#039;, day = 26 &#039;\032&#039;,
hour = 20 &#039;\024&#039;, min = 25 &#039;\031&#039;, sec = 49 &#039;1&#039;}
#10 0x0818421a in SAV_QuickSave () at src/client/cgame/campaign/cp_save.cpp:566
error = 0x0
result = 8
#11 0x0814d55c in CP_StartMissionMap (mission=0xe8b4b10,
battleParameters=0xa1c0210)
at src/client/cgame/campaign/cp_missions.cpp:115
param = 0x0
__PRETTY_FUNCTION__ = "void CP_StartMissionMap(mission_t*, const battleParam_t*)"
#12 0x0815feab in CP_StartSelectedMission ()
at src/client/cgame/campaign/cp_campaign.cpp:849
mis = 0xe8b4b10
aircraft = 0xe88b300
base = 0xa21890c
battleParam = 0xa1c0210
---Type <return> to continue, or q <return> to quit---
#13 0x080be318 in Cmd_ExecuteString (text=0xffffcd84 "game_go")
at src/common/cmd.cpp:951
cmd = 0xe81b288
a = 0x0
str = 0xe56fe48 "game_go"
hash = 16
#14 0x080bd023 in Cbuf_Execute () at src/common/cmd.cpp:248
text = 0x88c1320 "\name_go;\n00 42938\ngame_go;\nt 200 42938\nady_update\nusic_change geoscape;\n\nange geoscape;\nr (e.g. ~/.ufoai/<version>/base) to execute it\n\nversion\n\nd popup_tipoftheday main;check_cvars;\nild popup_tipofth"...
quotes = 0
i = 8
line = "game_go\000\062\060\060 42938\000\063\070", &#039;\000&#039; <repeats 596 times>, "X\267\336\367\000\000\000\000\000\000\000\000\235#\000\000\350Nj\n\220\342V\n\000\000\000\000p\037f\ň\336\367\220\342V\n", &#039;\000&#039; <repeats 22 times>, "@\000X\267\336\367\000\060X\362\264\025\\\362\230\037f\n\016\026\362\366\001\000\000\000\220\320\377\377\274\320\377\377\362\247\263\366\230\037f\n\230\037f\n\001\000\000\000\022\216\336\367\220\342V\nx\257Q\n\224\000\001\000p\037f\np\037f\n\001\000\000\000\000\000\000\000\001", &#039;\000&#039; <repeats 11 times>"\274, \320\377\377\342\a\334\367\000\060X\362\001", &#039;\000&#039; <repeats 11 times>, "܄h\n\230\037f\n\000\004\000\000\000\003\000\000\001\000\000\000\017\000@\004\226\000\000\000\000\060X\362\000\000\000\000\000\000\000\000\004\000\000\000\017\000@\004\000p------Type <return> to continue, or q <return> to quit---
\\\362\017\000@\000X\321\377\377\376\261\336\367\235#\000\000\300"...
#15 0x0805a3c8 in CL_SendCommand () at src/client/cl_main.cpp:988
No locals.
#16 0x0805a6c6 in CL_Frame (now=42918, data=0x0) at src/client/cl_main.cpp:1125
lastFrame = 42918
delta = 40
#17 0x080caf2e in tick_timer (now=42918, data=0xe329618)
at src/common/common.cpp:1310
timer = 0xe329618
old_interval = 20
lateness = 20
#18 0x080cb39d in Qcommon_Frame () at src/common/common.cpp:1452
event = {p_ = 0xf33eb08}
time_to_next = 0
#19 0x081326d3 in main (argc=7, argv=0xffffd384)
at src/ports/linux/linux_main.cpp:55
No locals.
(gdb) bt full

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

====== nokim (2012-08-31 08:41:29.062000) ======

What if try to get uncompressed save and check soldiers&#039; ranks? I suspect they are corrupted. Or just load game several times (with some activity between) and check ranks in employee list on bases.
====== aduke1 (2012-09-17 20:25:05.736000) ======

Certainly not SVN_Trunk ;)
====== aduke1 (2012-10-09 23:21:28.631000) ======

- **assigned_to**: Martin Gerhardy
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