bugFreeciv - Bugs: bug #24466, Glib-ERROR **:gmem.c:165: failed...

Show feedback again

bug #24466: Glib-ERROR **:gmem.c:165: failed to allocate 3713796 bytes

Submitted by:  Frank <dunnoob>
Submitted on:  Thu Feb 25 23:02:43 2016  
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open
Release: 2.5.1Operating System: None
Planned Release: Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


(Jump to the original submission Jump to the original submission)

Sun Aug 21 14:54:20 2016, comment #10:

bug #24970 has some comment seemingly related to this ticket:

"2.6.0alpha still tries those "termination in an unusual way" stunts, about turn 470, and unsurprisingly bug #24466 did not "fix itself" -- I stumbled over my oldest public vintage 2011 comment recently: http://www.heise.de/download/product/freeciv-25834 ;-)"

Jacob Nevins <jtn>
Project Administrator
Thu Jul 28 23:49:56 2016, comment #9:

No, the AIs rarely try it, and there would be a message (+ popup with my message options), if they do. I almost never try it, unless I insist on an early finish without clicking on "quit" :-)

The number was completely different, 7 digits 1234567 starting with a 2, my theory that it's some signed vs. unsigned issue was wrong.

Frank <dunnoob>
Thu Jul 28 23:10:12 2016, comment #8:

If it always happens late in the game, could it be that someone has just started to build spaceship? Spaceship dialog is known to have some problem in gtk2-client.

Marko Lindqvist <cazfi>
Project Administrator
Thu Jul 28 22:59:37 2016, comment #7:

In a r33261 2.5.4 test version it took until turn 510, and that could be another common factor, the gtk2 clients on Windows 7 x64 tend to crash later for recent versions.

Frank <dunnoob>
Thu Jul 14 08:06:54 2016, comment #6:

Odd, I was sure that I've reported this complete with a RPT at lease twice, using a screenshot here mainly as joke. But I only find bug #22892 which might be related (checking everything submitted by None or dunnoob).

Maybe I added other reports as comments to bugs reported by other folks. Following the XREFs, yes, bug #22685 belongs to the series.

Frank <dunnoob>
Thu Jul 14 06:14:01 2016, comment #5:

It happens always in long uninterrupted (no other quit) games since 2.3.x on Windows 7 with the gtk2 clients (others not tested). The first time somewhere between turn 350..450, the second time after turn 500, no third time (game finished).

Sometimes there's a warning, parts of a popup displayed as black or other visual artefacts. In these cases I save, quit and reload to avoid the crash.

Frank <dunnoob>
Sun Jul 10 13:32:59 2016, comment #4:

> JFTR the obligatory memory management report for 2.5.1

You speak as though this happens to you a lot. If so, and you've reported it before, an actual reference to those past reports would be helpful. Otherwise, can you give more context? What were you doing?

Jacob Nevins <jtn>
Project Administrator
Sun Jul 10 13:31:35 2016, comment #3:

Screenshot says:

> (freeciv-gtk2.exe:5184): Glib-ERROR **:gmem.c:165: failed to allocate 3713796 bytes

Jacob Nevins <jtn>
Project Administrator
Tue Apr 12 09:01:50 2016, comment #2:

No, it always was something in the direction of 2**32 - 3713796
4291253500 or similar, i.e., -4291253500 interpreted as unsigned.

Frank <dunnoob>
Sat Apr 2 12:07:30 2016, comment #1:

That's less than 4 megabytes. Did you really run out of memory, or do you think that the error message itself is in error?

Marko Lindqvist <cazfi>
Project Administrator
Thu Feb 25 23:02:43 2016, original submission:

JFTR the obligatory memory management report for 2.5.1, now with a
screenshot (attached).

Frank <dunnoob>


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #26862:  malloc1+2.png added by dunnoob (29kB - image/png)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by jtn (Posted a comment)
  • -unavailable- added by cazfi (Updated the item)
  • -unavailable- added by dunnoob (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun Jul 10 13:32:09 2016jtnSummaryMalloc1+2=>Glib-ERROR **:gmem.c:165: failed to allocate 3713796 bytes
    Fri Feb 26 07:09:43 2016cazfiRelease=>2.5.1
    Thu Feb 25 23:02:43 2016dunnoobAttached File-=>Added malloc1+2.png, #26862
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup