[valgrind] [Bug 367718] a part of the code causes a segfault in fortran 90 gfortran
https://bugs.kde.org/show_bug.cgi?id=367718 --- Comment #2 from be...@subatech.in2p3.fr --- (In reply to Julian Seward from comment #1) > (In reply to besse from comment #0) > > > The problem is almost certainly the errors shown below. You are using > memory that has already been freed. > I know that is a problem of memory. But technically, i don't see or know how to fix that. -- You are receiving this mail because: You are watching all bug changes.
[valgrind] [Bug 367718] a part of the code causes a segfault in fortran 90 gfortran
https://bugs.kde.org/show_bug.cgi?id=367718 --- Comment #1 from Julian Seward--- (In reply to besse from comment #0) > I debugged the program on a single iteration with valgrind and gdb and no > problem is appeared. The problem is almost certainly the errors shown below. You are using memory that has already been freed. > ==8141== Invalid read of size 8 > ==8141==at 0x4661DB: select_ (select.f:548) > ==8141==by 0x403746: analyse_ (analyse.f:344) > ==8141==by 0x44A17C: integration1_ (integration1.f:1157) > ==8141==by 0x40F87C: dyngcs_ (dyngcs.f:318) > ==8141==by 0x410CA3: MAIN__ (dywan.f:108) > ==8141==by 0x401209: main (in > /scratch/theoric/besse/SIMULATIONS_EN_COURS/QLOB/run) > ==8141== Address 0x9e43d78 is 648 bytes inside a block of size 760 free'd > ==8141==at 0x4A063F0: free (vg_replace_malloc.c:446) > ==8141==by 0x455DC0: percolationalpha_ (percolationalpha.f:7) > ==8141==by 0x4598DB: percolation_ (percolation.f:302) > ==8141==by 0x404A08: cluster1_ (cluster1.f:84) > ==8141==by 0x4660B7: select_ (select.f:478) > ==8141==by 0x403746: analyse_ (analyse.f:344) > ==8141==by 0x44A17C: integration1_ (integration1.f:1157) > ==8141==by 0x40F87C: dyngcs_ (dyngcs.f:318) > ==8141==by 0x410CA3: MAIN__ (dywan.f:108) > ==8141==by 0x401209: main (in > /scratch/theoric/besse/SIMULATIONS_EN_COURS/QLOB/run) > ==8141== > ==8141== Invalid write of size 8 > ==8141==at 0x4661F0: select_ (select.f:548) > ==8141==by 0x403746: analyse_ (analyse.f:344) > ==8141==by 0x44A17C: integration1_ (integration1.f:1157) > ==8141==by 0x40F87C: dyngcs_ (dyngcs.f:318) > ==8141==by 0x410CA3: MAIN__ (dywan.f:108) > ==8141==by 0x401209: main (in > /scratch/theoric/besse/SIMULATIONS_EN_COURS/QLOB/run) > ==8141== Address 0x9e43d78 is 648 bytes inside a block of size 760 free'd > ==8141==at 0x4A063F0: free (vg_replace_malloc.c:446) > ==8141==by 0x455DC0: percolationalpha_ (percolationalpha.f:7) > ==8141==by 0x4598DB: percolation_ (percolation.f:302) > ==8141==by 0x404A08: cluster1_ (cluster1.f:84) > ==8141==by 0x4660B7: select_ (select.f:478) > ==8141==by 0x403746: analyse_ (analyse.f:344) > ==8141==by 0x44A17C: integration1_ (integration1.f:1157) > ==8141==by 0x40F87C: dyngcs_ (dyngcs.f:318) > ==8141==by 0x410CA3: MAIN__ (dywan.f:108) > ==8141==by 0x401209: main (in > /scratch/theoric/besse/SIMULATIONS_EN_COURS/QLOB/run) -- You are receiving this mail because: You are watching all bug changes.
[valgrind] [Bug 367718] a part of the code causes a segfault in fortran 90 gfortran
https://bugs.kde.org/show_bug.cgi?id=367718 Julian Sewardchanged: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID -- You are receiving this mail because: You are watching all bug changes.