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 #2722 change homebase of interceptor leads to crush
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 (1)
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/2722 Item 2722] imported from sourceforge.net tracker on 2013-01-28 19:47:16

File 'slot4' successfully loaded from compressed xml savegame.
music change to azrael1 (from van_theme)
music change to van_geoscape (from azrael1)
ufo: src/client/campaign/cp_aircraft.c:980: AIR_MoveAircraftIntoNewHomebase: Assertion `base' failed.

Program received signal SIGABRT, Aborted.
0x0012e416 in __kernel_vsyscall ()
(gdb) bt full
#0 0x0012e416 in __kernel_vsyscall ()
No symbol table info available.
#1 0x00487941 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
resultvar = <value optimized out>
pid = 5992436
selftid = 14211
#2 0x0048ae42 in abort () at abort.c:92
act = {__sigaction_handler = {sa_handler = 0xb8, sa_sigaction = 0xb8},
sa_mask = {__val = {5997648, 112, 5997504, 5992436, 5997504, 102,
3221220512, 5037661, 290024544, 5992436, 5992436, 103,
3221220712, 4972488, 290024648, 290024648, 102, 290024544, 0,
4222451712, 290024648, 290024749, 290024648, 290024648,
290024750, 290024948, 290024648, 290024948, 0, 0, 0, 0}},
sa_flags = 0, sa_restorer = 0x4}
sigs = {__val = {32, 0 <repeats 31 times>}}
#3 0x004808e8 in __assert_fail (assertion=0x8199528 "base",
file=0x8198f10 "src/client/campaign/cp_aircraft.c", line=980,
function=0x819ad80 "AIR_MoveAircraftIntoNewHomebase") at assert.c:81
buf = 0x11496df8 "ufo: src/client/campaign/cp_aircraft.c:980: AIR_MoveAircraftIntoNewHomebase: Assertion `base&#039; failed.\n"
#4 0x08089aec in AIR_MoveAircraftIntoNewHomebase (aircraft=0x1640794c,
base=0x0) at src/client/campaign/cp_aircraft.c:980
oldBase = 0x15e5502c
---Type <return> to continue, or q <return> to quit---
capacity = 4762705
l = 0x19999999
__PRETTY_FUNCTION__ = "AIR_MoveAircraftIntoNewHomebase"
#5 0x080e0c00 in CL_PopupChangeHomebase_f ()
at src/client/campaign/cp_popup.c:201
data = 0x1140d164
selectedPopupIndex = 0
i = 0
base = 0x0
baseIdx = 429496729
#6 0x0811d98c in Cmd_ExecuteString (text=0xbfffee8c "change_homebase 0")
at src/common/cmd.c:987
cmd = 0x16347454
a = 0x0
str = 0x106db924 "change_homebase"
hash = 6
#7 0x0811c615 in Cbuf_Execute () at src/common/cmd.c:248
text = 0x9367a60 "\nhange_homebase 0;\n0\n-select 200 36721\ngeoscape;\n\nusic_change geoscape;\n\nange geoscape;\n084 Dec 31\";\n\n\nset mn_slot6 \"tricky - 2084 Dec 31\";\n\n\";\nset mn_slot6 \"tricky - 2084 Dec 31\";\n\n_slot6 \"tricky - 2"...
quotes = 0
i = 18
---Type <return> to continue, or q <return> to quit---
line = "change_homebase 0\000\061\060", &#039;\000&#039; <repeats 657 times>"\360, \300\267p\006ŷ\000\017\210\020ΌY\001", &#039;\000&#039; <repeats 12 times>, "2\216`\001\000\017\210\020", &#039;\000&#039; <repeats 22 times>, "\001", &#039;\000&#039; <repeats 17 times>, "\001", &#039;\000&#039; <repeats 11 times>"\274, \361\377\277\242a/\000\000\360\300\267\001", &#039;\000&#039; <repeats 11 times>"\320, vo\020\000\017\210\020\200\a\000\000\260\004\000\000\001\000\000\000\203\067\000\000\000\000\000\000\000\360\300\267\020\000\000\000\000\000\000\000\004\000\000\000\017\000\340\004\375\257S\000\374\361\377\000X\362\377\277n\251/\000\203\067\000\000\000s\\\001\360gh\020m\346-\000\360\251\375\267\203\067\000\000\320vo\020\330\016\210\020\320vo\020\240\020|\020X\362\377\277\312\333,\000\330\016\210\020\000\360\300\267\000\000\bD\000@\025D/cursorsh\362\377\277\232G\025"...
#8 0x0805d981 in CL_SendCommand () at src/client/cl_main.c:1091
No locals.
#9 0x0805dc3b in CL_Frame (now=38210, data=0x0) at src/client/cl_main.c:1221
lastFrame = 38210
delta = 20
#10 0x0812a8ad in tick_timer (now=38210, data=0x11330f54)
at src/common/common.c:1209
timer = 0x11330f54
old_interval = 20
lateness = 0
#11 0x0812ad11 in Qcommon_Frame () at src/common/common.c:1360
time_to_next = 0
---Type <return> to continue, or q <return> to quit---
event = 0x169618ec
#12 0x08186d4f in main (argc=7, argv=0xbffff444)
at src/ports/linux/linux_main.c:55
No locals.

####

In attached save, try to change home base of flying Interceptor (by Phalanx HQ base) to Phalanx HQ.


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

====== mike-klemin (2010-11-22 21:00:27) ======


====== tlh2000 (2010-11-23 07:21:03) ======

the first error is in CL_PopupChangeHomebase_f - it does not check whether the base pointer is null (which might happen)

but this does not fix the real issue. is the base the interceptor belongs to destroyed in the meanwhile? maybe we are not handling aircraft correctly that are on geoscape when the base is destroyed?
====== mike-klemin (2010-11-23 09:09:10) ======

Not sure if you also asks me :) I am not so good with pointers, heaps and all these garbage collectors :)
But none of my bases were destroyed :)
====== geever (2010-11-30 12:13:02) ======

note that bases are not yet really destroyed....

-geever
====== geever (2010-12-05 09:44:46) ======

Fixed in 22bed0a1239336f254e78b692042fc00c9a9867c.

-geever
====== sf-robot (2010-12-19 10:20:04) ======

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