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 #3003 dbuffer crash - memory corruption
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
    Engine
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    5. Important
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
    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/3003 Item 3003] imported from sourceforge.net tracker on 2013-01-28 19:58:38

0x53b60a : C:\Program Files (x86)\UFOAI-2.4-dev\ufo.exe : /home/users/mattn/localslave/src-master/src/src/ports/windows/win_console.c (84) : in function (Sys_ConsoleLoop)
0x53b94b : C:\Program Files (x86)\UFOAI-2.4-dev\ufo.exe : /home/users/mattn/localslave/src-master/src/src/ports/windows/win_console.c (202) : in function (Sys_Error)
0x4df882 : C:\Program Files (x86)\UFOAI-2.4-dev\ufo.exe : /home/users/mattn/localslave/src-master/src/src/common/mem.c (155) : in function (_Mem_CheckSentinels)
0x4df8b2 : C:\Program Files (x86)\UFOAI-2.4-dev\ufo.exe : /home/users/mattn/localslave/src-master/src/src/common/mem.c (171) : in function (_Mem_Free)
0x4e461b : C:\Program Files (x86)\UFOAI-2.4-dev\ufo.exe : /home/users/mattn/localslave/src-master/src/src/common/dbuffer.c (99) : in function (free_element)
0x4e4865 : C:\Program Files (x86)\UFOAI-2.4-dev\ufo.exe : /home/users/mattn/localslave/src-master/src/src/common/dbuffer.c (165) : in function (free_dbuffer)
0x4e23af : C:\Program Files (x86)\UFOAI-2.4-dev\ufo.exe : /home/users/mattn/localslave/src-master/src/src/common/net.c (813) : in function (NET_StreamFinished)
0x40a8dd : C:\Program Files (x86)\UFOAI-2.4-dev\ufo.exe : /home/users/mattn/localslave/src-master/src/src/client/cl_main.c (273) : in function (CL_Disconnect)
0x463e5c : C:\Program Files (x86)\UFOAI-2.4-dev\ufo.exe : /home/users/mattn/localslave/src-master/src/src/client/cgame/campaign/cp_campaign.c (909) : in function (CP_StartSelectedMission)
0x4ca755 : C:\Program Files (x86)\UFOAI-2.4-dev\ufo.exe : /home/users/mattn/localslave/src-master/src/src/common/cmd.c (986) : in function (Cmd_ExecuteString)
0x4c93e5 : C:\Program Files (x86)\UFOAI-2.4-dev\ufo.exe : /home/users/mattn/localslave/src-master/src/src/common/cmd.c (250) : in function (Cbuf_Execute)
0x40c66d : C:\Program Files (x86)\UFOAI-2.4-dev\ufo.exe : /home/users/mattn/localslave/src-master/src/src/client/cl_main.c (1082) : in function (CL_SendCommand)
0x40c946 : C:\Program Files (x86)\UFOAI-2.4-dev\ufo.exe : /home/users/mattn/localslave/src-master/src/src/client/cl_main.c (1216) : in function (CL_Frame)
0x4d73db : C:\Program Files (x86)\UFOAI-2.4-dev\ufo.exe : /home/users/mattn/localslave/src-master/src/src/common/common.c (1279) : in function (tick_timer)
0x4d7842 : C:\Program Files (x86)\UFOAI-2.4-dev\ufo.exe : /home/users/mattn/localslave/src-master/src/src/common/common.c (1427) : in function (Qcommon_Frame)
0x53d81a : C:\Program Files (x86)\UFOAI-2.4-dev\ufo.exe : /home/users/mattn/localslave/src-master/src/src/ports/windows/win_main.c (147) : in function (WinMain@16)
===== Comments Ported from Sourceforge =====

====== tlh2000 (2011-09-14 18:07:55) ======

NET_ConnectToLoopBack is setting inbound and outbound for the server socket to the pointers of the client socket - so if we ever try to close the server socket we will also close the inbound and outbound of the client socket - which in turn might try to do the same later on its own.

6584d2aeb1c1ed633154339de39f76f5f19e0595 might also be a fix for this issue, but i suspect the above to at least another candidate to check, too.
====== aduke1 (2011-11-30 20:12:41) ======

I assume this doesn't happen very often. Is it reproducible ?
Does it still happen after the fix mentioned below ?
====== tlh2000 (2011-11-30 22:23:54) ======

as you can see here http://ufoai.ninex.info/crashdumps/ it happens still a lot - not that often, but it occurs. i still have not yet found a way to reproduce it.
====== aduke1 (2011-11-30 23:50:33) ======

The priority was adjusted according to the "bug priority rules". See
http://ufoai.ninex.info/wiki/index.php/Bugs#Bug_Priorities
====== tlh2000 (2012-12-06 07:49:21.045000) ======

- **status**: open --> pending

====== tlh2000 (2012-12-06 08:00:07.252000) ======

- **status**: pending --> closed
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