Skip to content

realloc return NULL #6223

Description

@hankai17

#0 0x00002ab04102c207 in raise () from /lib64/libc.so.6
#1 0x00002ab04102da38 in abort () from /lib64/libc.so.6
#2 0x00002ab03ec48751 in ink_abort (message_format=0x2ab03ec5b010 "couldn't reallocate %zu bytes") at ink_error.cc:99
#3 0x00002ab03ec4cd0c in ats_realloc (ptr=0x13ac5010, size=262168) at ink_memory.cc:81
#4 0x00000000007c75bb in RecMessageMarshal_Realloc (msg=0x13ac5010, record=0x2ab03ea57eb8) at RecMessage.cc:112
#5 0x00000000007bd8a3 in send_push_message () at P_RecCore.cc:114
#6 0x00000000007cb374 in sync_cont::sync (this=0x2681e30) at RecProcess.cc:196
#7 0x000000000051cf1c in Continuation::handleEvent (this=0x2681e30, event=2, data=0x27b0dc0) at /home/file/trafficserver_7_1_2/iocore/eventsystem/I_Continuation.h:153
#8 0x00000000007ce700 in EThread::process_event (this=0x2ab043293010, e=0x27b0dc0, calling_code=2) at UnixEThread.cc:140
#9 0x00000000007ceb00 in EThread::execute_regular (this=0x2ab043293010) at UnixEThread.cc:221
#10 0x00000000007ced2c in EThread::execute (this=0x2ab043293010) at UnixEThread.cc:278
#11 0x00000000007cdbf5 in spawn_thread_internal (a=0x2678fd0) at Thread.cc:84
#12 0x00002ab04032edd5 in start_thread () from /lib64/libpthread.so.0
#13 0x00002ab0410f3ead in clone () from /lib64/libc.so.6

traffic_server[22832]: Fatal: couldn't reallocate 262168 bytes

Only test in 7.1.2. So strange. I don't know if it's related to the Compiler or Environment.
Memory is 128GB. There were enough free memory when broken down.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions