buggzochi - Bugs: bug #53814, Memory corruption in meta server...

 
 

bug #53814: Memory corruption in meta server on disconnect

Submitter:  Julian Graham <juliang>
Submitted:  Wed 02 May 2018 08:48:31 PM UTC
   
 
Category:  None Severity:  4 - Important
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  juliang
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 02 May 2018 08:48:31 PM UTC, original submission:  

gzochi-metad: malloc.c:2868: mremap_chunk: Assertion `((size + offset) & (GLRO (dl_pagesize) - 1)) == 0' failed.

Thread 1 "gzochi-metad" received signal SIGABRT, Aborted.
0x00007ffff6ea5428 in __GI_raise (sig=sig@entry=6)
    at ../sysdeps/unix/sysv/linux/raise.c:54
54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00007ffff6ea5428 in __GI_raise (sig=sig@entry=6)
    at ../sysdeps/unix/sysv/linux/raise.c:54
#1  0x00007ffff6ea702a in __GI_abort () at abort.c:89
#2  0x00007ffff6eed2e8 in _malloc_assert (assertion=assertion@entry=0x7ffff7000e78 "((size + offset) & (GLRO (dl_pagesize) - 1)) == 0", file=file@entry=0x7ffff6ffdbc5 "malloc.c", line=line@entry=2868, function=function@entry=0x7ffff7001998 <__func_.11564> "mremap_chunk") at malloc.c:301
#3  0x00007ffff6eed5a3 in mremap_chunk (p=p@entry=0x7ffff76fdd80 <g_io_unix_check+16>, new_size=new_size@entry=4145694416) at malloc.c:2868
#4  0x00007ffff6ef476c in __GI___libc_realloc (oldmem=0x7ffff76fdd90 <g_io_unix_prepare>, bytes=4145694400) at malloc.c:3025
#5  0x00007ffff76be7d8 in g_realloc (mem=<optimized out>, n_bytes=4145694400)
    at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmem.c:159
#6  0x00007ffff768c399 in g_array_maybe_expand (array=array@entry=0x7ffff797eba0 <g_io_watch_funcs>, len=len@entry=19)
    at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/garray.c:779
#7  0x00007ffff768c718 in g_array_append_vals (farray=0x7ffff797eba0 <g_io_watch_funcs>, data=0x63e4e0, len=19)
    at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/garray.c:418
#8  0x00007ffff768d819 in g_byte_array_append (array=0x7ffff797eba0 <g_io_watch_funcs>, data=<optimized out>, len=<optimized out>)
    at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/garray.c:1713
#9  0x0000000000411bef in gzochid_client_socket_write (sock=0x67a840, data=0x63e---Type <return> to continue, or q <return> to quit---
4e0 "", len=19) at socket.c:463
#10 0x0000000000419259 in send_assign_task (sock=0x67a840, app=0x643fe0 "abermud", task_id=1701) at taskserver.c:291
#11 0x00000000004195af in assign_and_notify (taskserver=0x65e400 [GzochiMetadTaskServer], server_state=0x661dd0, app=0x643fe0 "abermud", task_id=1701)
    at taskserver.c:410
#12 0x0000000000419fc8 in assign_unmapped_tasks (taskserver=0x65e400 [GzochiMetadTaskServer], app=0x643fe0 "abermud") at taskserver.c:751
#13 0x000000000041a066 in assign_unmapped_tasks_gfunc (data=0x643fe0, user_data=0x65e400) at taskserver.c:778
#14 0x00007ffff76b551d in g_list_foreach (list=<optimized out>, func=0x41a01c <assign_unmapped_tasks_gfunc>, user_data=0x65e400)
    at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/glist.c:1005
#15 0x000000000041a141 in gzochi_metad_taskserver_server_disconnected (taskserver=0x65e400 [GzochiMetadTaskServer], node_id=2, err=0x7fffffffd4a8)
    at taskserver.c:811
#16 0x0000000000418a9c in client_error (user_data=0x63d700)
    at taskserver-protocol.c:300
#17 0x000000000040ded6 in client_error (user_data=0x65ecc0)
    at metaserver-protocol.c:406
#18 0x000000000041119b in dispatch_client_error (sock=0x65fe00) at socket.c:161
#19 0x00000000004112b6 in fill_recv_buffer (sock=0x65fe00) at socket.c:191
#20 0x00000000004112ec in dispatch_client_read (sock=0x65fe00) at socket.c:197

Julian Graham <juliang>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by juliang (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-12-28 juliang StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code