[LLVMbugs] [Bug 7392] New: Reproducible crash (with repo) when passing a SEL per reference

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jun 16 17:00:08 PDT 2010


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

           Summary: Reproducible crash (with repo) when passing a SEL per
                    reference
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: nicolasweber at gmx.de
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


$ cat test.mm
#import <Cocoa/Cocoa.h>
void CheckEQImpl(const SEL& v2) {} 
void f() {
  CheckEQImpl(@selector(dealloc));
}

$ g++ -c test.mm
$ ../../Release/bin/clang++ -c test.mm 
0  clang             0x01522128 main + 22118280
1  clang             0x01522e86 main + 22121702
2  libSystem.B.dylib 0x905132bb _sigtramp + 43
3  libSystem.B.dylib 0xffffffff _sigtramp + 1873726831
4  clang             0x001a3203 main + 1675363
5  clang             0x001a4833 main + 1681043
6  clang             0x001a38d7 main + 1677111
7  clang             0x001a8e59 main + 1699001
8  clang             0x0015f3ba main + 1397274
9  clang             0x001abaa7 main + 1710343
10 clang             0x001a13b0 main + 1667600
11 clang             0x001a1613 main + 1668211
12 clang             0x001e1462 main + 1929922
13 clang             0x001d7642 main + 1889442
14 clang             0x00199a7b main + 1636571
15 clang             0x002441e5 main + 2334789
16 clang             0x002473c4 main + 2347556
17 clang             0x00247764 main + 2348484
18 clang             0x00243f2f main + 2334095
19 clang             0x0028111f main + 2584447
20 clang             0x0028cccd main + 2632493
21 clang             0x0028d322 main + 2634114
22 clang             0x0028e002 main + 2637410
23 clang             0x0028e395 main + 2638325
24 clang             0x002a89e7 main + 2746439
25 clang             0x0027c16d main + 2564045
26 clang             0x002bf26e main + 2838734
27 clang             0x000556f4 main + 308564
28 clang             0x0027a7d7 main + 2557495
29 clang             0x0002cc2e main + 141966
30 clang             0x00003912 _mh_execute_header + 10514
31 clang             0x0000ae5e main + 3262
32 clang             0x00002036 _mh_execute_header + 4150
33 clang             0x0000001d _mh_execute_header + 18446744073709547549
Stack dump:
0.    Program arguments: /Volumes/MacintoshHD2/src/llvm/Release/bin/clang -cc1
-triple i386-apple-darwin9.0.0 -emit-obj -mrelax-all -disable-free
-main-file-name test.mm -pic-level 1 -mdisable-fp-elim -masm-verbose
-target-cpu yonah -resource-dir
/Volumes/MacintoshHD2/src/llvm/Release/lib/clang/2.0 -ferror-limit 19
-fmessage-length 281 -fexceptions -fdiagnostics-show-option -fcolor-diagnostics
-o test.o -x objective-c++ test.mm 
1.    <eof> parser at end of file
2.    test.mm:3:6: LLVM IR generation of declaration 'f'
3.    test.mm:3:6: Generating code for declaration 'f'
4.    test.mm:3:10: LLVM IR generation of compound statement ('{}')
clang: error: clang frontend command failed due to signal 10 (use -v to see
invocation)

-- 
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