dlclose segfaults
Minimal test program:
main =
do putStrLn "opening libm"
handle <- dlopen "libm.so" [RTLD_LAZY]
putStrLn "closing libm"
dlclose handle
putStrLn "done"
results in:
opening libm
closing libm
zsh: segmentation fault ./dlbug
Note that withDL also segfaults.
abe.egnor@gmail.com
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.2 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | ResolvedFixed |
| Component | libraries/unix |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |