|
From: Foster, G. <gar...@si...> - 2005-04-27 17:46:48
|
Hello all, I just wondered, having used Purify, about the possiblity of getting a similar setup by using Valgrand with Anjuta 2 on Linux. http://www.anjuta.org/wiki/index.php/Anjuta2 Anjuta 2 has a fancy new plugin API it seems, whilst I haven't the time to do this myself, I'd at least like to suggest the idea to people, of writing a Valgrind Anjuta Pluging, with a view to giving Anjuta similar (or better) tools as those found in VC++ with Purify integrated. Can anyone see any reasons why this wouldn't be possible? For example, is there such a thing as libvalgrind and valgrind-devel? Cheers for any help, I will probably forward the replies onto the Anjuta/Gnome Dev tools mailing lists if they are positive. Regards, Gareth ******************************* * http://planetearthworm.com/ * ******************************* |
|
From: Robert W. <rj...@du...> - 2005-04-27 17:58:25
|
> Anjuta 2 has a fancy new plugin API it seems, whilst I haven't the time to > do this myself, I'd at least like to suggest the idea to people, of writing > a Valgrind Anjuta Pluging, with a view to giving Anjuta similar (or better) > tools as those found in VC++ with Purify integrated. > > Can anyone see any reasons why this wouldn't be possible? Should be doable. Someone just needs to find the time. Since I don't think any of the current developers uses an IDE like Anjuta or Eclipse, I suspect it will be a low priority RFE. > For example, is there such a thing as libvalgrind and valgrind-devel? No - Valgrind isn't really used like that. Since it's a virtual machine, it takes over execution of the process entirely. Valgrind used to be implemented as a shared library that got injected before your main program, but that caused too many problems and we changed over to a complete virtual machine instead. Regards, Robert. |
|
From: Nicholas N. <nj...@cs...> - 2005-04-27 18:00:40
|
On Wed, 27 Apr 2005, Foster, Gareth wrote: > I just wondered, having used Purify, about the possiblity of getting a > similar setup by using Valgrand with Anjuta 2 on Linux. What do you mean by "similar setup"? Do you just want to invoke Valgrind conveniently from within the IDE, or are you thinking of some kind of GUI? > http://www.anjuta.org/wiki/index.php/Anjuta2 > > Anjuta 2 has a fancy new plugin API it seems, whilst I haven't the time to > do this myself, I'd at least like to suggest the idea to people, of writing > a Valgrind Anjuta Pluging, with a view to giving Anjuta similar (or better) > tools as those found in VC++ with Purify integrated. > > Can anyone see any reasons why this wouldn't be possible? > > For example, is there such a thing as libvalgrind and valgrind-devel? > > Cheers for any help, I will probably forward the replies onto the > Anjuta/Gnome Dev tools mailing lists if they are positive. I believe KDevelop has a Valgrind plug-in, but I don't know how it works. N |
|
From: Bhanu H. <bha...@gm...> - 2005-04-27 18:03:30
|
Hello, =20 I have a code with main in Fortran and some C functions. I am using MPICH2 and PETSC libraries. My code works fine on windows but not on linux. So I resorted to using Valgrind to catch the run time error. I get the following "unaligned_bigint" error and I have no idea what it means. I am merely opening a file in the fortran main subroutine. Does anyone have any clue? =20 =20 =20 Invalid read of size 4 =3D=3D32411=3D=3D at 0x8D7ADBB: unaligned_bigint (in /home/bhanu/flowsim= /flowsim.exe) =3D=3D32411=3D=3D by 0x8D7AE90: hash (in /home/bhanu/flowsim/flowsim.exe= ) =3D=3D32411=3D=3D by 0x8D7AEF6: for__add_to_lf_table (in /home/bhanu/flowsim/flowsim.exe) =3D=3D32411=3D=3D by 0x8D7E027: for__open_proc (in /home/bhanu/flowsim/f= lowsim.exe) =3D=3D32411=3D=3D by 0x8D7BB52: for_open (in /home/bhanu/flowsim/flowsim= .exe) =3D=3D32411=3D=3D by 0x86674CF: main_program_ (MAIN.F90:717) =3D=3D32411=3D=3D by 0x8ABD165: MAIN__ (SPECIAL.f:46) =3D=3D32411=3D=3D by 0x80556C7: main (in /home/bhanu/flowsim/flowsim.exe= ) =3D=3D32411=3D=3D Address 0x1CBD70AC is 2 bytes after a block of size 42 a= lloc'd =3D=3D32411=3D=3D at 0x1B901594: malloc (vg_replace_malloc.c:130) =3D=3D32411=3D=3D by 0x8D8FB02: for__get_vm (in /home/bhanu/flowsim/flow= sim.exe) =3D=3D32411=3D=3D by 0x8D7CD9E: for__open_proc (in /home/bhanu/flowsim/f= lowsim.exe) =3D=3D32411=3D=3D by 0x8D7BB52: for_open (in /home/bhanu/flowsim/flowsim= .exe) =3D=3D32411=3D=3D by 0x86674CF: main_program_ (MAIN.F90:717) =3D=3D32411=3D=3D by 0x8ABD165: MAIN__ (SPECIAL.f:46) =3D=3D32411=3D=3D by 0x80556C7: main (in /home/bhanu/flowsim/flowsim.exe= ) =20 =20 Thanks, Bhanu |
|
From: Robert W. <rj...@du...> - 2005-04-27 18:12:41
|
> I get the following "unaligned_bigint" error and I have no idea what > it means. I am merely opening a file in the fortran main subroutine. > Does anyone have any clue? Somethings blowing beyond the end of a malloc'd buffer in your code in the unaligned_bigint function. To be more detailed, you'd need to have debugging enabled so you could get line numbers. Regards, Robert. |