[Bug 450275] New: powertop does not stop
https://bugzilla.novell.com/show_bug.cgi?id=450275 Summary: powertop does not stop Product: openSUSE 11.0 Version: Final Platform: x86-64 OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: Mobile Devices AssignedTo: zoz@novell.com ReportedBy: ingo.pussar@gmx.de QAContact: qa@suse.de Found By: --- If I run powertop in xterm and then close xterm whithout canceling powertop first it does not stop and increases the cpu usage: before closing xterm: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 15994 root 20 0 10336 1892 1044 S 0 0.2 0:00.08 powertop after closing xterm: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 15994 root 20 0 10344 1908 1060 S 39 0.2 0:03.64 powertop -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=450275 Christian Zoz <zoz@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|zoz@novell.com |thoenig@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=450275 User thoenig@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=450275#c1 Timo Hoenig <thoenig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |ingo.pussar@gmx.de --- Comment #1 from Timo Hoenig <thoenig@novell.com> 2008-12-01 03:12:01 MST --- I've tried to reproduce but couldn't. Can you reliably reproduce this? If so, please describe the exact steps. Thank you. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=450275 User ingo.pussar@gmx.de added comment https://bugzilla.novell.com/show_bug.cgi?id=450275#c2 --- Comment #2 from Ingo Pussar <ingo.pussar@gmx.de> 2008-12-01 15:09:06 MST --- I start a new xterm, typ "su", my password, then I start powertop. When i close the xterm window powertop is still running and the cpu-usage is increased. I just checked it again and it is reproducable. I also checked it with the gnome and kde terminal emulators, but there is no problem. Maybe it's a problem with xterm? Did you use xterm? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=450275 User thoenig@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=450275#c3 --- Comment #3 from Timo Hoenig <thoenig@novell.com> 2008-12-02 01:27:51 MST --- Ingo, I've tried exactly this. I start a two xterm instances: one running su and then powertop, one with top -p `pidof powertop`. Once I close the xterm with powertop it dies. What does $ strace -p `pidof powertop` say at the moment you're killing its xterm? For reference this is how it looks on my system: write(3, "1\n", 2) = 2 close(3) = 0 munmap(0x7fd5601c6000, 4096) = 0 select(1, [0], NULL, NULL, {15, 0}) = ? ERESTARTNOHAND (To be restarted) --- SIGHUP (Hangup) @ 0 (0) --- Process 29187 detached -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=450275 User ingo.pussar@gmx.de added comment https://bugzilla.novell.com/show_bug.cgi?id=450275#c4 --- Comment #4 from Ingo Pussar <ingo.pussar@gmx.de> 2008-12-02 12:43:12 MST --- Created an attachment (id=257446) --> (https://bugzilla.novell.com/attachment.cgi?id=257446) output of $ strace -p `pidof powertop` Here's the output of $ strace -p `pidof powertop` after I closed xterm. I stopped it with Ctrl-C. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=450275 User thoenig@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=450275#c5 --- Comment #5 from Timo Hoenig <thoenig@novell.com> 2008-12-02 14:02:01 MST --- Thanks, Ingo. Before I dig deeper: Does this only happen with powertop? Or does this also apply for other ncurses applications (e.g. iptraf, mc, htop)? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=450275 User ingo.pussar@gmx.de added comment https://bugzilla.novell.com/show_bug.cgi?id=450275#c6 --- Comment #6 from Ingo Pussar <ingo.pussar@gmx.de> 2008-12-02 14:14:57 MST --- I tried whith ascii-invaders (also a ncurses application :-) ) nothing happened. Then I used "su" and there was the problem again. Then I started xterm as root, nothing happened. Seems only to happen if I use "su". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=450275 Timo Hoenig <thoenig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low CC| |thoenig@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=450275 User thoenig@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=450275#c7 Timo Hoenig <thoenig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Component|Mobile Devices |Mobile Devices Info Provider|ingo.pussar@gmx.de | AssignedTo|thoenig@novell.com |zoz@novell.com Product|openSUSE 11.0 |openSUSE 11.2 --- Comment #7 from Timo Hoenig <thoenig@novell.com> 2009-01-20 08:21:12 MST --- As time permits I will look into this again. But as long as I can not reproduce this issue I can not do anything about it, sorry. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=450275 User zoz@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=450275#c8 Christian Zoz <zoz@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |UPSTREAM --- Comment #8 from Christian Zoz <zoz@novell.com> 2009-01-22 06:47:50 MST --- I just tried it on SLED11 RC2 and it happened also to me: - open terminal - su - - powertop - close terminal ==> powertop is going nuts I also tried mc and it did not happen (with su). But since - powertop is a developer tool and - can easily be terminated with 'q' this is neither urgent nor severe. This is something that should be handled upstream. We package powertop completely without patches. Ingo, please send a mail to the powertop mailing list: http://www.bughost.org/mailman/listinfo/power This needs to be discussed there if it is powertop which has to recognize that is was detached from terminal. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com