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 #1880 selling an item causes "bad memory header top sentinel"
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
    User interface
  • 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/1880 Item 1880] imported from sourceforge.net tracker on 2013-01-28 19:12:13

Hi,

when I try to sell a specific item in a base, the game crashes with the following error message:

Mem_Free: bad memory header top sentinel [buffer underflow]
free: src/common/common.c:#1374


This bug is reproducable:
* load the attached savegame
* go to the base in africa
* choose "buy/sell equipment"
* try to sell the "Ares W (UGV)"
* crash

The attached screenshot shows the interface before the crash. The button, that causes the bug is marked.


My system:
Debian Lenny
i386
Graphics: S3 Inc. SuperSavage IX/C SDR

The following debian packages are installed:
ufoai 2.3~~svn20051
ufoai-common 2.3~~svn20051
ufoai-data 2.3~~svn20051
ufoai-music 2.3~~svn20031
ufoai-server 2.3~~svn20051
ufoai-server-data 2.3~~svn20051

hope, that helps,
Lars

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

====== sumpfralle (2008-11-12 23:00:02) ======

savegame that causes the crash: just try to sell the "Ares W (UGV)" in the african base
====== sumpfralle (2008-11-12 23:00:43) ======

screenshot before the crash
====== sumpfralle (2008-11-12 23:00:44) ======

File Added: ufoai_sell_item_segfault.png
====== geever (2008-11-21 21:43:40) ======

Fixed in r20284. Thanks for reporting.

-geever
====== frakcfrakc (2011-05-15 19:34:28) ======

File 'slot3' successfully loaded from compressed xml savegame.
ufo: src/client/ui/ui_input.c:396: UI_SetMouseCapture: Assertion `capturedNode == ((void *)0)' failed.
Program received signal SIGABRT, Aborted.
0x0012e416 in __kernel_vsyscall ()
(gdb) bt full
#0 0x0012e416 in __kernel_vsyscall ()
No symbol table info available.
Cannot access memory at address 0xbfffec1c


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