Darn, I forgot to paste the second part of the screen output...
$ valgrind --leak-check=full cyanrip -s 6 -N -c 1/2 -U -r 3
==659486== Memcheck, a memory error detector
==659486== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==659486== Using Valgrind-3.20.0 and LibVEX; rerun with -h for copyright info
==659486== Command: cyanrip -s 6 -N -c 1/2 -U -r 3
==659486==
Checking /dev/cdrom for cdrom...
CDROM sensed: TSSTcorp CDDVDW SH-224FB SB00 SCSI CD-ROM
Opening drive...
==659486== Warning: noted but unhandled ioctl 0x5325 with no size/direction hints.
==659486== This could cause spurious value errors to appear.
==659486== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
==659486== Invalid read of size 1
==659486== at 0x4847DC4: strcmp (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==659486== by 0x11D8A5: ??? (in /usr/bin/cyanrip)
==659486== by 0x10F57C: ??? (in /usr/bin/cyanrip)
==659486== by 0x8100C89: (below main) (libc_start_call_main.h:58)
==659486== Address 0x0 is not stack'd, malloc'd or (recently) free'd
==659486==
==659486==
==659486== Process terminating with default action of signal 11 (SIGSEGV)
==659486== Access not within mapped region at address 0x0
==659486== at 0x4847DC4: strcmp (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==659486== by 0x11D8A5: ??? (in /usr/bin/cyanrip)
==659486== by 0x10F57C: ??? (in /usr/bin/cyanrip)
==659486== by 0x8100C89: (below main) (libc_start_call_main.h:58)
==659486== If you believe this happened as a result of a stack
==659486== overflow in your program's main thread (unlikely but
==659486== possible), you can try to increase the size of the
==659486== main thread stack using the --main-stacksize= flag.
==659486== The main thread stack size used in this run was 8388608.
==659486==
==659486== HEAP SUMMARY:
==659486== in use at exit: 13,140,444 bytes in 3,166 blocks
==659486== total heap usage: 5,891 allocs, 2,725 frees, 13,565,769 bytes allocated
==659486==
==659486== 640 bytes in 1 blocks are possibly lost in loss record 936 of 994
==659486== at 0x48459F3: calloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==659486== by 0x40112A2: calloc (rtld-malloc.h:44)
==660597== by 0x40112A2: allocate_dtv (dl-tls.c:370)
==660597== by 0x4011CCD: _dl_allocate_tls (dl-tls.c:629)
==660597== by 0x816399F: allocate_stack (allocatestack.c:429)
==660597== by 0x816399F: pthread_create@@GLIBC_2.34 (pthread_create.c:652)
==660597== by 0x8038013: ??? (in /usr/lib/x86_64-linux-gnu/libcurl.so.4.8.0)
==660597== by 0x8022CEB: ??? (in /usr/lib/x86_64-linux-gnu/libcurl.so.4.8.0)
==660597== by 0x804B128: ??? (in /usr/lib/x86_64-linux-gnu/libcurl.so.4.8.0)
==660597== by 0x808E253: ??? (in /usr/lib/x86_64-linux-gnu/libcurl.so.4.8.0)
==660597== by 0x8090E5A: ??? (in /usr/lib/x86_64-linux-gnu/libcurl.so.4.8.0)
==660597== by 0x806BEFD: ??? (in /usr/lib/x86_64-linux-gnu/libcurl.so.4.8.0)
==660597== by 0x806D445: curl_multi_perform (in /usr/lib/x86_64-linux-gnu/libcurl.so.4.8.0)
==660597== by 0x803C93A: curl_easy_perform (in /usr/lib/x86_64-linux-gnu/libcurl.so.4.8.0)
==660597==
==660597== 4,608 bytes in 2 blocks are possibly lost in loss record 981 of 994
==660597== at 0x4840808: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==660597== by 0x40046FB: malloc (rtld-malloc.h:56)
==660597== by 0x40046FB: _dlfo_mappings_segment_allocate (dl-find_object.c:217)
==660597== by 0x40046FB: _dl_find_object_update_1 (dl-find_object.c:671)
==660597== by 0x40046FB: _dl_find_object_update (dl-find_object.c:805)
==660597== by 0x400C267: dl_open_worker_begin (dl-open.c:737)
==660597== by 0x4001488: _dl_catch_exception (dl-catch.c:237)
==660597== by 0x400B715: dl_open_worker (dl-open.c:784)
==660597== by 0x4001488: _dl_catch_exception (dl-catch.c:237)
==660597== by 0x400BAE7: _dl_open (dl-open.c:886)
==660597== by 0x822BACC: do_dlopen (dl-libc.c:95)
==660597== by 0x4001488: _dl_catch_exception (dl-catch.c:237)
==660597== by 0x40015AE: _dl_catch_error (dl-catch.c:256)
==660597== by 0x822BA40: dlerror_run (dl-libc.c:45)
==660597== by 0x822BC4E: __libc_dlopen_mode (dl-libc.c:162)
==660597==
==660597== 14,125 (5,288 direct, 8,837 indirect) bytes in 1 blocks are definitely lost in loss record 986 of 994
==660597== at 0x48459F3: calloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==660597== by 0x808E7E3: ??? (in /usr/lib/x86_64-linux-gnu/libcurl.so.4.8.0)
==660597== by 0x803C73E: curl_easy_init (in /usr/lib/x86_64-linux-gnu/libcurl.so.4.8.0)
==660597== by 0x11D517: ??? (in /usr/bin/cyanrip)
==660597== by 0x10F57C: ??? (in /usr/bin/cyanrip)
==660597== by 0x8100C89: (below main) (libc_start_call_main.h:58)
==660597==
==660597== LEAK SUMMARY:
==660597== definitely lost: 5,288 bytes in 1 blocks
==660597== indirectly lost: 8,837 bytes in 39 blocks
==660597== possibly lost: 5,248 bytes in 3 blocks
==660597== still reachable: 13,119,055 bytes in 3,102 blocks
==660597== suppressed: 0 bytes in 0 blocks
==660597== Reachable blocks (those to which a pointer was found) are not shown.
==660597== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==660597==
==660597== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
==660597==
==660597== 1 errors in context 1 of 4:
==660597== Invalid read of size 1
==660597== at 0x4847DC4: strcmp (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==660597== by 0x11D8A5: ??? (in /usr/bin/cyanrip)
==660597== by 0x10F57C: ??? (in /usr/bin/cyanrip)
==660597== by 0x8100C89: (below main) (libc_start_call_main.h:58)
==660597== Address 0x0 is not stack'd, malloc'd or (recently) free'd
==660597==
==660597== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
zsh: segmentation fault valgrind -s --leak-check=full cyanrip -s 6 -N -c 1/2 -U -r 3
Thanks and regards.
--
Danai