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 #2074 2.3-SVN-HEAD asserts in cl_transfer.c
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
    General
  • 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/2074 Item 2074] imported from sourceforge.net tracker on 2013-01-28 19:18:54

I got the following assert when I have transfered an interceptor (Saracen, or so) to another base:

ufo: src/client/campaign/cl_transfer.c:795: TR_EmptyTransferCargo: Assertion `aircraft' failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb62aa930 (LWP 30231)]
0xb7ba47c6 in raise () from /lib/libc.so.6
(gdb) bt full
#0 0xb7ba47c6 in raise () from /lib/libc.so.6
No symbol table info available.
#1 0xb7ba5fd8 in abort () from /lib/libc.so.6
No symbol table info available.
#2 0xb7b9d840 in __assert_fail () from /lib/libc.so.6
No symbol table info available.
#3 0x080ef762 in TR_EmptyTransferCargo (destination=0xa1bd430, transfer=0xa25b468, success=qtrue)
at src/client/campaign/cl_transfer.c:795
aircraft = (aircraft_t *) 0x0
i = 63
j = 135845824
__PRETTY_FUNCTION__ = "TR_EmptyTransferCargo"
#4 0x080efea7 in TR_TransferEnd (transfer=0xa25b468) at src/client/campaign/cl_transfer.c:985
message = "\000 ²E\000\000\000\000\002\002ï¾\000(\000\000\000\005\000\000\000\004\000\000\001\000\000\000\n\000\000\000\n\000\000\000\001\000\000\000\002\000\000\000Ú§\020·à]âµ\000\b\000\000\001\000\000\000\000\000\000\000\200\235Ä·\202¼\023\b\bÀ\021¶ \206\001\000À×\030\b\200\220\006\b\b=Ø¿_¨Ä·\002", &#039;\0&#039; <repeats 11 times>, "\202¼\023\bÀ×\030\b\200\220\006\bH=Ø¿\200\235Ä·\200\235Ä·_¶\r\b\bÀ\021¶ @Ø¿\200\235Ä·\a\202\n\b\bÀ\021¶ @Ø¿À×\030\b\200\220\006\bX=Ø¿_¨Ä·\226\000\000\000\226\000\000\000\a\000\000\000\a\202\n\bÀ×\030\b\200\235Ä·["...
destination = (base_t *) 0xa1bd430
__PRETTY_FUNCTION__ = "TR_TransferEnd"
#5 0x080f1a2f in TR_TransferCheck () at src/client/campaign/cl_transfer.c:1677
transfer = (transfer_t *) 0xa25b468
i = 0
__PRETTY_FUNCTION__ = "TR_TransferCheck"
#6 0x080c5cf5 in CL_CampaignRun () at src/client/campaign/cl_campaign.c:795
currenthour = 3
date = {year = -10864, month = 17 &#039;\021&#039;, day = 8 &#039;\b&#039;, hour = 8 &#039;\b&#039;, min = 192 &#039;À&#039;, sec = 17 &#039;\021&#039;}
currentinterval = 1515
checks = 8
dt = 14256
i = 8
timeAlreadyFlied = 12885
__PRETTY_FUNCTION__ = "CL_CampaignRun"
#7 0x0811d5ac in MN_MapNodeDraw (node=0xa3c3110) at src/client/menu/node/m_node_map.c:41
pos = {4.35903932e-34, -1.68941069}
#8 0x0810a583 in MN_DrawNode (node=0xa3c3110) at src/client/menu/m_draw.c:223
child = (menuNode_t *) 0x810da9b
#9 0x0810a599 in MN_DrawNode (node=0xa3c2f70) at src/client/menu/m_draw.c:228
child = (menuNode_t *) 0xa3c3110
#10 0x0810a6b1 in MN_Draw () at src/client/menu/m_draw.c:272
hoveredNode = (menuNode_t *) 0xa3c4e50
menu = (menuNode_t *) 0xa3c2f70
pos = 0
mouseMoved = qfalse
__PRETTY_FUNCTION__ = "MN_Draw"
#11 0x080965c1 in SCR_UpdateScreen () at src/client/cl_screen.c:505
No locals.
#12 0x0808e54a in CL_Frame (now=2566976, data=0x0) at src/client/cl_main.c:1098
delta = 33
last_frame = 2566976
#13 0x0813d73d in tick_timer (now=2566976, data=0x170fabb4) at src/common/common.c:1084
timer = (struct timer *) 0x170fabb4
old_interval = 20
lateness = 14
#14 0x0813da15 in Qcommon_Frame () at src/common/common.c:1165
event = (struct event *) 0x1f68164c
time_to_next = 0
#15 0x0818c093 in main (argc=1, argv=0xbfd840a4) at src/ports/linux/linux_main.c:58
No locals.
------------------------------------------
If you need that savegame, I can attach it here. :)
===== Comments Ported from Sourceforge =====

====== quixy (2009-03-13 15:33:04) ======

Yet another crash:
http://rafb.net/p/Uv3UoW36.html

And here is savegame:
http://www.mxchange.org/downloads/ufo-ai/slot0.zip
====== tlh2000 (2009-03-13 16:57:31) ======

ufo: src/client/campaign/cl_transfer.c:795: TR_EmptyTransferCargo: Assertion `aircraft&#039; failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb63f5930 (LWP 10094)]
0xb7cef7c6 in raise () from /lib/libc.so.6
(gdb) bt full
#0 0xb7cef7c6 in raise () from /lib/libc.so.6
No symbol table info available.
#1 0xb7cf0fd8 in abort () from /lib/libc.so.6
No symbol table info available.
#2 0xb7ce8840 in __assert_fail () from /lib/libc.so.6
No symbol table info available.
#3 0x080eecf2 in TR_EmptyTransferCargo (destination=0xa209364, transfer=0xa25a668, success=qtrue)
at src/client/campaign/cl_transfer.c:795
aircraft = (aircraft_t *) 0x0
i = 63
j = 135843152
__PRETTY_FUNCTION__ = "TR_EmptyTransferCargo"
#4 0x080ef437 in TR_TransferEnd (transfer=0xa25a668) at src/client/campaign/cl_transfer.c:985
message = "¡S\032\b`+ö\t\000\000\000\000\000\000\000\000üìÜ¿\005\000\000\000(íÜ¿§Â\v\b¡S\032\b`+ö\tÙ\200\003¶\025\000\000\000\016\000\000\000\022\000\000\000\000\000\000\000\001\000\000\000\001\000\000\000$\b\f\022\025\016\036¿\221ý\003¶¬ù\036\nK\005\004¶HíÜ¿\bÃ\v\bf\000\000\000\001\000\000\000xíÜ¿_XÙ·|K°\030\001\000\000\000xíÜ¿x§\017\b\200MÙ·ï«\r\b\b\200&¶pðÜ¿\200MÙ·\037x\n\b\b\200&¶pðÜ¿PÍ\030\b\200\220\006\b¨íÜ¿_XÙ·\226\000\000\000\226\000\000\000\a\000\000\000\037x\n\bPÍ\030\b\200MÙ·"...
destination = (base_t *) 0xa209364
__PRETTY_FUNCTION__ = "TR_TransferEnd"
#5 0x080f0fbf in TR_TransferCheck () at src/client/campaign/cl_transfer.c:1677
transfer = (transfer_t *) 0xa25a668
i = 0
__PRETTY_FUNCTION__ = "TR_TransferCheck"
#6 0x080c5285 in CL_CampaignRun () at src/client/campaign/cl_campaign.c:795
currenthour = 18
date = {year = -13548, month = 17 &#039;\021&#039;, day = 8 &#039;\b&#039;, hour = 8 &#039;\b&#039;, min = 128 &#039;\200&#039;, sec = 38 &#039;&&#039;}
currentinterval = 582
checks = 8
dt = 14688
i = 8
timeAlreadyFlied = 13818
__PRETTY_FUNCTION__ = "CL_CampaignRun"
#7 0x0811cb30 in MN_MapNodeDraw (node=0xa3c2310) at src/client/menu/node/m_node_map.c:41
pos = {4.35781608e-34, -1.72604132}
#8 0x08109b1b in MN_DrawNode (node=0xa3c2310) at src/client/menu/m_draw.c:223
child = (menuNode_t *) 0x810d033
#9 0x08109b31 in MN_DrawNode (node=0xa3c2170) at src/client/menu/m_draw.c:228
child = (menuNode_t *) 0xa3c2310
#10 0x08109c49 in MN_Draw () at src/client/menu/m_draw.c:272
hoveredNode = (menuNode_t *) 0xa3c4050
menu = (menuNode_t *) 0xa3c2170
pos = 0
mouseMoved = qfalse
__PRETTY_FUNCTION__ = "MN_Draw"
#11 0x08095ec9 in SCR_UpdateScreen () at src/client/cl_screen.c:505
No locals.
#12 0x0808de52 in CL_Frame (now=64749, data=0x0) at src/client/cl_main.c:1098
delta = 34
last_frame = 64749
#13 0x0813ccc1 in tick_timer (now=64749, data=0x1638be64) at src/common/common.c:1084
timer = (struct timer *) 0x1638be64
old_interval = 20
lateness = 13
#14 0x0813cf99 in Qcommon_Frame () at src/common/common.c:1165
event = (struct event *) 0x18d251c4
time_to_next = 0
#15 0x0818b627 in main (argc=1, argv=0xbfdcf0f4) at src/ports/linux/linux_main.c:58
No locals.
====== tlh2000 (2009-03-13 16:58:45) ======


====== quixy (2009-03-17 21:51:56) ======

The debug backtrace now looks a bit different with latest HEAD revision:

ufo: src/client/campaign/cl_transfer.c:801: TR_EmptyTransferCargo: Assertion `aircraft&#039; failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb6364710 (LWP 6515)]
0xb7ca27c6 in raise () from /lib/libc.so.6
(gdb) bt full
#0 0xb7ca27c6 in raise () from /lib/libc.so.6
No symbol table info available.
#1 0xb7ca3fd8 in abort () from /lib/libc.so.6
No symbol table info available.
#2 0xb7c9b840 in __assert_fail () from /lib/libc.so.6
No symbol table info available.
#3 0x080ee95a in TR_EmptyTransferCargo (destination=0xa2088a4, transfer=0xa259ba8, success=qtrue)
at src/client/campaign/cl_transfer.c:801
aircraft = (aircraft_t *) 0x0
i = 63
j = 135842976
__PRETTY_FUNCTION__ = "TR_EmptyTransferCargo"
#4 0x080ef09f in TR_TransferEnd (transfer=0xa259ba8) at src/client/campaign/cl_transfer.c:991
message = "¡Q\032\b  ö\t\000\000\000\000\000\000\000\000¬ \230¿\005\000\000\000Ø \230¿\177¾\v\b¡Q\032\b  ö\tÙpúµ\027\000\000\000\t\000\000\000\022\000\000\000\000\000\000\000\001\000\000\000\001\000\000\000$\b\f\022\027\t*¿\221íúµìî\036\nKõúµø \230¿à¾\v\bf\000\000\000\001\000\000\000(!\230¿_\210Ô·\234\227\220\031\001\000\000\000(!\230¿d¤\017\b\200}Ô·7ª\r\b\bp\035¶ $\230¿\200}Ô·\233t\n\b\bp\035¶ $\230¿ Ì\030\b\020\221\006\bX!\230¿_\210Ô·\226\000\000\000\226\000\000\000\a\000\000\000\233t\n\b Ì\030\b\200}Ô·"...
destination = (base_t *) 0xa2088a4
__PRETTY_FUNCTION__ = "TR_TransferEnd"
#5 0x080f0c8c in TR_TransferCheck () at src/client/campaign/cl_transfer.c:1679
transfer = (transfer_t *) 0xa259ba8
i = 0
__PRETTY_FUNCTION__ = "TR_TransferCheck"
#6 0x080c4e56 in CL_CampaignRun () at src/client/campaign/cl_campaign.c:797
currenthour = 18
date = {year = -13616, month = 17 &#039;\021&#039;, day = 8 &#039;\b&#039;, hour = 8 &#039;\b&#039;, min = 112 &#039;p&#039;, sec = 29 &#039;\035&#039;}
currentinterval = 582
checks = 12
dt = 21600
i = 12
timeAlreadyFlied = 21018
__PRETTY_FUNCTION__ = "CL_CampaignRun"
#7 0x0811caec in MN_MapNodeDraw (node=0xa3c1850) at src/client/menu/node/m_node_map.c:41
pos = {-2.53358721e-05, -1.18855619}
#8 0x0810982b in MN_DrawNode (node=0xa3c1850) at src/client/menu/m_draw.c:223
child = (menuNode_t *) 0xb7d4885f
#9 0x08109841 in MN_DrawNode (node=0xa3c16b0) at src/client/menu/m_draw.c:228
child = (menuNode_t *) 0xa3c1850
#10 0x08109959 in MN_Draw () at src/client/menu/m_draw.c:272
hoveredNode = (menuNode_t *) 0xa3c3590
menu = (menuNode_t *) 0xa3c16b0
pos = 0
mouseMoved = qfalse
__PRETTY_FUNCTION__ = "MN_Draw"
#11 0x08095a9d in SCR_UpdateScreen () at src/client/cl_screen.c:502
No locals.
#12 0x0808da46 in CL_Frame (now=64033, data=0x0) at src/client/cl_main.c:1098
delta = 50
last_frame = 64033
#13 0x0813cc25 in tick_timer (now=64033, data=0x17620d0c) at src/common/common.c:1084
timer = (struct timer *) 0x17620d0c
old_interval = 20
lateness = 36
#14 0x0813cefd in Qcommon_Frame () at src/common/common.c:1165
event = (struct event *) 0x194bad94
time_to_next = 0
#15 0x0818b57f in main (argc=1, argv=0xbf9824a4) at src/ports/linux/linux_main.c:58
No locals.

====== geever (2009-03-17 22:28:21) ======

committed a fix in r23582.

-geever
====== sf-robot (2009-04-01 02:20:22) ======

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