Skip to content

Commit 5ebc911

Browse files
Debug dlopen error
We're currently getting occasional segfaults when failing to dlopen encoding files. The segfault is preventing us from seeing the raised error message, so this printing will let us see it in the logs instead.
1 parent b2edc35 commit 5ebc911

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

dln.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,7 @@ dln_open(const char *file)
429429
return handle;
430430

431431
failed:
432+
fprintf(stderr, "DLOPEN ERROR: %s - %s\n", error, file);
432433
dln_loaderror("%s - %s", error, file);
433434
}
434435

0 commit comments

Comments
 (0)