clang++-3.7 crashes while compiling

Bug #1492619 reported by DimanNe
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
llvm-toolchain-3.7 (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Here is clang output

0 libLLVM-3.7.so.1 0x00007f04d387f640 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 64
1 libLLVM-3.7.so.1 0x00007f04d387eaa1
2 libpthread.so.0 0x00007f04d3189d10
3 clang 0x00000000012f14f8 clang::Expr::IgnoreParens() + 8
4 clang 0x00000000012f212d clang::Expr::IgnoreParenImpCasts() + 13
5 clang 0x0000000000c65899
6 clang 0x0000000000c65e17
7 clang 0x0000000000c7c874
8 clang 0x0000000000c7db4c clang::Sema::ActOnCXXDelete(clang::SourceLocation, bool, bool, clang::Expr*) + 284
9 clang 0x0000000000e1278d
10 clang 0x0000000000e0e846
11 clang 0x0000000000e1cf2d
12 clang 0x0000000000e1e3cb
13 clang 0x0000000000e1e50b
14 clang 0x0000000000e1d255
15 clang 0x0000000000e20b8f clang::Sema::SubstStmt(clang::Stmt*, clang::MultiLevelTemplateArgumentList const&) + 95
16 clang 0x0000000000e3423c clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation, clang::FunctionDecl*, bool, bool) + 3756
17 clang 0x0000000000e3451a clang::Sema::PerformPendingInstantiations(bool) + 298
18 clang 0x0000000000acf3d5 clang::Sema::ActOnEndOfTranslationUnit() + 341
19 clang 0x0000000000a24cc9 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) + 601
20 clang 0x0000000000a19ee3 clang::ParseAST(clang::Sema&, bool, bool) + 499
21 clang 0x00000000006a2fee clang::FrontendAction::Execute() + 510
22 clang 0x000000000067a8b9 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 313
23 clang 0x0000000000661f43 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1939
24 clang 0x000000000065ca58 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 2232
25 clang 0x00000000006594de main + 1006
26 libc.so.6 0x00007f04d2837a40 __libc_start_main + 240
27 clang 0x000000000065bad9 _start + 41
Stack dump:
0. Program arguments: /usr/lib/llvm-3.7/bin/clang -cc1 -triple x86_64-pc-linux-gnu -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name TTreeView.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -target-linker-version 2.25.1 -g -dwarf-column-info -coverage-file /home/Void/devel/build-EventManager-Qt_5_4_1_clang-Debug/client/plugins/evmanclient/.obj/TTreeView.o -resource-dir /usr/lib/llvm-3.7/bin/../lib/clang/3.7.0 -D _REENTRANT -D EVMANCLIENT_LIBRARY -D QT_QML_DEBUG -D QT_DECLARATIVE_DEBUG -D QT_PLUGIN -D QT_OPENGL_LIB -D QT_PRINTSUPPORT_LIB -D QT_WIDGETS_LIB -D QT_QUICK_LIB -D QT_GUI_LIB -D QT_QML_LIB -D QT_NETWORK_LIB -D QT_SQL_LIB -D QT_CORE_LIB -I ../../../../EventManager/client/plugins/evmanclient -I . -I ../../../../EventManager/include -I ../../../../EventManager/include -I ../../../../Botan-1.11.4/build/include -I ../../../../EventManager/include -I ../../../../EventManager/include -I ../../../../Botan-1.11.4/build/include -I ../../../../EventManager/shared/modeltest -I ../../../../Qt5Bin/5.5/gcc_64/include -I ../../../../Qt5Bin/5.5/gcc_64/include/QtOpenGL -I ../../../../Qt5Bin/5.5/gcc_64/include/QtPrintSupport -I ../../../../Qt5Bin/5.5/gcc_64/include/QtWidgets -I ../../../../Qt5Bin/5.5/gcc_64/include/QtQuick -I ../../../../Qt5Bin/5.5/gcc_64/include/QtGui -I ../../../../Qt5Bin/5.5/gcc_64/include/QtQml -I ../../../../Qt5Bin/5.5/gcc_64/include/QtNetwork -I ../../../../Qt5Bin/5.5/gcc_64/include/QtSql -I ../../../../Qt5Bin/5.5/gcc_64/include/QtCore -I .moc -I ../../../../Qt5Bin/5.5/gcc_64/mkspecs/linux-clang -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/5.2.1/../../../../include/c++/5.2.1 -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/5.2.1/../../../../include/x86_64-linux-gnu/c++/5.2.1 -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/5.2.1/../../../../include/x86_64-linux-gnu/c++/5.2.1 -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/5.2.1/../../../../include/c++/5.2.1/backward -internal-isystem /usr/local/include -internal-isystem /usr/lib/llvm-3.7/bin/../lib/clang/3.7.0/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wno-inconsistent-missing-override -Wall -Wno-overloaded-virtual -std=c++1y -fdeprecated-macro -fdebug-compilation-dir /home/Void/devel/build-EventManager-Qt_5_4_1_clang-Debug/client/plugins/evmanclient -ferror-limit 19 -fmessage-length 0 -fvisibility hidden -mstackrealign -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -o .obj/TTreeView.o -x c++ ../../../../EventManager/client/plugins/evmanclient/TTreeView.cpp
1. <eof> parser at end of file
2. ../../../../EventManager/include/libs/tree/../../../libs/tree/TTree.h:28:7: instantiating function definition '~TTree'
clang: error: unable to execute command: Segmentation fault (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see invocation)
Ubuntu clang version 3.7.0-1ubuntu1 (tags/RELEASE_370/final) (based on LLVM 3.7.0)
Target: x86_64-pc-linux-gnu
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to http://bugs.debian.org/ and include the crash backtrace, preprocessed source, and associated run script.
clang: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/TTreeView-624f65.cpp
Makefile:4693: recipe for target '.obj/TTreeView.o' failed
make[3]: Leaving directory '/home/Void/devel/build-EventManager-Qt_5_4_1_clang-Debug/client/plugins/evmanclient'
clang: note: diagnostic msg: /tmp/TTreeView-624f65.sh
clang: note: diagnostic msg:

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: clang-3.7 1:3.7-1ubuntu1
ProcVersionSignature: Ubuntu 4.2.0-7.7-generic 4.2.0
Uname: Linux 4.2.0-7-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.18-0ubuntu9
Architecture: amd64
CurrentDesktop: KDE
Date: Sat Sep 5 20:38:58 2015
InstallationDate: Installed on 2014-07-05 (427 days ago)
InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.1)
SourcePackage: llvm-toolchain-3.7
UpgradeStatus: Upgraded to wily on 2015-09-05 (0 days ago)

Revision history for this message
DimanNe (dimanne) wrote :
Revision history for this message
DimanNe (dimanne) wrote :
Revision history for this message
DimanNe (dimanne) wrote :
Revision history for this message
DimanNe (dimanne) wrote :

I already reported it to upstream - https://llvm.org/bugs/show_bug.cgi?id=24730

// They are much more faster in reviewing and responding.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in llvm-toolchain-3.7 (Ubuntu):
status: New → Confirmed
Changed in llvm-toolchain-3.7 (Ubuntu):
importance: Undecided → Medium
Revision history for this message
calexil (calexil) wrote :

close

Revision history for this message
Oibaf (oibaf) wrote :

Is this still an issue?

Changed in llvm-toolchain-3.7 (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Oibaf (oibaf) wrote :
Changed in llvm-toolchain-3.7 (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.