v2.5-rc1
Kristen Carlson Accardi
Please test.
Thanks,
Kristen
Yates
Tested PowerTop different platforms including Linux and Windows. The following patch breaks IE compatibility.
https://lists.01.org/pipermail/powertop/2013-September/000925.html
Thank you,
Alexandra.
-----Original Message-----
From: powertop-bounces(a)lists.01.org [mailto:powertop-bounces(a)lists.01.org] On Behalf Of Kristen Carlson Accardi
Sent: Friday, October 18, 2013 11:09 AM
To: powertop(a)lists.01.org
Subject: [Powertop] [Announce] v2.5-rc1
Please test.
Thanks,
Kristen
_______________________________________________
PowerTop mailing list
PowerTop(a)lists.01.org
https://lists.01.org/mailman/listinfo/powertop
Daniel Kahn Gillmor
Quoted 3 lines · Alexandra
Tested PowerTop different platforms including Linux and Windows. The following patch breaks IE compatibility.
https://lists.01.org/pipermail/powertop/2013-September/000925.html
Can you describe how IE breaks? what specifically fails? is there an explicit javascript error or a backtrace or debug log or something? Is data lost or hidden?
sorry, but i don't have IE to test with, or a windows platform to run it on if i did.
--dkg
Sergey Senozhatsky
Quoted 12 lines · Daniel Kahn Gillmor
Quoted 3 lines · Alexandra
Tested PowerTop different platforms including Linux and Windows. The following patch breaks IE compatibility.
https://lists.01.org/pipermail/powertop/2013-September/000925.html
Can you describe how IE breaks? what specifically fails? is there an explicit javascript error or a backtrace or debug log or something? Is data lost or hidden?
sorry, but i don't have IE to test with, or a windows platform to run it on if i did.
ok, classList is not supported by IE10 and older.
so this generates NULL object access:
var el = document.getElementById(idx);
if (el)
el.classList.add(c);
-ssSergey Senozhatsky
Quoted 4 lines · Alexandra
Tested PowerTop different platforms including Linux and Windows. The following patch breaks IE compatibility.
https://lists.01.org/pipermail/powertop/2013-September/000925.html
more details please: what IE version; how do we break it?
powertop.html
-- firebug console: no errors
-- w3c validation: no error, passed (green)
-ss
Yates
IE 8.0 up to 10 doesn't display the menu bar nor any of the links.
Thank you,
Alexandra.
-----Original Message-----
From: Sergey Senozhatsky [mailto:sergey.senozhatsky(a)gmail.com]
Sent: Saturday, October 19, 2013 12:00 AM
To: Yates, Alexandra
Cc: powertop(a)lists.01.org
Subject: Re: [Powertop] [Announce] v2.5-rc1
Quoted 4 lines · Alexandra
Tested PowerTop different platforms including Linux and Windows. The following patch breaks IE compatibility.
https://lists.01.org/pipermail/powertop/2013-September/000925.html
more details please: what IE version; how do we break it?
powertop.html
-- firebug console: no errors
-- w3c validation: no error, passed (green)
-ss
Sergey Senozhatsky
Quoted 1 line · Alexandra
IE 8.0 up to 10 doesn't display the menu bar nor any of the links.
please test the following patch.
------8<-----8<--------
IE up to v10 does not support object classList. workaround by manual className manipulation.
---
src/powertop.css | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-)
src/powertop.css +11 -5
@@ -17,14 +17,20 @@ var powertop = { }, cadd: function(idx, c){ var el = document.getElementById(idx); - if (el) - el.classList.add(c); - + if (el) { + var cn = el.className; + cn += ' ' + c; + el.className = cn; + } }, crm: function(id, c){ var el = document.getElementById(id); - if (el) - el.classList.remove(c); + if (el) { + var cn = el.className + while (cn.indexOf(' ' + c) != -1) + cn = cn.replace(' ' + c,''); + el.className = cn; + } }, newbutton: function(id, txt) { var x = document.createElement('div');
Alexandra Yates
Quoted 50 lines · Alexandra
Quoted 1 line
IE 8.0 up to 10 doesn't display the menu bar nor any of the links.
please test the following patch.
------8<-----8<--------
IE up to v10 does not support object classList. workaround by manual className manipulation.
Reported-by Alexandra Yates <alexandra.yates(a)intel.com>Signed-off-by Sergey Senozhatsky <sergey.senozhatsky(a)gmail.com>---
src/powertop.css | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-)src/powertop.css +11
-5@@ -17,14 +17,20 @@ var powertop = { }, cadd: function(idx, c){ var el = document.getElementById(idx); - if (el) - el.classList.add(c); - + if (el) { + var cn = el.className; + cn += ' ' + c; + el.className = cn; + } }, crm: function(id, c){ var el = document.getElementById(id); - if (el) - el.classList.remove(c); + if (el) { + var cn = el.className + while (cn.indexOf(' ' + c) != -1) + cn = cn.replace(' ' + c,''); + el.className = cn; + } }, newbutton: function(id, txt) { var x = document.createElement('div');
Quoted 5 lines
_______________________________________________
PowerTop mailing list
PowerTop(a)lists.01.org
https://lists.01.org/mailman/listinfo/powertop
This change enables the menu links and mouse over, but the font and the button background are all black, I don't think the css are working here. I will send you the image to your email that way you get to see it.
Thank you,
Alexandra.
Sergey Senozhatsky
Quoted 5 lines · Alexandra Yates
This change enables the menu links and mouse over, but the font and the button background are all black, I don't think the css are working here. I will send you the image to your email that way you get to see it.
thanks. well, that's weird. I found rdesktop-ed win box around and tested generated report on IE (don't know the version - 8 or 9). what IE version is on the picture?
-ss
Alexandra Yates
Quoted 8 lines · Alexandra Yates
Quoted 5 lines
This change enables the menu links and mouse over, but the font and the button background are all black, I don't think the css are working here. I will send you the image to your email that way you get to see it.
Quoted 6 lines
thanks. well, that's weird. I found rdesktop-ed win box around and tested generated report on IE (don't know the version - 8 or 9). what IE version is on the picture?
-ss
You are welcome, what version of IE are you running?
Thank you,
Alexandra.
Sergey Senozhatsky
Quoted 7 lines · Alexandra Yates
Quoted 4 lines
thanks. well, that's weird. I found rdesktop-ed win box around and tested generated report on IE (don't know the version - 8 or 9). what IE version is on the picture?
You are welcome, what version of IE are you running?
v9. report renders just fine. looks like IE v8 specific problem and [if so] I'd probably consider reverting the commit -- too much pain.
do you have any chance to check with different IE versions?
-ss
Sergey Senozhatsky
Quoted 5 lines · Alexandra Yates
Quoted 5 lines
Quoted 4 lines
This change enables the menu links and mouse over, but the font and the button background are all black, I don't think the css are working here. I will send you the image to your email that way you get to see it.
Quoted 8 lines
Quoted 5 lines
thanks. well, that's weird. I found rdesktop-ed win box around and tested generated report on IE (don't know the version - 8 or 9). what IE version is on the picture?
You are welcome, what version of IE are you running?
ok, last chance. [not tested on IE 8]
could you please try this one?
--- src/powertop.css | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-)
src/powertop.css +13 -5
@@ -17,14 +17,22 @@ var powertop = { }, cadd: function(idx, c){ var el = document.getElementById(idx); - if (el) - el.classList.add(c); - + if (el) { + var cn = el.className; + if (cn.indexOf(c) != -1) + return; + cn += ' ' + c; + el.className = cn; + } }, crm: function(id, c){ var el = document.getElementById(id); - if (el) - el.classList.remove(c); + if (el) { + var cn = el.className + while (cn.indexOf(' ' + c) != -1) + cn = cn.replace(' ' + c,''); + el.className = cn; + } }, newbutton: function(id, txt) { var x = document.createElement('div');
Sergey Senozhatsky
Quoted 6 lines · Alexandra Yates
Quoted 6 lines
Quoted 5 lines
This change enables the menu links and mouse over, but the font and the button background are all black, I don't think the css are working here. I will send you the image to your email that way you get to see it.
Quoted 7 lines
Quoted 4 lines
thanks. well, that's weird. I found rdesktop-ed win box around and tested generated report on IE (don't know the version - 8 or 9). what IE version is on the picture?
You are welcome, what version of IE are you running?
ok. this is really the last one :)
I think I found the issue -- textContent support in IE.
--- src/powertop.css | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-)
src/powertop.css +14 -5
@@ -17,20 +17,29 @@ var powertop = { }, cadd: function(idx, c){ var el = document.getElementById(idx); - if (el) - el.classList.add(c); - + if (el) { + var cn = el.className; + if (cn.indexOf(c) != -1) + return; + cn += ' ' + c; + el.className = cn; + } }, crm: function(id, c){ var el = document.getElementById(id); - if (el) - el.classList.remove(c); + if (el) { + var cn = el.className + while (cn.indexOf(' ' + c) != -1) + cn = cn.replace(' ' + c,''); + el.className = cn; + } }, newbutton: function(id, txt) { var x = document.createElement('div'); x.id = id + '_button'; x.className = 'nav_button'; x.textContent = txt; + x.innerText = txt; x.onclick = function() { powertop.toggle(id); }; return x; },
Alexandra Yates
Quoted 60 lines · Alexandra Yates
Quoted 8 lines
Quoted 2 lines
Quoted 2 lines
This change enables the menu links and mouse over, but the font and
the
Quoted 1 line
Quoted 1 line
button background are all black, I don't think the css are working
here.
Quoted 3 lines
Quoted 2 lines
I will send you the image to your email that way you get to see it.
Quoted 9 lines
Quoted 1 line
thanks. well, that's weird. I found rdesktop-ed win box around and
tested
Quoted 1 line
generated report on IE (don't know the version - 8 or 9). what IE
version
Quoted 2 lines
is on the picture?
You are welcome, what version of IE are you running?
ok. this is really the last one :)
I think I found the issue -- textContent support in IE.
--- src/powertop.css | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-)src/powertop.css +13
-5@@ -17,20 +17,29 @@ var powertop = { }, cadd: function(idx, c){ var el = document.getElementById(idx); - if (el) - el.classList.add(c); - + if (el) { + var cn = el.className; + if (cn.indexOf(c) != -1) + return; + cn += ' ' + c; + el.className = cn; + } }, crm: function(id, c){ var el = document.getElementById(id); - if (el) - el.classList.remove(c); + if (el) { + var cn = el.className + while (cn.indexOf(' ' + c) != -1) + cn = cn.replace(' ' + c,''); + el.className = cn; + }
src/powertop.css var powertop = { · line 45
Quoted 10 lines
src/powertop.css +1
-0}, newbutton: function(id, txt) { var x = document.createElement('div'); x.id = id + '_button'; x.className = 'nav_button'; x.textContent = txt; + x.innerText = txt; x.onclick = function() { powertop.toggle(id); }; return x; },
YES! that fixes the menu! It works in IE, FF, Chrome :)
Thank you,
Alexandra.
Sergey Senozhatsky
On (10/23/13 11:32), Alexandra Yates wrote:
[..]
Quoted 6 lines
Quoted 2 lines
YES! that fixes the menu! It works in IE, FF, Chrome :)
Thank you,
Alexandra.
good news, thank you!
will prepare a patch.
-ss
Marc MERLIN
Re: [Powertop] v2.5-rc1 testing: accounting still very wrong
In reply to Kristen Carlson AccardiQuoted 1 line · Kristen Carlson Accardi
Please test.
Still the same power counting bugs than previous versions.
After a few minutes, on battery, it went from 12W to 20W because of an rsync in the background, and when that rsync was finished (sigstop), I got this.
Somehow I very much doubt that e17 was using 1550W.
Clearly there is at least an assert missing that should ensure that the list of power estimated values clearly exceeds the total power.
Even if I stop enligthenment, which seems to be most of the wakeups, bad accounting is all wrong in many ways, see below:
--------------------------------------------------------------------------------
The battery reports a discharge rate of 20.3 W The estimated remaining time is 3 hours, 48 minutes
Summary: 609.5 wakeups/second, 426.1 GPU ops/seconds, 0.0 VFS ops/sec and 5.7% CPU use
Power est. Usage Events/s Category Description
1.55 kW 15.5 ms/s 526.8 Process /usr/bin/enlightenment
198 W 496.5 µs/s 295.9 Process [btrfs-transacti]
9.27 W 100.0% Device Audio codec alsa:hwC0D0: thinkpad (Realtek)
304 mW 22.2 µs/s 0.3 Process xscreensaver
242 mW 6.7% Device Display backlight 68.5 mW 5.4 ms/s 68.9 Interrupt [42] i915(a)pci:0000:00:02.0 62.6 mW 18.4 ms/s 32.2 Process /usr/bin/X :0 vt7 -br -nolisten tcp -auth /var/run/x 51.3 mW 1.1 ms/s 58.5 Process [btrfs-endio-met]
--------------------------------------------------------------------------------
If I relaunch powertop, I now see:
--------------------------------------------------------------------------------
The battery reports a discharge rate of 18.4 W The estimated remaining time is 4 hours, 6 minutes
Summary: 3245.9 wakeups/second, 404.1 GPU ops/seconds, 0.0 VFS ops/sec and 51.4% CPU use
Power est. Usage Events/s Category Description
18.7 W 100.0% Device Audio codec alsa:hwC0D0: thinkpad (Realtek) 4.91 W 139.9 ms/s 3185.8 Process /usr/bin/enlightenment 309 mW 363.2 ms/s 401.2 Process /usr/bin/X :0 vt7 -br -nolisten tcp -auth /var/run/x 79.2 mW 1.9% Device Display backlight 59.0 mW 0.8 ms/s 11.8 Process xfce4-terminal -T window13 --role=window13 --tab 4.72 mW 5.7 ms/s 2.0 Interrupt [42] i915(a)pci:0000:00:02.0
653 µW 150.1 µs/s 16.8 Process [rcu_preempt]
--------------------------------------------------------------------------------
No, alsa isn't using more battery than the total laptop either ^^^
Ok, let's wait a bit longer:
--------------------------------------------------------------------------------
The battery reports a discharge rate of 18.6 W The estimated remaining time is 4 hours, 1 minutes
Summary: 614.7 wakeups/second, 257.4 GPU ops/seconds, 0.0 VFS ops/sec and 6.5% CPU use
Power est. Usage Events/s Category Description
13.4 W 643.1 µs/s 7.3 Process /usr/bin/pulseaudio --start
287 mW 28.6 ms/s 588.0 Process /usr/bin/enlightenment 224 mW 26.8 ms/s 158.5 Process /usr/bin/X :0 vt7 -br -nolisten tcp -auth /var/run/x 58.2 mW 6.7% Device Display backlight 4.19 mW 5.6 ms/s 46.2 Interrupt [42] i915(a)pci:0000:00:02.0 3.54 mW 63.9 µs/s 2.1 Process xfce4-terminal -T window13 --role=window13 --tab 630 µW 0.8 ms/s 17.8 Interrupt [46] snd_hda_intel
492 µW 658.9 µs/s 26.7 Timer tick_sched_timer
--------------------------------------------------------------------------------
Ok, so I killed pulseaudio, which I'm pretty sure is not to blame, and now I se this. So you get the idea, 621 wakeups per second isn't good, but the accounting seems to be wrong.
--------------------------------------------------------------------------------
The battery reports a discharge rate of 18.8 W
The estimated remaining time is 3 hours, 57 minutes
Summary: 621.7 wakeups/second, 191.7 GPU ops/seconds, 0.0 VFS ops/sec and 7.5% CPU use
Power est. Usage Events/s Category Description
13.4 W 100.0% Device Audio codec alsa:hwC0D0: thinkpad (Realtek) 357 mW 25.8 ms/s 620.3 Process /usr/bin/enlightenment 38.8 mW 6.7% Device Display backlight 20.3 mW 26.2 ms/s 35.6 Process /usr/bin/X :0 vt7 -br -nolisten tcp -auth /var/run/x 7.05 mW 9.4 ms/s 0.05 Process /usr/bin/python /usr/sbin/iotop 5.40 mW 106.8 µs/s 3.8 Process xfce4-terminal -T window14 --role=window14 --tab 5.09 mW 0.9 ms/s 9.7 Process xfce4-terminal -T window11 --role=window11 --tab 4.30 mW 5.7 ms/s 65.5 Interrupt [42] i915(a)pci:0000:00:02.0
--------------------------------------------------------------------------------
If I kill -STOP enlightenment, I get this, 18.7W for alsa out of 15.9W total!
--------------------------------------------------------------------------------
The battery reports a discharge rate of 15.9 W
The estimated remaining time is 4 hours, 35 minutes
Summary: 59.0 wakeups/second, 0.0 GPU ops/seconds, 0.0 VFS ops/sec and 5.1% CPU use
Power est. Usage Events/s Category Description
18.7 W 100.0% Device Audio codec alsa:hwC0D0: thinkpad (Realtek) 50.0 mW 45.8 ms/s 0.5 Process /usr/bin/python /usr/sbin/iotop 885 µW 0.8 ms/s 16.4 Process [btrfs-transacti] 430 µW 393.5 µs/s 8.6 Interrupt [4] block(softirq) 403 µW 369.5 µs/s 0.4 kWork kcryptd_crypt 302 µW 276.4 µs/s 2.7 Timer hrtimer_wakeup 267 µW 244.7 µs/s 2.0 Timer tick_sched_timer
--------------------------------------------------------------------------------
Signature · 4 lines
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
.... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/ | PGP 1024R/763BE901Marc MERLIN
Re: [Powertop] v2.5-rc1 testing: accounting still very wrong
Quoted 7 lines · Marc MERLIN
Quoted 1 line · Kristen Carlson Accardi
Please test.
Still the same power counting bugs than previous versions.
After a few minutes, on battery, it went from 12W to 20W because of an rsync in the background, and when that rsync was finished (sigstop), I got this.
Quoted 7 lines
Somehow I very much doubt that e17 was using 1550W.
Clearly there is at least an assert missing that should ensure that the list of power estimated values clearly exceeds the total power.
Even if I stop enligthenment, which seems to be most of the wakeups, bad accounting is all wrong in many ways, see below:
And note that it's not always broken, after removing enough things, including unloading alsa, I got this:
----------------------------------------------------------------------------
The battery reports a discharge rate of 13.0 W
The estimated remaining time is 5 hours, 12 minutes
Summary: 639.4 wakeups/second, 105.5 GPU ops/seconds, 0.0 VFS ops/sec and 8.5%
Power est. Usage Events/s Category Description
948 mW 3.9 ms/s 178.2 Process /usr/bin/enlightenment
886 mW 393.4 µs/s 40.9 Process procmeter3
412 mW 6.4 ms/s 152.9 Process /usr/local/opt/google/chr 334 mW 36.7% Device Display backlight 323 mW 6.5 ms/s 88.7 Process /usr/local/opt/google/chr 59.2 mW 37.2 ms/s 48.9 Process /usr/local/opt/google/chr 25.7 mW 16.2 ms/s 9.9 Process /usr/bin/X :0 vt7 -br -no 10.8 mW 138.1 µs/s 1.4 Process xfce4-terminal -T window9 6.66 mW 4.2 ms/s 6.7 Process /usr/local/opt/google/chr 4.80 mW 3.0 ms/s 66.7 Timer hrtimer_wakeup
----------------------------------------------------------------------------
The problem is that the only number I can seem to trust is the discharge rate and likely the number of wakeups per second. The rest, especially the power estimation value per device or process, seems to be pure fabrication, and if you add them up, they never add up to the battery discharge rate.
Am I really the only one to see this?
kernel 3.11.5-amd64 powertop from git synced yesterday.
And just as I'm writing this Email, the next update I get from powertop (after restarting it because it crashed, trace sent in another email), is the following. My backlight moved from 334mW to 8.58W (I know both are wrong).
----------------------------------------------------------------------------
The battery reports a discharge rate of 13.1 W
The estimated remaining time is 4 hours, 59 minutes
Summary: 735.1 wakeups/second, 83.1 GPU ops/seconds, 0.0 VFS ops/sec and 8.5% CPU use
Power est. Usage Events/s Category Description
8.58 W 40.0% Device Display backlight 992 mW 100.0% Device USB device: Yubico Yubikey II (Yubico) 761 mW 303.7 µs/s 32.7 Process procmeter3 455 mW 2.9 ms/s 86.8 Process /usr/local/opt/google/chrome/chrome -- 433 mW 3.7 ms/s 46.5 Process xfce4-terminal -T window11 --role=wind 359 mW 11.7 ms/s 151.8 Process /usr/bin/enlightenment 198 mW 5.4 ms/s 98.7 Process /usr/local/opt/google/chrome/chrome 102 mW 27.6 ms/s 39.3 Process /usr/local/opt/google/chrome/chrome -- 68.2 mW 18.8 ms/s 20.5 Process /usr/bin/X :0 vt7 -br -nolisten tcp -a 29.3 mW 1.6 ms/s 94.5 Interrupt [42] i915(a)pci:0000:00:02.0
----------------------------------------------------------------------------
Marc
Signature · 4 lines
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
.... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/ | PGP 1024R/763BE901Kristen Carlson Accardi
Re: [Powertop] v2.5-rc1 testing: accounting still very wrong
Quoted 8 lines · On Sat, 2 Nov 2013 12:50:15 -0700 Marc MERLIN <marc_powertop(a)merlins.org>…
Quoted 7 lines · Marc MERLIN
Quoted 1 line · Kristen Carlson Accardi
Please test.
Still the same power counting bugs than previous versions.
After a few minutes, on battery, it went from 12W to 20W because of an rsync in the background, and when that rsync was finished (sigstop), I got this.
Quoted 7 lines
Quoted 7 lines
Somehow I very much doubt that e17 was using 1550W.
Clearly there is at least an assert missing that should ensure that the list of power estimated values clearly exceeds the total power.
Even if I stop enligthenment, which seems to be most of the wakeups, bad accounting is all wrong in many ways, see below:
Thanks for the detailed report. I think we aren't going to be able to address this for the 2.5 release, but I will put it on my list of things to do to see if we can duplicate this issue on another machine and start figuring out what is going on. We'll try to put a test case for something like this together for the 2.6 release just to confirm that we are within the realm of possibilities for estimation.
Marc MERLIN
Quoted 1 line · Kristen Carlson Accardi
Please test.
I let it run, my screen blanked (on batteries) and when I unblanked it, I got:
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fff96dfe000 Core was generated by `powertop-2.5'.
Program terminated with signal 6, Aborted.
#0 0x00007f0f5f0e61e5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) bt
#0 0x00007f0f5f0e61e5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007f0f5f0e9398 in __GI_abort () at abort.c:90
#2 0x00007f0f5f1217cb in __libc_message (do_abort=2, fmt=0x7f0f5f21b895 "*** %s ***: %s terminated\n")
at ../sysdeps/unix/sysv/linux/libc_fatal.c:199
#3 0x00007f0f5f1add17 in __GI___fortify_fail (msg=0x7f0f5f21b82c "buffer overflow detected")
at fortify_fail.c:31
#4 0x00007f0f5f1accd0 in __GI___chk_fail () at chk_fail.c:28
#5 0x00007f0f5f1ac159 in _IO_str_chk_overflow (fp=<optimized out>, c=<optimized out>) at vsprintf_chk.c:33
#6 0x00007f0f5f129209 in __GI__IO_default_xsputn (f=0x7fff96df2430, data=<optimized out>, n=21) at genops.c:481
#7 0x00007f0f5f0fea89 in ___printf_fp (fp=<optimized out>, info=<optimized out>, args=<optimized out>)
at printf_fp.c:1254
#8 0x00007f0f5f0f8b26 in _IO_vfprintf_internal (s=<optimized out>, format=<optimized out>, ap=<optimized out>)
at vfprintf.c:1648
#9 0x00007f0f5f1ac1f7 in ___vsprintf_chk (s=0x7fff96df2730 "-160686063957739622", flags=1, slen=20,
format=0x450588 "%5.1f%s", args=0x7fff96df2558) at vsprintf_chk.c:85
#10 0x00007f0f5f1ac13d in ___sprintf_chk (s=<optimized out>, flags=<optimized out>, slen=<optimized out>,
format=<optimized out>) at sprintf_chk.c:32
#11 0x00000000004263b8 in sprintf (__fmt=0x450588 "%5.1f%s", __s=0x7fff96df2730 "-160686063957739622")
at /usr/include/x86_64-linux-gnu/bits/stdio2.h:34#12 process_update_display () at process/do_process.cpp:869
#13 0x0000000000443b35 in one_measurement (seconds=<optimized out>, workload=<optimized out>) at main.cpp:215 #14 0x0000000000407762 in main (argc=1, argv=0x7fff96df4928) at main.cpp:468
This does not reproduce at will, but hopefully it helps.
Marc
Signature · 4 lines
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
.... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/ | PGP 1024R/763BE901Sergey Senozhatsky
Quoted 3 lines · Marc MERLIN
Quoted 1 line · Kristen Carlson Accardi
Please test.
Hello Marc,
thanks for reporting. while I see the reason of that crash, I can't see how did we come that far. could you please run powertop under strace?
thank you,
-ss
Quoted 44 lines
I let it run, my screen blanked (on batteries) and when I unblanked it, I got:
warning: no loadable sections found in added symbol-file system-supplied DSO at0x7fff96dfe000Core was generated by `powertop-2.5'.
Program terminated with signal 6, Aborted.
#00x00007f0f5f0e61e5in__GI_raise(sig=6) at../nptl/sysdeps/unix/sysv/linux/raise.c:56
56../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
in../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) bt#0 0x00007f0f5f0e61e5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #1 0x00007f0f5f0e9398 in __GI_abort () at abort.c:90 #2 0x00007f0f5f1217cb in __libc_message (do_abort=2, fmt=0x7f0f5f21b895 "*** %s ***: %s terminated\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:199 #3 0x00007f0f5f1add17 in __GI___fortify_fail (msg=0x7f0f5f21b82c "buffer overflow detected") at fortify_fail.c:31 #4 0x00007f0f5f1accd0 in __GI___chk_fail () at chk_fail.c:28 #5 0x00007f0f5f1ac159 in _IO_str_chk_overflow (fp=<optimized out>, c=<optimized out>) at vsprintf_chk.c:33 #6 0x00007f0f5f129209 in __GI__IO_default_xsputn (f=0x7fff96df2430, data=<optimized out>, n=21) at genops.c:481 #7 0x00007f0f5f0fea89 in ___printf_fp (fp=<optimized out>, info=<optimized out>, args=<optimized out>) at printf_fp.c:1254 #8 0x00007f0f5f0f8b26 in _IO_vfprintf_internal (s=<optimized out>, format=<optimized out>, ap=<optimized out>) at vfprintf.c:1648 #9 0x00007f0f5f1ac1f7 in ___vsprintf_chk (s=0x7fff96df2730 "-160686063957739622", flags=1, slen=20, format=0x450588 "%5.1f%s", args=0x7fff96df2558) at vsprintf_chk.c:85 #10 0x00007f0f5f1ac13d in ___sprintf_chk (s=<optimized out>, flags=<optimized out>, slen=<optimized out>, format=<optimized out>) at sprintf_chk.c:32 #11 0x00000000004263b8 in sprintf (__fmt=0x450588 "%5.1f%s", __s=0x7fff96df2730 "-160686063957739622") at /usr/include/x86_64-linux-gnu/bits/stdio2.h:34#12
process_update_display() at process/do_process.cpp:869
#130x0000000000443b35inone_measurement(seconds=<optimized out>, workload=<optimized out>) at main.cpp:215 #140x0000000000407762in main (argc=1, argv=0x7fff96df4928) at main.cpp:468This does not reproduce at will, but hopefully it helps.
Marc
Signature · 8 lines
"A mouse is a device used to point at the xterm you want to type in" - A.S.R. Microsoft is to operating systems .... .... what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/ | PGP 1024R/763BE901 _______________________________________________ PowerTop mailing list PowerTop(a)lists.01.org https://lists.01.org/mailman/listinfo/powertop
Marc MERLIN
Quoted 8 lines · Sergey Senozhatsky
Quoted 3 lines · Marc MERLIN
Quoted 1 line · Kristen Carlson Accardi
Please test.
Hello Marc,
thanks for reporting. while I see the reason of that crash, I can't see how did we come that far. could you please run powertop under strace?
I can't reproduce at will unfortunately, and it hasn't happened again since then, so I'm not sure I will be able to, sorry.
Marc
Quoted 49 lines
thank you,
-ssQuoted 44 lines
I let it run, my screen blanked (on batteries) and when I unblanked it, I got:
warning: no loadable sections found in added symbol-file system-supplied DSO at0x7fff96dfe000Core was generated by `powertop-2.5'.
Program terminated with signal 6, Aborted.
#00x00007f0f5f0e61e5in__GI_raise(sig=6) at../nptl/sysdeps/unix/sysv/linux/raise.c:56
56../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
in../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) bt#0 0x00007f0f5f0e61e5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #1 0x00007f0f5f0e9398 in __GI_abort () at abort.c:90 #2 0x00007f0f5f1217cb in __libc_message (do_abort=2, fmt=0x7f0f5f21b895 "*** %s ***: %s terminated\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:199 #3 0x00007f0f5f1add17 in __GI___fortify_fail (msg=0x7f0f5f21b82c "buffer overflow detected") at fortify_fail.c:31 #4 0x00007f0f5f1accd0 in __GI___chk_fail () at chk_fail.c:28 #5 0x00007f0f5f1ac159 in _IO_str_chk_overflow (fp=<optimized out>, c=<optimized out>) at vsprintf_chk.c:33 #6 0x00007f0f5f129209 in __GI__IO_default_xsputn (f=0x7fff96df2430, data=<optimized out>, n=21) at genops.c:481 #7 0x00007f0f5f0fea89 in ___printf_fp (fp=<optimized out>, info=<optimized out>, args=<optimized out>) at printf_fp.c:1254 #8 0x00007f0f5f0f8b26 in _IO_vfprintf_internal (s=<optimized out>, format=<optimized out>, ap=<optimized out>) at vfprintf.c:1648 #9 0x00007f0f5f1ac1f7 in ___vsprintf_chk (s=0x7fff96df2730 "-160686063957739622", flags=1, slen=20, format=0x450588 "%5.1f%s", args=0x7fff96df2558) at vsprintf_chk.c:85 #10 0x00007f0f5f1ac13d in ___sprintf_chk (s=<optimized out>, flags=<optimized out>, slen=<optimized out>, format=<optimized out>) at sprintf_chk.c:32 #11 0x00000000004263b8 in sprintf (__fmt=0x450588 "%5.1f%s", __s=0x7fff96df2730 "-160686063957739622") at /usr/include/x86_64-linux-gnu/bits/stdio2.h:34#12
process_update_display() at process/do_process.cpp:869
#130x0000000000443b35inone_measurement(seconds=<optimized out>, workload=<optimized out>) at main.cpp:215 #140x0000000000407762in main (argc=1, argv=0x7fff96df4928) at main.cpp:468This does not reproduce at will, but hopefully it helps.
Marc
Signature · 8 lines
"A mouse is a device used to point at the xterm you want to type in" - A.S.R. Microsoft is to operating systems .... .... what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/ | PGP 1024R/763BE901 _______________________________________________ PowerTop mailing list PowerTop(a)lists.01.org https://lists.01.org/mailman/listinfo/powertop
Signature · 4 lines
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
.... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/ | PGP 1024R/763BE901Sergey Senozhatsky
Quoted 14 lines · Marc MERLIN
Date: Tue, 26 Nov 2013 13:58:31 -0800
From: Marc MERLIN <marc_powertop(a)merlins.org>
To: Sergey Senozhatsky <sergey.senozhatsky(a)gmail.com>
Cc: Kristen Carlson Accardi <kristen(a)linux.intel.com>, powertop(a)ml01.01.org
Subject: Re: [Powertop] [Announce] v2.5-rc1
X-URL: http://marc.merlins.org/
User-Agent: Mutt/1.5.21 (2010-09-15)Quoted 5 lines · Sergey Senozhatsky
Quoted 3 lines · Marc MERLIN
Quoted 1 line · Kristen Carlson Accardi
Please test.
Quoted 6 lines
Quoted 3 lines
Hello Marc,
thanks for reporting. while I see the reason of that crash, I can't see how did we come that far. could you please run powertop under strace?I can't reproduce at will unfortunately, and it hasn't happened again since then, so I'm not sure I will be able to, sorry.
no problem.
-ss
Quoted 58 lines
Marc
Quoted 49 lines
thank you,
-ssQuoted 44 lines
I let it run, my screen blanked (on batteries) and when I unblanked it, I got:
warning: no loadable sections found in added symbol-file system-supplied DSO at0x7fff96dfe000Core was generated by `powertop-2.5'.
Program terminated with signal 6, Aborted.
#00x00007f0f5f0e61e5in__GI_raise(sig=6) at../nptl/sysdeps/unix/sysv/linux/raise.c:56
56../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
in../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) bt#0 0x00007f0f5f0e61e5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #1 0x00007f0f5f0e9398 in __GI_abort () at abort.c:90 #2 0x00007f0f5f1217cb in __libc_message (do_abort=2, fmt=0x7f0f5f21b895 "*** %s ***: %s terminated\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:199 #3 0x00007f0f5f1add17 in __GI___fortify_fail (msg=0x7f0f5f21b82c "buffer overflow detected") at fortify_fail.c:31 #4 0x00007f0f5f1accd0 in __GI___chk_fail () at chk_fail.c:28 #5 0x00007f0f5f1ac159 in _IO_str_chk_overflow (fp=<optimized out>, c=<optimized out>) at vsprintf_chk.c:33 #6 0x00007f0f5f129209 in __GI__IO_default_xsputn (f=0x7fff96df2430, data=<optimized out>, n=21) at genops.c:481 #7 0x00007f0f5f0fea89 in ___printf_fp (fp=<optimized out>, info=<optimized out>, args=<optimized out>) at printf_fp.c:1254 #8 0x00007f0f5f0f8b26 in _IO_vfprintf_internal (s=<optimized out>, format=<optimized out>, ap=<optimized out>) at vfprintf.c:1648 #9 0x00007f0f5f1ac1f7 in ___vsprintf_chk (s=0x7fff96df2730 "-160686063957739622", flags=1, slen=20, format=0x450588 "%5.1f%s", args=0x7fff96df2558) at vsprintf_chk.c:85 #10 0x00007f0f5f1ac13d in ___sprintf_chk (s=<optimized out>, flags=<optimized out>, slen=<optimized out>, format=<optimized out>) at sprintf_chk.c:32 #11 0x00000000004263b8 in sprintf (__fmt=0x450588 "%5.1f%s", __s=0x7fff96df2730 "-160686063957739622") at /usr/include/x86_64-linux-gnu/bits/stdio2.h:34#12
process_update_display() at process/do_process.cpp:869
#130x0000000000443b35inone_measurement(seconds=<optimized out>, workload=<optimized out>) at main.cpp:215 #140x0000000000407762in main (argc=1, argv=0x7fff96df4928) at main.cpp:468This does not reproduce at will, but hopefully it helps.
Marc
Signature · 8 lines
"A mouse is a device used to point at the xterm you want to type in" - A.S.R. Microsoft is to operating systems .... .... what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/ | PGP 1024R/763BE901 _______________________________________________ PowerTop mailing list PowerTop(a)lists.01.org https://lists.01.org/mailman/listinfo/powertopSignature · 4 lines
"A mouse is a device used to point at the xterm you want to type in" - A.S.R. Microsoft is to operating systems .... .... what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/ | PGP 1024R/763BE901