Notes
This function is in beta test. Please help improve it in the issues
here.
100 int 0 append L619asTm -577 /in/dlist.c:25:15: runtime error: member access within null pointer of type 'node_t' (aka 'struct node') SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /in/dlist.c:25:15 in AddressSanitizer:DEADLYSIGNAL ================================================================= ==91==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000010 (pc 0x000000515898 bp 0x7ffdf6229430 sp 0x7ffdf62293e0 T0) ==91==The signal is caused by a READ memory access. ==91==Hint: address points to the zero page. #0 0x515897 (/out/package/main+0x515897) #1 0x515367 (/out/package/main+0x515367) #2 0x7fb89a3fcb96 (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #3 0x41cb09 (/out/package/main+0x41cb09) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV (/out/package/main+0x515897) ==91==ABORTING
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, the main problem you meet now is Runtime Error. And the exit code of your program is 1, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
JOJ Answer
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 false 18 19 20 21 22 23 false 24 25 L619asTm=-577 fwnAoN4Ig=703 YJQFrK0fwNHXZRq=-179 FLAiuYpE=1021 daYCu5c7DW2b=-172 MVudPk0Af8G6=180 pYaxK=683 uSMGF=-540 TJeQDRb20=534 vMxC9w4hy=575 Uw1jOTPqNRd=-779 Qg9m7PU=649 NVTK7tHMUker0R1=-118 FGloLg=1008 s1LAxDE=-519 BfZ6d7O=659 H59j40=-988 IQA9fnzk=-816 01gT4WDyc2X=-495 D1MzHv=294 9QlmKBbknqzepW=-163 35RruwcQCVMxLsN=393 FY5fnxd=3 26 27 28 29 L619asTm=-577 fwnAoN4Ig=703 YJQFrK0fwNHXZRq=-179 FLAiuYpE=1021 daYCu5c7DW2b=-172 MVudPk0Af8G6=180 pYaxK=683 uSMGF=-540 TJeQDRb20=534 vMxC9w4hy=575 Uw1jOTPqNRd=-779 Qg9m7PU=649 NVTK7tHMUker0R1=-118 FGloLg=1008 s1LAxDE=-519 BfZ6d7O=659 H59j40=-988 IQA9fnzk=-816 01gT4WDyc2X=-495 D1MzHv=294 9QlmKBbknqzepW=-163 35RruwcQCVMxLsN=393 FY5fnxd=3 5ZfKXW3AGFImB=3 D8qdWc4ZGYA=850 F6CW0KkA5Rc=-962 FLAiuYpE=1021 FGloLg=1008 D8qdWc4ZGYA=850 fwnAoN4Ig=703 pYaxK=683 BfZ6d7O=659 Qg9m7PU=649 vMxC9w4hy=575 TJeQDRb20=534 35RruwcQCVMxLsN=393 D1MzHv=294 MVudPk0Af8G6=180 FY5fnxd=3 5ZfKXW3AGFImB=3 NVTK7tHMUker0R1