You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
memleak while receving mqtt connack
Expected behavior
connack gets freed
Actual Behavior
nobody cares connack
To Reproduce
just connect
Direct leak of 128 byte(s) in 1 object(s) allocated from:
#0 0x7f3182f53e17 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:154 #1 0x55c9aefeece8 in nni_zalloc ../src/platform/posix/posix_alloc.c:26 #2 0x55c9aefda2b0 in nni_msg_alloc ../src/core/message.c:380 #3 0x55c9af00071b in nni_mqtt_msg_alloc ../src/supplemental/mqtt/mqtt_msg.c:38 #4 0x55c9af00abc3 in mqtt_tcptran_pipe_nego_cb ../src/mqtt/transport/tcp/mqtt_tcp.c:357 #5 0x55c9aefe96c2 in nni_taskq_thread ../src/core/taskq.c:47 #6 0x55c9aefea89e in nni_thr_wrap ../src/core/thread.c:94 #7 0x55c9aeff1831 in nni_plat_thr_main ../src/platform/posix/posix_thread.c:266 #8 0x7f3182e8644f in start_thread nptl/pthread_create.c:473
Indirect leak of 128 byte(s) in 1 object(s) allocated from:
#0 0x7f3182f53e17 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:154 #1 0x55c9aefeece8 in nni_zalloc ../src/platform/posix/posix_alloc.c:26 #2 0x55c9af000695 in nni_mqtt_msg_proto_data_alloc ../src/supplemental/mqtt/mqtt_msg.c:17 #3 0x55c9af000759 in nni_mqtt_msg_alloc ../src/supplemental/mqtt/mqtt_msg.c:42 #4 0x55c9af00abc3 in mqtt_tcptran_pipe_nego_cb ../src/mqtt/transport/tcp/mqtt_tcp.c:357 #5 0x55c9aefe96c2 in nni_taskq_thread ../src/core/taskq.c:47 #6 0x55c9aefea89e in nni_thr_wrap ../src/core/thread.c:94 #7 0x55c9aeff1831 in nni_plat_thr_main ../src/platform/posix/posix_thread.c:266 #8 0x7f3182e8644f in start_thread nptl/pthread_create.c:473
The text was updated successfully, but these errors were encountered:
Describe the bug
memleak while receving mqtt connack
Expected behavior
connack gets freed
Actual Behavior
nobody cares connack
To Reproduce
just connect
Direct leak of 128 byte(s) in 1 object(s) allocated from:
#0 0x7f3182f53e17 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:154
#1 0x55c9aefeece8 in nni_zalloc ../src/platform/posix/posix_alloc.c:26
#2 0x55c9aefda2b0 in nni_msg_alloc ../src/core/message.c:380
#3 0x55c9af00071b in nni_mqtt_msg_alloc ../src/supplemental/mqtt/mqtt_msg.c:38
#4 0x55c9af00abc3 in mqtt_tcptran_pipe_nego_cb ../src/mqtt/transport/tcp/mqtt_tcp.c:357
#5 0x55c9aefe96c2 in nni_taskq_thread ../src/core/taskq.c:47
#6 0x55c9aefea89e in nni_thr_wrap ../src/core/thread.c:94
#7 0x55c9aeff1831 in nni_plat_thr_main ../src/platform/posix/posix_thread.c:266
#8 0x7f3182e8644f in start_thread nptl/pthread_create.c:473
Indirect leak of 128 byte(s) in 1 object(s) allocated from:
#0 0x7f3182f53e17 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:154
#1 0x55c9aefeece8 in nni_zalloc ../src/platform/posix/posix_alloc.c:26
#2 0x55c9af000695 in nni_mqtt_msg_proto_data_alloc ../src/supplemental/mqtt/mqtt_msg.c:17
#3 0x55c9af000759 in nni_mqtt_msg_alloc ../src/supplemental/mqtt/mqtt_msg.c:42
#4 0x55c9af00abc3 in mqtt_tcptran_pipe_nego_cb ../src/mqtt/transport/tcp/mqtt_tcp.c:357
#5 0x55c9aefe96c2 in nni_taskq_thread ../src/core/taskq.c:47
#6 0x55c9aefea89e in nni_thr_wrap ../src/core/thread.c:94
#7 0x55c9aeff1831 in nni_plat_thr_main ../src/platform/posix/posix_thread.c:266
#8 0x7f3182e8644f in start_thread nptl/pthread_create.c:473
The text was updated successfully, but these errors were encountered: