Bug 1049277

Summary: [abrt] clang: ~NestedNameSpecifierLocBuilder(): clang killed by SIGABRT
Product: [Fedora] Fedora Reporter: japsmits
Component: llvmAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: ajax, bos, dmalcolm, jv+fedora, michel, petersen, scottt.tw
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/0ca24c0421bff32371da8cc9c2c887dfb6040ed3
Whiteboard: abrt_hash:cae456190bbfd7e533316caf6fdcc5378063de96
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-17 19:51:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: limits
none
File: maps
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages none

Description japsmits 2014-01-07 10:28:06 UTC
Description of problem:
Usage of boost::units seems to trigger this problem.

Version-Release number of selected component:
clang-3.3-3.fc19

Additional info:
reporter:       libreport-2.1.10
backtrace_rating: 4
cmdline:        /usr/bin/clang -cc1 -triple x86_64-redhat-linux-gnu -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name datapresen.tmp.OZDT0004.12648.ii -mrelocation-model static -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu corei7 -target-linker-version 2.23.52.0.1 -g -coverage-file /home/john/.ccache/b/3/0cbf681e5f6eef55649c8ffd12e70a-2570737.o.tmp.OZDT0004.12648 -resource-dir /usr/bin/../lib/clang/3.3 -Wall -Wextra -Wshadow -Wnon-virtual-dtor -Woverloaded-virtual -Winit-self -Wuninitialized -Wunused -Wcast-qual -Wno-long-long -Wold-style-cast -Werror=return-type -Weverything -Wno-padded -Wno-exit-time-destructors -Wno-global-constructors -Wno-missing-prototypes -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-switch-enum -Wno-self-assign -Wno-implicit-fallthrough -Wno-unreachable-code -Wno-weak-template-vtables -Wno-missing-variable-declarations -Wno-documentation-unknown-command -pedantic -std=c++11 -fdeprecated-macro -fdebug-compilation-dir /home/john/Development/m4000qt/m4000qt-clean/build/communication -ferror-limit 19 -fmessage-length 0 -stack-protector 2 -mstackrealign -fobjc-runtime=gcc -fobjc-default-synthesize-properties -fcxx-exceptions -fexceptions -fdiagnostics-show-option -backend-option -vectorize-loops -o /home/john/.ccache/b/3/0cbf681e5f6eef55649c8ffd12e70a-2570737.o.tmp.OZDT0004.12648 -x c++-cpp-output /home/john/.ccache/tmp/datapresen.tmp.OZDT0004.12648.ii
crash_function: ~NestedNameSpecifierLocBuilder
executable:     /usr/bin/clang
kernel:         3.11.10-200.fc19.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #5 ~NestedNameSpecifierLocBuilder at /usr/src/debug/llvm-3.3.src/tools/clang/include/clang/AST/NestedNameSpecifier.h:352
 #6 clang::TemplateSpecializationTypeLoc::initializeArgLocs at TypeLoc.cpp:362
 #7 initializeLocal at /usr/src/debug/llvm-3.3.src/tools/clang/include/clang/AST/TypeLoc.h:1348
 #8 clang::TypeLoc::initializeImpl at /usr/src/debug/llvm-3.3.src/tools/clang/include/clang/AST/TypeNodes.def:96
 #9 initialize at /usr/src/debug/llvm-3.3.src/tools/clang/include/clang/AST/TypeLoc.h:153
 #10 clang::ASTContext::getTrivialTypeSourceInfo at ASTContext.cpp:1936
 #11 getTrivialTemplateArgumentLoc at SemaTemplateDeduction.cpp:2012
 #12 ConvertDeducedTemplateArgument at SemaTemplateDeduction.cpp:2108
 #13 FinishTemplateArgumentDeduction at SemaTemplateDeduction.cpp:2178
 #14 clang::Sema::getMoreSpecializedPartialSpecialization at SemaTemplateDeduction.cpp:4286

Comment 1 japsmits 2014-01-07 10:28:13 UTC
Created attachment 846564 [details]
File: backtrace

Comment 2 japsmits 2014-01-07 10:28:15 UTC
Created attachment 846565 [details]
File: cgroup

Comment 3 japsmits 2014-01-07 10:28:17 UTC
Created attachment 846566 [details]
File: core_backtrace

Comment 4 japsmits 2014-01-07 10:28:19 UTC
Created attachment 846567 [details]
File: dso_list

Comment 5 japsmits 2014-01-07 10:28:21 UTC
Created attachment 846568 [details]
File: environ

Comment 6 japsmits 2014-01-07 10:28:23 UTC
Created attachment 846569 [details]
File: limits

Comment 7 japsmits 2014-01-07 10:28:25 UTC
Created attachment 846570 [details]
File: maps

Comment 8 japsmits 2014-01-07 10:28:27 UTC
Created attachment 846571 [details]
File: open_fds

Comment 9 japsmits 2014-01-07 10:28:28 UTC
Created attachment 846572 [details]
File: proc_pid_status

Comment 10 japsmits 2014-01-07 10:28:33 UTC
Created attachment 846573 [details]
File: var_log_messages

Comment 11 japsmits 2014-06-27 06:53:29 UTC
Another user experienced a similar problem:

Code uses boost::units, and seems to fail there.

Note that the Clang version in Fedora 20 compiles it without issues.

reporter:       libreport-2.2.2
backtrace_rating: 4
cmdline:        /usr/bin/clang -cc1 -triple x86_64-redhat-linux-gnu -emit-obj -disable-free -disable-llvm-verifier -main-file-name datapresentationconverter.cpp -mrelocation-model static -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu corei7 -target-linker-version 2.23.52.0.1 -momit-leaf-frame-pointer -coverage-file /var/lib/jenkins/.ccache/d/3/8fbd2f529ccfd6e5d4d2b39ac1acd3-2570903.o.tmp.OZDT0004.9022 -resource-dir /usr/bin/../lib/clang/3.3 -isystem /usr/include/QtGui -isystem /usr/include/QtXml -isystem /usr/include/QtNetwork -isystem /usr/include/QtCore -isystem /usr/include/QtDesigner -isystem /usr/include/QtDeclarative -isystem /usr/include/QtScriptTools -isystem /usr/include/QtDBus -isystem /usr/include/QtSql -isystem /usr/include/QtOpenGL -isystem /usr/include/QtMultimedia -isystem /usr/include/QtXmlPatterns -isystem /usr/include/QtHelp -isystem /usr/include/QtUiTools -isystem /usr/include/QtTest -isystem /usr/include/QtScript -isystem /usr/include/QtSvg -isystem /usr/include/Qt3Support -isystem /usr/lib64/qt4/mkspecs/default -isystem /usr/include/qwt -isystem /var/lib/jenkins/jobs/m4000qt-master-clang/workspace/extern/valgrind -isystem /var/lib/jenkins/jobs/m4000qt-master-clang/workspace/build/communication -D NDEBUG -D QT_CORE_LIB -D QT_GUI_LIB -D QT_NETWORK_LIB -D QT_NO_DEBUG -D QT_XML_LIB -D Q_COMPILER_INITIALIZER_LISTS -D NDEBUG -I /var/lib/jenkins/jobs/m4000qt-master-clang/workspace/communication/incl -I /var/lib/jenkins/jobs/m4000qt-master-clang/workspace/communication/calculators/incl -I /var/lib/jenkins/jobs/m4000qt-master-clang/workspace/communication/calculation/incl -I /var/lib/jenkins/jobs/m4000qt-master-clang/workspace/communication/datatypes/incl -I /var/lib/jenkins/jobs/m4000qt-master-clang/workspace/communication/dmm5msgdata/incl -I /var/lib/jenkins/jobs/m4000qt-master-clang/workspace/communication/filtering/incl -I /var/lib/jenkins/jobs/m4000qt-master-clang/workspace/build/communication/data -I /var/lib/jenkins/jobs/m4000qt-master-clang/workspace/version -I /var/lib/jenkins/jobs/m4000qt-master-clang/workspace/generics/incl -I /var/lib/jenkins/jobs/m4000qt-master-clang/workspace/generics/coroutine/incl -I /var/lib/jenkins/jobs/m4000qt-master-clang/workspace/generics/filtering/incl -I /var/lib/jenkins/jobs/m4000qt-master-clang/workspace/generics/validators/incl -I /var/lib/jenkins/jobs/m4000qt-master-clang/workspace/common/settings/incl -internal-isystem /usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../include/c++/4.8.2 -internal-isystem /usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../include/c++/4.8.2/x86_64-redhat-linux -internal-isystem /usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../include/c++/4.8.2/backward -internal-isystem /usr/lib/gcc/x86_64-redhat-linux/4.8.2/../../../../include/x86_64-redhat-linux/c++/4.8.2 -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/clang/3.3/include -internal-externc-isysttor -Woverloaded-virtual -Winit-self -Wuninitialized -Wunused -Wcast-qual -Wno-long-long -Wold-style-cast -Werror=return-type -Weverything -Wno-padded -Wno-exit-time-destructors -Wno-global-constructors -Wno-missing-prototypes -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-switch-enum -Wno-self-assign -Wno-implicit-fallthrough -Wno-weak-template-vtables -Wno-missing-variable-declarations -Wno-documentation-unknown-command -pedantic -std=c++11 -fdeprecated-macro -fdebug-compilation-dir /var/lib/jenkins/jobs/m4000qt-master-clang/workspace/build/communication -ferror-limit 19 -fmessage-length 0 -stack-protector 2 -mstackrealign -fobjc-runtime=gcc -fobjc-default-synthesize-properties -fcxx-exceptions -fexceptions -fdiagnostics-show-option -backend-option -vectorize-loops -o /var/lib/jenkins/.ccache/d/3/8fbd2f529ccfd6e5d4d2b39ac1acd3-2570903.o.tmp.OZDT0004.9022 -x c++ /var/lib/jenkins/jobs/m4000qt-master-clang/workspace/communication/datatypes/src/datapresentationconverter.cpp
crash_function: ~NestedNameSpecifierLocBuilder
executable:     /usr/bin/clang
kernel:         3.14.7-100.fc19.x86_64
package:        clang-3.3-4.fc19
reason:         clang killed by SIGABRT
runlevel:       N 5
type:           CCpp
uid:            493

Comment 12 Jens Petersen 2014-07-04 10:45:51 UTC
You may want to report this upstream if you can reproduce the problem.

Comment 13 Adam Jackson 2014-11-19 16:28:33 UTC
Reassign to nobody@.  I have no time and no interest in working on clang, and the only reason it's even in the llvm package is because it can't be built any other way.

If anyone wishes to volunteer for comaintainer with a focus on clang, please let me know (preferably with direct email, if it's in bz I'll likely miss the request), I'll be happy to hook you up.

Comment 14 Fedora End Of Life 2015-01-09 21:04:57 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 19 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 15 Fedora End Of Life 2015-02-17 19:51:22 UTC
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.