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 #2789 segfault in G_ResetTriggers
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
    Battlescape
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    6. Vital
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/2789 Item 2789] imported from sourceforge.net tracker on 2013-01-28 19:47:16

Player reported a segfault around G_ResetTriggers. Backtrace is attached

#1 0x029c4dfd in G_ResetTriggers (ent=0xa0e30414, touched=0xbfffcb50, num=0) at src/game/g_utils.c:483
i = 0
trigger = 0xa0e3bbec

trigger->reset is null

-geever
===== Comments Ported from Sourceforge =====

====== geever (2011-01-23 14:46:14) ======

backtrace
====== aduke1 (2011-01-28 01:32:26) ======

This crash comes from trying to call a reset function that had not been initialized.

Do we have any context information ?
====== tlh2000 (2011-01-29 07:04:05) ======

this is fixed in 0c5c8656ec8289b34d97f50d52085bb63438de96

not every trigger has a reset function assigned, to it's fine that this function pointer is NULL in some cases
====== sf-robot (2011-02-12 12:20:05) ======

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