|
[ ghc-Bugs-952616 ] dlclose segfaults: msg#00036lang.haskell.glasgow.bugs
Bugs item #952616, was opened at 2004-05-12 16:40 Message generated for change (Settings changed) made by volkersf You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=952616&group_id=8032 Category: libraries/unix Group: 6.2 >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Volker Stolz (volkersf) Summary: dlclose segfaults Initial Comment: 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@xxxxxxxxx ---------------------------------------------------------------------- Comment By: Volker Stolz (volkersf) Date: 2004-05-13 10:16 Message: Logged In: YES user_id=126328 Indeed a bug in DynamicLinker.hsc: dlclose (DLHandle h) = throwDLErrorIf_ "dlclose" (== 0) $ c_dlclose h should read dlclose (DLHandle h) = throwDLErrorIf_ "dlclose" (/= 0) $ c_dlclose h Unluckily, I still can't access the CVS-repository to fix it. Volker ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=952616&group_id=8032
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ ghc-Bugs-952616 ] dlclose segfaults, SourceForge.net |
|---|---|
| Next by Date: | [ ghc-Bugs-952398 ] Windows compiler assumes (wrongly) TH when using ($), SourceForge.net |
| Previous by Thread: | [ ghc-Bugs-952616 ] dlclose segfaults, SourceForge.net |
| Next by Thread: | [ ghc-Bugs-954378 ] getFileStatus does not include the file name in IO-Error, SourceForge.net |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |