repsheet / repsheet-nginx

The nginx module for Repsheet
Apache License 2.0
82 stars 11 forks source link

Asan issue on process exit #43

Open abedra opened 5 years ago

abedra commented 5 years ago
=================================================================
==26058==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 208 byte(s) in 1 object(s) allocated from:
    #0 0x7fce822ff1ae in calloc (/usr/lib/x86_64-linux-gnu/libasan.so.5+0x10c1ae)
    #1 0x7fce8198fadf  (/usr/lib/x86_64-linux-gnu/libhiredis.so.0.13+0x4adf)

Indirect leak of 560 byte(s) in 1 object(s) allocated from:
    #0 0x7fce822ff1ae in calloc (/usr/lib/x86_64-linux-gnu/libasan.so.5+0x10c1ae)
    #1 0x7fce81993887 in redisReaderCreateWithFunctions (/usr/lib/x86_64-linux-gnu/libhiredis.so.0.13+0x8887)

Indirect leak of 19 byte(s) in 1 object(s) allocated from:
    #0 0x7fce822ff3ee in realloc (/usr/lib/x86_64-linux-gnu/libasan.so.5+0x10c3ee)
    #1 0x7fce819907dd in sdsMakeRoomFor (/usr/lib/x86_64-linux-gnu/libhiredis.so.0.13+0x57dd)

Indirect leak of 16 byte(s) in 1 object(s) allocated from:
    #0 0x7fce822fefb8 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.5+0x10bfb8)
    #1 0x7fce8198e0b7  (/usr/lib/x86_64-linux-gnu/libhiredis.so.0.13+0x30b7)
    #2 0x270f  (<unknown module>)

Indirect leak of 10 byte(s) in 1 object(s) allocated from:
    #0 0x7fce82287cdd in __interceptor_strdup (/usr/lib/x86_64-linux-gnu/libasan.so.5+0x94cdd)
    #1 0x7fce8198dbc0  (/usr/lib/x86_64-linux-gnu/libhiredis.so.0.13+0x2bc0)
    #2 0x270f  (<unknown module>)

Indirect leak of 9 byte(s) in 1 object(s) allocated from:
    #0 0x7fce822fefb8 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.5+0x10bfb8)
    #1 0x7fce81990687 in sdsnewlen (/usr/lib/x86_64-linux-gnu/libhiredis.so.0.13+0x5687)

SUMMARY: AddressSanitizer: 822 byte(s) leaked in 6 allocation(s).