[LLVMbugs] [Bug 13946] New: Crash when compiling samba

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Sep 27 09:09:33 PDT 2012


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

             Bug #: 13946
           Summary: Crash when compiling samba
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: marco at peereboom.us
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


clang -O3 -pipe -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I.
-I/usr/ports/pobj/samba-3.6.7/samba-3.6.7/source3
-I/usr/ports/pobj/samba-3.6.7/samba-3.6.7/source3/../lib/iniparser/src
-Iinclude -I./include  -I. -I. -I./../lib/replace -I./../lib/tevent -I./librpc
-I./.. -I/usr/local/include -DHAVE_CONFIG_H  -I/usr/local/include -Iinclude
-I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./librpc -I./..
-I./../lib/popt  -I/usr/ports/pobj/samba-3.6.7/samba-3.6.7/source3/lib -I..
-D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 -fPIC -c libsmb/libsmb_dir.c -o
libsmb/libsmb_dir.o
Stack dump:
0.      Program arguments: /usr/bin/clang-3.2 -cc1 -triple
amd64-unknown-bitrig0.1 -emit-obj -disable-free -disable-llvm-verifier
-main-file-name libsmb_dir.c -pic-level 2 -mdisable-fp-elim -masm-verbose
-mconstructor-aliases -munwind-tables -target-cpu x86-64
-momit-leaf-frame-pointer -coverage-file
/usr/ports/pobj/samba-3.6.7/samba-3.6.7/source3/libsmb/libsmb_dir.o
-resource-dir /usr/bin/../lib/clang/3.2 -D _REENTRANT -D
_POSIX_PTHREAD_SEMANTICS -D HAVE_CONFIG_H -D _SAMBA_BUILD_=3 -D _SAMBA_BUILD_=3
-I . -I /usr/ports/pobj/samba-3.6.7/samba-3.6.7/source3 -I
/usr/ports/pobj/samba-3.6.7/samba-3.6.7/source3/../lib/iniparser/src -I include
-I ./include -I . -I . -I ./../lib/replace -I ./../lib/tevent -I ./librpc -I
./.. -I /usr/local/include -I /usr/local/include -I include -I ./include -I .
-I . -I ./../lib/replace -I ./../lib/tevent -I ./librpc -I ./.. -I
./../lib/popt -I /usr/ports/pobj/samba-3.6.7/samba-3.6.7/source3/lib -I ..
-fmodule-cache-path /var/tmp/clang-module-cache -O3 -ferror-limit 19
-fmessage-length 156 -stack-protector 1 -mstackrealign -fobjc-runtime=gnustep
-fdiagnostics-show-option -o libsmb/libsmb_dir.o -x c libsmb/libsmb_dir.c 
1.      <eof> parser at end of file
2.      Per-module optimization passes
3.      Running pass 'Function Pass Manager' on module 'libsmb/libsmb_dir.c'.
4.      Running pass 'Simplify the CFG' on function '@list_fn'
clang-3: error: unable to execute command: Segmentation fault (core dumped)
clang-3: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.2 
Target: amd64-unknown-bitrig0.1
Thread model: posix
clang-3: note: diagnostic msg: PLEASE submit a bug report to  and include the
crash backtrace, preprocessed source, and associated run script.
clang-3: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-3: note: diagnostic msg: /tmp/libsmb_dir-rzuS7Y.c
clang-3: note: diagnostic msg: /tmp/libsmb_dir-rzuS7Y.sh
clang-3: note: diagnostic msg: 

The tmp files can be found at:
http://www.peereboom.us/libsmb_dir-rzuS7Y.c
http://www.peereboom.us/libsmb_dir-rzuS7Y.sh

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