[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


             Bug #: 11456
           Summary: NSNumber when used with __weak causes segmentation
           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


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 -

Pls look into this.


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