Hello,

Since there are, in this report, rather few unexpected results with the tnaur 
builder as "smallest", I will take the opportunity to briefly summarize the 
details of these cases. Please understand that I have not looked into any of 
these cases in detail, except for forkprocess01 that I have looked into 
earlier.

On Tuesday 12 June 2007 09:30, BuildBot Collator wrote:
> Build results:
> ...
> New unexpected test failures:
> 
>     forkprocess01  1  tnaur PPC OSX head

This is:

=====> forkprocess01(ghci)
cd ../../../libraries/unix/tests && 
'/Users/thorkilnaur/tn/buildbot/ghc/tnaur-ppc-osx/tnaur-ppc-osx-head/build/compiler/stage2/ghc-inplace'
 
-no-recomp -dcore-lint -dcmm-lint -Dpowerpc_apple_darwin  forkprocess01.hs 
--interactive -v0 -package unix  <forkprocess01.genscript 
1>forkprocess01.interp.stdout 2>forkprocess01.interp.stderr
Actual stdout output differs from expected:
--- ../../../libraries/unix/tests/forkprocess01.stdout.normalised       
2007-06-12 
06:35:38.000000000 +0200
+++ ../../../libraries/unix/tests/forkprocess01.run.stdout.normalised   
2007-06-12 06:35:38.000000000 +0200
@@ -1 +1 @@
-Just (Exited (ExitFailure 72))
+Just (Terminated 11)
*** unexpected failure for forkprocess01(ghci)

See #1391 forkProcess() in Schedule.c with -threaded should initialize mutexes 
in child process (POSIX).

> ...
> Old unexpected test failures:
> ...
>     conc068             1  tnaur PPC OSX head

This is:

=====> conc068(normal)
cd ./concurrent/should_run && $MAKE -s --no-print-directory test068    
</dev/null >conc068.run.stdout 2>conc068.run.stderr
Wrong exit code (expected 0 , actual 2 )
Stdout:
Compiling

Stderr:

conc068.hs:3:7:
    Could not find module `Control.Parallel':
      Use -v to see a list of the files searched for.
make[1]: *** [test068] Error 1

*** unexpected failure for conc068(normal)

Hm ...

>     concio001           1  tnaur PPC OSX head

This is:

=====> concio001(normal)
cd ./lib/IO && $MAKE -s --no-print-directory test.concio001    </dev/null 
>concio001.run.stdout 2>concio001.run.stderr
Actual stdout output differs from expected:
--- ./lib/IO/concio001.stdout.normalised        2007-06-12 02:00:28.000000000 
+0200
+++ ./lib/IO/concio001.run.stdout.normalised    2007-06-12 02:00:28.000000000 
+0200
@@ -1,2 +1 @@
-child
 parent
*** unexpected failure for concio001(normal)

Again hm ...

>     concio001.thr       1  tnaur PPC OSX head

This is:

=====> concio001.thr(normal)
cd ./lib/IO && $MAKE -s --no-print-directory test.concio001.thr    </dev/null 
>concio001.thr.run.stdout 2>concio001.thr.run.stderr
Actual stdout output differs from expected:
--- ./lib/IO/concio001.thr.stdout.normalised    2007-06-12 02:00:34.000000000 
+0200
+++ ./lib/IO/concio001.thr.run.stdout.normalised        2007-06-12 
02:00:34.000000000 
+0200
@@ -1,2 +1 @@
-child
 parent
*** unexpected failure for concio001.thr(normal)

And a third hm ...

>  ...
>     ffi002              1  tnaur PPC OSX head

This is:

=====> ffi002(threaded1)
cd ./ccall/should_run && 
'/Users/thorkilnaur/tn/buildbot/ghc/tnaur-ppc-osx/tnaur-ppc-osx-head/build/compiler/stage2/ghc-inplace'
 
-no-recomp -dcore-lint -dcmm-lint -Dpowerpc_apple_darwin  -o ffi002 ffi002.hs 
-threaded -debug ffi002_c.c -no-hs-main -fglasgow-exts >ffi002.comp.stderr 
2>&1
cd ./ccall/should_run && ./ffi002    </dev/null >ffi002.run.stdout 
2>ffi002.run.stderr
Wrong exit code (expected 0 , actual 1 )
Stdout:

Stderr:
Memory leak detected
  gen 0 blocks :    2
  gen 1 blocks :    1
  nursery      :  128
  allocate()   :    0
  retainer     :    0
  arena blocks :    0
  exec         :    0
  free         :  119
  total        :  250

  in system    :  254
ffi002: internal error: ASSERTION FAILED: file sm/Storage.c, line 1188

    (GHC version 6.7.20070611 for powerpc_apple_darwin)
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

*** unexpected failure for ffi002(threaded1)

Hm ...

> ...
>     seward-space-leak   1  tnaur PPC OSX head

This is:

=====> seward-space-leak(ghci)
cd ./programs/seward-space-leak && 
'/Users/thorkilnaur/tn/buildbot/ghc/tnaur-ppc-osx/tnaur-ppc-osx-head/build/compiler/stage2/ghc-inplace'
 
-no-recomp -dcore-lint -dcmm-lint -Dpowerpc_apple_darwin  Main --interactive 
-v0   <seward-space-leak.genscript 1>seward-space-leak.interp.stdout 
2>seward-space-leak.interp.stderr
Timeout happened...killing process...
Wrong exit code (expected 0 , actual 99 )
Stdout:

Stderr:

*** unexpected failure for seward-space-leak(ghci)

And there is also:

>     signals002          1  tnaur PPC OSX head

with:

=====> signals002(ghci)
cd ../../../libraries/unix/tests && 
'/Users/thorkilnaur/tn/buildbot/ghc/tnaur-ppc-osx/tnaur-ppc-osx-head/build/compiler/stage2/ghc-inplace'
 
-no-recomp -dcore-lint -dcmm-lint -Dpowerpc_apple_darwin  signals002.hs 
--interactive -v0 -package unix  <signals002.genscript 
1>signals002.interp.stdout 2>signals002.interp.stderr
Timeout happened...killing process...
Wrong exit code (expected 0 , actual 99 )
Stdout:
False

Stderr:

*** unexpected failure for signals002(ghci)

For these two, the following two crash reports seem to apply:

Thorkil-Naurs-Computer:~/Library/Logs/CrashReporter thorkilnaur$ cat 
ghc-6.7.20070611.crash.log
**********

Host Name:      Thorkil-Naurs-Computer
Date/Time:      2007-06-11 22:19:00.419 +0200
OS Version:     10.4.9 (Build 8P135)
Report Version: 4

Command: ghc-6.7.20070611
Path:    
/Users/thorkilnaur/tn/buildbot/ghc/tnaur-ppc-osx/tnaur-ppc-osx-head/build/compiler/stage2/ghc-6.7.20070611
Parent:  sh [15425]

Version: ??? (???)

PID:    15426
Thread: 2

Exception:  EXC_BAD_INSTRUCTION (0x0002)
Code[0]:    0x00000002
Code[1]:    0x03876c08


Thread 0:
0   libSystem.B.dylib   0x9002c548 semaphore_wait_signal_trap + 8
1   libSystem.B.dylib   0x9003102c pthread_cond_wait + 480
2   ghc-6.7.20070611    0x00eff438 waitCondition + 16 (crt.c:355)
3   ghc-6.7.20070611    0x00f06ca8 yieldCapability + 196 (crt.c:355)
4   ghc-6.7.20070611    0x00df74d8 schedule + 40 (crt.c:355)
5   ghc-6.7.20070611    0x00c23b38 main + 48 (crt.c:355)
6   ghc-6.7.20070611    0x00001a48 _start + 340 (crt.c:272)
7   ghc-6.7.20070611    0x000018f0 start + 60

Thread 1:
0   libSystem.B.dylib   0x9001fa0c select + 12
1   ghc-6.7.20070611    0x00c20614 s3jSo_info + 84 (crt.c:355)
2   ghc-6.7.20070611    0x00df77b0 schedule + 768 (crt.c:355)
3   ghc-6.7.20070611    0x00df7ca4 workerStart + 88 (crt.c:355)
4   libSystem.B.dylib   0x9002be88 _pthread_body + 96

Thread 2 Crashed:
0   <<00000000>>        0x03876c08 0 + 59206664
1   <<00000000>>        0x035d8540 0 + 56460608
2   ghc-6.7.20070611    0x00df1208 interpretBCO + 4692 (crt.c:355)
3   ghc-6.7.20070611    0x00df77c8 schedule + 792 (crt.c:355)
4   ghc-6.7.20070611    0x00df7ca4 workerStart + 88 (crt.c:355)
5   libSystem.B.dylib   0x9002be88 _pthread_body + 96

Thread 3:
0   libSystem.B.dylib   0x9002c548 semaphore_wait_signal_trap + 8
1   libSystem.B.dylib   0x9003102c pthread_cond_wait + 480
2   ghc-6.7.20070611    0x00eff438 waitCondition + 16 (crt.c:355)
3   ghc-6.7.20070611    0x00f06ca8 yieldCapability + 196 (crt.c:355)
4   ghc-6.7.20070611    0x00df74d8 schedule + 40 (crt.c:355)
5   ghc-6.7.20070611    0x00df7ca4 workerStart + 88 (crt.c:355)
6   libSystem.B.dylib   0x9002be88 _pthread_body + 96

Thread 2 crashed with PPC Thread State 64:
  srr0: 0x0000000003876c08 srr1: 0x000000000208f030                        
vrsave: 0x0000000000000000
    cr: 0x55000553          xer: 0x0000000080000004   lr: 0x0000000003873358  
ctr: 0x0000000003873350
    r0: 0x0000000000f82fc8   r1: 0x00000000f0101bc0   r2: 0x00000000035d8dc4   
r3: 0x0000000000000008
    r4: 0x0000000000000000   r5: 0x00000000f0101ca0   r6: 0x0000000000000000   
r7: 0x0000000000000000
    r8: 0x00000000ffffffff   r9: 0x00000000010f0f50  r10: 0x000000000111115c  
r11: 0x00000000a00061ec
   r12: 0x0000000003873350  r13: 0x0000000000000000  r14: 0x0000000000000000  
r15: 0x0000000000000000
   r16: 0x0000000000000000  r17: 0x0000000000000000  r18: 0x000000000534aeb8  
r19: 0x000000000532e1d4
   r20: 0x0000000000c23e3c  r21: 0x00000000032d5414  r22: 0x0000000000000019  
r23: 0x000000000531f5d0
   r24: 0x000000000116ef40  r25: 0x00000000f0101ce0  r26: 0x00000000035d8508  
r27: 0x0000000000000070
   r28: 0x00000000f0101ca0  r29: 0x00000000023004b0  r30: 0x00000000f0101ce0  
r31: 0x00000000f0101ca0

Binary Images Description:
    0x1000 -  0x106efff 
ghc-6.7.20070611        
/Users/thorkilnaur/tn/buildbot/ghc/tnaur-ppc-osx/tnaur-ppc-osx-head/build/compiler/stage2/ghc-6.7.20070611
 0x2001000 -  0x202cfff 
GMP     /Library/Frameworks/GMP.framework/Versions/A/GMP
0x8fe00000 - 0x8fe52fff dyld 46.12      /usr/lib/dyld
0x90000000 - 0x901bdfff libSystem.B.dylib       /usr/lib/libSystem.B.dylib
0x90215000 - 0x9021afff 
libmathCommon.A.dylib   /usr/lib/system/libmathCommon.A.dylib

**********

Host Name:      Thorkil-Naurs-Computer
Date/Time:      2007-06-12 06:35:33.360 +0200
OS Version:     10.4.9 (Build 8P135)
Report Version: 4

Command: ghc-6.7.20070611
Path:    
/Users/thorkilnaur/tn/buildbot/ghc/tnaur-ppc-osx/tnaur-ppc-osx-head/build/compiler/stage2/ghc-6.7.20070611
Parent:  ghc-6.7.20070611 [9987]

Version: ??? (???)

PID:    9990
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0xfffffffc

Thread 0 Crashed:
0   libSystem.B.dylib   0x9002c694 restore_sem_to_pool + 84
1   libSystem.B.dylib   0x90001e14 pthread_mutex_lock + 604
2   ghc-6.7.20070611    0x00f06ac0 waitForReturnCapability + 224 (crt.c:355)
3   ghc-6.7.20070611    0x00df6854 scheduleDoGC + 180 (crt.c:355)
4   ghc-6.7.20070611    0x00df6b58 exitScheduler + 92 (crt.c:355)
5   ghc-6.7.20070611    0x00eff8bc hs_exit + 108 (crt.c:355)
6   ghc-6.7.20070611    0x00eff9d4 shutdownHaskellAndExit + 44 (crt.c:355)
7   <<00000000>>        0x04301d3c 0 + 70262076
8   ghc-6.7.20070611    0x00df77b0 schedule + 768 (crt.c:355)
9   ghc-6.7.20070611    0x00efd2fc rts_evalStableIO + 72 (crt.c:355)
10  ghc-6.7.20070611    0x00df6d0c forkProcess + 324 (crt.c:355)
11  <<00000000>>        0x0241d270 0 + 37868144
12  ghc-6.7.20070611    0x00df77b0 schedule + 768 (crt.c:355)
13  ghc-6.7.20070611    0x00df7ca4 workerStart + 88 (crt.c:355)
14  libSystem.B.dylib   0x9002be88 _pthread_body + 96

Thread 1:
0   <<00000000>>        0xffff85d8 __spin_lock_relinquish + 24 
(cpu_capabilities.h:186)
1   libSystem.B.dylib   0x90001c14 pthread_mutex_lock + 92
2   ghc-6.7.20070611    0x00f066f0 releaseCapability_ + 296 (crt.c:355)
3   ghc-6.7.20070611    0x00f06c80 yieldCapability + 156 (crt.c:355)
4   ghc-6.7.20070611    0x00df6808 scheduleDoGC + 104 (crt.c:355)
5   ghc-6.7.20070611    0x00df7554 schedule + 164 (crt.c:355)
6   ghc-6.7.20070611    0x00df7ca4 workerStart + 88 (crt.c:355)
7   libSystem.B.dylib   0x9002be88 _pthread_body + 96

Thread 0 crashed with PPC Thread State 64:
  srr0: 0x000000009002c694 srr1: 0x000000000200f030                        
vrsave: 0x0000000000000000
    cr: 0x22000224          xer: 0x0000000020000000   lr: 0x000000009002c678  
ctr: 0x000000009002c640
    r0: 0x0000000000000001   r1: 0x00000000f00fd7d0   r2: 0x00000000ffffffff   
r3: 0x00000000a000f014
    r4: 0x0000000000000000   r5: 0x0000000000000000   r6: 0x00000000ffffffff   
r7: 0x0000000000000000
    r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x00000000a000c648  
r11: 0x00000000fffffffc
   r12: 0x000000009002c640  r13: 0x0000000000000000  r14: 0x00000000027f7078  
r15: 0x0000000000000048
   r16: 0x0000000002612510  r17: 0x00000000026124c8  r18: 0x000000000438bbb8  
r19: 0x0000000000000000
   r20: 0x0000000000000000  r21: 0x0000000000000000  r22: 0x0000000000000000  
r23: 0x0000000002612510
   r24: 0x0000000001110000  r25: 0x0000000012141968  r26: 0x00000000a0001bc8  
r27: 0x0000000002300300
   r28: 0x00000000a0001fac  r29: 0x000000009fffc648  r30: 0x0000000000000f03  
r31: 0x000000009002c648

Binary Images Description:
    0x1000 -  0x106efff 
ghc-6.7.20070611        
/Users/thorkilnaur/tn/buildbot/ghc/tnaur-ppc-osx/tnaur-ppc-osx-head/build/compiler/stage2/ghc-6.7.20070611
 0x2001000 -  0x202cfff 
GMP     /Library/Frameworks/GMP.framework/Versions/A/GMP
0x8fe00000 - 0x8fe52fff dyld 46.12      /usr/lib/dyld
0x90000000 - 0x901bdfff libSystem.B.dylib       /usr/lib/libSystem.B.dylib
0x90215000 - 0x9021afff 
libmathCommon.A.dylib   /usr/lib/system/libmathCommon.A.dylib

Thorkil-Naurs-Computer:~/Library/Logs/CrashReporter thorkilnaur$

The first of these crashes seems to be in compiled Haskell code. The second, 
with the 

0   libSystem.B.dylib   0x9002c694 restore_sem_to_pool + 84
1   libSystem.B.dylib   0x90001e14 pthread_mutex_lock + 604
2   ghc-6.7.20070611    0x00f06ac0 waitForReturnCapability + 224 (crt.c:355)

on top of the stack of the crashed thread and

10  ghc-6.7.20070611    0x00df6d0c forkProcess + 324 (crt.c:355)

further down, I would judge similar to the forkprocess01 case.

> ...

Best regards
Thorkil

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to