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 #5626 SEGFAULT in Item::getReactionFireWeaponType()
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue basics
  • Type of issue
    Bug report
  • Category
    Battlescape
  • Targetted for
    Not determined
  • Status
    Closed
  • Progress
  • Priority
    Not determined
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
    RESOLVED
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Trivial
  • Platform
    Linux
  • Architecture
    x86_64
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
DimStar, From OpenSUSE reported us on the IRC that ppl experience a crash in v2.5 battlescape

Backtrace looked like:
Thread 1 "ufoai" received signal SIGSEGV, Segmentation fault.
0x00000000005070c0 in Item::getReactionFireWeaponType() const ()
Missing separate debuginfos, use: zypper install ufoai-debuginfo-2.5-3.7.x86_64
(gdb) bt
#0 0x00000000005070c0 in Item::getReactionFireWeaponType() const ()
#1 0x0000000000507dfc in Inventory::holdsReactionFireWeapon() const ()
#2 0x000000000043a260 in HUD_RightHandChangeListener(char const*, char const*, char const*, void*) [clone .part.27] ()
#3 0x00000000004c4b43 in Cvar_Set2(char const*, char const*, bool) ()
#4 0x00000000004c5a42 in Cvar_Set(char const*, char const*, ...) ()
#5 0x000000000040fb5c in CL_UpdateCharacterValues(character_s const*) ()
#6 0x0000000000429651 in CL_ActorSelect(le_s*) ()
#7 0x0000000000429a1d in CL_ActorSelectList(int) [clone .part.17] ()
#8 0x00000000004402be in CL_ActorAppear(eventRegister_s const*, dbuffer*) ()
#9 0x000000000043d50c in CL_ExecuteBattlescapeEvent(int, void*) ()
#10 0x00000000004c3c28 in Qcommon_Frame() ()
#11 0x000000000040af05 in main ()


More info on OpenSUSE bugtracker:
https://bugzilla.opensuse.org/show_bug.cgi?id=1009637

Steps to reproduce this issue
- Start UFO:AI
- Select "Single-Player"
- Select "Skirmish"
- Choose a map and "Start Game", I tested with the africa_small and a few others.

The game loads, and the screen announcing the map and "Victory Conditions" shows up. You can move the map in the background and it renders fine with no errors or crashes with multiple graphics configurations. One the Start button is pressed it crashes after a couple of seconds.

This is output from the console==========
Starting the game...
bberberov has joined team 1
Used inventory slots: 0
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
Not enough spawn points for team 1 (actorsize: 1)
Not enough spawn points for team 1 (actorsize: 1)
Not enough spawn points for team 1 (actorsize: 1)
Not enough spawn points for team 1 (actorsize: 1)
Used inventory slots client bberberov spawn: 0
(player 0) It's team 1's turn!
bberberov has taken control over team 1.
Error: Received signal 11.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif