|
[ ghc-Bugs-807065 ] SunOS5.8: getEffectiveUserNamem, crash illegal instruct: msg#00069lang.haskell.glasgow.bugs
Bugs item #807065, was opened at 2003-09-16 21:37 Message generated for change (Comment added) made by dons You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=807065&group_id=8032 Category: None Group: 6.0.1 Status: Open Resolution: None Priority: 5 Submitted By: klaus (sternhaus) Assigned to: Nobody/Anonymous (nobody) Summary: SunOS5.8: getEffectiveUserNamem, crash illegal instruction Initial Comment: hello. on SunOS 5.8, with a fresh compiled ghc (configure -prefix=/home/xxx/local && make) and the some for the precompiled version. the simple programm crash (see test.hs). gdb says > gdb ./test This GDB was configured as "sparc-sun-solaris2.8"... (gdb) run Starting program: /home/xxx/test Program received signal SIGILL, Illegal instruction. 0x1f16dc in getgrnam_r () (gdb) -- test.hs import Posix main :: IO () main = do user <- Posix.getEffectiveUserName print user ---- thx in advance klaus ---------------------------------------------------------------------- Comment By: Don Stewart (dons) Date: 2003-10-28 08:39 Message: Logged In: YES user_id=880987 A fix for Solaris has been committed for this, defining _POSIX_PTHREAD_SEMANTICS to get the proper getgrnam_r. It is untested as yet. See this thread: http://www.haskell.org/pipermail/glasgow-haskell-bugs/2003-September/003601.html At the time it was also noted that getgrnam_r functions did not work on FreeBSD and OpenBSD as well, although for different reasons. This hasn't been resolved yet. -- Don ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=807065&group_id=8032
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ ghc-Bugs-831333 ] closure type 0 occurence, SourceForge.net |
|---|---|
| Next by Date: | Re: Overflown relocs in ghci, Sigbjorn Finne |
| Previous by Thread: | [ ghc-Bugs-831333 ] closure type 0 occurence, SourceForge.net |
| Next by Thread: | [ ghc-Bugs-832920 ] Missing # from #-} elicits utterly opaque error, SourceForge.net |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |