SDL3 : SIGSEGV: address not mapped to object (fault address: 0x0)

so SDL getenv uses wrong. How to fix this problem ?