Hi Toby,

I have the same problem here since I updated deal.II this morning (I'm
actually on the distributed branch, but recent changes got merged).
Running under gdb reveals that it is in the destruction of some global
object in libdeal_II_2d or 3d which contains a std::string. This
memory seems to be garbage.
Maybe it is related to numerics/events.h (a recent change with
std::strings in static objects).

Timo

2010/1/15 Toby D. Young <[email protected]>:
>
>
> Dear dealii-ers
>
> I am ghetting this strange and annoyuing error message from the
> dealii-dev when running example programs. Some compile and work fine,
> some do not, apparently quite randomly. Step-4, hangs...
>
> I don't know what has changed recently in dealii-dev   :-|
> I compile dealii with this:
>
> ./configure --with-petsc=/home/tyoung/research.code/petsc-3.0.0-p10
> --with-petsc-arch=linux-gnu-cxx-debug
> --with-slepc=/home/tyoung/research.code/slepc-3.0.0-p7 --disable-threads
>
> I'm on revision: 20369
>
> I am convinved that this is not a petsc or slepc issue... I also
> know this is not connected with 3d only. Problem is I have no idea how
> to begin seeking out where this is coming from. Any ideas please?
>
> Many thanks in advance.
>
> Best,
>        Toby
>
> This happens in step-20:
>
> Number of active cells: 64
> Total number of cells: 85
> Number of degrees of freedom: 208 (144+64)
> 15 CG Schur complement iterations to obtain convergence.
> Errors: ||e_p||_L2 = 0.178055,   ||e_u||_L2 = 0.0433435
> *** glibc detected *** ./step-20: munmap_chunk(): invalid pointer:
> 0x0000000000665038 *** ======= Backtrace: =========
> /lib/libc.so.6[0x7f82894d3f4d]
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/libstdc++.so.6(_ZdlPv+0x1c)[0x7f8289d17784]
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/libstdc++.so.6[0x7f8289cf4d79]
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/libstdc++.so.6(_ZNSs4_Rep10_M_destroyERKSaIcE+0x42)[0x7f8289cf4dbe]
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/libstdc++.so.6(_ZNSs4_Rep10_M_disposeERKSaIcE+0x54)[0x7f8289cf4e22]
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/libstdc++.so.6(_ZNSsD1Ev+0x2f)[0x7f8289cf4e53]
> ./step-20(_ZSt8_DestroyISsEvPT_+0x15)[0x434455]
> ./step-20(_ZSt13__destroy_auxIPSsEvT_S1_12__false_type+0x1b)[0x434473]
> ./step-20(_ZSt8_DestroyIPSsEvT_S1_+0x24)[0x4344a8]
> ./step-20(_ZSt8_DestroyIPSsSsEvT_S1_SaIT0_E+0x21)[0x4344cb]
> ./step-20(_ZNSt6vectorISsSaISsEED1Ev+0x3a)[0x436c10]
> /home/tyoung/research.code/deal.II/lib/libdeal_II_3d.g.so.6.3.pre[0x7f828cc20e20]
> /lib/libc.so.6(__cxa_finalize+0x94)[0x7f82894972c4]
> /home/tyoung/research.code/deal.II/lib/libdeal_II_3d.g.so.6.3.pre[0x7f828c6f60e3]
>
> Memory map follows:
>
> ======= Memory map: ========
> 00400000-00459000 r-xp 00000000 03:04
> 8922409                            
> /home/tyoung/research.code/deal.II/examples/step-20/step-20
> 00658000-0065b000 r--p 00058000 03:04
> 8922409                            
> /home/tyoung/research.code/deal.II/examples/step-20/step-20
> 0065b000-0065c000 rw-p 0005b000 03:04
> 8922409                            
> /home/tyoung/research.code/deal.II/examples/step-20/step-20
> 0065c000-00694000 rw-p 00000000 00:00
> 0                                  [heap] 7f82872af000-7f8287349000
> r-xp 00000000 03:03
> 2441500                    
> /usr/lib64/gcc/x86_64-pc-linux-gnu/4.1.2/libgfortran.so.1.0.0
> 7f8287349000-7f8287549000 ---p 0009a000 03:03
> 2441500                    
> /usr/lib64/gcc/x86_64-pc-linux-gnu/4.1.2/libgfortran.so.1.0.0
> 7f8287549000-7f828754a000 r--p 0009a000 03:03
> 2441500                    
> /usr/lib64/gcc/x86_64-pc-linux-gnu/4.1.2/libgfortran.so.1.0.0
> 7f828754a000-7f828754b000 rw-p 0009b000 03:03
> 2441500                    
> /usr/lib64/gcc/x86_64-pc-linux-gnu/4.1.2/libgfortran.so.1.0.0
> 7f828754b000-7f828754d000 r-xp 00000000 03:03
> 165930                     /lib64/libdl-2.10.1.so
> 7f828754d000-7f828774d000 ---p 00002000 03:03
> 165930                     /lib64/libdl-2.10.1.so
> 7f828774d000-7f828774e000 r--p 00002000 03:03
> 165930                     /lib64/libdl-2.10.1.so
> 7f828774e000-7f828774f000 rw-p 00003000 03:03
> 165930                     /lib64/libdl-2.10.1.so
> 7f828774f000-7f82877a3000 r-xp 00000000 03:03
> 2876501                    /usr/lib64/blas/reference/libblas.so.0.0.0
> 7f82877a3000-7f82879a3000 ---p 00054000 03:03
> 2876501                    /usr/lib64/blas/reference/libblas.so.0.0.0
> 7f82879a3000-7f82879a4000 r--p 00054000 03:03
> 2876501                    /usr/lib64/blas/reference/libblas.so.0.0.0
> 7f82879a4000-7f82879a5000 rw-p 00055000 03:03
> 2876501                    /usr/lib64/blas/reference/libblas.so.0.0.0
> 7f82879a5000-7f8287de4000 r-xp 00000000 03:03
> 2384792                    /usr/lib64/lapack/reference/liblapack.so.0.0.0
> 7f8287de4000-7f8287fe3000 ---p 0043f000 03:03
> 2384792                    /usr/lib64/lapack/reference/liblapack.so.0.0.0
> 7f8287fe3000-7f8287fe4000 r--p 0043e000 03:03
> 2384792                    /usr/lib64/lapack/reference/liblapack.so.0.0.0
> 7f8287fe4000-7f8287fe8000 rw-p 0043f000 03:03
> 2384792                    /usr/lib64/lapack/reference/liblapack.so.0.0.0
> 7f8287fe8000-7f82880f5000 rw-p 00000000 00:00 0
> 7f82880f5000-7f828823f000 r-xp 00000000 03:04
> 9232914                    
> /home/tyoung/research.code/petsc-3.0.0-p10/linux-gnu-cxx-debug/lib/libpetsc.so
> 7f828823f000-7f828843e000 ---p 0014a000 03:04
> 9232914                    
> /home/tyoung/research.code/petsc-3.0.0-p10/linux-gnu-cxx-debug/lib/libpetsc.so
> 7f828843e000-7f828843f000 r--p 00149000 03:04
> 9232914                    
> /home/tyoung/research.code/petsc-3.0.0-p10/linux-gnu-cxx-debug/lib/libpetsc.so
> 7f828843f000-7f8288441000 rw-p 0014a000 03:04
> 9232914                    
> /home/tyoung/research.code/petsc-3.0.0-p10/linux-gnu-cxx-debug/lib/libpetsc.so
> 7f8288441000-7f828844c000 rw-p 00000000 00:00 0
> 7f828844c000-7f828853f000 r-xp 00000000 03:04
> 9232741                    
> /home/tyoung/research.code/petsc-3.0.0-p10/linux-gnu-cxx-debug/lib/libpetscvec.so
> 7f828853f000-7f828873e000 ---p 000f3000 03:04
> 9232741                    
> /home/tyoung/research.code/petsc-3.0.0-p10/linux-gnu-cxx-debug/lib/libpetscvec.so
> 7f828873e000-7f828873f000 r--p 000f2000 03:04
> 9232741                    
> /home/tyoung/research.code/petsc-3.0.0-p10/linux-gnu-cxx-debug/lib/libpetscvec.so
> 7f828873f000-7f8288741000 rw-p 000f3000 03:04
> 9232741                    
> /home/tyoung/research.code/petsc-3.0.0-p10/linux-gnu-cxx-debug/lib/libpetscvec.so
> 7f8288741000-7f8288742000 rw-p 00000000 00:00 0
> 7f8288742000-7f8288afb000 r-xp 00000000 03:04
> 9232858                    
> /home/tyoung/research.code/petsc-3.0.0-p10/linux-gnu-cxx-debug/lib/libpetscmat.so
> 7f8288afb000-7f8288cfa000 ---p 003b9000 03:04
> 9232858                    
> /home/tyoung/research.code/petsc-3.0.0-p10/linux-gnu-cxx-debug/lib/libpetscmat.so
> 7f8288cfa000-7f8288cfc000 r--p 003b8000 03:04
> 9232858                    
> /home/tyoung/research.code/petsc-3.0.0-p10/linux-gnu-cxx-debug/lib/libpetscmat.so
> 7f8288cfc000-7f8288d01000 rw-p 003ba000 03:04
> 9232858                    
> /home/tyoung/research.code/petsc-3.0.0-p10/linux-gnu-cxx-debug/lib/libpetscmat.so
> 7f8288d01000-7f8288d02000 rw-p 00000000 00:00 0
> 7f8288d02000-7f8288dc8000 r-xp 00000000 03:04
> 9232739                    
> /home/tyoung/research.code/petsc-3.0.0-p10/linux-gnu-cxx-debug/lib/libpetscdm.so
> 7f8288dc8000-7f8288fc7000 ---p 000c6000 03:04
> 9232739                    
> /home/tyoung/research.code/petsc-3.0.0-p10/linux-gnu-cxx-debug/lib/libpetscdm.so
> 7f8288fc7000-7f8288fc8000 r--p 000c5000 03:04
> 9232739                    
> /home/tyoung/research.code/petsc-3.0.0-p10/linux-gnu-cxx-debug/lib/libpetscdm.soAborted
>
>
> --
>
> Toby D. Young
> Philosphy-Physics
> Assitant Professor (Adiunkt)
> Polish Academy of Sciences
> Warszawa, Polska
>
> www:   http://www.ippt.gov.pl/~tyoung
> skype: stenografia
> _______________________________________________
> dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
>
>



-- 
* http://www.num.math.uni-goettingen.de/~heister
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to