Objet : Developers list for StarPU
Archives de la liste
- From: Nathalie Furmento <nathalie.furmento@labri.fr>
- To: Samuel Thibault <samuel.thibault@ens-lyon.org>, "starpu-devel@lists.gforge.inria.fr" <starpu-devel@lists.gforge.inria.fr>
- Subject: Re: [Starpu-devel] Conversion tasks
- Date: Mon, 14 Oct 2013 14:24:11 +0200
- List-archive: <http://lists.gforge.inria.fr/pipermail/starpu-devel>
- List-id: "Developers list. For discussion of new features, code changes, etc." <starpu-devel.lists.gforge.inria.fr>
Ok, i am the one to be blamed for here. I changed the default value of the sched_ctx id for a task, and also updated teh code to set a correct value on the submission, and did not realise there was more than one function which was used to submit tasks.
It should be fixed now.
Cheers,
Nathalie
On 14/10/2013 12:55, Samuel Thibault wrote:
Nathalie Furmento, le Mon 14 Oct 2013 11:17:09 +0200, a écrit :
Witth the current version of the trunk, submission of conversion tasks areWell, the pointer itself is completely bogus:
broken.
Here some backtraces.
Looks like the mutex object has been destroyed too early.
(gdb) btAnd indeed the ctx_id is STARPU_NMAX_SCHED_CTXS (expected since this
#1 0x00007fffef2c0612 in starpu_pthread_mutex_lock (mutex=0x40) at
/home/nfurmento/softs/starpu/soft/starpu.git/src/common/thread.c:269
#2 0x00007fffef2be5e1 in _starpu_barrier_counter_increment (barrier_c=0x30)
at
/home/nfurmento/softs/starpu/soft/starpu.git/src/common/barrier_counter.c:94
test doesn't use contexts):
#3 0x00007fffef2f1974 in _starpu_increment_nsubmitted_tasks_of_sched_ctxthat makes _starpu_get_sched_ctx_struct return NULL, and thus bogus
(sched_ctx_id=10) at
mutex pointer.
It has however been so since ages, I wonder why that triggers a segfault
only now.
AIUI, _starpu_increment_nsubmitted_tasks_of_sched_ctx() should simply
return when _starpu_get_sched_ctx_struct returns NULL?
Samuel
- [Starpu-devel] Conversion tasks, Nathalie Furmento, 14/10/2013
- Re: [Starpu-devel] Conversion tasks, Samuel Thibault, 14/10/2013
- Re: [Starpu-devel] Conversion tasks, Nathalie Furmento, 14/10/2013
- Re: [Starpu-devel] Conversion tasks, Samuel Thibault, 14/10/2013
Archives gérées par MHonArc 2.6.19+.