Description of problem: powertop --configure crashes with segfault Cut and paste of a session: powertop --calibrate Starting PowerTOP power estimate calibration Calibrating idle Segmentation fault (core dumped) It dims the screen, brings down the wireless (I see the notification just before the blanking) and then blanks the screen. The screen stays blank "forever" (many minutes) If I hit the return key, or any other, the screen comes back up on the dim setting with that segmentation fault error listed. This happens whether the machine is plugged in or not when running the command. Panasonic toughbook S10 Intel graphics, Version-Release number of selected component (if applicable): How reproducible: Always This is the end of an strace powertop --calibrate which should tell you where it was when it crashed. --------------------------------------------------------------------- open("/sys/bus/usb/devices/4-1/power/active_duration", O_RDONLY|O_LARGEFILE) = 3 read(3, "4951\n", 8191) = 5 close(3) = 0 open("/sys/bus/usb/devices/4-1/power/connected_duration", O_RDONLY|O_LARGEFILE) = 3 read(3, "141640045\n", 8191) = 10 close(3) = 0 open("/sys/bus/usb/devices/1-1.1/power/active_duration", O_RDONLY|O_LARGEFILE) = 3 read(3, "54379342\n", 8191) = 9 close(3) = 0 open("/sys/bus/usb/devices/1-1.1/power/connected_duration", O_RDONLY|O_LARGEFILE) = 3 read(3, "141639828\n", 8191) = 10 close(3) = 0 open("/sys/bus/usb/devices/1-1.2/power/active_duration", O_RDONLY|O_LARGEFILE) = 3 read(3, "306741\n", 8191) = 7 close(3) = 0 open("/sys/bus/usb/devices/1-1.2/power/connected_duration", O_RDONLY|O_LARGEFILE) = 3 read(3, "70232960\n", 8191) = 9 close(3) = 0 --- {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x8} (Segmentation fault) --- +++ killed by SIGSEGV (core dumped) +++ ------------------------------------------------------------------------------ Steps to Reproduce: See above 1. 2. 3.
can you provide a backtrace ? https://wiki.mageia.org/en/Debugging_software_crashes#gdb
I compiled powertop 2.2-2mga3 from Mageia cauldron on the Mageia 2 machine, and it works fine-- no segfault. Since 2.2 is a much better version anyway (gives power readings for the various components) , it might be well to just port it back to Mageia 2 instead of trying to fix 2.0-1mga2 It is hard for me to regress the version to run gdb backtrace on the original powertop.
Usually we don't update packages (to a new version), but for bugfix, why not. Let's see that with the maintainer
Assignee: bugsquad => mageiaSeverity: critical => major
WIP
Status: NEW => ASSIGNED
Can you please test "powertop-2.3-1.mga2" from "2 - core/updates_testing"?
It is no longer crashing.
(In reply to w unruh from comment #6) > It is no longer crashing. Thank you for the test! Assining to QA Team. Suggested advisory: ======================== Updated powertop package fix bug : 8563. Previous release of powertop was segfaulting on new Intel GPU. This update adds better CPU/GPU support and a man page. References: ======================== https://bugs.mageia.org/show_bug.cgi?id=8563 Updated packages in core/updates_testing: ======================== powertop-2.3-1.mga2 Source RPM: powertop-2.3-1.mga2.src.rpm How to test: ======================== - Install 2 and powertop from "core" - See the there is no manpage (man powertop) (hard to check crash as it depends on HW). - Install powertop 2.3 from "updates_testing" and check that there is now a manpage and that it's no longer segfaulting.
Hardware: i586 => AllAssignee: mageia => qa-bugsSummary: powertop crashed with Segfault => Update candidate: powertop update to fix crash with segfaultSource RPM: powertop-2.0-1.mga2 => powertop-2.3-1.mga2Severity: major => normal
Testing complete mga2 32 & 64 Segfault present on both boxes and cured by update. Man page present. Validating Advisory & srpm in comment 7 Could sysadmin please push from core/updates_testing to core/updates Thanks!
Keywords: (none) => validated_updateWhiteboard: (none) => has_procedure mga2-64-ok mga3-32-okCC: (none) => sysadmin-bugs
Whiteboard: has_procedure mga2-64-ok mga3-32-ok => has_procedure mga2-64-ok mga2-32-ok
Update pushed: https://wiki.mageia.org/en/Support/Advisories/MGAA-2013-0020
Status: ASSIGNED => RESOLVEDCC: (none) => tmbResolution: (none) => FIXED