bugGNUstep - Bugs: bug #42405, NS_MESSAGE() macro is invalid

 
 

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

bug #42405: NS_MESSAGE() macro is invalid

Submitted by:  David Albrecht <xalbrech>
Submitted on:  Thu 22 May 2014 03:02:18 PM UTC  
 
Category: Base/FoundationSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Thu 22 May 2014 04:56:33 PM UTC, comment #1:

Thanks for that report … looks like the code was accidentally deleted. It should be back in svn trunk now … please give it a try.

Richard Frith-Macdonald <CaS>
Project Member
Thu 22 May 2014 03:02:18 PM UTC, original submission:

Use of NS_MESSAGE() macro defined in NSInvocation.m results in an exception at runtime.

Attached is an example code (NSMessageTest.m) that will show the error when run.

The exception I obtained was:
: Uncaught exception NSInvalidArgumentException, reason: +[NSInvocation _newProxyForMessage:]: unrecognized selector sent to instance 0x67005060

Indeed, the NS_MESSAGE() expands to a call of a method that is not defined by NSInvocation.

I could reproduce the problem using pre-built GNUstep 1.24.6 for 32-bit Windows and also our custom 64-bit Windows build.

David Albrecht <xalbrech>

 

Attached Files
file #31416:  NSMessageTest.m added by xalbrech (376B - application/octet-stream)
file #31415:  NSMessageTest.m added by xalbrech (2KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rmottola (Updated the item)
  • -unavailable- added by CaS (Posted a comment)
  • -unavailable- added by xalbrech (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
    Tue 21 Oct 2014 01:37:51 PM UTCrmottolaOpen/ClosedIn Test=>Closed
    Thu 22 May 2014 04:56:33 PM UTCCaSStatusNone=>Fixed
      Open/ClosedOpen=>In Test
    Thu 22 May 2014 03:14:27 PM UTCxalbrechAttached File-=>Added NSMessageTest.m, #31416
    Thu 22 May 2014 03:02:18 PM UTCxalbrechAttached File-=>Added NSMessageTest.m, #31415

    Back to the top


    Powered by Savane 3.1-cleanup1