https://linen.dev/ logo
Hmm, noticing an asan failure here: ``` Running te...
# general
b
Hmm, noticing an asan failure here:
Copy code
Running test ring-dontfork-mem.t                                    AddressSanitizer:DEADLYSIGNAL
=================================================================
==85369==ERROR: AddressSanitizer: SEGV on unknown address 0x780e21a3b000 (pc 0x5db0c33f4182 bp 0x7ffe0a2c6490 sp 0x7ffe0a2c63e0 T0)
==85369==The signal is caused by a READ memory access.
    #0 0x5db0c33f4182 in child_can_read /home/exbigboss/cpp/liburing/test/ring-dontfork-mem.c:42
    #1 0x5db0c33f4182 in child_can_read /home/exbigboss/cpp/liburing/test/ring-dontfork-mem.c:26
    #2 0x5db0c33f433d in test_dontfork /home/exbigboss/cpp/liburing/test/ring-dontfork-mem.c:62
    #3 0x5db0c33f433d in test_dontfork /home/exbigboss/cpp/liburing/test/ring-dontfork-mem.c:53
    #4 0x5db0c33f3ce6 in main /home/exbigboss/cpp/liburing/test/ring-dontfork-mem.c:93
    #5 0x780e2102a600 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:59
    #6 0x780e2102a717 in __libc_start_main_impl ../csu/libc-start.c:360
    #7 0x5db0c33f3fa4 in _start (/home/exbigboss/cpp/liburing/test/ring-dontfork-mem.t+0x24fa4) (BuildId: 848f5b8b018d03d7a5c04467823876b3a20b8edb)

==85369==Register values:
rax = 0x0000000000000000  rbx = 0x0000740e1ebf00c8  rcx = 0x0000780e2112a8d5  rdx = 0x0000000000000000  
rdi = 0x0000000000000000  rsi = 0x0000000000000004  rbp = 0x00007ffe0a2c6490  rsp = 0x00007ffe0a2c63e0  
 r8 = 0x0000000000000000   r9 = 0x0000780e21decb78  r10 = 0x0000000000000000  r11 = 0x0000000000000246  
r12 = 0x00000e81c3d7e010  r13 = 0x0000740e1ebf0100  r14 = 0x0000780e21a3b000  r15 = 0x00007ffe0a2c63e0  
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/exbigboss/cpp/liburing/test/ring-dontfork-mem.c:42 in child_can_read