FS#61817 - powertop-2.10-1 segfaults

Attached to Project: Community Packages
Opened by Jeanem (Jeanem) - Wednesday, 20 February 2019, 11:27 GMT
Last edited by Balló György (City-busz) - Friday, 15 March 2019, 00:06 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

After the last rolling update of Manjaro packages, powertop-2.10-1 exits with a segfault on startup. I am reporting this here because this is unlikely to have anything to do with Manjaro-specific packaging (powertop comes from Arch repos), and also because I haven't been able to find a way to create an account in Powertop's bug tracker (https://us-bz3.devzing.com/powertopbugs/).

I rebuilt powertop with options=(debug !strip) and ran sudo gdb powertop. Here is the relevant part of the output:

(gdb) bt
#0 0x0000555555597fc7 in perf_event::process (this=0x55555573fe20, cookie=cookie@entry=0x555555752fe0) at perf/perf.cpp:233
#1 0x0000555555598d82 in perf_bundle::process (this=0x555555752f90) at perf/perf_bundle.cpp:326
#2 0x0000555555572be3 in process_cpu_data () at cpu/cpu.cpp:1037
#3 0x000055555556d486 in one_measurement (seconds=-4, sample_interval=<optimized out>, workload=0x0) at main.cpp:255
#4 0x000055555556393f in main (argc=1, argv=0x7fffffffea68) at main.cpp:542
(gdb) info registers
rax 0x6c 108
rbx 0x555555752f90 93824994324368
rcx 0x5555555fb3c0 93824992916416
rdx 0x0 0
rsi 0x555555752fe0 93824994324448
rdi 0x55555573fe20 93824994246176
rbp 0x7fffffffc800 0x7fffffffc800
rsp 0x7fffffffc7c0 0x7fffffffc7c0
r8 0x6 6
r9 0x5 5
r10 0x5555555dc010 93824992788496
r11 0x206 518
r12 0x555555752fe0 93824994324448
r13 0x756c666c63203633 8461250415627875891
r14 0x1 1
r15 0x55555573fe20 93824994246176
rip 0x555555597fc7 0x555555597fc7 <perf_event::process(void*)+39>
eflags 0x10206 [ PF IF RF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0


Steps to reproduce:

1. Run sudo powertop.
2. Observe segfault.
This task depends upon

Closed by  Balló György (City-busz)
Friday, 15 March 2019, 00:06 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#61766 
Comment by loqs (loqs) - Wednesday, 20 February 2019, 16:53 GMT
 FS#61766 

Loading...