Bug 982081 - [abrt] clang-3.3-0.6.rc3.fc19.debuginfo: getPointer: Process /usr/bin/clang was killed by signal 11 (SIGSEGV)
Summary: [abrt] clang-3.3-0.6.rc3.fc19.debuginfo: getPointer: Process /usr/bin/clang w...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: llvm
Version: 20
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:878045ebbff864bbbdf485057b8...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-08 06:08 UTC by Mamoru TASAKA
Modified: 2014-12-26 00:08 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-26 00:08:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (162.27 KB, text/plain)
2013-07-08 06:08 UTC, Mamoru TASAKA
no flags Details
File: cgroup (139 bytes, text/plain)
2013-07-08 06:08 UTC, Mamoru TASAKA
no flags Details
File: core_backtrace (3.06 KB, text/plain)
2013-07-08 06:09 UTC, Mamoru TASAKA
no flags Details
File: dso_list (2.10 KB, text/plain)
2013-07-08 06:09 UTC, Mamoru TASAKA
no flags Details
File: environ (6.64 KB, text/plain)
2013-07-08 06:09 UTC, Mamoru TASAKA
no flags Details
File: limits (1.29 KB, text/plain)
2013-07-08 06:09 UTC, Mamoru TASAKA
no flags Details
File: maps (4.19 KB, text/plain)
2013-07-08 06:09 UTC, Mamoru TASAKA
no flags Details
File: open_fds (96 bytes, text/plain)
2013-07-08 06:09 UTC, Mamoru TASAKA
no flags Details
File: proc_pid_status (781 bytes, text/plain)
2013-07-08 06:09 UTC, Mamoru TASAKA
no flags Details
File: var_log_messages (3.55 KB, text/plain)
2013-07-08 06:09 UTC, Mamoru TASAKA
no flags Details
Preprocessed source (252.63 KB, text/plain)
2013-07-08 06:18 UTC, Mamoru TASAKA
no flags Details

Description Mamoru TASAKA 2013-07-08 06:08:44 UTC
Description of problem:
Build xscreensaver source with scan-build. Detailed procedure follows.

Version-Release number of selected component:
clang-3.3-0.6.rc3.fc19.debuginfo

Additional info:
reporter:       libreport-2.1.5
backtrace_rating: 4
cmdline:        /usr/bin/clang -cc1 -triple i386-redhat-linux-gnu -analyze -disable-free -disable-llvm-verifier -main-file-name sonar-icmp.c -analyzer-store=region -analyzer-opt-analyze-nested-blocks -analyzer-eagerly-assume -analyzer-checker=core -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-output plist -w -mrelocation-model static -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -fuse-init-array -target-cpu i686 -target-linker-version 2.23.52.0.1 -resource-dir /usr/bin/../lib/clang/3.3 -D STANDALONE -D USE_GL -D HAVE_CONFIG_H -I . -I ../../../hacks/glx -I ../../../hacks/glx/../../utils -I ../../../hacks/glx/.. -I ../.. -I /usr/include/gtk-2.0 -I /usr/lib/gtk-2.0/include -I /usr/include/atk-1.0 -I /usr/include/cairo -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/pango-1.0 -I /usr/include/glib-2.0 -I /usr/lib/glib-2.0/include -I /usr/include/pixman-1 -I /usr/include/freetype2 -I /usr/include/libpng15 -I /usr/include/libdrm -I /usr/include/harfbuzz -I /usr/include/libxml2 -I /usr/include/libglade-2.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/libpng15 -I /usr/include/glib-2.0 -I /usr/lib/glib-2.0/include -I /usr/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/clang/3.3/include -internal-externc-isystem /usr/include -internal-externc-isystem /usr/lib/gcc/i686-redhat-linux/4.8.1/include -fdebug-compilation-dir /home/mtasaka/rpmbuild/fedora-SCM/xscreensaver/master/xscreensaver-5.21/i686-pc-linux-gnu/hacks/glx -ferror-limit 19 -fmessage-length 0 -mstackrealign -fobjc-runtime=gcc -fobjc-default-synthesize-properties -fdiagnostics-show-option -backend-option -vectorize-loops -analyzer-display-progress -analyzer-output=html -o /home/mtasaka/rpmbuild/fedora-SCM/xscreensaver/master/xscreensaver-5.21/i686-pc-linux-gnu/clang-analyze/2013-07-08-1 -x c ../../../hacks/glx/sonar-icmp.c
crash_function: getPointer
executable:     /usr/bin/clang
kernel:         3.9.9-301.fc19.i686
runlevel:       3 5
uid:            500

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 getPointer at /usr/src/debug/llvm.src/include/llvm/ADT/PointerIntPair.h:71
 #1 getLocationContext at /usr/src/debug/llvm.src/tools/clang/include/clang/Analysis/ProgramPoint.h:156
 #3 getAllocationSite at MallocChecker.cpp:1520
 #4 reportLeak at MallocChecker.cpp:1593
 #5 (anonymous namespace)::MallocChecker::checkDeadSymbols at MallocChecker.cpp:1669
 #6 operator() at /usr/src/debug/llvm.src/tools/clang/include/clang/StaticAnalyzer/Core/CheckerManager.h:93
 #7 runChecker at CheckerManager.cpp:444
 #8 expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext> at CheckerManager.cpp:123
 #9 clang::ento::CheckerManager::runCheckersForDeadSymbols at CheckerManager.cpp:457
 #10 clang::ento::ExprEngine::removeDead at ExprEngine.cpp:365

Comment 1 Mamoru TASAKA 2013-07-08 06:08:54 UTC
Created attachment 770274 [details]
File: backtrace

Comment 2 Mamoru TASAKA 2013-07-08 06:08:58 UTC
Created attachment 770275 [details]
File: cgroup

Comment 3 Mamoru TASAKA 2013-07-08 06:09:02 UTC
Created attachment 770276 [details]
File: core_backtrace

Comment 4 Mamoru TASAKA 2013-07-08 06:09:06 UTC
Created attachment 770277 [details]
File: dso_list

Comment 5 Mamoru TASAKA 2013-07-08 06:09:10 UTC
Created attachment 770278 [details]
File: environ

Comment 6 Mamoru TASAKA 2013-07-08 06:09:13 UTC
Created attachment 770279 [details]
File: limits

Comment 7 Mamoru TASAKA 2013-07-08 06:09:17 UTC
Created attachment 770280 [details]
File: maps

Comment 8 Mamoru TASAKA 2013-07-08 06:09:20 UTC
Created attachment 770281 [details]
File: open_fds

Comment 9 Mamoru TASAKA 2013-07-08 06:09:24 UTC
Created attachment 770282 [details]
File: proc_pid_status

Comment 10 Mamoru TASAKA 2013-07-08 06:09:31 UTC
Created attachment 770283 [details]
File: var_log_messages

Comment 11 Mamoru TASAKA 2013-07-08 06:16:35 UTC
Note: to actually generate backtrace, modifying llvm.spec was needed (bug 982075).

You can reproduce this with:
* $ fedpkg co xscreensaver
* (and use master branch)
* Change "use_clang_analyze 0" to "use_clang_analyze 1" in xscreensaver.spec
* $ fedpkg local

Comment 12 Mamoru TASAKA 2013-07-08 06:18:53 UTC
Created attachment 770294 [details]
Preprocessed source

Comment 13 Adam Jackson 2014-11-19 16:28:27 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 Jan Včelák 2014-12-26 00:08:21 UTC
Unable to reproduce with clang-3.4-10.fc20.x86_64. Seems to be resolved during some rebase.


Note You need to log in before you can comment on or make changes to this bug.