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 #2632 buffer overflow in dbuffer.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
    Battlescape
  • 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/2632 Item 2632] imported from sourceforge.net tracker on 2013-01-28 19:43:45

1) this is on trunk 31042 and the slow/improved AI patch posted on http://ufoai.ninex.info/forum/index.php?topic=5056.45, map is rivertown.
2) I'm on AMD64, deb/lenny, gnome, ati/fglrx
3) Trying to reproduce it, but I don't think it's going to be easy. Here's the description:
There was one alien with a machinegun which (through the ai changes) discovered it can actually shoot from angles that normally shouldn't be possible (through some walls mainly and through windows without breaking them). Disregarding that fact (may point to the real bug), I had the following crash that seemed to be while he was shooting a full machinegun burst in such an occasion (or shortly thereafter, can't be sure):

# 36 | # 57 | ==== ShutdownGame ====
./ufo(Sys_Backtrace+0x1c)[0x57b7ad]
./ufo(Sys_Error+0x92)[0x57adf1]
./ufo[0x51afd2]
./ufo(_Mem_Free+0x37)[0x51b00b]
./ufo[0x52063c]
./ufo(free_dbuffer+0x31)[0x520805]
./ufo(NET_StreamFinished+0x91)[0x51db5f]
./ufo(CL_Disconnect+0x6b)[0x439364]
./ufo(CL_Drop+0x9)[0x439149]
./ufo(Com_Error+0x1ac)[0x510efc]
./ufo(LE_CenterView+0x0)[0x457602]
./ufo(CL_ActorDoShoot+0xbc)[0x460615]
./ufo[0x45dfcf]
./ufo(Qcommon_Frame+0x70)[0x512c37]
./ufo(main+0x57)[0x57a989]
/lib/libc.so.6(__libc_start_main+0xe6)[0x7fe6937071a6]
./ufo[0x42be99]
Error: Mem_Free: bad memory footer sentinel [buffer overflow]
pool: Generic
alloc: src/common/dbuffer.c:#64
free: src/common/dbuffer.c:#98

There's also a table with models printed out right before the crash, see attached log
===== Comments Ported from Sourceforge =====

====== nonickch (2010-07-20 22:56:46) ======

ufoconsole.log for the skirmish
====== tlh2000 (2010-07-31 19:43:16) ======

i think this was threading related and should already be fixed, no?
====== tlh2000 (2010-08-01 19:23:55) ======

some more thread related bugs were fixed today
====== sf-robot (2010-09-29 18:54:19) ======

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