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 #27 game exits with error
Go to the next issue (open or closed)
Go to the next open issue
There are no more issues in that direction.
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Bug report
  • Category
    General
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    1. Very low
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/27 Item 27] imported from sourceforge.net tracker on 2013-01-28 18:08:35

when pressing key E got this message:

Error: SZ_GetSpace: overflow without allowoverflow set

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

====== overridetzx (2006-04-08 13:29:51) ======

Logged In: YES
user_id=1491519

valgrind output excerpt from binary built from tip of svn
that may help:

==17676== Process terminating with default action of signal
11 (SIGSEGV)
==17676== Access not within mapped region at address 0x1C0FF15C
==17676== at 0x1C0FF15C: ???
==17676== by 0x1BB99BA7: (within /lib/libc-2.3.5.so)
==17676== by 0x1BB949C9: (within /lib/libc-2.3.5.so)
==17676== by 0x1BB93F21: (within /lib/libc-2.3.5.so)
==17676== by 0x1BB93B24: dcgettext (in /lib/libc-2.3.5.so)
==17676== by 0x1BB93B80: gettext (in /lib/libc-2.3.5.so)
==17676== by 0x320C9: CL_Shutdown (cl_main.c:1927)
==17676== by 0x764DE: Sys_Quit (sys_linux.c:170)
==17676== by 0x5E102: Com_Quit (common.c:278)
==17676== by 0x2D956: CL_Quit_f (cl_main.c:244)
==17676== by 0x557DA: Cmd_ExecuteString (cmd.c:858)
==17676== by 0x54660: Cbuf_Execute (cmd.c:240)

====== overridetzx (2006-04-08 13:47:18) ======

Logged In: YES
user_id=1491519

FIXED

Commented out "printf (_("recursive shutdown\n"));" in
cl_main.c:1927.

Why gettext() is not happy at this point in the shutdown
process needs further investigation.

====== overridetzx (2006-04-08 14:21:33) ======

Logged In: YES
user_id=1491519

It turns out that the first fix is nothing to do with
originally reported problem of exiting when you press the E key.

The E key problem is closely related, being another
gettext() problem:

==17938== Process terminating with default action of signal
11 (SIGSEGV)
==17938== Access not within mapped region at address 0x1C0FF15C
==17938== at 0x1C0FF15C: ???
==17938== by 0x1BB99BA7: (within /lib/libc-2.3.5.so)
==17938== by 0x1BB949C9: (within /lib/libc-2.3.5.so)
==17938== by 0x1BB93F21: (within /lib/libc-2.3.5.so)
==17938== by 0x1BB93B24: dcgettext (in /lib/libc-2.3.5.so)
==17938== by 0x1BB93B80: gettext (in /lib/libc-2.3.5.so)
==17938== by 0x76626: Sys_Error (sys_linux.c:198)
==17938== by 0x5E014: Com_Error (common.c:242)
==17938== by 0x5F8DE: SZ_GetSpace (common.c:829)
==17938== by 0x5E253: MSG_WriteByte (common.c:343)
==17938== by 0xE528: CL_NextRound (cl_actor.c:1171)
==17938== by 0x557C6: Cmd_ExecuteString (cmd.c:858)

This is fixed by commented out the fprintf() that uses
gettext() sys_linux.c:198.

====== nobody (2006-05-08 16:35:21) ======

Logged In: NO

This error should be fixed in the current revision.

Please check if it's working for you as well (menus,
geoscape and battlescape).

Werner
====== nobody (2006-05-08 17:35:18) ======

Logged In: NO

This error should be fixed in the current revision.

Please check if it's working for you as well (menus,
geoscape and battlescape).

Werner
====== nobody (2006-05-08 17:45:48) ======

Logged In: NO

This error should be fixed in the current revision.

Please check if it's working for you as well (menus,
geoscape and battlescape).

Werner
====== bandobraz (2006-08-02 02:05:24) ======

Logged In: YES
user_id=1557623

I assume this is fixed. If not, please reopen.
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