Re: [GHC] #1015: regex001(ghci,threaded1) seg-faults under Solaris

2009-04-05 Thread GHC
#1015: regex001(ghci,threaded1) seg-faults under Solaris
-+--
Reporter:  mae...@tzi.de |Owner:  benl   
Type:  bug   |   Status:  closed 
Priority:  normal|Milestone:  _|_
   Component:  Compiler  |  Version:  6.6
Severity:  normal|   Resolution:  fixed  
Keywords:|   Difficulty:  Unknown
Testcase:|   Os:  Solaris
Architecture:  Unknown/Multiple  |  
-+--
Changes (by benl):

  * status:  assigned = closed
  * resolution:  = fixed

Comment:

 Mon Apr  6 15:35:13 EST 2009  ben.lippme...@anu.edu.au
   * Fix #1015: Don't free the buffers of regexes who's compile fails.
   The SunOS 5.10 man page says that if regcomp fails then the regex
   buffer becomes undefined. Trying to free it causes a segv under
   x86 and SPARC.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1015#comment:7
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


Re: [GHC] #1015: regex001(ghci,threaded1) seg-faults under Solaris

2009-01-27 Thread GHC
#1015: regex001(ghci,threaded1) seg-faults under Solaris
-+--
Reporter:  mae...@tzi.de |Owner:  benl
Type:  bug   |   Status:  assigned
Priority:  normal|Milestone:  _|_ 
   Component:  Compiler  |  Version:  6.6 
Severity:  normal|   Resolution:  
Keywords:|   Difficulty:  Unknown 
Testcase:|   Os:  Solaris 
Architecture:  Unknown/Multiple  |  
-+--
Changes (by benl):

  * status:  new = assigned
  * owner:  = benl

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1015#comment:6
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


Re: [GHC] #1015: regex001(ghci,threaded1) seg-faults under Solaris

2008-01-25 Thread GHC
#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 simonmar):

 Christian - is this bug still relevant?

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1015#comment:2
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


Re: [GHC] #1015: regex001(ghci,threaded1) seg-faults under Solaris

2008-01-25 Thread Christian Maeder
Hi Simon,

could you please supply a testsuite.tgz for ghc-6.8.2 so that I can test
it? (Or say how to easily get the testsuite only).

I hope ghc-6.8.2 is sufficient for testing.

Cheers Christian

see also
http://hackage.haskell.org/trac/ghc/ticket/2025


GHC wrote:
 #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 simonmar):
 
  Christian - is this bug still relevant?
 
___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #1015: regex001(ghci,threaded1) seg-faults under Solaris

2008-01-25 Thread GHC
#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):

 under x86 Solaris as well:

 {{{
 -bash-3.1$ ghc -no-recomp -lbfd -lintl -liberty -dcore-lint -dcmm-lint
 -Dsparc_sun_solaris2  -o regex001 regex001.hs -threaded -debug -package
 regex-posix
 -bash-3.1$ ./regex001
 Segmentation Fault
 }}}

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1015#comment:4
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


Re: [GHC] #1015: regex001(ghci,threaded1) seg-faults under Solaris

2008-01-25 Thread GHC
#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
 1regex001.interp.stdout 2regex001.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 21
 cd ./lib/Regex  ./regex001/dev/null regex001.run.stdout
 2regex001.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


Re: [GHC] #1015: regex001(ghci,threaded1) seg-faults under Solaris

2008-01-25 Thread Simon Marlow

Christian Maeder wrote:

Hi Simon,

could you please supply a testsuite.tgz for ghc-6.8.2 so that I can test
it? (Or say how to easily get the testsuite only).

I hope ghc-6.8.2 is sufficient for testing.


A recent testsuite should be fine, that test hasn't changed in ages.  In 
the future, I'll try to make sure we tag the testsuite for each GHC release.


Cheers, 
Simon


Cheers Christian

see also
http://hackage.haskell.org/trac/ghc/ticket/2025


GHC wrote:

#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 simonmar):

 Christian - is this bug still relevant?



___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


Re: [GHC] #1015: regex001(ghci,threaded1) seg-faults under Solaris

2007-01-18 Thread GHC
#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|  
---+
Changes (by igloo):

  * milestone:  6.6.1 = _|_

Comment:

 Set milestone to _|_ as this is a registerised bug in a non-actively-
 maintained port.

-- 
Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1015
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