[LLVMbugs] [Bug 11456] New: NSNumber when used with __weak causes segmentation fault

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Nov 29 21:02:26 PST 2011


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: unassignedbugs at nondot.org
        ReportedBy: muthuveerappan.al at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    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.



More information about the llvm-bugs mailing list