[Powertop] Segmentation fault with powertop --html
Julian Wollrath <jwollrath at web.de>
| Newsgroups | dev.linux.lists.powertop |
|---|---|
| Message-ID | <20140517115534.22c5f593@ilfaris> |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hello,
I get a segmentation fault with powertop 2.6 if I want to generate an
HTML report:
$ powertop --html
Loaded 750 prior measurements
RAPL device for cpu 0
RAPL device for cpu 0
Preparing to take measurements
unknown op '{'
[1] 5221 segmentation fault (core dumped) powertop --html
Backtrace:
Core was generated by `powertop --html'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f9f6d52019f in std::string::assign(std::string const&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
Traceback (most recent call last):
File "/usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20-gdb.py", line 59, in <module>
from libstdcxx.v6.printers import register_libstdcxx_printers
File "/usr/lib/x86_64-linux-gnu/../../share/gcc-4.9/python/libstdcxx/v6/printers.py", line 392
raise ValueError, "Unsupported implementation for %s" % str(node.type)
^
SyntaxError: invalid syntax
(gdb) backtrace
#0 0x00007f9f6d52019f in std::string::assign(std::string const&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#1 0x00000000004114ae in operator= (__str=..., this=0x7fff595c2408) at /usr/include/c++/4.8/bits/basic_string.h:547
#2 report_display_cpu_cstates () at cpu/cpu.cpp:529
#3 0x0000000000449374 in one_measurement (seconds=seconds(a)entry=1, workload=workload(a)entry=0x0) at main.cpp:221
#4 0x00000000004495c2 in make_report (time=20, workload=workload(a)entry=0x7fff595c3b30 "", iterations=iterations(a)entry=1, file=file(a)entry=0x7fff595c2b30 "powertop.html") at main.cpp:254
#5 0x000000000040741d in main (argc=2, argv=0x7fff595c4c58) at
main.cpp:441
If you need more information, I will happily provide it.
Cheers,
Julian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iQEcBAEBCAAGBQJTdzIcAAoJEFl2dmpRMS8zquMH/2ptSBMoONcu43sGbWCmAUDu
7a5xx4O6YcFHG76kuUDnJVwMQLwEx76C79uprX5jyVtAoi2k+houA3Q+xABWAN6j
K545qbTCd7InVzByHifWm967pwPqZeFan5/SInjo3JpIuaQSCRI7SKwpmmbjZ62l
9tmFMxuXMUg9+92imrHWu4R16t6j25cAfOaIOwi0LJio92fWxXlshhXDnW0YJKJw
Q7Ojs/GvrfJ4nPJIcvigxQP4Ekn1S0otohhhMcfETc0kq/BfF6o2DFTbWVk2J2yv
zTazI253O1wIY5AN9ePkw8+/nZmvG42vC63ZE8WELN7KLy/C0OI3iA+Z53Zw+iA=
=HWSf
-----END PGP SIGNATURE-----