Hello Markus, thanks for you answer.

I may try but the problem really does not seem to be the version,
Step-9 worked for me before when implement threading in other codes I
wrote with deal.ii in older versions.

I used the threading implementation of Step-9 not getting to much into
the deal.ii internal structure for threading, that's why I find
difficult to decode the error.

The code is segfaulting at the first call of:

Threads::new_thread (&AdvectionProblem<dim>::assemble_system_interval,
                                    *this,
                                    thread_ranges[thread].first,
                                    thread_ranges[thread].second);

It never enters the assemble_system_interval function, not even once.

Anyone has a clue?


Thanks again,



On Mon, Feb 20, 2012 at 7:19 AM, Markus Bürg <[email protected]> wrote:
> Hello,
>
> what happens with deal.II 7.1 or the developer version of deal.II? deal.II
> 6.3.1 is a bit of outdated.
>
> Best Regards,
> Markus
>
>
>
>
> On 19.02.2012 13:35, fname lname wrote:
>>
>> 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
>>
> _______________________________________________
> dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to