Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] [segfault debugging]

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] [segfault debugging]


Chronologique Discussions 
  • From: Samuel Thibault <samuel.thibault@inria.fr>
  • To: Maxim Abalenkov <maxim.abalenkov@gmail.com>
  • Cc: starpu-devel@lists.gforge.inria.fr
  • Subject: Re: [Starpu-devel] [segfault debugging]
  • Date: Wed, 31 Jan 2018 10:33:15 +0100
  • 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>
  • Organization: I am not organized

Hello,

Maxim Abalenkov, on lun. 29 janv. 2018 12:28:20 +0000, wrote:
> As I understand, something is wrong with the worker’s task dependencies.
> But I
> would like to find the line of __my__ code that is causing the trouble. Do
> you
> possibly know, how to find that out? The “backtrace (bt)” command is not
> helpful in this case. Thank you!

Since the backtrace is at the end of the execution of the task, it's
on a different thread than the submission thread, thus backtrace is
useless. You can however inspect j->task (you can use starpu's gdbinit
to get the starpu-print-task gdb command) to see what the task looks
like, and from that infer what submitted it.

I'm realizing that it could be useful, in debugging mode, to record the
backtrace on task submission, so that one can get it later on. Yet
another item on the TODO list.

Samuel




Archives gérées par MHonArc 2.6.19+.

Haut de le page