You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
(58) |
Apr
(261) |
May
(169) |
Jun
(214) |
Jul
(201) |
Aug
(219) |
Sep
(198) |
Oct
(203) |
Nov
(241) |
Dec
(94) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(137) |
Feb
(149) |
Mar
(150) |
Apr
(193) |
May
(95) |
Jun
(173) |
Jul
(137) |
Aug
(236) |
Sep
(157) |
Oct
(150) |
Nov
(136) |
Dec
(90) |
| 2005 |
Jan
(139) |
Feb
(130) |
Mar
(274) |
Apr
(138) |
May
(184) |
Jun
(152) |
Jul
(261) |
Aug
(409) |
Sep
(239) |
Oct
(241) |
Nov
(260) |
Dec
(137) |
| 2006 |
Jan
(191) |
Feb
(142) |
Mar
(169) |
Apr
(75) |
May
(141) |
Jun
(169) |
Jul
(131) |
Aug
(141) |
Sep
(192) |
Oct
(176) |
Nov
(142) |
Dec
(95) |
| 2007 |
Jan
(98) |
Feb
(120) |
Mar
(93) |
Apr
(96) |
May
(95) |
Jun
(65) |
Jul
(62) |
Aug
(56) |
Sep
(53) |
Oct
(95) |
Nov
(106) |
Dec
(87) |
| 2008 |
Jan
(58) |
Feb
(149) |
Mar
(175) |
Apr
(110) |
May
(106) |
Jun
(72) |
Jul
(55) |
Aug
(89) |
Sep
(26) |
Oct
(96) |
Nov
(83) |
Dec
(93) |
| 2009 |
Jan
(97) |
Feb
(106) |
Mar
(74) |
Apr
(64) |
May
(115) |
Jun
(83) |
Jul
(137) |
Aug
(103) |
Sep
(56) |
Oct
(59) |
Nov
(61) |
Dec
(37) |
| 2010 |
Jan
(94) |
Feb
(71) |
Mar
(53) |
Apr
(105) |
May
(79) |
Jun
(111) |
Jul
(110) |
Aug
(81) |
Sep
(50) |
Oct
(82) |
Nov
(49) |
Dec
(21) |
| 2011 |
Jan
(87) |
Feb
(105) |
Mar
(108) |
Apr
(99) |
May
(91) |
Jun
(94) |
Jul
(114) |
Aug
(77) |
Sep
(58) |
Oct
(58) |
Nov
(131) |
Dec
(62) |
| 2012 |
Jan
(76) |
Feb
(93) |
Mar
(68) |
Apr
(95) |
May
(62) |
Jun
(109) |
Jul
(90) |
Aug
(87) |
Sep
(49) |
Oct
(54) |
Nov
(66) |
Dec
(84) |
| 2013 |
Jan
(67) |
Feb
(52) |
Mar
(93) |
Apr
(65) |
May
(33) |
Jun
(34) |
Jul
(52) |
Aug
(42) |
Sep
(52) |
Oct
(48) |
Nov
(66) |
Dec
(14) |
| 2014 |
Jan
(66) |
Feb
(51) |
Mar
(34) |
Apr
(47) |
May
(58) |
Jun
(27) |
Jul
(52) |
Aug
(41) |
Sep
(78) |
Oct
(30) |
Nov
(28) |
Dec
(26) |
| 2015 |
Jan
(41) |
Feb
(42) |
Mar
(20) |
Apr
(73) |
May
(31) |
Jun
(48) |
Jul
(23) |
Aug
(55) |
Sep
(36) |
Oct
(47) |
Nov
(48) |
Dec
(41) |
| 2016 |
Jan
(32) |
Feb
(34) |
Mar
(33) |
Apr
(22) |
May
(14) |
Jun
(31) |
Jul
(29) |
Aug
(41) |
Sep
(17) |
Oct
(27) |
Nov
(38) |
Dec
(28) |
| 2017 |
Jan
(28) |
Feb
(30) |
Mar
(16) |
Apr
(9) |
May
(27) |
Jun
(57) |
Jul
(28) |
Aug
(43) |
Sep
(31) |
Oct
(20) |
Nov
(24) |
Dec
(18) |
| 2018 |
Jan
(34) |
Feb
(50) |
Mar
(18) |
Apr
(26) |
May
(13) |
Jun
(31) |
Jul
(13) |
Aug
(11) |
Sep
(15) |
Oct
(12) |
Nov
(18) |
Dec
(13) |
| 2019 |
Jan
(12) |
Feb
(29) |
Mar
(51) |
Apr
(22) |
May
(13) |
Jun
(20) |
Jul
(13) |
Aug
(12) |
Sep
(21) |
Oct
(6) |
Nov
(9) |
Dec
(5) |
| 2020 |
Jan
(13) |
Feb
(5) |
Mar
(25) |
Apr
(4) |
May
(40) |
Jun
(27) |
Jul
(5) |
Aug
(17) |
Sep
(21) |
Oct
(1) |
Nov
(5) |
Dec
(15) |
| 2021 |
Jan
(28) |
Feb
(6) |
Mar
(11) |
Apr
(5) |
May
(7) |
Jun
(8) |
Jul
(5) |
Aug
(5) |
Sep
(11) |
Oct
(9) |
Nov
(10) |
Dec
(12) |
| 2022 |
Jan
(7) |
Feb
(13) |
Mar
(8) |
Apr
(7) |
May
(12) |
Jun
(27) |
Jul
(14) |
Aug
(27) |
Sep
(27) |
Oct
(17) |
Nov
(17) |
Dec
|
| 2023 |
Jan
(10) |
Feb
(18) |
Mar
(9) |
Apr
(26) |
May
|
Jun
(13) |
Jul
(18) |
Aug
(5) |
Sep
(12) |
Oct
(16) |
Nov
(1) |
Dec
|
| 2024 |
Jan
(4) |
Feb
(3) |
Mar
(6) |
Apr
(17) |
May
(2) |
Jun
(33) |
Jul
(13) |
Aug
(1) |
Sep
(6) |
Oct
(8) |
Nov
(6) |
Dec
(15) |
| 2025 |
Jan
(5) |
Feb
(11) |
Mar
(8) |
Apr
(20) |
May
(1) |
Jun
|
Jul
|
Aug
(9) |
Sep
(1) |
Oct
(7) |
Nov
(1) |
Dec
|
|
From: Marco C. <mar...@op...> - 2015-10-28 13:27:55
|
Thank you very much Florian, no problem with 3.11.0 version of Valgrind. It helps me a lot in fixing a wrong memory access. Bests, Marco ________________________________________ Da: Florian Krohm <fl...@ei...> Inviato: mercoledì 28 ottobre 2015 13.03 A: Marco Cisternino; val...@li... Oggetto: Re: [Valgrind-users] porition names length On 28.10.2015 12:04, Marco Cisternino wrote: > Good morning, > > I'm new on the list and I would like to ask you something about the Valgrind output. > > My c++ code uses a lot of templates so the name of the functions are usually huge. > > When Valgrind finds an error, it prints the type of error and where it happens "at 0x........: name of the function". > > If the name of the function is too long Valgrind cuts it. > > Is there a way to change the maximal length of the function name? What you describe should have been fixed in the latest valgrind release 3.11.0 If you are using an older version, function names will be cut and there is no way to change that with a command line parameter. If, however, you are using 3.11.0 then this is a bug we want to know more about. Please file a bug here: https://bugs.kde.org/enter_bug.cgi?product=valgrind and include a (small) testcase. Florian |
|
From: Marco C. <mar...@op...> - 2015-10-28 13:24:08
|
Good morning, I can't use valgrind with gdb. In a terminal I launch my code (real) with valgrind valgrind --vgdb=yes --vgdb-error=0 ./real and valgrind answer me ==23498== (action at startup) vgdb me ... ==23498== ==23498== TO DEBUG THIS PROCESS USING GDB: start GDB like this ==23498== /path/to/gdb ./real ==23498== and then give GDB the following command ==23498== target remote | /usr/local/lib/valgrind/../../bin/vgdb --pid=23498 ==23498== --pid is optional if only one valgrind process is running In another one I launch gdb ./real In gdb I give the command target remote | /usr/local/lib/valgrind/../../bin/vgdb --pid=23498 Then I give gdb continue After few seconds gdb says Program received signal SIGTRAP, Trace/breakpoint trap. 0x0000000006018417 in __libc_writev (fd=9, vector=0x6af6710, count=3) at ../sysdeps/unix/sysv/linux/writev.c:50 50 ../sysdeps/unix/sysv/linux/writev.c: File o directory non esistente. where "non esistente" means "doesn't exist" I don't really know what happens. Could you help me understand, please? Thanks. Best regards, Marco |
|
From: Florian K. <fl...@ei...> - 2015-10-28 12:03:24
|
On 28.10.2015 12:04, Marco Cisternino wrote: > Good morning, > > I'm new on the list and I would like to ask you something about the Valgrind output. > > My c++ code uses a lot of templates so the name of the functions are usually huge. > > When Valgrind finds an error, it prints the type of error and where it happens "at 0x........: name of the function". > > If the name of the function is too long Valgrind cuts it. > > Is there a way to change the maximal length of the function name? What you describe should have been fixed in the latest valgrind release 3.11.0 If you are using an older version, function names will be cut and there is no way to change that with a command line parameter. If, however, you are using 3.11.0 then this is a bug we want to know more about. Please file a bug here: https://bugs.kde.org/enter_bug.cgi?product=valgrind and include a (small) testcase. Florian |
|
From: Marco C. <mar...@op...> - 2015-10-28 11:18:59
|
Good morning, I'm new on the list and I would like to ask you something about the Valgrind output. My c++ code uses a lot of templates so the name of the functions are usually huge. When Valgrind finds an error, it prints the type of error and where it happens "at 0x........: name of the function". If the name of the function is too long Valgrind cuts it. Is there a way to change the maximal length of the function name? Thanks. Best regards, Marco |
|
From: William G. <app...@li...> - 2015-10-27 17:05:30
|
Hello, I would like to use some C++ containers in my tool. I have attempted to modify my tool's Makefile.am by adding AM_CXXFLAGS = -std=gnu++11 at the top and changing $(LINK) to $(CXXLINK). However, because of the -nodefaultlibs switch I have to manually add libraries to be linked. I receive a multiple definition error: /usr/lib/gcc/x86_64-redhat-linux/5.1.1/../../../../lib64/libc.a(abort.o): In function `abort': (.text+0x0): multiple definition of `abort' ../coregrind/libcoregrind-amd64-linux.a(libcoregrind_amd64_linux_a-m_main.o):/home/will/Downloads/vg1/coregrind/m_main.c:2861: first defined here There is a conflict because of valgrind's redefinition of standard library functions. Is it possible or are the examples of using C++ in a valgrind tool. Thanks, William |
|
From: Jeffrey W. <nol...@gm...> - 2015-10-27 11:53:24
|
> A few Linux and Apple users report unexpected results and I am having > trouble reproducing the issue. I have not been able to duplicate it, > even, say on Debian Sid (unstable) with the bleeding edge GCC. Its > been tough to narrow down, but it appears to be related to the latest > GCC and possibly Clang compilers. I also suspect it might be related > to the use of PIC. We tracked this down to Debian Sid (unstable) running on real Core2 Duo hardware (I had to dust off an old Dell S1555 laptop). I also needed the Debian maintainer to tar his VM and send it to me. It appears the GCC 5.2.1 compiler was too aggressive with -fdevirtualize for a few functions when the definition of the function is in the header and its inlined. The functions had a call to SecureByteBlock class, which manages an array of bytes and zeroizes it on destruction. The function New does what you would expect - it allocates a new block of memory. It can also be used to reallocate if the new size is larger then when created. GCC was omitting some of the calls to New which grew the array. Jeff |
|
From: Karthik S. <ks...@dr...> - 2015-10-27 11:03:21
|
Hi all, While running an ARMv8 benchmark, I found that an instruction Valgrind appears to choke on. For reference, the error message follows: "The instruction is legitimate but Valgrind doesn't handle it, i.e. it's > Valgrind's fault. If you think this is the case or you are not sure, > please let us know and we'll try to fix it." I tracked down the problem instruction: a vectorized form of the double precision 'fmaxnm' instruction to compare two double precision numbers. The scalar version of this instruction runs fine, and I can verify that the vectorized instruction only gets generated by gcc when using the tree-vectorize flag (and 03). 405720: 4e60c508 fmaxnm v8.2d, v8.2d, v0.2d Does anyone know if: 1) Vectorized double-precision instructions are unimplemented in valgrind, 2) This particular instruction has been unimplemented, or 3) The platform I'm using is doing something sticky with these instructions? Thanks, Karthik |
|
From: Jeffrey W. <nol...@gm...> - 2015-10-22 12:54:49
|
On Thu, Oct 22, 2015 at 7:52 AM, Julian Seward <js...@ac...> wrote:
>
>> When PIC is in effect, the Global Offset Table (GOT) is utilized.
>> Under the Linux ABI, that means EBX/RBX must be preserved because it
>> holds the pointer to the GOT.
>
> If the GOT pointer register is getting trashed by inline assembly, I'd
> imagine your program would crash very shortly afterwards, in a somewhat
> obvious way (if you're proficient at reading assembly that is).
Yeah, that's what I hoped for. But its showing up as a hang at the
moment. (And I would probably suffer my fair share of reading the
ASM).
No one has provided me with a dump, and no one has provided me with
remote/SSH access to a misbehaving machine. They are not making it
easy :(
I'm trying to go the extra mile because this could be a portent of
things to come at GCC 5.2 or 5.3. I want to get out ahead of this
issue in case it becomes wider spread.
> Also, if the inline asm is wrong, different optimisation levels may well
> have different effects. Is it -O level dependent?
The issue does not appear to be transient based on optimizations. The
folks who are reporting it use -O{1|2|3}.
I know a -DDISABLE_ASM resolves the issue. I don't know what happens
under the configuration {no-PIC, with-ASM}. No one has reported back.
I also know -mno-sse{3|4|4_1|4_2} does not affect the issue.
> You list a bunch of memory-error checking tools (Memcheck, ASan, etc) but
> don't say anything about race-checking (Helgrind, DRD, TSan, etc). Did you
> check for races and other threading problems?
The self tests are single threaded, so I guess I am fortunate that its
not a factor. Thank the {Lord|Allay|<Favorite Deity>} for small
miracles :)
Jeff
|
|
From: Julian S. <js...@ac...> - 2015-10-22 11:52:34
|
> When PIC is in effect, the Global Offset Table (GOT) is utilized. > Under the Linux ABI, that means EBX/RBX must be preserved because it > holds the pointer to the GOT. If the GOT pointer register is getting trashed by inline assembly, I'd imagine your program would crash very shortly afterwards, in a somewhat obvious way (if you're proficient at reading assembly that is). Also, if the inline asm is wrong, different optimisation levels may well have different effects. Is it -O level dependent? You list a bunch of memory-error checking tools (Memcheck, ASan, etc) but don't say anything about race-checking (Helgrind, DRD, TSan, etc). Did you check for races and other threading problems? J |
|
From: Ulrich-Lorenz S. <u.s...@ra...> - 2015-10-22 09:03:26
|
Thanks, I'll upgrade. Uli |
|
From: Tom H. <to...@co...> - 2015-10-22 08:59:39
|
On 22/10/15 09:36, Ulrich-Lorenz Schlüter wrote: >> What does "valgrind --version" say? >> >> Tom >> > > valgrind-3.6.0 So as I thought then. That is five years old and vgdb support didn't appear until the 3.7.0 release. Tom -- Tom Hughes (to...@co...) http://compton.nu/ |
|
From: Ulrich-Lorenz S. <u.s...@ra...> - 2015-10-22 08:37:04
|
> What does "valgrind --version" say? > > Tom > valgrind-3.6.0 Uli |
|
From: <jr...@bi...> - 2015-10-22 03:25:49
|
> Is it possible to use Valgrind to detect unexpected changes to the GOT > pointer when PIC is in effect? Or put another way, is it possible to detect > unexpected changes to EBX/RBX? There is no builtin feature to do that. But if you are highly motivated then here's how. Add two words to the VEX register state structure for a thread: the expected GOT value for RBX/EBX, and a pointer to a linked list of previous pairs of words. In the VEX code generator, recognize the "set GOT pointer" idiom "CALL [MOV (%RSP),%RBX; RET]; ADDQ $NNNN,RBX" then cons the new value of RBX into the front of the list. Recognize return-from-subroutine "POP %RBX; ...; RET", then check RBX against the expected GOT, and cdr the list. |
|
From: Jeffrey W. <nol...@gm...> - 2015-10-21 21:40:36
|
Hi Everyone, I have a cross platform project that uses a fair amount on inline assembly. The project is clean under Valgrind, Undefined Behavior sanitizer, Address sanitizer and even Microsoft's Enterprise Analysis and Coverity. However... A few Linux and Apple users report unexpected results and I am having trouble reproducing the issue. I have not been able to duplicate it, even, say on Debian Sid (unstable) with the bleeding edge GCC. Its been tough to narrow down, but it appears to be related to the latest GCC and possibly Clang compilers. I also suspect it might be related to the use of PIC. When PIC is in effect, the Global Offset Table (GOT) is utilized. Under the Linux ABI, that means EBX/RBX must be preserved because it holds the pointer to the GOT. Is it possible to use Valgrind to detect unexpected changes to the GOT pointer when PIC is in effect? Or put another way, is it possible to detect unexpected changes to EBX/RBX? (I know its not an easy request. My apologies for asking). Thanks in Advance. |
|
From: Tom H. <to...@co...> - 2015-10-21 14:49:36
|
On 21/10/15 15:36, Ulrich-Lorenz Schlüter wrote: > With: > valgrind --vgdb=yes --vgdb-error=0 --track-origins=yes --leak-check=full > ./program > I get the following error: > valgrind: Bad option: --vgdb=yes > > What am I doing wrong? If I had to guess I'd say you're using a really old version of valgrind. What does "valgrind --version" say? Tom -- Tom Hughes (to...@co...) http://compton.nu/ |
|
From: Ulrich-Lorenz S. <u.s...@ra...> - 2015-10-21 14:40:19
|
Hi there, With: valgrind --vgdb=yes --vgdb-error=0 --track-origins=yes --leak-check=full ./program I get the following error: valgrind: Bad option: --vgdb=yes What am I doing wrong? Thanks and regards, Uli |
|
From: Amir G. <am...@Lo...> - 2015-10-21 13:19:24
|
Hi,
How can I cross compile valgrind to ARM7?
Thanks,
[cid:image001.jpg@01CF0C60.A1594690]
Amir Gall Heimberg
Software Development
T
+972 9 8354848
F
+972 9 8656262
[תיאור: 70Twitter.png] <https://twitter.com/LogiTag> [תיאור: 70Facebook.png] <https://www.facebook.com/LogitagSystems> [תיאור: 70LinkedIn.png] <http://www.linkedin.com/company/logitag> [תיאור: 70YouTube.png] <http://www.youtube.com/user/LogiTag>
[cid:image006.jpg@01CF0C60.A1594690]<http://www.logi-tag.com/>
|
|
From: Ivo R. <iv...@iv...> - 2015-10-20 05:04:36
|
2015-10-19 23:04 GMT+02:00 Paul Floyd <pa...@fr...>: > > On 19 Oct 2015, at 20:25, Matthew Wozniczka wrote: > > X86/Solaris is listed as supported @ > http://valgrind.org/info/platforms.html, so I grabbed a copy of > valgrind-3.11.0.tar.bz2 and followed the instructions @ > http://valgrind.org/docs/manual/dist.install.html, but I got the > following error when running configure: > > $ ./configure --prefix=/home/mattheww/valgrind-solx86 > checking for a BSD-compatible install... /opt/csw/bin/ginstall -c > > configure: error: Valgrind is operating system specific. Sorry. > > $ uname -a > SunOS B2S-SOL10x86-2 5.10 Generic_147148-26 i86pc i386 i86pc > > > > I haven't tried despite being something of a dyed in the wool Solaris > user. At a guess, Solaris 11 is required. > Yes, please have a look at README.solaris for precise requirements. I. |
|
From: Matthew W. <mat...@si...> - 2015-10-19 22:56:30
|
I was able to get it to build after moving to a solaris 11 machine, installing gcc 4.9, and playing around with some paths (mostly issues of it using make vs gmake, etc). It seems to mostly work, two things I noticed though: - C++ symbols don’t get demangled in the output, I need to run it through c++filt. This may be because I built the program using sun studio instead of gcc? - I’m seeing invalid reads of size 8 in _Unw_jmp, where it complains that the address is several hundred bytes beneath the stack pointer. This seems to be happening when exceptions are thrown. I’m guessing this is also due to not building with gcc? From: Ivo Raisr [mailto:iv...@iv...] Sent: October-19-15 11:57 AM To: Matthew Wozniczka <mat...@si...> Cc: val...@li... Subject: Re: [Valgrind-users] Building Valgrind on Solaris 2015-10-19 20:34 GMT+02:00 Matthew Wozniczka <mat...@si...<mailto:mat...@si...>>: X86/Solaris is listed as supported @ http://valgrind.org/info/platforms.html, so I grabbed a copy of valgrind-3.11.0.tar.bz2 and followed the instructions @ http://valgrind.org/docs/manual/dist.install.html, but I got the following error when running configure: $ ./configure --prefix=/home/mattheww/valgrind-solx86 ... checking for a supported OS... no (solaris2.10) configure: error: Valgrind is operating system specific. Sorry. $ uname -a SunOS B2S-SOL10x86-2 5.10 Generic_147148-26 i86pc i386 i86pc Matthew, Please study information in README.solaris. It lists all the requirements your Solaris version needs to satisfy. Most importantly it states you need either illumos or Solaris 11. Solaris 10 simply does not work. I would be glad to assist you in building Valgrind on any Solaris 11 or higher system. Kind regards, I. |
|
From: Paul F. <pa...@fr...> - 2015-10-19 21:04:10
|
On 19 Oct 2015, at 20:25, Matthew Wozniczka wrote: > X86/Solaris is listed as supported @ http://valgrind.org/info/platforms.html, so I grabbed a copy of valgrind-3.11.0.tar.bz2 and followed the instructions @ http://valgrind.org/docs/manual/dist.install.html, but I got the following error when running configure: > > $ ./configure --prefix=/home/mattheww/valgrind-solx86 > checking for a BSD-compatible install... /opt/csw/bin/ginstall -c > > configure: error: Valgrind is operating system specific. Sorry. > > $ uname -a > SunOS B2S-SOL10x86-2 5.10 Generic_147148-26 i86pc i386 i86pc I haven't tried despite being something of a dyed in the wool Solaris user. At a guess, Solaris 11 is required. A+ Paul |
|
From: Matthew W. <mat...@si...> - 2015-10-19 18:58:44
|
X86/Solaris is listed as supported @ http://valgrind.org/info/platforms.html, so I grabbed a copy of valgrind-3.11.0.tar.bz2 and followed the instructions @ http://valgrind.org/docs/manual/dist.install.html, but I got the following error when running configure: $ ./configure --prefix=/home/mattheww/valgrind-solx86 checking for a BSD-compatible install... /opt/csw/bin/ginstall -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /opt/csw/bin/gmkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for ranlib... ranlib checking for a sed that does not truncate output... /opt/csw/bin/gsed checking for ar... /usr/ccs/bin/ar checking for perl... /usr/bin/perl checking for gdb... /no/gdb/was/found/at/configure/time checking dependency style of gcc... gcc3 checking for diff -u... No differences encountered yes checking for a supported version of gcc... ok (4.9.2) checking build system type... i386-pc-solaris2.10 checking host system type... i386-pc-solaris2.10 checking for a supported CPU... ok (i386) checking for a 64-bit only build... no checking for a 32-bit only build... no checking for a supported OS... no (solaris2.10) configure: error: Valgrind is operating system specific. Sorry. $ uname -a SunOS B2S-SOL10x86-2 5.10 Generic_147148-26 i86pc i386 i86pc |
|
From: Ivo R. <iv...@iv...> - 2015-10-19 18:56:39
|
2015-10-19 20:34 GMT+02:00 Matthew Wozniczka <mat...@si...>: > X86/Solaris is listed as supported @ > http://valgrind.org/info/platforms.html, so I grabbed a copy of > valgrind-3.11.0.tar.bz2 and followed the instructions @ > http://valgrind.org/docs/manual/dist.install.html, but I got the > following error when running configure: > > > > $ ./configure --prefix=/home/mattheww/valgrind-solx86 > > ... > > checking for a supported OS... no (solaris2.10) > > configure: error: Valgrind is operating system specific. Sorry. > > > > $ uname -a > > SunOS B2S-SOL10x86-2 5.10 Generic_147148-26 i86pc i386 i86pc > Matthew, Please study information in README.solaris. It lists all the requirements your Solaris version needs to satisfy. Most importantly it states you need either illumos or Solaris 11. Solaris 10 simply does not work. I would be glad to assist you in building Valgrind on any Solaris 11 or higher system. Kind regards, I. |
|
From: Matthew W. <mat...@si...> - 2015-10-19 18:49:04
|
X86/Solaris is listed as supported @ http://valgrind.org/info/platforms.html, so I grabbed a copy of valgrind-3.11.0.tar.bz2 and followed the instructions @ http://valgrind.org/docs/manual/dist.install.html, but I got the following error when running configure: $ ./configure --prefix=/home/mattheww/valgrind-solx86 checking for a BSD-compatible install... /opt/csw/bin/ginstall -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /opt/csw/bin/gmkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for ranlib... ranlib checking for a sed that does not truncate output... /opt/csw/bin/gsed checking for ar... /usr/ccs/bin/ar checking for perl... /usr/bin/perl checking for gdb... /no/gdb/was/found/at/configure/time checking dependency style of gcc... gcc3 checking for diff -u... No differences encountered yes checking for a supported version of gcc... ok (4.9.2) checking build system type... i386-pc-solaris2.10 checking host system type... i386-pc-solaris2.10 checking for a supported CPU... ok (i386) checking for a 64-bit only build... no checking for a 32-bit only build... no checking for a supported OS... no (solaris2.10) configure: error: Valgrind is operating system specific. Sorry. $ uname -a SunOS B2S-SOL10x86-2 5.10 Generic_147148-26 i86pc i386 i86pc |
|
From: Adam P. <ada...@ho...> - 2015-10-17 15:31:45
|
Thanks for the suggestions. I'll try them and see how far I get.
Adam
> Subject: Re: [Valgrind-users] Valgrind on MIPS no output and 100% CPU
> From: phi...@sk...
> To: ada...@ho...
> CC: val...@li...
> Date: Wed, 14 Oct 2015 23:42:02 +0200
>
> On Wed, 2015-10-14 at 15:30 +0100, Adam Porteous wrote
>
>
> > 1. I don't see any output on the console at all and can see that
> > valgrind is nearly 100% CPU with the output from using top
> > (hardware has 2 cores which explains the 48%):
> > 6210 6190 root R 16004 13% 0 48%
> > {memcheck-mips32} ./valgrind
>
> > I know this is not much information to go on but can anyone provide a
> > suggestion as to how I could proceed?
>
> Here is what you could do:
>
> First check if the loop happens before startup,
> or in the valgrind code,
> or in the guest code.
>
> So, first thing to try is to run with more tracing, e.g. with
> --trace-flags=00100000
> and/or with
> -v -v -v -d -d -d
>
> If the guest code starts executing, then you should e.g.
> see things such as
>
> ==== SB 0 (evchecks 0) [tid 1] 0x4000d00 UNKNOWN_FUNCTION /lib/i386-linux-gnu/ld-2.19.so+0xd00
> ==== SB 1 (evchecks 1) [tid 1] 0x4004330 _dl_start+16 /lib/i386-linux-gnu/ld-2.19.so+0x4330
> ...
>
> After that, when no progress is visible, you can use vgdb (and/or gdb+vgdb) to
> see if the loop is in the guest code.
> E.g., from the shell, do (several times):
> vgdb v.info scheduler
> That should show where it loops
> (and if it loops, you could investigate using gdb+vgdb).
>
> If vgdb cannot connect, then probably the loop is in the valgrind 'core'.
> You can then maybe see where in the valgrind code it is looping, by using
> gdb and directly attaching to the executable.
>
> Philippe
>
>
|
|
From: Philippe W. <phi...@sk...> - 2015-10-14 21:41:16
|
On Wed, 2015-10-14 at 15:30 +0100, Adam Porteous wrote
> 1. I don't see any output on the console at all and can see that
> valgrind is nearly 100% CPU with the output from using top
> (hardware has 2 cores which explains the 48%):
> 6210 6190 root R 16004 13% 0 48%
> {memcheck-mips32} ./valgrind
> I know this is not much information to go on but can anyone provide a
> suggestion as to how I could proceed?
Here is what you could do:
First check if the loop happens before startup,
or in the valgrind code,
or in the guest code.
So, first thing to try is to run with more tracing, e.g. with
--trace-flags=00100000
and/or with
-v -v -v -d -d -d
If the guest code starts executing, then you should e.g.
see things such as
==== SB 0 (evchecks 0) [tid 1] 0x4000d00 UNKNOWN_FUNCTION /lib/i386-linux-gnu/ld-2.19.so+0xd00
==== SB 1 (evchecks 1) [tid 1] 0x4004330 _dl_start+16 /lib/i386-linux-gnu/ld-2.19.so+0x4330
...
After that, when no progress is visible, you can use vgdb (and/or gdb+vgdb) to
see if the loop is in the guest code.
E.g., from the shell, do (several times):
vgdb v.info scheduler
That should show where it loops
(and if it loops, you could investigate using gdb+vgdb).
If vgdb cannot connect, then probably the loop is in the valgrind 'core'.
You can then maybe see where in the valgrind code it is looping, by using
gdb and directly attaching to the executable.
Philippe
|