Fri 26 Aug 2011 10:22:32 PM UTC, comment #2:
THis should already be fixed in SVN, according to this mail from David:
I tried to create an account on Savannah to reply to this, but I'm still waiting for the confirmation email. In the meantime, please could you let him know that I fixed this earlier in the week in r33762.
David
|
Thu 25 Aug 2011 02:39:50 PM UTC, original submission:
I was trying to build etoile on debian using this manual
http://etoileos.com/news/archive/2011/08/14/1206/
gdb backtrace is here
Program terminated with signal 11, Segmentation fault.
#0 0x40701e9c in objc_msg_lookup_sender () from /usr/local/lib/libobjc.so
(gdb) bt
#0 0x40701e9c in objc_msg_lookup_sender () from /usr/local/lib/libobjc.so
#1 0x40138837 in GSIMapAddPair (map=0x9d33dd8, key=..., value=...) at ../Headers/GNUstepBase/GSIMap.h:1087
#2 0x40138607 in -[GSDictionary initWithObjects:forKeys:count:] (self=0x9d33dd4, _cmd=0x4066ae18, objs=0xbfa778e0, keys=0xbfa778dc, c=1) at GSDictionary.m:220
#3 0x4025a39b in +[NSDictionary dictionaryWithObject:forKey:] (self=0x4066ac90, _cmd=0x406826d8, object=0x3d1, key=0x4066f4d0) at NSDictionary.m:512
#4 0x40325df0 in ExtractValuesFromConfig (config=0x9d31c24) at NSPathUtilities.m:610
#5 0x40311ed6 in InitialisePathUtilities () at NSPathUtilities.m:1021
#6 0x40312d35 in GSDefaultsRootForUser (userName=0x9d2fb0c) at NSPathUtilities.m:1702
#7 0x4041eb66 in -[NSUserDefaults initWithUser:] (self=0x9d2ea4c, _cmd=0x406a03e8, userName=0x9d2fb0c) at NSUserDefaults.m:841
#8 0x4041eb28 in -[NSUserDefaults init] (self=0x9d2ea4c, _cmd=0x406a03c0) at NSUserDefaults.m:834
#9 0x4041c7ae in +[NSUserDefaults standardUserDefaults] (self=0x406a0210, _cmd=0x4066aeb8) at NSUserDefaults.m:599
#10 0x4025d5f6 in -[NSDictionary writeToFile:atomically:] (self=0x9d258ec, _cmd=0x804caa8, path=0x9cc78bc, useAuxiliaryFile=1 '\001') at NSDictionary.m:987
#11 0x0804a34e in main (argc=3, argv=0xbfa78e04, env=0xbfa78e14) at plmerge.m:135
NSPathUtilities.m:610 is
attr = [NSDictionary dictionaryWithObject: [NSNumber numberWithInt: 0750]
forKey: NSFilePosixPermissions];
I added this line here, to verify that the crash is related to NSNumber
NSLog(@"GNUstep should crash here %@",NSFilePosixPermissions);
plmerge[17505] GNUstep should crash here NSFilePosixPermissions
so the error seems to be NSNumber using libobjc2
debian@debian:~/gs/base$ svnversion
33751M
debian@debian:~/gs/libobjc$ svnversion
33751
|