-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
What steps will reproduce the problem?
1. check out from svn
2. cd into rococoa-core and *mvn install*
3. cd into rococoa-cocoa
4. ensure there is no librococoa.dylib in there
5. *mvn test*
What is the expected output? What do you see instead?
I expected it to succeed but got the following:
Macintosh:rococoa-cocoa paulloy$ mvn test
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Rococoa Cocoa Mappings
[INFO] task-segment: [test]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using encoding: 'UTF-8' to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [dependency:copy {execution: copy}]
[INFO] Configured Artifact: org.rococoa:rococoa-core:0.5:dylib
[INFO] Copying rococoa-core-0.5.dylib to
/Users/paulloy/Documents/workspace-gc/rococoa/rococoa/rococoa-cocoa/librococoa.d
ylib
[INFO] [resources:testResources]
[INFO] Using encoding: 'UTF-8' to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory:
/Users/paulloy/Documents/workspace-gc/rococoa/rococoa/rococoa-cocoa/target/suref
ire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.rococoa.cocoa.qtkit.QTMovieTest
main RococoaTestCase.logVersions - Running with JAVA_HOME = null,
java.version = 1.6.0_15, sizeof(Pointer) = 8
main Foundation.<clinit> - Initializing Foundation
main Foundation.<clinit> - exit initializing Foundation
main Rococoa.create - creating [NSAutoreleasePool
(org.rococoa.cocoa.foundation.NSAutoreleasePool)].new()
main Foundation.getClass - calling objc_getClass(NSAutoreleasePool)
main Foundation.send - sending (ID) [ID 0x7fff7104c498].new()
main NSObjectInvocationHandler.<init> - Creating NSObjectInvocationHandler
for id [ID 0x10140ebc0], javaclass class
org.rococoa.cocoa.foundation.NSAutoreleasePool. retain = false, retainCount = 1
main Foundation.getClass - calling objc_getClass(NSObject)
main NSObjectInvocationHandler.<init> - Creating NSObjectInvocationHandler
for id [ID 0x7fff705da4a8], javaclass interface
org.rococoa.NSObject$_Class. retain = false, retainCount = -1
main Foundation.getClass - calling objc_getClass(NSThread)
Thread- Foundation.getClass - calling objc_getClass(QTMovie)
Thread- NSObjectInvocationHandler.<init> - Creating
NSObjectInvocationHandler for id [ID 0x7fff70ec2928], javaclass interface
org.rococoa.cocoa.qtkit.QTMovie$_Class. retain = true, retainCount = -1
Thread- Foundation.send - sending (boolean) [ID 0x7fff710524d8].isMainThread()
Thread- Foundation.cfRetain - calling cfRetain([ID 0x7fff70ec2928])
Thread- Foundation.getClass - calling objc_getClass(NSDictionary)
Thread- NSObjectInvocationHandler.<init> - Creating
NSObjectInvocationHandler for id [ID 0x7fff705da048], javaclass interface
org.rococoa.cocoa.foundation.NSDictionary$_Class. retain = false,
retainCount = -1
Thread- Foundation.getClass - calling objc_getClass(NSArray)
Thread- NSObjectInvocationHandler.<init> - Creating
NSObjectInvocationHandler for id [ID 0x7fff705d9d28], javaclass interface
org.rococoa.cocoa.foundation.NSArray$_Class. retain = false, retainCount = -1
main NSObjectInvocationHandler.invoke - invoking [_Class [ID
0x7fff70ec2928]].movieWithFile_error(/Users/paulloy/Documents/workspace-gc/rococ
oa/rococoa/rococoa-cocoa/NOSUCH,
org.rococoa.NSObjectByReference@11be51)
main Foundation.send - sending (boolean) [ID 0x7fff710524d8].isMainThread()
Thread- Foundation.send - sending (QTMovie) [ID
0x7fff70ec2928].movieWithFile:error:(/Users/paulloy/Documents/workspace-gc/rococ
oa/rococoa/rococoa-cocoa/NOSUCH,
org.rococoa.IDByReference@1014b1)
Thread- Foundation.send - sending (ID) [ID 0x1001155d0].autorelease()
Invalid memory access of location 0x0 rip=0x7fff87cc0340
/bin/sh: line 1: 5930 Segmentation fault
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java
-jar
/var/folders/sZ/sZS0ADi2HlOY-6BxwCXt4k+++TI/-Tmp-/surefirebooter2639509870858234
768.jar
/var/folders/sZ/sZS0ADi2HlOY-6BxwCXt4k+++TI/-Tmp-/surefire3501010980469964977tmp
/var/folders/sZ/sZS0ADi2HlOY-6BxwCXt4k+++TI/-Tmp-/surefire4648069105603304709tmp
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
Please refer to
/Users/paulloy/Documents/workspace-gc/rococoa/rococoa/rococoa-cocoa/target/suref
ire-reports
for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Mon Oct 05 23:54:51 BST 2009
[INFO] Final Memory: 26M/80M
[INFO] ------------------------------------------------------------------------
*Java version*:
java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03-219)
Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-90, mixed mode)
*OSX*: snow leopard
Original issue reported on code.google.com by [email protected]
on 5 Oct 2009 at 10:59