Skip to content

Instantly share code, notes, and snippets.

@dmitrodem
Created October 15, 2020 12:53
Show Gist options
  • Save dmitrodem/2d81645fd4e3aba6fedeba86dab8a18f to your computer and use it in GitHub Desktop.
Save dmitrodem/2d81645fd4e3aba6fedeba86dab8a18f to your computer and use it in GitHub Desktop.
=================================================================
==7480==ERROR: AddressSanitizer: attempting free on address which was not malloc()-ed: 0x6030000169c8 in thread T0
#0 0x7f4943014e4f in __interceptor_free (/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libasan.so.5+0x10be4f)
#1 0x557bfad16b1b in ipp_free_values /tmp/cups/cups/ipp.c:6325
#2 0x557bfacf17cb in ippDelete /tmp/cups/cups/ipp.c:1756
#3 0x557bfab2d21c in cupsdWriteClient /tmp/cups/scheduler/client.c:2563
#4 0x557bfac62344 in cupsdDoSelect /tmp/cups/scheduler/select.c:485
#5 0x557bfab63028 in main /tmp/cups/scheduler/main.c:847
#6 0x7f4941dc8cfa in __libc_start_main (/lib64/libc.so.6+0x23cfa)
#7 0x557bfaafd259 in _start (/tmp/cups/scheduler/cupsd+0x418259)
0x6030000169c8 is located 8 bytes inside of 27-byte region [0x6030000169c0,0x6030000169db)
allocated by thread T0 here:
#0 0x7f4943015438 in __interceptor_calloc (/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libasan.so.5+0x10c438)
#1 0x557bfad3acfd in _cupsStrAlloc /tmp/cups/cups/string.c:107
#2 0x557bfacebfa7 in ippAddString /tmp/cups/cups/ipp.c:957
#3 0x557bfab989d3 in copy_printer_attrs /tmp/cups/scheduler/ipp.c:4894
#4 0x557bfabb1118 in get_printer_attrs /tmp/cups/scheduler/ipp.c:7365
#5 0x557bfab6d9cc in cupsdProcessIPPRequest /tmp/cups/scheduler/ipp.c:457
#6 0x557bfab25402 in cupsdReadClient /tmp/cups/scheduler/client.c:1812
#7 0x557bfac62099 in cupsdDoSelect /tmp/cups/scheduler/select.c:480
#8 0x557bfab63028 in main /tmp/cups/scheduler/main.c:847
#9 0x7f4941dc8cfa in __libc_start_main (/lib64/libc.so.6+0x23cfa)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment