bugGNUstep - Bugs: bug #31377, Unexpected error when adding nil...

 
 

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

bug #31377: Unexpected error when adding nil to a dictionary via proxy...

Submitted by:  Gregory John Casamento <gcasa>
Submitted on:  Tue 19 Oct 2010 10:53:35 PM UTC  
 
Category: Base/FoundationSeverity: 3 - Normal
Item Group: BugStatus: Invalid
Privacy: PublicAssigned to: None
Open/Closed: Closed

Thu 21 Oct 2010 05:06:12 AM UTC, comment #2:

Closing this as it sounds like normal/correct behavior ... even the gdb info looks exactly like what you would want to happen in the server end when a client is adding nil to a dictionary via a connection.

Richard Frith-Macdonald <CaS>
Project Member
Wed 20 Oct 2010 07:10:55 AM UTC, comment #1:

What unexpected error?
How can it be reproduced?

Richard Frith-Macdonald <CaS>
Project Member
Tue 19 Oct 2010 10:53:35 PM UTC, original submission:

I know that adding a nil to a dictionary SHOULD cause an issue, but when doing so over a NSConnection via a proxy it seems to call the following:

55 [opdict setObject: source forKey: @"source"];
(gdb) n
56 [opdict setObject: destination forKey: @"destination"];
(gdb) n
-[NSConnection(Private) _service:forwardForProxy:] (self=0x298cc848,
_cmd=0x2893be48, aRmc=0x298ca0f8) at NSConnection.m:2848
2848 if (debug_connection > 3)

In this case "destination" is nil. I'd expect it to produce the error "attempt to set nil object for key."

In WorkspaceApplication.m:50. This was found while working with Riccardo on fixing another bug.

G

Gregory John Casamento <gcasa>
Project Administrator

 

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 CaS (Posted a comment)
  • -unavailable- added by gcasa (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 21 Oct 2010 05:06:12 AM UTCCaSStatusNeed Info=>Invalid
      Open/ClosedOpen=>Closed
    Wed 20 Oct 2010 07:10:55 AM UTCCaSStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1