Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr

100 int
0 append L619asTm -577
1 append fwnAoN4Ig 703
/in/correct/dlist.c:84:13: runtime error: member access within misaligned address 0xbebebebebebebebe for type 'node' (aka 'struct node_t'), which requires 8 byte alignment
0xbebebebebebebebe: note: pointer points here
<memory cannot be printed>
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /in/correct/dlist.c:84:13 in 
/in/correct/dlist.c:84:13: runtime error: load of misaligned address 0xbebebebebebebece for type 'void *', which requires 8 byte alignment
0xbebebebebebebece: note: pointer points here
<memory cannot be printed>
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /in/correct/dlist.c:84:13 in 
AddressSanitizer:DEADLYSIGNAL
=================================================================
==432==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x0000005159e9 bp 0x7ffd0ecb9c50 sp 0x7ffd0ecb9c20 T0)
==432==The signal is caused by a READ memory access.
==432==Hint: address points to the zero page.
    #0 0x5159e8 

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