Notes
This function is in beta test. Please help improve it in the issues
here.
100 int 0 append L619asTm -36876 /in/dlist.c:125:14: runtime error: member access within null pointer of type 'node_t' (aka 'struct _node_') SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /in/dlist.c:125:14 in AddressSanitizer:DEADLYSIGNAL ================================================================= ==115==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000010 (pc 0x000000516b1f bp 0x7fffbfe62110 sp 0x7fffbfe62020 T0) ==115==The signal is caused by a WRITE memory access. ==115==Hint: address points to the zero page. #0 0x516b1e (/out/package/main+0x516b1e) #1 0x519965 (/out/package/main+0x519965) #2 0x5152d7 (/out/package/main+0x5152d7) #3 0x7f5d41723b96 (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #4 0x41ca79 (/out/package/main+0x41ca79) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV (/out/package/main+0x516b1e) ==115==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