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 #2113 [Base] Equip soldiers seg fault
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/2113 Item 2113] imported from sourceforge.net tracker on 2013-01-28 19:22:20

--------------
Summary
--------------
Started a new campain. Built a base, did a battle. A guy got hurt :-(
After the battle, I hit the "Equip soldiers" button.
The game seg faulted. That was the first time I hit
the "Equip soldiers" button in that campain.
http://i558.photobucket.com/albums/ss30/andrewusu/Equipsoldiers.jpg

The ufoconsole.log doesn't contain anything interesting. Just these two lines repeated a bunch of times:
Could not find model 'pics/geoscape/defence'
R_RegisterModelShort: Could not find: 'pics/geoscape/defence'

I couldn't reproduce the bug by loading a recent game and retracing my steps.


--------------
System info
--------------
Xubuntu 2.6.28-11-generic x96_64


--------------
svn info
--------------
andrew@andrew-desktop:~/programs/ufoai/trunk$ svn info
Path: .
URL: https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/trunk
Repository Root: https://ufoai.svn.sourceforge.net/svnroot/ufoai
Repository UUID: 39b98707-f80d-0410-bc7e-c6b02f5409da
Revision: 24468
Node Kind: directory
Schedule: normal
Last Changed Author: bayo-fr
Last Changed Rev: 24468
Last Changed Date: 2009-05-19 15:30:30 -0600 (Tue, 19 May 2009)


--------------
gdb stuff
--------------
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f72c44b37b0 (LWP 25869)]
0x000000000052ed4f in Com_AddToInventory (i=0x30ffcd0, item=
{a = 0, m = 0x0, t = 0x5f6c130, amount = 0, rotated = 0},
container=0x6209194, x=0, y=0, amount=1) at src/game/inv_shared.c:686
686 invUnused = ic->next;
(gdb) bt full
#0 0x000000000052ed4f in Com_AddToInventory (i=0x30ffcd0, item=
{a = 0, m = 0x0, t = 0x5f6c130, amount = 0, rotated = 0},
container=0x6209194, x=0, y=0, amount=1) at src/game/inv_shared.c:686
ic = (invList_t *) 0x7f72b06bd820
__PRETTY_FUNCTION__ = "Com_AddToInventory"
#1 0x00000000004d7d29 in MN_ContainerNodeUpdateEquipment (inv=0x30ffcd0,
ed=0x7fffcc5ef1c0) at src/client/menu/node/m_node_container.c:268
item = {a = 0, m = 0x0, t = 0x5f6c130, amount = 0, rotated = 0}
i = 2
__PRETTY_FUNCTION__ = "MN_ContainerNodeUpdateEquipment"
#2 0x000000000047df83 in CL_UpdateEquipmentMenuParameters_f ()
at src/client/campaign/cp_team_callbacks.c:242
unused = {name = "campaign_player", &#039;\0&#039; <repeats 48 times>, num = {0,
0, 1, 29, 30, 0, 0, 13, 1, 6, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0,
0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 1, 12, 5, 2, 0, 0, 0, 0, 0, 0, 0,
0, 1, 11, 1, 12, 1, 9, 0, 0, 1, 10, 1, 10, 1, 10, 1, 11, 1, 12, 1, 5, 1,
12, 0, 1, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 3,
0 <repeats 14 times>, 4, 8, 0 <repeats 23 times>},
numLoose = &#039;\0&#039; <repeats 51 times>, "\031\000\000\000\004\000\000\000\000\000\000\000\000\000\006\000\000\000\003\000\000\000\000\005", &#039;\0&#039; <repeats 52 times>, minInterest = 0, maxInterest = 0}
p = 8
aircraft = (aircraft_t *) 0x30dae70
base = (base_t *) 0x30dab68
#3 0x00000000004f4409 in Cmd_ExecuteString (
text=0x7fffcc5ef4f0 "team_updateequip") at src/common/cmd.c:911
cmd = (const cmd_function_t *) 0x1e28c608
a = (const cmd_alias_t *) 0x55c3a0
str = 0x2b552578 "team_updateequip"
hash = 21
#4 0x00000000004f3195 in Cbuf_Execute () at src/common/cmd.c:228
text = 0x195b940 "update_item_list;equip_select 0;\n;equip_select 0;\nuip_select 0;\n\nst;equip_select 0;\nt;equip_select 0;\nhange\n\naircraft_status_change\nstatus_change\n\naircraft_status_change\n14\nmployeedel 14\nmployeedel 14"...
quotes = 0
i = 17
line = "team_updateequip\0000\000pment@onClose team.listen_close_equipment\000\177\000\000\000\200dA\000\000\000\000���\020Y\000\000\000\220�^��\177\000\000\000\215�\020\000\000\000\000\000\200dA\000\000\000\000\210\205�\020\000\000\000\000\220�^��\177\000\000\230\205�\020\000\000\000\000\000mQ�r\177\000\000���\020", &#039;\0&#039; <repeats 12 times>, "���\020\000\000\000\000\220�^��\177\000\000�\033gA\000\000\000\000\210[�\020\000\000\000\000�SQ�r\177\000\000\000\200dA\000\000\000\000�V"...
#5 0x000000000044f4a3 in CL_SendCommand () at src/client/cl_main.c:897
No locals.
#6 0x000000000044f9ba in CL_Frame (now=1687989, data=0x0)
at src/client/cl_main.c:1073
delta = 20
lastFrame = 1687989
#7 0x000000000050296f in tick_timer (now=1687989, data=0x112ec7c8)
at src/common/common.c:1038
timer = (struct timer *) 0x112ec7c8
old_interval = 20
lateness = 0
#8 0x0000000000502c6b in Qcommon_Frame () at src/common/common.c:1119
event = (struct event *) 0x23531078
time_to_next = 0
#9 0x000000000055abd5 in main (argc=7, argv=0x7fffcc5efae8)
at src/ports/linux/linux_main.c:58
No locals.
(gdb)
===== Comments Ported from Sourceforge =====

====== geever (2009-06-02 20:50:05) ======

Mattn did some fixes in this area and I can&#039;t reproduce it either. Please report back it it happens again.

-geever
====== sf-robot (2009-06-17 02:20:27) ======

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