discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: failing -base tests on OpenBSD 5.0 -current on sparc64


From: Fred Kiefer
Subject: Re: failing -base tests on OpenBSD 5.0 -current on sparc64
Date: Mon, 31 Oct 2011 23:21:44 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.23) Gecko/20110920 SUSE/3.1.15 Thunderbird/3.1.15

Thank you, at least this shows that it is rather a sparc64 issue and not one of libobjc2. Most likely, as you already expect, this is caused by libffi not fully working on this processor.

On 31.10.2011 14:14, Sebastian Reitenbach wrote:

On Sunday, October 30, 2011 21:14 CET, Fred Kiefer<fredkiefer@gmx.de>  wrote:

Could you please re-test with the gcc libobjc instead of libobjc2?

There are some more tests failing:


On 30.10.2011 16:07, Sebastian Reitenbach wrote:
Hi,

I thought I give it again a try, since the tests on i386 are now all fine for 
me. Before running the testsuite, I checked the testsuite of libffi, and I get 
the same output like I get on i386, which is in short: no unexpected failure.

I used the same tarballs of svn checkouts like I did on i386, using libobjc2, 
and compiler is gcc-4.2.1.
However, the following tests are failing:

base/KVC/mutable.m:
Failed test:     mutable.m:173 ... KVC mutableArrayValueForKey: proxy works 
with array proxy methods

This test fails with gcc libobc too.



base/NSConnection/connection.m:
Failed file:     connection.m aborted without running all tests!
Passed test:     connection.m:29 ... NSConnection can do a simple connection
2011-10-30 15:12:49.822 connection[17975] *** -[GSCInlineString release]: 
message sent to deallocated instance 0x20d65f008
Abort trap (core dumped)

this test is aborting too.

Failed file:     connection.m aborted without running all tests!
(gdb) thread apply all bt

Thread 1 (process 17975):
#0  abort () at /usr/src/lib/libc/stdlib/abort.c:74
#1  0x0000000205224b58 in GSLogZombie (o=0x20d65f008, sel=0x205713160) at 
NSObject.m:179
#2  0x0000000205229cbc in -[NSZombie forwardInvocation:] (self=0x20d65f008, 
_cmd=0x2057cb988, anInvocation=0x202559908) at NSObject.m:2496
#3  0x00000002053a035c in GSFFIInvocationCallback (cif=0x209e96280, 
retp=0xfffffffffffd3570, args=0xfffffffffffd3490, user=0x202567dc8)
      at GSFFIInvocation.m:637
#4  0x000000020731580c in ffi_closure_sparc_inner_v9 (closure=0x20037c000, 
rvalue=0xfffffffffffd3570, gpr=0xfffffffffffd3690, fpr=0xfffffffffffd3590)
      at src/sparc/ffi.c:621
#5  0x0000000207316110 in ffi_closure_v9 () from /usr/local/lib/libffi.so.0.0
#6  0x00000002050488d0 in GSIMapCleanMap (map=0x20af5a790) at GSIMap.h:1185
#7  0x00000002050486f8 in GSIMapEmptyMap (map=0x20af5a790) at GSIMap.h:1218
#8  0x0000000205048674 in -[GSDictionary dealloc] (self=0x20af5a788, 
_cmd=0x205774c58) at GSDictionary.m:118
#9  0x00000002052281bc in -[NSObject release] (self=0x20af5a788, 
_cmd=0x20572b430) at NSObject.m:2059
#10 0x00000002050cdc4c in -[NSAutoreleasePool emptyPool] (self=0x2068d8e08, 
_cmd=0x20572b410) at NSAutoreleasePool.m:656
#11 0x00000002050cd88c in -[NSAutoreleasePool dealloc] (self=0x2068d8e08, 
_cmd=0x20572b400) at NSAutoreleasePool.m:538
#12 0x00000002050cd80c in -[NSAutoreleasePool release] (self=0x2068d8e08, 
_cmd=0x303010) at NSAutoreleasePool.m:531
#13 0x00000000001026e0 in gnustep_base_user_main () at connection.m:34
#14 0x0000000205272508 in main (argc=1, argv=0xfffffffffffd4108, 
env=0xfffffffffffd4118) at NSProcessInfo.m:978
#15 0x000000000010100c in _start ()
#16 0x000000000010100c in _start ()
Previous frame identical to this frame (corrupt stack?)



base/NSInvocation/general.m:
Failed test:     general.m:87 ... Can return chars
Failed test:     general.m:93 ... Can return short
Failed test:     general.m:99 ... Can return int
Failed test:     general.m:130 ... Can send/return chars
Failed test:     general.m:137 ... Can send/return shorts
Failed test:     general.m:144 ... Can send/return ints


those tests are failing too.


base/NSOperation/basic.m:
Failed file:     basic.m aborted without running all tests!
Passed test:     basic.m:113 ... NSOperationQueue cannot be given negative count
2011-10-30 15:29:35.018 basic[22137] *** -[NSOperation isCancelled]: message 
sent to deallocated instance 0x200592c48
Abort trap (core dumped)
Failed file:     basic.m aborted without running all tests!

this test aborts too.

(gdb) thread apply all bt

Thread 1 (process 22137):
#0  abort () at /usr/src/lib/libc/stdlib/abort.c:74
#1  0x000000020f3b4b58 in GSLogZombie (o=0x200592c48, sel=0x20f906cc8) at 
NSObject.m:179
#2  0x000000020f3b9cbc in -[NSZombie forwardInvocation:] (self=0x200592c48, 
_cmd=0x20f95b988, anInvocation=0x20bb8d108) at NSObject.m:2496
#3  0x000000020f53035c in GSFFIInvocationCallback (cif=0x20c1df600, 
retp=0x20df41a40, args=0x20df41960, user=0x20eef4548) at GSFFIInvocation.m:637
#4  0x0000000201bdd80c in ffi_closure_sparc_inner_v9 (closure=0x202b6e000, 
rvalue=0x20df41a40, gpr=0x20df41b60, fpr=0x20df41a60) at src/sparc/ffi.c:621
#5  0x0000000201bde110 in ffi_closure_v9 () from /usr/local/lib/libffi.so.0.0
#6  0x000000020f3c16f0 in -[NSOperationQueue(Private) _thread] 
(self=0x2005937a8, _cmd=0x20f907088) at NSOperation.m:943
#7  0x000000020f3b7f14 in -[NSObject performSelector:withObject:] 
(self=0x2005937a8, _cmd=0x20f92dc08, aSelector=0x20f907088, anObject=0x0) at 
NSObject.m:2011
#8  0x000000020f47ebe4 in -[NSThread gnustep:base:user:main] (self=0x205320e08, 
_cmd=0x20f92dc18) at NSThread.m:737
#9  0x000000020f47eef4 in nsthreadLauncher (thread=0x205320e08) at 
NSThread.m:803
#10 0x000000021054ed78 in _thread_start () at 
/usr/src/lib/libpthread/uthread/uthread_create.c:242
#11 0x000000021054ed40 in pthread_attr_setstackaddr () at 
/usr/src/lib/libpthread/uthread/uthread_create.c:234
#12 0x000000021054ed40 in pthread_attr_setstackaddr () at 
/usr/src/lib/libpthread/uthread/uthread_create.c:234
Previous frame identical to this frame (corrupt stack?)



base/NSOperation/concurrent.m:
Failed file:     concurrent.m aborted without running all tests!
Running base/NSOperation/concurrent.m...
Start set:       concurrent.m:95 ... concurrent operations
Segmentation fault (core dumped)
Failed file:     concurrent.m aborted without running all tests!

this test aborts too.

(gdb) thread apply all bt

Thread 1 (process 15771):
#0  0x000000020a7901b8 in pthread_cond_wait (cond=0x20fab8390, 
mutex=0x20fab8398) at /usr/src/lib/libpthread/uthread/uthread_cond.c:264
#1  0x0000000200dd3b24 in -[NSCondition wait] (self=0x20fab8388, 
_cmd=0x20133c388) at NSLock.m:313
#2  0x0000000200dd4224 in -[NSConditionLock lockWhenCondition:] 
(self=0x20fab9148, _cmd=0x20134ae78, value=1) at NSLock.m:400
#3  0x0000000200e01a38 in -[NSOperation waitUntilFinished] (self=0x202044768, 
_cmd=0x20134afb8) at NSOperation.m:496
#4  0x0000000200e049e4 in -[NSOperationQueue waitUntilAllOperationsAreFinished] 
(self=0x202044fc8, _cmd=0x30f348) at NSOperation.m:851
#5  0x0000000000109e14 in gnustep_base_user_main () at concurrent.m:101
#6  0x0000000200e46508 in main (argc=1, argv=0xfffffffffffe67d8, 
env=0xfffffffffffe67e8) at NSProcessInfo.m:978
#7  0x00000000001015ac in _start ()
#8  0x00000000001015ac in _start ()
Previous frame identical to this frame (corrupt stack?)



base/NSOperation/threads.m:
Failed file:     threads.m aborted without running all tests!
2011-10-30 15:29:45.320 threads[28037] *** -[OpFlag isFinished]: message sent 
to deallocated instance 0x203188a48
Abort trap (core dumped)
Failed file:     threads.m aborted without running all tests!

this test aborts too.

(gdb) thread apply all bt

Thread 1 (process 28037):
#0  abort () at /usr/src/lib/libc/stdlib/abort.c:74
#1  0x000000020c9d8b58 in GSLogZombie (o=0x203188a48, sel=0x3178f0) at 
NSObject.m:179
#2  0x000000020c9ddcbc in -[NSZombie forwardInvocation:] (self=0x203188a48, 
_cmd=0x20cf7f988, anInvocation=0x2087bde08) at NSObject.m:2496
#3  0x000000020cb5435c in GSFFIInvocationCallback (cif=0x21186c280, 
retp=0xfffffffffffc6ff0, args=0xfffffffffffc6f10, user=0x203188948)
      at GSFFIInvocation.m:637
#4  0x000000020652580c in ffi_closure_sparc_inner_v9 (closure=0x2089c2000, 
rvalue=0xfffffffffffc6ff0, gpr=0xfffffffffffc7110, fpr=0xfffffffffffc7010)
      at src/sparc/ffi.c:621
#5  0x0000000206526110 in ffi_closure_v9 () from /usr/local/lib/libffi.so.0.0
#6  0x000000000010b124 in gnustep_base_user_main () at threads.m:143
#7  0x000000020ca26508 in main (argc=1, argv=0xfffffffffffc7cc8, 
env=0xfffffffffffc7cd8) at NSProcessInfo.m:978
#8  0x000000000010186c in _start ()
#9  0x000000000010186c in _start ()
Previous frame identical to this frame (corrupt stack?)


base/NSProxy/test00.m:
Failed test:     test00.m:124 ... subclass isEqual: to proxy
Failed test:     test00.m:125 ... remote isEqual: to proxy
Failed test:     test00.m:133 ... proxy compare: remote
Failed test:     test00.m:134 ... proxy compare: subclass

those tests are also failing.


base/NSProxy/test01.m:
Failed test:     test01.m:195 ... Proxy signed char
Failed test:     test01.m:196 ... Proxy unsigned char
Failed test:     test01.m:197 ... Proxy signed short
Failed test:     test01.m:199 ... Proxy unsigned short
Failed test:     test01.m:201 ... Proxy signed int
Failed test:     test01.m:203 ... Proxy unsigned int
Failed test:     test01.m:220 ... Proxy enum

and those are also failing.



_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


  additional tests failing:
Testing condlock.m...
Running base/NSLock/condlock.m...
2011-10-31 10:46:42.705 condlock[9673] WARNING your program is becoming 
multi-threaded, but you are using an ObjectiveC runtime library which does not 
have a thread-safe implementation of the +initialize method. Please see 
README.initialize for more information.
Passed test:     condlock.m:92 ... Condition lock
2011-10-31 10:46:55.185 condlock[9673] *** -[GSCInlineString release]: message 
sent to deallocated instance 0x201550048
Abort trap (core dumped)
Failed file:     condlock.m aborted without running all tests!


Testing thread.m...
Running base/NSRunLoop/thread.m...
Passed test:     thread.m:201 ... Methods will be performed in a loop without 
inputs
2011-10-31 11:50:43.870 thread[28200] *** -[GSCInlineString release]: message 
sent to deallocated instance 0x20db48648
Abort trap (core dumped)
Failed file:     thread.m aborted without running all tests!


Testing test02.m...
Running base/NSString/test02.m...
Failed test:     test02.m:56 ... [@"/home/nicola.jpg/" pathExtension] == @"jpg"

attached the full tests.log file. Some NSURL and NSURLHandle tests are failing 
too. But David told me once, that might be a timing issue. Sometimes there are 
more of them failing, sometimes all pass. This also happens on i386.

Sebastian




reply via email to

[Prev in Thread] Current Thread [Next in Thread]