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 #494 Crash in RS_ResearchDisplayInfo when discovering bolter
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
    Engine
  • 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/494 Item 494] imported from sourceforge.net tracker on 2013-01-28 18:21:29

group: trunk r6194
During the game in geoscape, the game crashes.

==== ShutdownGame ====
Savefile version 5 detected
Global data loaded - size 54033632 bytes
Activate stage intro
Campaign 'slot5' loaded.
Initializing aircraft and aircraft-items ...
...aircraft and aircraft-items inited
Cmd_AddCommand: popup_aircraft_action_click already defined
Cmd_AddCommand: ships_click already defined
Cmd_AddCommand: ships_rclick already defined
Cmd_AddCommand: multi_select_click already defined
Changing to Singleplayer

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 14198)]
0x00000000004145e2 in RS_ResearchDisplayInfo () at cl_research.c:559
559 if (tech->scientists > 0) {
(gdb) bt
#0 0x00000000004145e2 in RS_ResearchDisplayInfo () at cl_research.c:559
#1 0x0000000000415333 in RS_UpdateData () at cl_research.c:969
#2 0x000000000041563a in CL_CheckResearchStatus () at cl_research.c:1089
#3 0x000000000041b971 in CL_CampaignRun () at cl_campaign.c:1291
#4 0x000000000043ebb4 in MN_DrawMenus () at cl_menu.c:2243
#5 0x0000000000449c88 in SCR_UpdateScreen () at cl_scrn.c:711
#6 0x00000000004382f0 in CL_Frame (msec=11) at cl_main.c:2297
#7 0x000000000046b627 in Qcommon_Frame (msec=8) at common.c:1629
#8 0x000000000048b849 in main (argc=1, argv=0x7fffba2b4b18) at sys_linux.c:644

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

====== decamps (2007-02-10 13:39:16) ======

Logged In: YES
user_id=698517
Originator: YES

This happens when I was going to discover something for the first time.

The problem is that researchListPos is -1


gdb) output tech
(technology_t *) 0x0
(gdb) output researchListPos
-1

The problem is that the 'bolter' which I was going to discover does not seem to be in the tech list...
(gdb) output researchList[0]->id
"rs_laser", &#039;\0&#039; <repeats 55 times>
(gdb) output researchList[1]->id
"rs_weapon_kerrblade", &#039;\0&#039; <repeats 44 times>
(gdb) output researchList[2]->id
"rs_weapon_plasatomizer", &#039;\0&#039; <repeats 41 times>
(gdb) output researchList[3]->id
"rs_weapon_plasatomizer_ammo", &#039;\0&#039; <repeats 36 times>
(gdb) output researchList[4]->id
"rs_weapon_plasblaster", &#039;\0&#039; <repeats 42 times>
(gdb) output researchList[5]->id
"rs_weapon_plasblaster_ammo", &#039;\0&#039; <repeats 37 times>
(gdb) output researchList[6]->id
"rs_weapon_plasrifle", &#039;\0&#039; <repeats 44 times>
(gdb) output researchList[7]->id
"rs_weapon_plasrifle_ammo", &#039;\0&#039; <repeats 39 times>
(gdb) output researchList[8]->id
"rs_building_small_ufo_hangar", &#039;\0&#039; <repeats 35 times>
(gdb) output researchList[9]->id
"rs_building_large_ufo_hangar", &#039;\0&#039; <repeats 35 times>
(gdb) output researchList[10]->id
"rs_alien_ortnok_autopsy", &#039;\0&#039; <repeats 40 times>
(gdb) output researchList[11]->id
"rs_alien_taman_autopsy", &#039;\0&#039; <repeats 41 times>
(gdb) output researchList[12]->id
"rs_alien_taman_autopsy", &#039;\0&#039; <repeats 41 times>(gdb)

====== voovoos (2007-02-10 15:34:16) ======

Logged In: YES
user_id=194458
Originator: NO

Thanks for this bugreport. Apparently we introduced this segfault when fixing an other one. :-) I&#039;ve commited a fix in r6201.
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