Skip to content

SunOS5.8: getEffectiveUserNamem, crash illegal instruction

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 
Trac metadata
Trac field Value
Version 6.0.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedFixed
Component libraries/unix
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information