[LLVMbugs] [Bug 13501] New: Segmentation Fault During Pass 'Module Verifier'

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Aug 1 00:23:23 PDT 2012


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

             Bug #: 13501
           Summary: Segmentation Fault During Pass 'Module Verifier'
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: volker.moebius at comsulting.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 8977
  --> http://llvm.org/bugs/attachment.cgi?id=8977
preprocessed source and associated run script

0  clang     0x00000000018ac0af
1  clang     0x00000000018ac579
2  libc.so.6 0x00002ad6326dc4c0
3  clang     0x000000000184ade4
llvm::Module::findUsedStructTypes(std::vector<llvm::StructType*,
std::allocator<llvm::StructType*> >&, bool) const + 804
4  clang     0x00000000017ba6b6
5  clang     0x00000000017bce09 llvm::Value::print(llvm::raw_ostream&,
llvm::AssemblyAnnotationWriter*) const + 649
6  clang     0x00000000018684cf
7  clang     0x0000000001866d77
8  clang     0x0000000001852db1
llvm::FPPassManager::runOnFunction(llvm::Function&) + 321
9  clang     0x0000000001852659
llvm::FunctionPassManagerImpl::run(llvm::Function&) + 217
10 clang     0x000000000185254b llvm::FunctionPassManager::run(llvm::Function&)
+ 139
11 clang     0x000000000073fdec
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*,
clang::BackendAction, llvm::raw_ostream*) + 5212
12 clang     0x000000000073dd1d
13 clang     0x000000000085e6a4 clang::ParseAST(clang::Sema&, bool, bool) + 532
14 clang     0x000000000073d10f clang::CodeGenAction::ExecuteAction() + 1103
15 clang     0x0000000000603018 clang::FrontendAction::Execute() + 104
16 clang     0x00000000005e66ad
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 1005
17 clang     0x00000000005cea23
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 3363
18 clang     0x00000000005c4ced cc1_main(char const**, char const**, char
const*, void*) + 5885
19 clang     0x00000000005ca869 main + 729
20 libc.so.6 0x00002ad6326c776d __libc_start_main + 237
21 clang     0x00000000005c3529
Stack dump:
0.    Program arguments: /usr/local/bin/clang -cc1 -triple
i386-unknown-linux-gnu -emit-obj -mrelax-all -disable-free -main-file-name
ZEPlanEinschaltung.cpp -mrelocation-model static -mdisable-fp-elim -fmath-errno
-masm-verbose -mconstructor-aliases -target-cpu pentium4 -target-linker-version
2.22 -momit-leaf-frame-pointer -g -coverage-file
CMakeFiles/genlibs.dir/mmcl/source/ZEPlanEinschaltung.cpp.o -resource-dir
/usr/local/bin/../lib/clang/3.2 -D DLSMP -D DLSMP -I /usr/local/include/c++/v1
-I /usr/local/include/c++/v1 -I
/home/medinet/dldev/cliapps/../genlibs/dlcl/include -I
/home/medinet/dldev/cliapps/../genlibs/dlcl/include/unix -I
/home/medinet/dldev/cliapps/../genlibs/dlgl/include -I
/home/medinet/dldev/cliapps/../genlibs/mmcl/include -I
/home/medinet/dldev/cliapps/../genlibs/foreign/xml -I
/home/medinet/dldev/cliapps/../genlibs/foreign/xml/expat/xmlparse -I
/home/medinet/dldev/cliapps/../genlibs/foreign/xml/expat/xmltok -I
/home/medinet/dldev/cliapps/../genlibs/foreign/utfcpp/source -I
/home/medinet/dldev/cliapps/../genlibs/foreign/loki/include/loki -I
/home/medinet/dldev/cliapps/../genlibs/foreign/tnt -I
/home/medinet/dldev/cliapps/../genlibs/foreign/jama -I
/home/medinet/dldev/cliapps/../genlibs/foreign/linux/ChartDirector/include -I
/home/medinet/dldev/genlibs/./dlcl/include -I
/home/medinet/dldev/genlibs/../genlibs/dlcl/include/unix -I
/home/medinet/dldev/genlibs/./dlcl/include/unix -I
/home/medinet/dldev/genlibs/./dlgl/include -I
/home/medinet/dldev/genlibs/./mmcl/include -I
/home/medinet/dldev/genlibs/./foreign/xml -I
/home/medinet/dldev/genlibs/./foreign/xml/expat/xmlparse -I
/home/medinet/dldev/genlibs/./foreign/xml/expat/xmltok -I
/home/medinet/dldev/genlibs/./foreign/utfcpp/source -I
/home/medinet/dldev/genlibs/./foreign/loki/include/loki -I
/home/medinet/dldev/genlibs/./foreign/tnt -I
/home/medinet/dldev/genlibs/./foreign/linux/ChartDirector/include -include
../genlibs/dlcl/include/unix/DLCLIntelUNIXDebug.h -fmodule-cache-path
/var/tmp/clang-module-cache -internal-isystem /usr/include/c++/v1
-internal-isystem /usr/local/include -internal-isystem
/usr/local/bin/../lib/clang/3.2/include -internal-externc-isystem /include
-internal-externc-isystem /usr/include -O0 -std=c++0x -fdeprecated-macro
-fdebug-compilation-dir /home/medinet/dldev/genlibs -ferror-limit 19
-fmessage-length 131 -mstackrealign -fobjc-runtime=gcc -fcxx-exceptions
-fexceptions -fdiagnostics-show-option -fcolor-diagnostics -o
CMakeFiles/genlibs.dir/mmcl/source/ZEPlanEinschaltung.cpp.o -x c++
/home/medinet/dldev/genlibs/mmcl/source/ZEPlanEinschaltung.cpp 
1.    <eof> parser at end of file
2.    Per-function optimization
3.    Running pass 'Module Verifier' on function
'@_ZN17SonderRabattClassC1ERKS_'
clang: error: unable to execute command: Segmentation fault (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.2 (trunk 161041)
Target: i386-unknown-linux-gnu
Thread model: posix

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