openat(AT_FDCWD, "/home/oskar/.dune-prelude", O_RDONLY|O_CLOEXEC) = 3
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_EMPTY_PATH, STATX_ALL, {stx_mask=STATX_ALL|STATX_MNT_ID|STATX_SUBVOL, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=22231, ...}) = 0
read(3, "# _ "..., 22231) = 22231
read(3, "", 32) = 0
close(3) = 0
brk(0x5fb62d68f000) = 0x5fb62d68f000
brk(0x5fb62d6bf000) = 0x5fb62d6bf000
mmap(NULL, 200704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x75e202765000
brk(0x5fb62d6e0000) = 0x5fb62d6e0000
brk(0x5fb62d701000) = 0x5fb62d701000
munmap(0x75e202765000, 200704) = 0
brk(0x5fb62d722000) = 0x5fb62d722000
brk(0x5fb62d743000) = 0x5fb62d743000
brk(0x5fb62d764000) = 0x5fb62d764000
write(2, "error while running prelude: ", 29error while running prelude: ) = 29
write(2, "cannot apply `", 14cannot apply `) = 14
write(2, "@", 1@) = 1
write(2, " ", 1 ) = 1
write(2, "fs exists?", 10fs exists?) = 10
write(2, "` to the arguments ", 19` to the arguments ) = 19
When there is an error in
.dune-prelude, the first startup dialog shows up, but no error message. I only managed to detect this by using strace: