Public bug reported: $ sudo gdb --args powertop -c ... Thread 1 "powertop" received signal SIGSEGV, Segmentation fault. tunables_sort (i=0x555555bfb590, j=0x211) at tuning/tuning.cpp:169 169 tuning/tuning.cpp: No such file or directory. (gdb) bt #0 tunables_sort (i=0x555555bfb590, j=0x211) at tuning/tuning.cpp:169 #1 0x00005555555aa08a in __gnu_cxx::__ops::_Val_comp_iter<bool (*)(tunable*, tunable*)>::operator()<tunable*, __gnu_cxx::__normal_iterator<tunable**, std::vector<tunable*, std::allocator<tunable*> > > > (__val=<synthetic pointer>: <optimized out>, __it=..., this=<synthetic pointer>) at /usr/include/c++/7/bits/predefined_ops.h:215 #2 std::__unguarded_linear_insert<__gnu_cxx::__normal_iterator<tunable**, std::vector<tunable*, std::allocator<tunable*> > >, __gnu_cxx::__ops::_Val_comp_iter<bool (*)(tunable*, tunable*)> > (__comp=..., __last=0x555556fe2c80) at /usr/include/c++/7/bits/stl_algo.h:1828 #3 std::__unguarded_insertion_sort<__gnu_cxx::__normal_iterator<tunable**, std::vector<tunable*, std::allocator<tunable*> > >, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(tunable*, tunable*)> > (__comp=..., __last=..., __first=...) at /usr/include/c++/7/bits/stl_algo.h:1867 #4 std::__final_insertion_sort<__gnu_cxx::__normal_iterator<tunable**, std::vector<tunable*, std::allocator<tunable*> > >, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(tunable*, tunable*)> > (__comp=..., __last=..., __first=...) at /usr/include/c++/7/bits/stl_algo.h:1886 #5 std::__sort<__gnu_cxx::__normal_iterator<tunable**, std::vector<tunable*, std::allocator<tunable*> > >, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(tunable*, tunable*)> > (__comp=..., __last=0x555555804a90, __first=...) at /usr/include/c++/7/bits/stl_algo.h:1971 #6 std::sort<__gnu_cxx::__normal_iterator<tunable**, std::vector<tunable*, std::allocator<tunable*> > >, bool (*)(tunable*, tunable*)> ( __comp=0x5555555a95e0 <tunables_sort(tunable*, tunable*)>, __last=0x555555804a90, __first=...) at /usr/include/c++/7/bits/stl_algo.h:4868 #7 sort_tunables () at tuning/tuning.cpp:195 #8 0x00005555555aa18c in init_tuning () at tuning/tuning.cpp:74 #9 0x00005555555aa321 in initialize_tuning () at tuning/tuning.cpp:84 #10 0x000055555556365b in main (argc=2, argv=0x7fffffffe668) at main.cpp:536
This happens sometime after calibration of backlight, CPU, CPU wakeup, USB, and rfkill. Hardware is Thinkpad x201t. ProblemType: Bug DistroRelease: Ubuntu 19.04 Package: powertop 2.9-0ubuntu2 ProcVersionSignature: Ubuntu 5.0.0-11.12-generic 5.0.6 Uname: Linux 5.0.0-11-generic x86_64 ApportVersion: 2.20.10-0ubuntu27 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Mon Apr 15 15:58:18 2019 EcryptfsInUse: Yes InstallationDate: Installed on 2016-03-11 (1130 days ago) InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160307) ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: powertop UpgradeStatus: Upgraded to disco on 2019-04-03 (12 days ago) ** Affects: powertop (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug disco wayland-session -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1824880 Title: powertop crashed with sigsegv in tunables_sort To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/powertop/+bug/1824880/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs