Notes
This function is in beta test. Please help improve it in the issues
here.
100 int 0 append L619asTm -36876 /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 ================================================================= ==170==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000010 (pc 0x000000515898 bp 0x7ffdc9c2c490 sp 0x7ffdc9c2c440 T0) ==170==The signal is caused by a READ memory access. ==170==Hint: address points to the zero page. #0 0x515897 (/out/package/main+0x515897) #1 0x515367 (/out/package/main+0x515367) #2 0x7fb6da951b96 (/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) ==170==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=-36876 fwnAoN4Ig=44998 YJQFrK0fwNHXZRq=-11440 FLAiuYpE=65359 daYCu5c7DW2b=-11006 MVudPk0Af8G6=11531 pYaxK=43758 uSMGF=-34549 TJeQDRb20=34186 vMxC9w4hy=36845 Uw1jOTPqNRd=-49806 Qg9m7PU=41544 NVTK7tHMUker0R1=-7523 FGloLg=64519 s1LAxDE=-33213 BfZ6d7O=42186 H59j40=-63184 IQA9fnzk=-52162 01gT4WDyc2X=-31631 D1MzHv=18871 9QlmKBbknqzepW=-10402 35RruwcQCVMxLsN=25160 FY5fnxd=207 26 27 28 29 L619asTm=-36876 fwnAoN4Ig=44998 YJQFrK0fwNHXZRq=-11440 FLAiuYpE=65359 daYCu5c7DW2b=-11006 MVudPk0Af8G6=11531 pYaxK=43758 uSMGF=-34549 TJeQDRb20=34186 vMxC9w4hy=36845 Uw1jOTPqNRd=-49806 Qg9m7PU=41544 NVTK7tHMUker0R1=-7523 FGloLg=64519 s1LAxDE=-33213 BfZ6d7O=42186 H59j40=-63184 IQA9fnzk=-52162 01gT4WDyc2X=-31631 D1MzHv=18871 9QlmKBbknqzepW=-10402 35RruwcQCVMxLsN=25160 FY5fnxd=207 5ZfKXW3AGFImB=211 D8qdWc4ZGYA=54435 F6CW0KkA5Rc=-61567 FLAiuYpE=65359 FGloLg=64519 D8qdWc4ZGYA=54435 fwnAoN4Ig=44998 pYaxK=43758 BfZ6d7O=42186 Qg9m7PU=41544 vMxC9w4hy=368