Bug 1727470 - [abrt] powerdevil: QArrayData::allocate(): org_kde_powerdevil killed by SIGSEGV
Summary: [abrt] powerdevil: QArrayData::allocate(): org_kde_powerdevil killed by SIGSEGV
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: powerdevil
Version: 30
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:9dc56c888d93f27ce4abb429615...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-06 17:18 UTC by Matt Fagnani
Modified: 2020-05-26 16:02 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-26 16:02:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (173.18 KB, text/plain)
2019-07-06 17:18 UTC, Matt Fagnani
no flags Details
File: cgroup (195 bytes, text/plain)
2019-07-06 17:18 UTC, Matt Fagnani
no flags Details
File: core_backtrace (29.16 KB, text/plain)
2019-07-06 17:18 UTC, Matt Fagnani
no flags Details
File: cpuinfo (1.40 KB, text/plain)
2019-07-06 17:18 UTC, Matt Fagnani
no flags Details
File: dso_list (11.57 KB, text/plain)
2019-07-06 17:18 UTC, Matt Fagnani
no flags Details
File: environ (1.44 KB, text/plain)
2019-07-06 17:18 UTC, Matt Fagnani
no flags Details
File: limits (1.29 KB, text/plain)
2019-07-06 17:18 UTC, Matt Fagnani
no flags Details
File: maps (69.35 KB, text/plain)
2019-07-06 17:18 UTC, Matt Fagnani
no flags Details
File: mountinfo (3.69 KB, text/plain)
2019-07-06 17:18 UTC, Matt Fagnani
no flags Details
File: open_fds (191 bytes, text/plain)
2019-07-06 17:18 UTC, Matt Fagnani
no flags Details
File: proc_pid_status (1.32 KB, text/plain)
2019-07-06 17:18 UTC, Matt Fagnani
no flags Details

Description Matt Fagnani 2019-07-06 17:18:09 UTC
Description of problem:
I logged out of Plasma 5.15.5 on Wayland. sddm didn't show up and the screen stayed blank which I've seen many times before when logging out of Plasma on Wayland. I pressed sysrq+alt+e , sysrq+alt+i which terminated then killed most of the user-space processes. sddm restarted after that.

This segmentation fault occurred at about the same time that the screen went blank. coredumpctl gdb showed that  tc_victim->fd in _int_malloc at malloc.c:3623 was an inaccessible address.
Core was generated by `/usr/libexec/org_kde_powerdevil'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f0d44dcadac in _int_malloc (av=av@entry=0x7f0d2c000020, bytes=bytes@entry=65)
    at malloc.c:3622
3622                          if (SINGLE_THREAD_P)
[Current thread is 1 (Thread 0x7f0d33b86700 (LWP 1559))]

(gdb) list
3617
3618                      /* While bin not empty and tcache not full, copy chunks.  */
3619                      while (tcache->counts[tc_idx] < mp_.tcache_count
3620                             && (tc_victim = *fb) != NULL)
3621                        {
3622                          if (SINGLE_THREAD_P)
3623                            *fb = tc_victim->fd;
3624                          else
3625                            {
3626                              REMOVE_FB (fb, pp, tc_victim);

(gdb) p tc_victim->fd
Cannot access memory at address 0xa10000556b
(gdb) p tc_victim
$2 = (mchunkptr) 0xa10000555b

A signal indicating a crash appeared after #13 in tcache_get at malloc.c:2952. Some kind of string conversions involving "org.kde.kglobalaccel" happened at #16-19.

The segmentation faults and invalid reads and writes of powerdevil when logging out of Plasma on Wayland at https://bugzilla.redhat.com/show_bug.cgi?id=1713467 might be related.
The report I made about those crashes at https://bugs.kde.org/show_bug.cgi?id=408553 was reassigned to kwin, wayland-generic. 

Version-Release number of selected component:
powerdevil-5.15.5-1.fc30

Additional info:
reporter:       libreport-2.10.1
backtrace_rating: 3
cmdline:        /usr/libexec/org_kde_powerdevil
crash_function: QArrayData::allocate
executable:     /usr/libexec/org_kde_powerdevil
journald_cursor: s=45e2a08c6064454f9bd0b47d6f9f1c62;i=605b1;b=b6c057b14b934dd099bed2505b0083f4;m=735de165;t=58cfde06c3d7e;x=e53858adb62254f3
kernel:         5.1.16-300.fc30.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 1 Matt Fagnani 2019-07-06 17:18:12 UTC
Created attachment 1587931 [details]
File: backtrace

Comment 2 Matt Fagnani 2019-07-06 17:18:13 UTC
Created attachment 1587932 [details]
File: cgroup

Comment 3 Matt Fagnani 2019-07-06 17:18:14 UTC
Created attachment 1587933 [details]
File: core_backtrace

Comment 4 Matt Fagnani 2019-07-06 17:18:15 UTC
Created attachment 1587934 [details]
File: cpuinfo

Comment 5 Matt Fagnani 2019-07-06 17:18:16 UTC
Created attachment 1587935 [details]
File: dso_list

Comment 6 Matt Fagnani 2019-07-06 17:18:17 UTC
Created attachment 1587936 [details]
File: environ

Comment 7 Matt Fagnani 2019-07-06 17:18:18 UTC
Created attachment 1587937 [details]
File: limits

Comment 8 Matt Fagnani 2019-07-06 17:18:19 UTC
Created attachment 1587938 [details]
File: maps

Comment 9 Matt Fagnani 2019-07-06 17:18:21 UTC
Created attachment 1587939 [details]
File: mountinfo

Comment 10 Matt Fagnani 2019-07-06 17:18:23 UTC
Created attachment 1587940 [details]
File: open_fds

Comment 11 Matt Fagnani 2019-07-06 17:18:24 UTC
Created attachment 1587941 [details]
File: proc_pid_status

Comment 12 Ben Cotton 2020-04-30 21:37:20 UTC
This message is a reminder that Fedora 30 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 30 on 2020-05-26.
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 '30'.

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 30 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 13 Ben Cotton 2020-05-26 16:02:38 UTC
Fedora 30 changed to end-of-life (EOL) status on 2020-05-26. Fedora 30 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.


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