Closed PaulicStudios closed 5 months ago
same with <>
/workspaces/42-minishell ❯ <>
AddressSanitizer:DEADLYSIGNAL
=================================================================
==13936==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000010 (pc 0x5603136b3204 bp 0x7ffe3741cd30 sp 0x7ffe3741cd10 T0)
==13936==The signal is caused by a READ memory access.
==13936==Hint: address points to the zero page.
#0 0x5603136b3204 in rearrange_tokens src/input_parsing/tokenize.c:398
#1 0x5603136b19f1 in process_input src/prompt/prompt.c:31
#2 0x5603136b1e08 in show_prompt src/prompt/prompt.c:135
#3 0x5603136af9b6 in main src/main.c:51
#4 0x7f158098dd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
#5 0x7f158098de3f in __libc_start_main_impl ../csu/libc-start.c:392
#6 0x5603136af6a4 in _start (/workspaces/42-minishell/minishell+0x36a4)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV src/input_parsing/tokenize.c:398 in rearrange_tokens
==13936==ABORTING