Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

Segmentation Fault During Pass 'Module Verifier' #13545

Open Quuxplusone opened 12 years ago

Quuxplusone commented 12 years ago
Bugzilla Link PR13501
Status NEW
Importance P normal
Reported by Volker Moebius (volker.moebius@comsulting.de)
Reported on 2012-08-01 02:23:23 -0700
Last modified on 2012-08-01 02:23:23 -0700
Version trunk
Hardware PC Linux
CC llvm-bugs@lists.llvm.org
Fixed by commit(s)
Attachments ZEPlanEinschaltung-GOw5KM.tar.gz (488722 bytes, application/x-gzip)
Blocks
Blocked by
See also
Created attachment 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
Quuxplusone commented 12 years ago

Attached ZEPlanEinschaltung-GOw5KM.tar.gz (488722 bytes, application/x-gzip): preprocessed source and associated run script