Objet : Developers list for StarPU
Archives de la liste
- From: Maxim Abalenkov <maxim.abalenkov@gmail.com>
- To: starpu-devel@lists.gforge.inria.fr
- Subject: [Starpu-devel] [segfault debugging]
- Date: Mon, 29 Jan 2018 12:28:20 +0000
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=maxim.abalenkov@gmail.com; spf=Pass smtp.mailfrom=maxim.abalenkov@gmail.com; spf=None smtp.helo=postmaster@mail-wr0-f172.google.com
- Ironport-phdr: 9a23:GWQdShatAaBWg/n+74Pchnr/LSx+4OfEezUN459isYplN5qZr8u/bnLW6fgltlLVR4KTs6sC17KP9fi4EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCagbb9oMBm6sRjau9ULj4dlNqs/0AbCrGFSe+RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPCTQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjm58axlVAHnhzsGNz4h8WHYlMpwjL5AoBm8oxBz2pPYbJ2JOPZ7eK7WYNEUSndbXstJVyJOHoyzYZYMAeQPI+hWqJLwqEESoRu7HwSsBP/jxz1Oi3Tr3aM6yeMhEQTe0QInBd0Pv3XUrNDoP6oOSu+61q3IwivFb/NV3jf99pXDfxckof6WUrNwcM/RxVM1GAzelFqQrZLqPzWW1uQKrWiW9OVgVee1hG4mrwF9uCSgxsApioTQgI8e117K9SJ8wIkvJN24TlZ2YdGlEJtMsyGVLZB5TtkjQ2Fvvisx174IuYajcSQU1JgqwwTTZv+HfoSS/x7vSuWcLS1liH9nZr6znwu+/Ea8xuHmVcS500xGojRKn9XQrHwA1h3e586aQfVn5EihwyyA1wXL5+FEP080ka3bJoYkwrEql5oTtV3PHyHsmEnqlaOWeFgo9+q25+j9bbXmoZicN4Bwig7gKKghhsu/AeEgPggPWWiU5/i82aX98UHlRLhGlP47n6nDvJzHO8gWpbS1DxJX34o98xq/Ci2p0NUcnXkJNlJFfxeHgpDsO17UL/H4DPK/j062nzhw3f/GOqPuApPOLnjEjrfsZrl960tGxwoyydBT/Y5bCrYEIP7rQE/+qMTYDgMlMwyz2+vnE8l92ZkEWWKXH6+VKb7dvkGW5u0xJ+mBf4sVuDfmK/g5/P7il3A5mVEafamz0psYdmq0HvVgI0WDYHrjmM0NEWkQvll2cOu/k0GLSyZOInq/Qa84zjU6E569S4jNQZqijfqA2j26F9tYfDNoEFeJRFLhZ4SBE94GYSafJMxmjHRQULGxSopn3BunsAL8yL15BuXR8ywc85nk0Y4mtKXoiRgu+GksXIym2GaXQjQxxztQHm5k7OVEuUV4j2y7/+19iv1cG8ZU4qoQAAg/PJ/Yied9DoKrA16TTpKyUF+jB+6eL3QpVNtomo0BZk98H5OpiRWRh3P3UY9QrKSCAdkPyoyZ33X1IJwjmXPP1a1kkEN+B8UWajfgial4+AzeQYXOlhfBmg==
- 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>
Dear Samuel,
I hope all is well with you. I am struggling to debug a segmentation fault in my code. The gdb output is as follows:
Thread 4 "CPU 2" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffee2c4700 (LWP 3228)]
0x00007ffff736b039 in _starpu_notify_cg_list (successors=0x555555a2ec50) at core/dependencies/cg.c:262
262 unsigned cg_type = cg->cg_type;
(gdb) bt
#0 0x00007ffff736b039 in _starpu_notify_cg_list (successors=0x555555a2ec50) at core/dependencies/cg.c:262
#1 0x00007ffff73735ff in _starpu_notify_task_dependencies (j=0x555555a2ea90) at core/dependencies/task_deps.c:57
#2 0x00007ffff736b386 in _starpu_notify_dependencies (j=0x555555a2ea90) at core/dependencies/dependencies.c:33
#3 0x00007ffff735368c in _starpu_handle_job_termination (j=0x555555a2ea90) at core/jobs.c:375
#4 0x00007ffff744592d in _starpu_cpu_driver_run_once (cpu_worker=0x7ffff76d39d0 <_starpu_config+3376>) at drivers/cpu/driver_cpu.c:328
#5 0x00007ffff74459ef in _starpu_cpu_worker (arg=0x7ffff76d39d0 <_starpu_config+3376>) at drivers/cpu/driver_cpu.c:361
#6 0x00007ffff355808c in start_thread () from /usr/lib/libpthread.so.0
#7 0x00007ffff328fe7f in clone () from /usr/lib/libc.so.6
[Switching to Thread 0x7fffee2c4700 (LWP 3228)]
0x00007ffff736b039 in _starpu_notify_cg_list (successors=0x555555a2ec50) at core/dependencies/cg.c:262
262 unsigned cg_type = cg->cg_type;
(gdb) bt
#0 0x00007ffff736b039 in _starpu_notify_cg_list (successors=0x555555a2ec50) at core/dependencies/cg.c:262
#1 0x00007ffff73735ff in _starpu_notify_task_dependencies (j=0x555555a2ea90) at core/dependencies/task_deps.c:57
#2 0x00007ffff736b386 in _starpu_notify_dependencies (j=0x555555a2ea90) at core/dependencies/dependencies.c:33
#3 0x00007ffff735368c in _starpu_handle_job_termination (j=0x555555a2ea90) at core/jobs.c:375
#4 0x00007ffff744592d in _starpu_cpu_driver_run_once (cpu_worker=0x7ffff76d39d0 <_starpu_config+3376>) at drivers/cpu/driver_cpu.c:328
#5 0x00007ffff74459ef in _starpu_cpu_worker (arg=0x7ffff76d39d0 <_starpu_config+3376>) at drivers/cpu/driver_cpu.c:361
#6 0x00007ffff355808c in start_thread () from /usr/lib/libpthread.so.0
#7 0x00007ffff328fe7f in clone () from /usr/lib/libc.so.6
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!
—
Best wishes,
Maxim
- [Starpu-devel] [segfault debugging], Maxim Abalenkov, 29/01/2018
- Re: [Starpu-devel] [segfault debugging], Samuel Thibault, 31/01/2018
Archives gérées par MHonArc 2.6.19+.