|
From: Sami R. <sam...@un...> - 2003-05-29 08:30:44
|
Dear valgrind users and developers, My program uses the ATLAS version of the blas library and the clapack library (see http://math-atlas.sourceforge.net/). blas-atlas is a linear algebra package heavily optimized for the machine it's running on. When I valgrind my program it crashes with: disInstr: unhandled 2-byte opcode 0x18 This _might_ be the result of executing an MMX, SSE, SSE2 or 3DNow! instruction. Valgrind does not currently support such instructions. Sorry. This happens when a blas function is called. I know that there is no support in valgrind for mmx, sse and sse2 instructions. But it there still a way to detect the memory problems of my program with valgrind ? even letting valgrind ignore these blas functions would be good for me. If there is no way, would it be possible sometimes in the future and if yes, when ? Thanks, Sami. -- http://informatik.unibas.ch/personen/romdhani_sami/ |
|
From: Nicholas N. <nj...@ca...> - 2003-05-29 09:05:37
|
On Thu, 29 May 2003, Sami Romdhani wrote: > I know that there is no support in valgrind for mmx, sse and sse2 > instructions. There is now: grab the latest version from CVS (sourceforge.net/cvs/?group_id=46268) and follow instructions in README to install. I think MMX support is complete, or close to complete, and SSE/SSE2 support is at least partly done. Hopefully it will get things working for you. N |
|
From: Sami R. <sam...@un...> - 2003-06-09 18:22:00
|
Hi, I just downloaded valgrind from cvs and the problem persists : valgrind-cvs/bin/valgrind -v --alignment=8 --leak-check=yes --num-callers=8 linux/debug/icia fit.conf 27.conf ... disInstr: unhandled instruction bytes: 0xF 0x57 0xE4 0xF Illegal instruction Additionally I get much more errors with the cvs version of valgrind than with the version 1.9.6: Now, I get many Mismatched free() / delete / delete [] I tried to look in the doc what this error means, but couldn't find it. So I guess, it's because I used 'delete [] ptr' instead of 'delete ptr' or vide-versa. But I couldn't find this in my code. So is this a valgrind bug or my bug ? Thanks, Sami. On Thu, 2003-05-29 at 11:05, Nicholas Nethercote wrote: > On Thu, 29 May 2003, Sami Romdhani wrote: > > > I know that there is no support in valgrind for mmx, sse and sse2 > > instructions. > > There is now: grab the latest version from CVS > (sourceforge.net/cvs/?group_id=46268) and follow instructions in README to > install. > > I think MMX support is complete, or close to complete, and SSE/SSE2 > support is at least partly done. Hopefully it will get things working for > you. > > N > -- http://informatik.unibas.ch/personen/romdhani_sami/ |
|
From: Nicholas N. <nj...@ca...> - 2003-06-10 07:28:12
|
On Mon, 9 Jun 2003, Sami Romdhani wrote: > Additionally I get much more errors with the cvs version of valgrind > than with the version 1.9.6: Now, I get many Mismatched free() / delete > / delete [] > > I tried to look in the doc what this error means, but couldn't find it. developer.kde.org/~sewardj/docs-1.9.5/mc_main.html#mc-top, section 3.3.4. > So I guess, it's because I used 'delete [] ptr' instead of 'delete ptr' > or vide-versa. But I couldn't find this in my code. So is this a > valgrind bug or my bug ? Without more information, it's impossible to know. N |