[ ghc-Bugs-807065 ] SunOS5.8: getEffectiveUserNamem, crash illegal instruction
Bugs item #807065, was opened at 2003-09-16 13:37 Message generated for change (Comment added) made by volkersf You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=807065&group_id=8032 >Category: libraries/unix Group: 6.0.1 >Status: Closed >Resolution: Fixed 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: Volker Stolz (volkersf) Date: 2004-02-19 17:05 Message: Logged In: YES user_id=126328 Fixed in 6.2+. Tested on SunOS 5.9 & FreeBSD 5 -- Comment By: Don Stewart (dons) Date: 2003-10-27 22: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 ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
[ ghc-Bugs-807065 ] SunOS5.8: getEffectiveUserNamem, crash illegal instruction
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 ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
[ ghc-Bugs-807065 ] SunOS5.8: getEffectiveUserNamem, crash illegal instruction
Bugs item #807065, was opened at 2003-09-16 11:37 Message generated for change (Tracker Item Submitted) made by Item Submitter 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 -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=807065&group_id=8032 ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs