|
From: Fred S. <fr...@co...> - 2006-07-24 12:53:51
|
FWIW I've run a program using Oracle (OCI) under Valgrind, on various= versions of Red Hat Linux and Oracle clients 8.1.6, 8.1.7, 9.2.0.x, and= 10.1 and 10.2. I've never had the problem you report here. Regarding the reply, Ivan mentions "at least 14 suppression rules" to make= Valgrind quit whining about all the un-initialized memory errors when= connecting to Oracle. I've become frustrated with that very thing, I get= dozens and dozens of such errors from OCI and haven't been successful at= suppressing them (perhaps I fail to understand enough about how= suppression rules work). Would Ivan care to show us (or at least me) the= 14 rules he uses? Thanks! Fred Smith Senior Applications Programmer/Analyst Computrition, Inc. fr...@co... 781-275-4488 FAX: 781-687-8884 =0D =0D =0D > -----Original Message----- > From: val...@li...= [mailto:valgrind-users- > bo...@li...] On Behalf Of Ivan Skytte J=F8rgensen > Sent: Sunday, July 23, 2006 6:27 AM > To: val...@li... > Subject: Re: [Valgrind-users] Using valgrind on application using oracle= - > connecting problems >=0D > On Friday 21 July 2006 15:58, Goodwin, Malin wrote: > > I have an application that interacts with an oracle database. The > > application is written in > > C++ and uses embedded sql to interact with the database. > > I would like to run this appliation with valgrind, but it gives me a > > problem when the > > application is connecting to the oracle database, oracle gives an error > > as follows. > > > > ORA-12546: TNS:permission denied (-4) > > > > When I run the app as I normally would, the appliation has no problem > > establishing a > > db-connection and it runs fine. > > > > I wonder if the application run under a different user when executing > > under valgrind? > > Browsing though the list I do see references to Oracle - I must not be > > the first one trying this. >=0D > I am not sure that it is helpful to you, but I have successfully run > Oracle > programs under Valgrind. Oracle 10.1 linux, Valgrind 3.1, program is= using > Pro*C >=0D > The only issue I had was that Oracle's libclntsh is using some > entropy-gathering to handle the authentication, and random uninitialized > bits > cause a lot of warnings in Valgrind, and needs at least 14 supression > rules > to quiet. >=0D > Come to think of it - I may have run the program as root. due to other > issues. > Maybe that has avoided the problem you see. >=0D > Regards, > Ivan >=0D > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID= =3DDEVDEV > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users This email and any files transmitted with it are confidential and intended= solely for the use of the individual or entity to which they are= addressed. If you have received this email in error, please notify the= system manager. Please note that any views or opinions presented in this= email are solely those of the author and do not necessarily represent= those of the company. Finally, the recipient should check this email and= any attachments for the presence of viruses. The company accepts no= liability for any damage caused by any virus transmitted by this email. |