bugFreeciv - Bugs: bug #21173, freeciv-server: glibc reports...

 
 
Show feedback again

bug #21173: freeciv-server: glibc reports "corrupted double-linked list"

Submitted by:  Marko Lindqvist <cazfi>
Submitted on:  Mon 30 Sep 2013 01:40:52 PM UTC  
 
Category: generalSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open
Release: Operating System: None
Planned Release: 

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Mon 30 Dec 2013 06:34:55 AM UTC, comment #2:

Checked another trace, and the only common thing with previous one is that it's in server_quit().

This time it happened in server_remove_player(), plrhand.c:1564 ( notify(game.est_connections ...) )

Ok, both of these touch connections - previous in close_connections_and_socket(), this one trying to send to game.est_connections.

Marko Lindqvist <cazfi>
Project Administrator
Mon 30 Sep 2013 03:59:58 PM UTC, comment #1:

Now catched on debugger. Problem might be in readline rather than freeciv, as sernet.c:252 is about writing readline command history...

#16 0x00007ffff60caa26 in malloc_printerr (action=3,
str=0x7ffff61b8b50 "corrupted double-linked list", ptr=<optimized out>) at malloc.c:4902
#17 0x00007ffff60cac63 in malloc_consolidate (av=av@entry=0x7ffff63f6640 <main_arena>)
at malloc.c:4081
#18 0x00007ffff60cbd87 in _int_malloc (av=0x7ffff63f6640 <main_arena>, bytes=1348)
at malloc.c:3358
#19 0x00007ffff60ce093 in __GI___libc_malloc (bytes=1348) at malloc.c:2859
#20 0x00007ffff6b57969 in ?? () from /lib/x86_64-linux-gnu/libreadline.so.6
#21 0x000000000048d3ca in close_connections_and_socket () at server/sernet.c:252
#22 0x000000000040bc3f in server_quit () at server/srv_main.c:1428
#23 0x000000000040dd65 in srv_main () at server/srv_main.c:2850
#24 0x000000000040619e in main (argc=3, argv=0x7fffffffe318) at server/civserver.c:454

Marko Lindqvist <cazfi>
Project Administrator
Mon 30 Sep 2013 01:40:52 PM UTC, original submission:

I've seen this error from glibc every now and then on TRUNK autogames for the last month. Unfortunately that's all I know about it.

Marko Lindqvist <cazfi>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jtn (Updated the item)
  • -unavailable- added by cazfi (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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 03 Nov 2013 11:39:02 AM UTCjtnSummaryfreeciv-server: corrupted double-linked list=>freeciv-server: glibc reports "corrupted double-linked list"
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup