From: Dima B. <di...@cs...> - 2003-07-13 15:24:33
|
I get the following error with the current CVS sources of valgrind: ==20126== Memcheck, a.k.a. Valgrind, a memory error detector for x86-linux. ==20126== Copyright (C) 2002-2003, and GNU GPL'd, by Julian Seward. ==20126== Using valgrind-cvs-head-2003-07-13, a program supervision framework for x86-linux. ==20126== Copyright (C) 2000-2003, and GNU GPL'd, by Julian Seward. ==20126== Estimated CPU clock rate is 266 MHz ==20126== For more details, rerun with: -v ==20126== Root = /root/mcoda/root mam_journalinit:env_open: Function not implemented mammoth: mam_journal.c:52: mam_journalenvinit: Assertion `0' failed. Aborted This is using Redhat 9, gcc 322, glibc 2.3.2, nptl, and BerkeleyDB 1.4.25. Thanks ttyl Dima On Sun, Jul 13, 2003 at 02:28:45AM +0100, Julian Seward wrote: > > I think I have fixed this problem. Can you build from cvs and see > if the situation has improved? > > Thanks, > > J > > > Building valgrind from the current cvs sources ... is easy. > Here's how: > > cvs -d:pserver:ano...@cv...:/cvsroot/valgrind login > > When prompted for a password for anonymous, simply press the Enter key. > > cvs -z3 -d:pserver:ano...@cv...:/cvsroot/valgrind co > valgrind > cd valgrind > ./autogen.sh > ./configure --prefix=.... > make > make install > > And you should be in business. > > 8 Dec 2002 > > > On Wednesday 07 May 2003 10:01, Troels Walsted Hansen wrote: > > Sorry, I managed to forget to attach the script. > > > > Here's the script, as well as two straces, created with the below > > commands, on a RH8+glibc 2.3.3 machine. > > > > strace python dbboguserrno.py 2> strace-normal.txt > > strace valgrind python dbboguserrno.py 2> strace-valgrind.txt > > > > Both traces show the below syscall, but the instance running in Valgrind > > seems to get EAGAIN instead... > > > > open("nosuchfile.db", O_RDONLY|O_NONBLOCK|O_LARGEFILE) = -1 ENOENT (No > > such file or directory) > > > > Troels > > > > > -----Original Message----- > > > From: Nicholas Nethercote [mailto:nj...@he...] On > > > Behalf Of Nicholas Nethercote > > > Sent: 7. mai 2003 10:43 > > > To: Troels Walsted Hansen > > > Cc: val...@li... > > > Subject: Re: [Valgrind-users] BerkeleyDB gets bogus errno in Valgrind > > > > > > On Wed, 7 May 2003, Troels Walsted Hansen wrote: > > > > This is the expected behavior of the program. > > > > > > > > rpmdb._rpmdb.DBNoSuchFileError: (2, 'No such file or directory') > > > > > > > > This is what happens in Valgrind. RH8 and RH9 uses > > > > > > BerkeleyDB 4.0.14, > > > > > > > rpmdb._rpmdb.DBAgainError: (11, 'Resource temporarily unavailable -- > > > > nosuchfile.db: Resource temporarily unavailable') > > > > > > It's possible that Valgrind's doing something slightly > > > different with file > > > handling that means you get a different behaviour. Do you have more > > > information about what exactly is happening to prompt this > > > error? Eg. is > > > it trying to open a file with the open() system call, or > > > something like > > > that? It's very difficult to know what the problem is from your > > > description so far. > > > > > > N > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps1 > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users -- Dima Brodsky di...@cs... http://www.cs.ubc.ca/~dima 201-2366 Main Mall Department of Computer Science (604) 822-2895 (DSG Lab) University of British Columbia, Canada (604) 822-5485 (FAX) "The price of reliability is the pursuit of the utmost simplicity. It is a price which the very rich find the most hard to pay." (Sir Antony Hoare, 1980) |