* Re: [Powertop] Segmentation fault with powertop --html
@ 2014-05-19 18:19 Julian Wollrath
0 siblings, 0 replies; 5+ messages in thread
From: Julian Wollrath @ 2014-05-19 18:19 UTC (permalink / raw)
To: powertop
[-- Attachment #1: Type: text/plain, Size: 5241 bytes --]
Hi,
> > 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
> >
[..]
>
> Please give me more details on what platform are you executing this. I
> can't reproduce this.
sure, I have a Lenovo Thinkpad X121e with an AMD E-450 APU:
$lspci-nn :(
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 14h Processor Root Complex [1022:1510]
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler [Radeon HD 6320] [1002:9806]
00:01.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler HDMI Audio [1002:1314]
00:04.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 14h Processor Root Port [1022:1512]
00:06.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 14h Processor Root Port [1022:1514]
00:07.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 14h Processor Root Port [1022:1515]
00:11.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] [1002:4391]
00:12.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397]
00:12.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396]
00:13.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397]
00:13.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396]
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller [1002:4385] (rev 42)
00:14.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) [1002:4383] (rev 40)
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller [1002:439d] (rev 40)
00:14.4 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge [1002:4384] (rev 40)
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 0 [1022:1700] (rev 43)
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 1 [1022:1701]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 2 [1022:1702]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 3 [1022:1703]
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 4 [1022:1704]
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 6 [1022:1718]
00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 5 [1022:1716]
00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 7 [1022:1719]
01:00.0 Network controller [0280]: Intel Corporation Centrino Advanced-N 6200 [8086:4239] (rev 2c)
02:00.0 Ethernet controller [0200]: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet [1969:1083] (rev c0)
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd.
RTS5209 PCI Express Card Reader [10ec:5209] (rev 01)
If that information does not help I could also try and bisect the problem.
Cheers,
Julian
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [Powertop] Segmentation fault with powertop --html
@ 2014-05-19 21:25 Julian Wollrath
0 siblings, 0 replies; 5+ messages in thread
From: Julian Wollrath @ 2014-05-19 21:25 UTC (permalink / raw)
To: powertop
[-- Attachment #1: Type: text/plain, Size: 5813 bytes --]
Am Mon, 19 May 2014 11:24:00 -0700 (PDT)
schrieb "Alexandra Yates" <alexandra.yates(a)linux.intel.com>:
>
> > Hi,
> >
> >> > 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
> >> >
> > [..]
> >>
> >> Please give me more details on what platform are you executing
> >> this. I can't reproduce this.
> >
> > sure, I have a Lenovo Thinkpad X121e with an AMD E-450 APU:
> > $lspci-nn
> >
> > :(
> > 00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD]
> > Family 14h Processor Root Complex [1022:1510]
> > 00:01.0 VGA compatible controller [0300]: Advanced Micro Devices,
> > Inc. [AMD/ATI] Wrestler [Radeon HD 6320] [1002:9806]
> > 00:01.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI]
> > Wrestler HDMI Audio [1002:1314]
> > 00:04.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD]
> > Family 14h Processor Root Port [1022:1512]
> > 00:06.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD]
> > Family 14h Processor Root Port [1022:1514]
> > 00:07.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD]
> > Family 14h Processor Root Port [1022:1515]
> > 00:11.0 SATA controller [0106]: Advanced Micro Devices, Inc.
> > [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] [1002:4391]
> > 00:12.0 USB controller [0c03]: Advanced Micro Devices, Inc.
> > [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397]
> > 00:12.2 USB controller [0c03]: Advanced Micro Devices, Inc.
> > [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396]
> > 00:13.0 USB controller [0c03]: Advanced Micro Devices, Inc.
> > [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397]
> > 00:13.2 USB controller [0c03]: Advanced Micro Devices, Inc.
> > [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396]
> > 00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00
> > SMBus Controller [1002:4385] (rev 42)
> > 00:14.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI]
> > SBx00 Azalia (Intel HDA) [1002:4383] (rev 40)
> > 00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD/ATI]
> > SB7x0/SB8x0/SB9x0 LPC host controller [1002:439d] (rev 40)
> > 00:14.4 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI]
> > SBx00 PCI to PCI Bridge [1002:4384] (rev 40)
> > 00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD]
> > Family 12h/14h Processor Function 0 [1022:1700] (rev 43)
> > 00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD]
> > Family 12h/14h Processor Function 1 [1022:1701]
> > 00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD]
> > Family 12h/14h Processor Function 2 [1022:1702]
> > 00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD]
> > Family 12h/14h Processor Function 3 [1022:1703]
> > 00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD]
> > Family 12h/14h Processor Function 4 [1022:1704]
> > 00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD]
> > Family 12h/14h Processor Function 6 [1022:1718]
> > 00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD]
> > Family 12h/14h Processor Function 5 [1022:1716]
> > 00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD]
> > Family 12h/14h Processor Function 7 [1022:1719]
> > 01:00.0 Network controller [0280]: Intel Corporation Centrino
> > Advanced-N 6200 [8086:4239] (rev 2c)
> > 02:00.0 Ethernet controller [0200]: Qualcomm Atheros AR8151 v2.0
> > Gigabit Ethernet [1969:1083] (rev c0)
> > 03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd.
> > RTS5209 PCI Express Card Reader [10ec:5209] (rev 01)
> >
> > If that information does not help I could also try and bisect the
> > problem.
> >
> >
> > Cheers,
> > Julian
> >
>
> this is useful, also what distribution?
Debian unstable with 3.15-rc5 kernel (git commit 14186fea0cb06), sorry
for not mentioning that before.
Cheers,
Julian
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [Powertop] Segmentation fault with powertop --html
@ 2014-05-19 18:24 Alexandra Yates
0 siblings, 0 replies; 5+ messages in thread
From: Alexandra Yates @ 2014-05-19 18:24 UTC (permalink / raw)
To: powertop
[-- Attachment #1: Type: text/plain, Size: 5371 bytes --]
> Hi,
>
>> > 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
>> >
> [..]
>>
>> Please give me more details on what platform are you executing this. I
>> can't reproduce this.
>
> sure, I have a Lenovo Thinkpad X121e with an AMD E-450 APU:
> $lspci-nn
>
> :(
> 00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 14h
> Processor Root Complex [1022:1510]
> 00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc.
> [AMD/ATI] Wrestler [Radeon HD 6320] [1002:9806]
> 00:01.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI]
> Wrestler HDMI Audio [1002:1314]
> 00:04.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 14h
> Processor Root Port [1022:1512]
> 00:06.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 14h
> Processor Root Port [1022:1514]
> 00:07.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 14h
> Processor Root Port [1022:1515]
> 00:11.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD/ATI]
> SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] [1002:4391]
> 00:12.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI]
> SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397]
> 00:12.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI]
> SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396]
> 00:13.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI]
> SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397]
> 00:13.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI]
> SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396]
> 00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus
> Controller [1002:4385] (rev 42)
> 00:14.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00
> Azalia (Intel HDA) [1002:4383] (rev 40)
> 00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD/ATI]
> SB7x0/SB8x0/SB9x0 LPC host controller [1002:439d] (rev 40)
> 00:14.4 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00
> PCI to PCI Bridge [1002:4384] (rev 40)
> 00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family
> 12h/14h Processor Function 0 [1022:1700] (rev 43)
> 00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family
> 12h/14h Processor Function 1 [1022:1701]
> 00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family
> 12h/14h Processor Function 2 [1022:1702]
> 00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family
> 12h/14h Processor Function 3 [1022:1703]
> 00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family
> 12h/14h Processor Function 4 [1022:1704]
> 00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family
> 12h/14h Processor Function 6 [1022:1718]
> 00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family
> 12h/14h Processor Function 5 [1022:1716]
> 00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family
> 12h/14h Processor Function 7 [1022:1719]
> 01:00.0 Network controller [0280]: Intel Corporation Centrino Advanced-N
> 6200 [8086:4239] (rev 2c)
> 02:00.0 Ethernet controller [0200]: Qualcomm Atheros AR8151 v2.0 Gigabit
> Ethernet [1969:1083] (rev c0)
> 03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd.
> RTS5209 PCI Express Card Reader [10ec:5209] (rev 01)
>
> If that information does not help I could also try and bisect the problem.
>
>
> Cheers,
> Julian
>
this is useful, also what distribution?
Thank you,
Alexandra.
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [Powertop] Segmentation fault with powertop --html
@ 2014-05-19 17:37 Alexandra Yates
0 siblings, 0 replies; 5+ messages in thread
From: Alexandra Yates @ 2014-05-19 17:37 UTC (permalink / raw)
To: powertop
[-- Attachment #1: Type: text/plain, Size: 2702 bytes --]
> -----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-----
> _______________________________________________
> PowerTop mailing list
> PowerTop(a)lists.01.org
> https://lists.01.org/mailman/listinfo/powertop
>
Please give me more details on what platform are you executing this. I
can't reproduce this.
Thank you,
Alexandra.
^ permalink raw reply [flat|nested] 5+ messages in thread* [Powertop] Segmentation fault with powertop --html
@ 2014-05-17 9:55 Julian Wollrath
0 siblings, 0 replies; 5+ messages in thread
From: Julian Wollrath @ 2014-05-17 9:55 UTC (permalink / raw)
To: powertop
[-- Attachment #1: Type: text/plain, Size: 2297 bytes --]
-----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-----
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-05-19 21:25 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-19 18:19 [Powertop] Segmentation fault with powertop --html Julian Wollrath
-- strict thread matches above, loose matches on Subject: below --
2014-05-19 21:25 Julian Wollrath
2014-05-19 18:24 Alexandra Yates
2014-05-19 17:37 Alexandra Yates
2014-05-17 9:55 Julian Wollrath
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.