GNUstep on x86_64

2006-04-22 Thread BALATON Zoltan
In the base patch mentioned in my previous letter also included a first 
try to compile GNUstep on x86_64 where the only problem seems to be 
mframe. By copying the config files from i386 it compiles and basic things 
(not using mframe also seem to mostly work) but 
Testing/nsmethodsignature.m gives the following output:


2006-04-22 22:44:59.754 nsmethodsignature[3162] sel: 
smallStruct_id:uchar:ushort:uint:ulong:float:double:largeStruct:smallStruct:

rts:[EMAIL PROTECTED]:[EMAIL PROTECTED]
mfs:[EMAIL PROTECTED]:[EMAIL PROTECTED]
2006-04-22 22:44:59.754 nsmethodsignature[3162] sel: 
largeStruct_id:char:short:int:long:float:double:largeStruct:smallStruct:

rts:[EMAIL PROTECTED]:[EMAIL PROTECTED]
mfs:[EMAIL PROTECTED]:[EMAIL PROTECTED]
2006-04-22 22:44:59.754 nsmethodsignature[3162] sel: void_float:double:
rts:[EMAIL PROTECTED]:8f16d20
mfs:[EMAIL PROTECTED]:8f16d24
2006-04-22 22:44:59.755 nsmethodsignature[3162] sel: void_sshort:
rts:[EMAIL PROTECTED]:8s16
mfs:[EMAIL PROTECTED]:8s16
2006-04-22 22:44:59.755 nsmethodsignature[3162] sel: void_ushort:
rts:[EMAIL PROTECTED]:8S16
mfs:[EMAIL PROTECTED]:8S16
2006-04-22 22:44:59.755 nsmethodsignature[3162] sel: void_short:
rts:[EMAIL PROTECTED]:8s16
mfs:[EMAIL PROTECTED]:8s16
2006-04-22 22:44:59.755 nsmethodsignature[3162] sel: void_schar:
rts:[EMAIL PROTECTED]:8c16
mfs:[EMAIL PROTECTED]:8c16
2006-04-22 22:44:59.755 nsmethodsignature[3162] sel: void_uchar:
rts:[EMAIL PROTECTED]:8C16
mfs:[EMAIL PROTECTED]:8C16
2006-04-22 22:44:59.755 nsmethodsignature[3162] sel: void_char:
rts:[EMAIL PROTECTED]:8c16
mfs:[EMAIL PROTECTED]:8c16
2006-04-22 22:44:59.755 nsmethodsignature[3162] sel: smallStruct_void
rts:[EMAIL PROTECTED]:8
mfs:[EMAIL PROTECTED]:16
2006-04-22 22:44:59.755 nsmethodsignature[3162] sel: largeStruct_void
rts:[EMAIL PROTECTED]:8
mfs:[EMAIL PROTECTED]:16
2006-04-22 22:44:59.785 nsmethodsignature[3162] Skipping 
test_compare_server_signature: proxy not found.
2006-04-22 22:44:59.785 nsmethodsignature[3162] MethodSignature Test 
Failed:
2006-04-22 22:44:59.785 nsmethodsignature[3162] 
NSInternalInconsistencyException discrepancies between gcc/mframe 
signatures (nil)


Testing nsinvocation.m dumps core as follows:

Starting
Calling proxy
Testing NS_MESSAGE ... OK
Testing NS_INVOCATION ... OK
Expect: 99, invoke: 99 forward: 99
Expect: 12345, invoke: 12345 forward: 12345
Expect: 123456, invoke: 123456 forward: 123456
Expect: 123456, invoke: 123456 forward: 123456
Expect: 123.456, invoke: 123.456 forward: 123.456
Expect: 123.456, invoke: 123.456 forward: 123.456
Expect: 51d670, invoke: 51d670 forward: 524560
Expect: 'string', invoke: 'string' forward: 'string'
Expect: {11,22}, invoke: {11,22} forward: {11,22}
Expect: {99,large,99.99}, invoke: {99,large,99.99} forward: 
{99,large,99.99}

Expect: 1, invoke: 1 forward: 1
Expect: 2, invoke: 2 forward: 2
Expect: 3, invoke: 3 forward: 3
Expect: 4, invoke: 4 forward: 4
Expect: 5.0, invoke: 5.0 forward: 5.0
Expect: 6.0, invoke: 6.0 forward: 6.0
Expect: 6.0, forward: 6.0
Expect: 56b350, invoke: 56b350 forward: 59d3c0
Expect: 'Hello', invoke: 'Hello' forward: 'Hello'
Expect: {8,9}, invoke: {8,9} forward: {8,9}

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912517591456 (LWP 3174)]
0x2bc50cb0 in strlen () from /lib64/tls/libc.so.6
Current language:  auto; currently c
(gdb) bt
#0  0x2bc50cb0 in strlen () from /lib64/tls/libc.so.6
#1  0x2ad23f06 in -[NSMutableDataMalloc 
serializeDataAt:ofObjCType:context:] (self=0x59e6c0, _cmd=Variable _cmd 
is not available.

)
at /home/balaton/src/gnustep/core/base/Source/NSData.m:3292
#2  0x2acf5f6d in -[NSArchiver encodeValueOfObjCType:at:] (
self=0x59dd10, _cmd=Variable _cmd is not available.
)
at /home/balaton/src/gnustep/core/base/Source/NSArchiver.m:531
#3  0x2acf4f64 in -[NSArchiver encodeValueOfObjCType:at:] (
self=0x59dd10, _cmd=Variable _cmd is not available.
)
at /home/balaton/src/gnustep/core/base/Source/NSArchiver.m:338
#4  0x2ad55a6e in -[NSInvocation encodeWithCoder:] (self=0x59e4d0,
_cmd=Variable _cmd is not available.
) at /home/balaton/src/gnustep/core/base/Source/NSInvocation.m:701
#5  0x2acf4163 in -[NSArchiver encodeObject:] (self=0x59dd10, 
_cmd=Variable _cmd is not available.

)
at /home/balaton/src/gnustep/core/base/Source/NSArchiver.m:825
#6  0x2acf1df6 in -[NSArchiver encodeRootObject:] (self=0x59dd10, 
_cmd=Variable _cmd is not available.


) at /home/balaton/src/gnustep/core/base/Source/NSArchiver.m:631
#7  0x2acf2251 in +[NSArchiver archivedDataWithRootObject:] (
self=0x2b022d00, _cmd=Variable _cmd is not available.
)
at /home/balaton/src/gnustep/core/base/Source/NSArchiver.m:209
#8  0x00400cdd in -[MyProxy forwardInvocation:] (self=0x56b350, 
_cmd=Variable _cmd is not available.

)
at /home/balaton/src/gnustep/core/base/Testing/nsinvocation.m:182
#9  0x2adecc58 in GSInvocationCallback 

Re: [PATCH] Minor fix in NSWindowController

2006-04-22 Thread Fred Kiefer
Quentin Mathé wrote:
 I have done new tests with other applications today like Notebook,  Ink
 and ToolbarExample (which is document based). With the two last  ones,
 the result is a segmentation fault on a document window  close :-/. It's
 retain/release issue. Now I think that's the extra  'retain' I removed
 in NSWindowController is just covering another bug  (may be more). I
 would say it's probably related to - isReleasedWhenClosed value not
 properly ignored everywhere when  NSWindowController is used in
 NSDocument architecture context. What's  your take on this ?
 

Most likely this segmentation fault was the reason I introduced the
retain call in the first place.
Now with the new explanation from Apple we need to change some code. I
would insist, that what ever you change it should not break existing
applications. Apart from that feel free to bring our code closer to what
should be done. From my point of view the whole code in
[NSWindowController _windowWillClose:] could go away, but I am not deep
enough into this any more.

Cheers
Fred


___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev


[Gnustep-cvs] gnustep core/COPYING.LIB core/PoweredByGNUstep....

2006-04-22 Thread Adam Fedor
CVSROOT:/cvsroot/gnustep
Module name:gnustep
Branch: 
Changes by: Adam Fedor [EMAIL PROTECTED]  06/04/23 04:07:06

Modified files:
core   : COPYING.LIB PoweredByGNUstep.tiff 
core/base/Documentation: coding-standards.texi gnustep-base.texi 
 gnustep-zones.texi 
core/base/Documentation/manual: manual.texi 
core/gui/Documentation/manual: manual.texi 
dev-apps/Gorm/Documentation: Gorm.texi 
dev-apps/test/gtests: README 
dev-apps/test/gtests/Documentation: testdoc.texi 
dev-libs/SQLClient: README 

Log message:
Doc license updates

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnustep/gnustep/core/COPYING.LIB.diff?tr1=1.4tr2=1.5r1=textr2=text
http://cvs.savannah.gnu.org/viewcvs/gnustep/gnustep/core/PoweredByGNUstep.tiff.diff?tr1=1.1tr2=1.2r1=textr2=text
http://cvs.savannah.gnu.org/viewcvs/gnustep/gnustep/core/base/Documentation/coding-standards.texi.diff?tr1=1.12tr2=1.13r1=textr2=text
http://cvs.savannah.gnu.org/viewcvs/gnustep/gnustep/core/base/Documentation/gnustep-base.texi.diff?tr1=1.11tr2=1.12r1=textr2=text
http://cvs.savannah.gnu.org/viewcvs/gnustep/gnustep/core/base/Documentation/gnustep-zones.texi.diff?tr1=1.4tr2=1.5r1=textr2=text
http://cvs.savannah.gnu.org/viewcvs/gnustep/gnustep/core/base/Documentation/manual/manual.texi.diff?tr1=1.4tr2=1.5r1=textr2=text
http://cvs.savannah.gnu.org/viewcvs/gnustep/gnustep/core/gui/Documentation/manual/manual.texi.diff?tr1=1.1tr2=1.2r1=textr2=text
http://cvs.savannah.gnu.org/viewcvs/gnustep/gnustep/dev-apps/Gorm/Documentation/Gorm.texi.diff?tr1=1.27tr2=1.28r1=textr2=text
http://cvs.savannah.gnu.org/viewcvs/gnustep/gnustep/dev-apps/test/gtests/README.diff?tr1=1.33tr2=1.34r1=textr2=text
http://cvs.savannah.gnu.org/viewcvs/gnustep/gnustep/dev-apps/test/gtests/Documentation/testdoc.texi.diff?tr1=1.3tr2=1.4r1=textr2=text
http://cvs.savannah.gnu.org/viewcvs/gnustep/gnustep/dev-libs/SQLClient/README.diff?tr1=1.7tr2=1.8r1=textr2=text