Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1433666

Summary: [abrt] clpeak: llvm_codegen(): clpeak killed by SIGABRT
Product: [Fedora] Fedora Reporter: M. Edward (Ed) Borasky <znmeb>
Component: clpeakAssignee: Fabian Deutsch <fabian.deutsch>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: fabian.deutsch, znmeb
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/ac4292e48074e05bc5e333d99bbdd46f8a1f306c
Whiteboard: abrt_hash:d59a0f66cbe8b1175df3e31067853c615c046dc3;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-19 08:30: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: mountinfo
none
File: namespaces
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages none

Description M. Edward (Ed) Borasky 2017-03-19 06:16:46 UTC
Version-Release number of selected component:
clpeak-0.1-11.20160207git1f90347.fc24

Additional info:
reporter:       libreport-2.8.0
backtrace_rating: 4
cmdline:        clpeak
crash_function: llvm_codegen
executable:     /usr/bin/clpeak
global_pid:     22126
kernel:         4.9.14-200.fc25.x86_64
pkg_fingerprint: 4089 D8F2 FDB1 9C98
pkg_vendor:     Fedora Project
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (5 frames)
 #4 llvm_codegen at /usr/src/debug/pocl-3fef5b58014c40e3e746a7ada281498582d8d569/lib/CL/devices/common.c:127
 #5 pocl_check_dlhandle_cache at /usr/src/debug/pocl-3fef5b58014c40e3e746a7ada281498582d8d569/lib/CL/devices/common.c:715
 #6 pocl_pthread_prepare_kernel at /usr/src/debug/pocl-3fef5b58014c40e3e746a7ada281498582d8d569/lib/CL/devices/pthread/pthread_scheduler.c:295
 #7 pocl_pthread_exec_command at /usr/src/debug/pocl-3fef5b58014c40e3e746a7ada281498582d8d569/lib/CL/devices/pthread/pthread_scheduler.c:338
 #8 pocl_pthread_driver_thread at /usr/src/debug/pocl-3fef5b58014c40e3e746a7ada281498582d8d569/lib/CL/devices/pthread/pthread_scheduler.c:366

Comment 1 M. Edward (Ed) Borasky 2017-03-19 06:16:51 UTC
Created attachment 1264546 [details]
File: backtrace

Comment 2 M. Edward (Ed) Borasky 2017-03-19 06:16:51 UTC
Created attachment 1264547 [details]
File: cgroup

Comment 3 M. Edward (Ed) Borasky 2017-03-19 06:16:52 UTC
Created attachment 1264548 [details]
File: core_backtrace

Comment 4 M. Edward (Ed) Borasky 2017-03-19 06:16:53 UTC
Created attachment 1264549 [details]
File: dso_list

Comment 5 M. Edward (Ed) Borasky 2017-03-19 06:16:54 UTC
Created attachment 1264550 [details]
File: environ

Comment 6 M. Edward (Ed) Borasky 2017-03-19 06:16:55 UTC
Created attachment 1264551 [details]
File: limits

Comment 7 M. Edward (Ed) Borasky 2017-03-19 06:16:56 UTC
Created attachment 1264552 [details]
File: maps

Comment 8 M. Edward (Ed) Borasky 2017-03-19 06:16:57 UTC
Created attachment 1264553 [details]
File: mountinfo

Comment 9 M. Edward (Ed) Borasky 2017-03-19 06:16:58 UTC
Created attachment 1264554 [details]
File: namespaces

Comment 10 M. Edward (Ed) Borasky 2017-03-19 06:16:59 UTC
Created attachment 1264555 [details]
File: open_fds

Comment 11 M. Edward (Ed) Borasky 2017-03-19 06:16:59 UTC
Created attachment 1264556 [details]
File: proc_pid_status

Comment 12 M. Edward (Ed) Borasky 2017-03-19 06:17:00 UTC
Created attachment 1264557 [details]
File: var_log_messages

Comment 13 M. Edward (Ed) Borasky 2017-03-19 08:25:52 UTC
This isn't really a clpeak bug - it's actually a pocl / documentation issue.

How to reproduce:

1. Start with a clean system.
2. Install pocl and clpeak
3. Run clpeak ... it will crash. So will libreoffice-math, which is how I found this.

The culprit in both cases is a missing "clang". Just installing pocl isn't enough; you have to install pocl-devel to get clang and some other OpenCL dependencies.

I'm putting OpenCL through a lot of testing and filing bugs; once all the bugs are wrung out I can write a blog post about running OpenCL on Fedora with pocl and an AMD GPU.

Comment 14 M. Edward (Ed) Borasky 2017-03-19 08:30:22 UTC

*** This bug has been marked as a duplicate of bug 1432468 ***