Hello everyone, I'm using the version 6.3.1 of the Deal.II library for some reason Step-9 is giving me a memory corruption problem related to the threads launched by this step.
The code is segfaulting when it launches the first thread in assemble_system(). Did it happen to anyone else? Anyone know what may be happening? I'm in a 64 bits Debian wheezy distribution, my computer has 4 cores, the code must be launching 4 threads. I attach the stacktrace: ============================ Remaking Makefile.dep ==============optimized===== step-9.cc ============================ Linking step-9 ============================ Running step-9 Cycle 0: Number of active cells: 256 Number of degrees of freedom: 289 *** glibc detected *** ./step-9: malloc(): memory corruption: 0x000000000077dfa0 *** ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x75ab6)[0x2b30d24b4ab6] /lib/x86_64-linux-gnu/libc.so.6(+0x78b23)[0x2b30d24b7b23] /lib/x86_64-linux-gnu/libc.so.6(__libc_malloc+0x70)[0x2b30d24b98d0] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(_Znwm+0x1d)[0x2b30d1d5b01d] ./step-9(_ZN5boost6detail8function15functor_managerINS_3_bi6bind_tIvNS_4_mfi3mf2Iv16AdvectionProblemILi2EERKN6dealii18TriaActiveIteratorINS9_15DoFCellAccessorINS9_10DoFHandlerILi2ELi2EEEEEEESH_EENS3_5list3INS_17reference_wrapperIS8_EENSK_ISG_EESM_EEEEE6manageERKNS1_15function_bufferERSQ_NS1_30functor_manager_operation_typeE+0x65)[0x429305] ./step-9(_ZN6dealii7Threads8internal16ThreadDescriptorIvE5startERKN5boost8functionIFvvEEE+0x3c1)[0x4368f1] ./step-9(_ZN6dealii7Threads10new_threadIv16AdvectionProblemILi2EERKNS_18TriaActiveIteratorINS_15DoFCellAccessorINS_10DoFHandlerILi2ELi2EEEEEEESB_EENS0_6ThreadIT_EEMT0_FSD_T1_T2_ERNS_8identityISF_E4typeENSK_ISG_E4typeENSK_ISH_E4typeE+0x16d)[0x436cad] ./step-9(_ZN16AdvectionProblemILi2EE15assemble_systemEv+0x11d)[0x436f0d] ./step-9(_ZN16AdvectionProblemILi2EE3runEv+0xe4)[0x437404] ./step-9(main+0x2a)[0x42522a] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)[0x2b30d245dead] ./step-9[0x425519] _______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
