Bug 1375935

Summary: [abrt] binutils: d_print_comp_inner(): c++filt killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Michael Stahl <mstahl>
Component: binutilsAssignee: Nick Clifton <nickc>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: jakub, nickc, sbergman
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/ba60c61d71f071f8238d787b2a25c4e91b6eacf1
Whiteboard: abrt_hash:ea565e0dc85c29ed6dee88640c056d464b16237b;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-12 09:41:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: exploitable
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 Michael Stahl 2016-09-14 09:35:24 UTC
Description of problem:
there is a symbol in /lib64/libMesaOpenCL.so.1 that segfaults c++filt:
_ZNK6clover6detail11basic_rangeINS_13adaptor_rangeIZNS_6kernel6launchERNS_13command_queueERKSt6vectorImSaImEESA_SA_EUlmE_JRS8_EEENS0_16iterator_adaptorISB_JN9__gnu_cxx17__normal_iteratorIPmS8_EEEEESJ_EcvT_IS6_IPjSaISN_EEvEEv

for me this prevents use of qtcreator debugger because gdb exits when c++filt crashes...

Version-Release number of selected component:
binutils-2.26.1-1.fc24

Additional info:
reporter:       libreport-2.7.2
backtrace_rating: 4
cmdline:        c++filt
crash_function: d_print_comp_inner
executable:     /usr/bin/c++filt
global_pid:     17763
kernel:         4.7.2-201.fc24.x86_64
pkg_fingerprint: 73BD E983 81B4 6521
pkg_vendor:     Fedora Project
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 d_print_comp_inner at ./cp-demangle.c:4976
 #1 d_print_comp at ./cp-demangle.c:5394
 #2 d_print_comp_inner at ./cp-demangle.c:4527
 #3 d_print_comp at ./cp-demangle.c:5394
 #4 d_print_comp_inner at ./cp-demangle.c:4976
 #5 d_print_comp at ./cp-demangle.c:5394
 #6 d_print_comp_inner at ./cp-demangle.c:4988
 #7 d_print_comp at ./cp-demangle.c:5394
 #8 d_print_comp_inner at ./cp-demangle.c:4527
 #9 d_print_comp at ./cp-demangle.c:5394

Comment 1 Michael Stahl 2016-09-14 09:35:38 UTC
Created attachment 1200767 [details]
File: backtrace

Comment 2 Michael Stahl 2016-09-14 09:35:40 UTC
Created attachment 1200768 [details]
File: cgroup

Comment 3 Michael Stahl 2016-09-14 09:35:44 UTC
Created attachment 1200769 [details]
File: core_backtrace

Comment 4 Michael Stahl 2016-09-14 09:35:46 UTC
Created attachment 1200770 [details]
File: dso_list

Comment 5 Michael Stahl 2016-09-14 09:35:48 UTC
Created attachment 1200771 [details]
File: environ

Comment 6 Michael Stahl 2016-09-14 09:35:50 UTC
Created attachment 1200772 [details]
File: exploitable

Comment 7 Michael Stahl 2016-09-14 09:35:51 UTC
Created attachment 1200773 [details]
File: limits

Comment 8 Michael Stahl 2016-09-14 09:35:53 UTC
Created attachment 1200774 [details]
File: maps

Comment 9 Michael Stahl 2016-09-14 09:35:55 UTC
Created attachment 1200775 [details]
File: mountinfo

Comment 10 Michael Stahl 2016-09-14 09:35:57 UTC
Created attachment 1200776 [details]
File: namespaces

Comment 11 Michael Stahl 2016-09-14 09:35:59 UTC
Created attachment 1200777 [details]
File: open_fds

Comment 12 Michael Stahl 2016-09-14 09:36:01 UTC
Created attachment 1200778 [details]
File: proc_pid_status

Comment 13 Michael Stahl 2016-09-14 09:36:03 UTC
Created attachment 1200779 [details]
File: var_log_messages

Comment 14 Stephan Bergmann 2016-09-14 10:03:12 UTC
see upstream <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61460#c1> "Demangler crash (GDB PR 17043)"

Comment 15 Michael Stahl 2016-10-06 15:43:28 UTC
for whatever reason this bug now also causes gdb to allocate all available memory and lock up the machine.

fortunately it turns out that nothing depends on "mesa-libOpenCL" package so i can just uninstall it.

Comment 16 Fedora End Of Life 2017-07-25 23:01:44 UTC
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '24'.

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 24 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 17 Fedora End Of Life 2017-08-08 17:21:00 UTC
Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 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.

Comment 18 Michael Stahl 2017-08-08 18:52:43 UTC
still segfaults in F26
binutils-2.27-24.fc26.x86_64

Comment 19 Michael Stahl 2018-03-12 09:41:23 UTC
bug appears to be fixed (as in it doesn't actually demangle the symbol but doesn't crash any more) in:

binutils-2.29-6.fc27.x86_64

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70909#c53