bugGNUstep - Bugs: bug #34129, NSNumber broken in Etoile

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #34129: NSNumber broken in Etoile

Submitted by:  Tobias Platen <animeshader>
Submitted on:  Thu 25 Aug 2011 02:39:50 PM UTC  
 
Category: LibrariesSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Fri 20 Dec 2013 01:42:55 PM UTC, comment #3:

I suppose this has been closed, no new replies to this bug.

Riccardo Mottola <rmottola>
Project Member
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

Fred Kiefer <FredKiefer>
Project Member
Thu 25 Aug 2011 02:52:41 PM UTC, comment #1:

The problem seems to be related to OBJC_SMALL_OBJECT_SHIFT so it should be assigned to theraven.

Tobias Platen <animeshader>
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

Tobias Platen <animeshader>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rmottola (Posted a comment)
  • -unavailable- added by FredKiefer (Posted a comment)
  • -unavailable- added by animeshader (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 20 Dec 2013 01:42:55 PM UTCrmottolaStatusReady For Test=>Fixed
      Open/ClosedIn Test=>Closed
    Fri 26 Aug 2011 10:22:32 PM UTCFredKieferCategoryNone=>Libraries
      StatusNone=>Ready For Test
      Open/ClosedOpen=>In Test

    Back to the top


    Powered by Savane 3.1-cleanup1