You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(122) |
Nov
(152) |
Dec
(69) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(6) |
Feb
(25) |
Mar
(73) |
Apr
(82) |
May
(24) |
Jun
(25) |
Jul
(10) |
Aug
(11) |
Sep
(10) |
Oct
(54) |
Nov
(203) |
Dec
(182) |
| 2004 |
Jan
(307) |
Feb
(305) |
Mar
(430) |
Apr
(312) |
May
(187) |
Jun
(342) |
Jul
(487) |
Aug
(637) |
Sep
(336) |
Oct
(373) |
Nov
(441) |
Dec
(210) |
| 2005 |
Jan
(385) |
Feb
(480) |
Mar
(636) |
Apr
(544) |
May
(679) |
Jun
(625) |
Jul
(810) |
Aug
(838) |
Sep
(634) |
Oct
(521) |
Nov
(965) |
Dec
(543) |
| 2006 |
Jan
(494) |
Feb
(431) |
Mar
(546) |
Apr
(411) |
May
(406) |
Jun
(322) |
Jul
(256) |
Aug
(401) |
Sep
(345) |
Oct
(542) |
Nov
(308) |
Dec
(481) |
| 2007 |
Jan
(427) |
Feb
(326) |
Mar
(367) |
Apr
(255) |
May
(244) |
Jun
(204) |
Jul
(223) |
Aug
(231) |
Sep
(354) |
Oct
(374) |
Nov
(497) |
Dec
(362) |
| 2008 |
Jan
(322) |
Feb
(482) |
Mar
(658) |
Apr
(422) |
May
(476) |
Jun
(396) |
Jul
(455) |
Aug
(267) |
Sep
(280) |
Oct
(253) |
Nov
(232) |
Dec
(304) |
| 2009 |
Jan
(486) |
Feb
(470) |
Mar
(458) |
Apr
(423) |
May
(696) |
Jun
(461) |
Jul
(551) |
Aug
(575) |
Sep
(134) |
Oct
(110) |
Nov
(157) |
Dec
(102) |
| 2010 |
Jan
(226) |
Feb
(86) |
Mar
(147) |
Apr
(117) |
May
(107) |
Jun
(203) |
Jul
(193) |
Aug
(238) |
Sep
(300) |
Oct
(246) |
Nov
(23) |
Dec
(75) |
| 2011 |
Jan
(133) |
Feb
(195) |
Mar
(315) |
Apr
(200) |
May
(267) |
Jun
(293) |
Jul
(353) |
Aug
(237) |
Sep
(278) |
Oct
(611) |
Nov
(274) |
Dec
(260) |
| 2012 |
Jan
(303) |
Feb
(391) |
Mar
(417) |
Apr
(441) |
May
(488) |
Jun
(655) |
Jul
(590) |
Aug
(610) |
Sep
(526) |
Oct
(478) |
Nov
(359) |
Dec
(372) |
| 2013 |
Jan
(467) |
Feb
(226) |
Mar
(391) |
Apr
(281) |
May
(299) |
Jun
(252) |
Jul
(311) |
Aug
(352) |
Sep
(481) |
Oct
(571) |
Nov
(222) |
Dec
(231) |
| 2014 |
Jan
(185) |
Feb
(329) |
Mar
(245) |
Apr
(238) |
May
(281) |
Jun
(399) |
Jul
(382) |
Aug
(500) |
Sep
(579) |
Oct
(435) |
Nov
(487) |
Dec
(256) |
| 2015 |
Jan
(338) |
Feb
(357) |
Mar
(330) |
Apr
(294) |
May
(191) |
Jun
(108) |
Jul
(142) |
Aug
(261) |
Sep
(190) |
Oct
(54) |
Nov
(83) |
Dec
(22) |
| 2016 |
Jan
(49) |
Feb
(89) |
Mar
(33) |
Apr
(50) |
May
(27) |
Jun
(34) |
Jul
(53) |
Aug
(53) |
Sep
(98) |
Oct
(206) |
Nov
(93) |
Dec
(53) |
| 2017 |
Jan
(65) |
Feb
(82) |
Mar
(102) |
Apr
(86) |
May
(187) |
Jun
(67) |
Jul
(23) |
Aug
(93) |
Sep
(65) |
Oct
(45) |
Nov
(35) |
Dec
(17) |
| 2018 |
Jan
(26) |
Feb
(35) |
Mar
(38) |
Apr
(32) |
May
(8) |
Jun
(43) |
Jul
(27) |
Aug
(30) |
Sep
(43) |
Oct
(42) |
Nov
(38) |
Dec
(67) |
| 2019 |
Jan
(32) |
Feb
(37) |
Mar
(53) |
Apr
(64) |
May
(49) |
Jun
(18) |
Jul
(14) |
Aug
(53) |
Sep
(25) |
Oct
(30) |
Nov
(49) |
Dec
(31) |
| 2020 |
Jan
(87) |
Feb
(45) |
Mar
(37) |
Apr
(51) |
May
(99) |
Jun
(36) |
Jul
(11) |
Aug
(14) |
Sep
(20) |
Oct
(24) |
Nov
(40) |
Dec
(23) |
| 2021 |
Jan
(14) |
Feb
(53) |
Mar
(85) |
Apr
(15) |
May
(19) |
Jun
(3) |
Jul
(14) |
Aug
(1) |
Sep
(57) |
Oct
(73) |
Nov
(56) |
Dec
(22) |
| 2022 |
Jan
(3) |
Feb
(22) |
Mar
(6) |
Apr
(55) |
May
(46) |
Jun
(39) |
Jul
(15) |
Aug
(9) |
Sep
(11) |
Oct
(34) |
Nov
(20) |
Dec
(36) |
| 2023 |
Jan
(79) |
Feb
(41) |
Mar
(99) |
Apr
(169) |
May
(48) |
Jun
(16) |
Jul
(16) |
Aug
(57) |
Sep
(19) |
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
1
(1) |
2
|
3
|
4
|
5
|
|
6
|
7
|
8
|
9
|
10
(1) |
11
|
12
(2) |
|
13
(1) |
14
|
15
(3) |
16
|
17
|
18
(1) |
19
|
|
20
|
21
|
22
|
23
|
24
|
25
|
26
(2) |
|
27
(6) |
28
(2) |
29
|
30
(1) |
|
|
|
|
From: Mahin P. <mah...@ac...> - 2022-11-01 10:33:23
|
Hi John, All
Here is more information of OS & Valgrind on which I am getting below error (pasting error and information in single place) while running Valgrind:
--------------------- Valgrind Error ---------
…
==2214549== Invalid write of size 8
==2214549== at 0x46C0040: setup_raise_exception (signal_x86_64.c:2158)
==2214549== by 0x46C0653: segv_handler (signal_x86_64.c:2626)
==2214549== by 0x407641F: ??? (in /usr/lib/x86_64-linux-gnu/libpthread-2.31.so)
==2214549== Address 0x22fbd0 is in a rw- anonymous segment
…
…
==2214549== valgrind: Unrecognised instruction at address 0x46bc3d9.
==2214549== at 0x46BC3D9: __wine_syscall_dispatcher (in /usr/local/lib/wine/x86_64-unix/ntdll.so)
==2214549== by 0x170055EEF: LdrResolveDelayLoadedAPI (loader.c:3515)
==2214549== Your program just tried to execute an instruction that Valgrind
==2214549== did not recognise. There are two possible reasons for this.
==2214549== 1. Your program has a bug and erroneously jumped to a non-code
==2214549== location. If you are running Memcheck and you just saw a
==2214549== warning about a bad jump, it's probably your program's fault.
==2214549== 2. The instruction is legitimate but Valgrind doesn't handle it,
==2214549== i.e. it's Valgrind's fault. If you think this is the case or
==2214549== you are not sure, please let us know and we'll try to fix it.
==2214549== Either way, Valgrind will now raise a SIGILL signal which will
==2214549== probably kill your program.
0508:err:seh:segv_handler Got unexpected trap 0
…
-------------------------------- Source code -----------
> cat a.c
#include <stdio.h>
#include <stdlib.h>
#include <locale.h>
int main (int argc, char *argv[])
{
FILE *fin;
FILE *fout;
char wc;
fin=fopen("fin","r");
fout=fopen("out.txt","w,ccs=UTF-8");
while((wc=fgetc(fin))!=EOF){
fputc(wc,fout);
printf("%c", wc );
}
fclose(fin);
fclose(fout);
printf("\nFile has been created...%d\n", getpid());
sum(1);
return 0;
}
> cat c.c
void sum(int i)
{
return ;
}
void sum1(int i)
{
return ;
}
-------------- Compilation & run Command ----------------
winegcc -g -o c.o -c c.c
winegcc -g -o a.out a.c c.o
valgrind --trace-children=yes wine64 a.out.so > temp.out 2>&1
-------------------------- Valgrind & OS information -------------
1. Which version of valgrind? Report the output from "valgrind --version".
Where did you get it? If self-built from source then report the git commit hash and date. If pre-built from a software distribution, then report the name and version of the distribution, and the package name and version.
valgrind-3.15.0
valgrind/focal-updates,now 1:3.15.0-1ubuntu9.1 amd64 [installed]
OS: Ubuntu 20.04.2 LTS
2. Which version of Wine lib? Also give the URL for download of the software and installation instructions.
Here is installation instruction : https://wiki.winehq.org/Ubuntu
It's winehq-stable release.
Version: wine-7.0
3. Which execution environment? Report the output from "sed 10q /proc/cpuinfo"
and the VM booting banner from early lines of "dmesg". It really does matter which actual or Virtual Machine.
> sed 10q /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 85
model name : Intel(R) Xeon(R) Gold 6238 CPU @ 2.10GHz
stepping : 7
microcode : 0x500002c
cpu MHz : 2095.078
cache size : 30976 KB
physical id : 0
> dmesg | head -20
[ 0.000000] Linux version 5.4.0-122-generic (buildd@lcy02-amd64-095) (gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)) #138-Ubuntu SMP Wed Jun 22 15:00:31 UTC 2022 (Ubuntu 5.4.0-122.138-generic 5.4.192)
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-5.4.0-122-generic root=/dev/mapper/ubuntu--vg-lv--root ro maybe-ubiquity
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Hygon HygonGenuine
[ 0.000000] Centaur CentaurHauls
[ 0.000000] zhaoxin Shanghai
[ 0.000000] Disabled fast string operations
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x020: 'AVX-512 opmask'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x040: 'AVX-512 Hi256'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x080: 'AVX-512 ZMM_Hi256'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x200: 'Protection Keys User registers'
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.000000] x86/fpu: xstate_offset[3]: 832, xstate_sizes[3]: 64
[ 0.000000] x86/fpu: xstate_offset[4]: 896, xstate_sizes[4]: 64
[ 0.000000] x86/fpu: xstate_offset[5]: 960, xstate_sizes[5]: 64
[ 0.000000] x86/fpu: xstate_offset[6]: 1024, xstate_sizes[6]: 512
[ 0.000000] x86/fpu: xstate_offset[7]: 1536, xstate_sizes[7]: 1024
[ 0.000000] x86/fpu: xstate_offset[9]: 2560, xstate_sizes[9]: 8
[ 0.000000] x86/fpu: Enabled xstate features 0x2ff, context size is 2568 bytes, using 'compacted' format.
[ 0.000000] BIOS-provided physical RAM map:
4. Which underlying physical hardware (Intel or AMD)? [Perhaps the same as #3.]
> lshw -short
H/W path Device Class Description
================================================
system VMware Virtual Platform
/0 bus 440BX Desktop Reference Platform
/0/0 memory 86KiB BIOS
/0/1 processor Intel(R) Xeon(R) Gold 6238 CPU @ 2.10GHz
/0/1/0 memory 16KiB L1 cache
/0/1/1 memory 16KiB L1 cache
/0/2 processor Intel(R) Xeon(R) Gold 6238 CPU @ 2.10GHz
/0/28 memory 16GiB System Memory
/0/28/0 memory 16GiB DIMM DRAM EDO
/0/28/1 memory DIMM DRAM [empty]
We tried using perf but it is not generating line wise source code profiling eg. time taken by each function calls etc. If any you have some good documentation on perf which can help please suggest.
Is there option I could use Valgrind for profiling source code? Any pointers/suggestion are welcome.
regards,
Mahin
-----Original Message-----
From: John Reiser <jr...@bi...>
Sent: Wednesday, October 19, 2022 3:48 PM
To: val...@li...
Subject: Re: [Valgrind-developers] valgrind: Unrecognised instruction error
On 10/19/22 01:40, Mahin Pandya wrote:
> I am getting below error while running Valgrind, not sure if this is bug in Valgrind, application is build using Wine lib.
>
> Can someone check this?
>
> ---------------------
>
> …
>
> ==2214549== Invalid write of size 8
>
> ==2214549== at 0x46C0040: setup_raise_exception
> (signal_x86_64.c:2158)
>
> ==2214549== by 0x46C0653: segv_handler (signal_x86_64.c:2626)
>
> ==2214549== by 0x407641F: ??? (in
> /usr/lib/x86_64-linux-gnu/libpthread-2.31.so)
>
> ==2214549== Address 0x22fbd0 is in a rw- anonymous segment
[[snip]]
This query is so defective that we'll just ignore it until you fix it.
1. Which version of valgrind? Report the output from "valgrind --version".
Where did you get it? If self-built from source then report the git commit hash and date. If pre-built from a software distribution, then report the name and version of the distribution, and the package name and version.
valgrind-3.15.0
valgrind/focal-updates,now 1:3.15.0-1ubuntu9.1 amd64 [installed]
OS: Ubuntu 20.04.2 LTS
2. Which version of Wine lib? Also give the URL for download of the software and installation instructions.
Here is installation instruction : https://wiki.winehq.org/Ubuntu
It's winehq-stable release.
Version: wine-7.0
3. Which execution environment? Report the output from "sed 10q /proc/cpuinfo"
and the VM booting banner from early lines of "dmesg". It really does matter which actual or Virtual Machine.
> sed 10q /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 85
model name : Intel(R) Xeon(R) Gold 6238 CPU @ 2.10GHz
stepping : 7
microcode : 0x500002c
cpu MHz : 2095.078
cache size : 30976 KB
physical id : 0
> dmesg | head -20
[ 0.000000] Linux version 5.4.0-122-generic (buildd@lcy02-amd64-095) (gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.1)) #138-Ubuntu SMP Wed Jun 22 15:00:31 UTC 2022 (Ubuntu 5.4.0-122.138-generic 5.4.192)
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-5.4.0-122-generic root=/dev/mapper/ubuntu--vg-lv--root ro maybe-ubiquity
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Hygon HygonGenuine
[ 0.000000] Centaur CentaurHauls
[ 0.000000] zhaoxin Shanghai
[ 0.000000] Disabled fast string operations
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x020: 'AVX-512 opmask'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x040: 'AVX-512 Hi256'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x080: 'AVX-512 ZMM_Hi256'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x200: 'Protection Keys User registers'
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.000000] x86/fpu: xstate_offset[3]: 832, xstate_sizes[3]: 64
[ 0.000000] x86/fpu: xstate_offset[4]: 896, xstate_sizes[4]: 64
[ 0.000000] x86/fpu: xstate_offset[5]: 960, xstate_sizes[5]: 64
[ 0.000000] x86/fpu: xstate_offset[6]: 1024, xstate_sizes[6]: 512
[ 0.000000] x86/fpu: xstate_offset[7]: 1536, xstate_sizes[7]: 1024
[ 0.000000] x86/fpu: xstate_offset[9]: 2560, xstate_sizes[9]: 8
[ 0.000000] x86/fpu: Enabled xstate features 0x2ff, context size is 2568 bytes, using 'compacted' format.
[ 0.000000] BIOS-provided physical RAM map:
4. Which underlying physical hardware (Intel or AMD)? [Perhaps the same as #3.]
> lshw -short
H/W path Device Class Description
================================================
system VMware Virtual Platform
/0 bus 440BX Desktop Reference Platform
/0/0 memory 86KiB BIOS
/0/1 processor Intel(R) Xeon(R) Gold 6238 CPU @ 2.10GHz
/0/1/0 memory 16KiB L1 cache
/0/1/1 memory 16KiB L1 cache
/0/2 processor Intel(R) Xeon(R) Gold 6238 CPU @ 2.10GHz
/0/28 memory 16GiB System Memory
/0/28/0 memory 16GiB DIMM DRAM EDO
/0/28/1 memory DIMM DRAM [empty]
>
> Is there option I could use Valgrind for profiling source code? Any pointers/suggestion are welcome.
DO NOT start a profiling project using valgrind. Instead, start with 'perf'
which is vastly more capable, flexible, and fast.
_______________________________________________
Valgrind-developers mailing list
Val...@li...
https://lists.sourceforge.net/lists/listinfo/valgrind-developers
|