E: parse error in JSON file E: not a valid DICOM JSON dataset: attribute tag must consist of two 16-bit hex numbers AddressSanitizer:DEADLYSIGNAL ================================================================= ==2187201==ERROR: AddressSanitizer: SEGV on unknown address 0x7cd076ee003f (pc 0x555555787614 bp 0x7fffffffc3f0 sp 0x7fffffffc2f0 T0) ==2187201==The signal is caused by a READ memory access. #0 0x555555787614 in DcmJSONReader::getTokenContent(OFString&, jsmntok*) dcmdata/libsrc/dcjsonrd.cc:221:14 #1 0x5555557908ef in DcmJSONReader::parseElement(DcmItem*, DcmItem*, jsmntok*&) dcmdata/libsrc/dcjsonrd.cc:642:9 #2 0x555555797e03 in DcmJSONReader::parseDataSet(DcmItem*, DcmItem*, jsmntok*&) dcmdata/libsrc/dcjsonrd.cc:923:18 #3 0x5555557a19c7 in DcmJSONReader::readAndConvertJSONFile(DcmFileFormat&, char const*) dcmdata/libsrc/dcjsonrd.cc:1279:18 #4 0x55555571339b in main dcmdata/apps/json2dcm.cc:435:25 #5 0x7ffff7989082 in __libc_start_main /build/glibc-LcI20x/glibc-2.31/csu/../csu/libc-start.c:308:16 #6 0x555555626aed in _start (build-asan/bin/json2dcm+0xd2aed) (BuildId: b688cc0c9b5747caa3a8889ccee387d1dbaf23cc) ==2187201==Register values: rax = 0x00007bfff61de530 rbx = 0x00007fffffffc400 rcx = 0x00007cd076ee003f rdx = 0x00007c6ff6ee03e4 rdi = 0x00007bfff61de530 rsi = 0x00007bfff62de760 rbp = 0x00007fffffffc3f0 rsp = 0x00007fffffffc2f0 r8 = 0x00000f83fedf9952 r9 = 0x0000000000000000 r10 = 0x00000f83fedf9952 r11 = 0x0000000000000001 r12 = 0x00007bfff61de0b0 r13 = 0x00007bfff61de530 r14 = 0x00007bfff61de080 r15 = 0x00007bfff61de090 AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV dcmdata/libsrc/dcjsonrd.cc:221:14 in DcmJSONReader::getTokenContent(OFString&, jsmntok*) ==2187201==ABORTING