http://llvm.org/bugs/show_bug.cgi?id=11456

             Bug #: 11456
           Summary: NSNumber when used with __weak causes segmentation
                    fault
           Product: new-bugs
           Version: unspecified
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Created attachment 7658
  --> http://llvm.org/bugs/attachment.cgi?id=7658
Example - NSNumber when used with __weak causes segmentation fault

Hi,

When a new NSNumber is created and is assigned to a __strong pointer variable
and later when it is assigned to __weak pointer variable it causes a
segmentation fault.

Attached below is a sample program.

Refer -
http://stackoverflow.com/questions/8125530/objective-c-arc-nsnumber-segmentation-fault

Pls look into this.

Thanks,
Muthu

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to