#1015: regex001(ghci,threaded1) seg-faults under Solaris
---------------------------+------------------------------------------------
 Reporter:  [EMAIL PROTECTED]  |          Owner:          
     Type:  bug            |         Status:  new     
 Priority:  normal         |      Milestone:  _|_     
Component:  Compiler       |        Version:  6.6     
 Severity:  normal         |     Resolution:          
 Keywords:                 |     Difficulty:  Unknown 
 Testcase:                 |   Architecture:  Multiple
       Os:  Solaris        |  
---------------------------+------------------------------------------------
Comment (by maeder):

 Yes, I've just tested under sparc solaris:

 {{{
 =====> regex001(ghci)
 cd ./lib/Regex && '/local/home/maeder/ghc-6.8.2/compiler/stage2/ghc-
 inplace' -no-recomp -dcore-lint -dcmm-lint -Dsparc_sun_solaris2
 regex001.hs --interactive -v0 -package regex-posix  <regex001.genscript
 1>regex001.interp.stdout 2>regex001.interp.stderr
 Bus Error
 Wrong exit code (expected 0 , actual 138 )
 Stdout:
 *** framework failure for regex001(ghci) :
 Traceback (most recent call last):
   File "/home/ian/ghc/6.6-branch/ghc/testsuite/driver/testlib.py", line
 363, in do_test
     result = apply(func, [name,way] + args)
   File "/home/ian/ghc/6.6-branch/ghc/testsuite/driver/testlib.py", line
 509, in compile_and_run
     return compile_and_run_helper( name, way, extra_hc_opts, 0 )
   File "/home/ian/ghc/6.6-branch/ghc/testsuite/driver/testlib.py", line
 519, in compile_and_run_helper
     return interpreter_run( name, way, extra_hc_opts, 0, '' )
   File "/home/ian/ghc/6.6-branch/ghc/testsuite/driver/testlib.py", line
 736, in interpreter_run
     dump_stdout(name)
   File "/home/ian/ghc/6.6-branch/ghc/testsuite/driver/testlib.py", line
 880, in dump_stdout
     print read_no_crs(qualify(name, 'run.stdout'))
   File "/home/ian/ghc/6.6-branch/ghc/testsuite/driver/testlib.py", line
 899, in read_no_crs
     h = open(file)
 IOError: [Errno 2] No such file or directory:
 './lib/Regex/regex001.run.stdout'
 =====> regex001(threaded1)
 cd ./lib/Regex && '/local/home/maeder/ghc-6.8.2/compiler/stage2/ghc-
 inplace' -no-recomp -dcore-lint -dcmm-lint -Dsparc_sun_solaris2  -o
 regex001 regex001.hs -threaded -debug -package regex-posix
 >regex001.comp.stderr 2>&1
 cd ./lib/Regex && ./regex001    </dev/null >regex001.run.stdout
 2>regex001.run.stderr
 Segmentation Fault
 Wrong exit code (expected 0 , actual 139 )
 Stdout:

 Stderr:

 *** unexpected failure for regex001(threaded1)
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1015#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to