From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============6711209255111338065==" MIME-Version: 1.0 From: Julian Wollrath Subject: [Powertop] Segmentation fault with powertop --html Date: Sat, 17 May 2014 11:55:34 +0200 Message-ID: <20140517115534.22c5f593@ilfaris> To: powertop@lists.01.org List-ID: --===============6711209255111338065== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable -----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 from libstdcxx.v6.printers import register_libstdcxx_printers File "/usr/lib/x86_64-linux-gnu/../../share/gcc-4.9/python/libstdcxx/v6/p= rinters.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=3D (__str=3D..., this=3D0x7fff595c2408) = 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=3Dseconds(a)entry=3D1, w= orkload=3Dworkload(a)entry=3D0x0) at main.cpp:221 #4 0x00000000004495c2 in make_report (time=3D20, workload=3Dworkload(a)ent= ry=3D0x7fff595c3b30 "", iterations=3Diterations(a)entry=3D1, file=3Dfile(a)= entry=3D0x7fff595c2b30 "powertop.html") at main.cpp:254 #5 0x000000000040741d in main (argc=3D2, argv=3D0x7fff595c4c58) 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=3D =3DHWSf -----END PGP SIGNATURE----- --===============6711209255111338065==--