public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "wacrenier at labri dot fr" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libgomp/104385] Segmentation fault when using nested dependent tasks Date: Fri, 04 Feb 2022 23:25:08 +0000 [thread overview] Message-ID: <bug-104385-4-Z4rtmdM97J@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-104385-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104385 --- Comment #3 from P.A. Wacrenier <wacrenier at labri dot fr> --- gdb output (x86_64 linux) Thread 22 "a.out" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffedd10700 (LWP 1363311)] priority_list_downgrade_task (child_task=0x7fffe0000cc0, list=0x7fffe00008d0, type=PQ_CHILDREN) at ../.././libgomp/task.c:991 991 ../.././libgomp/task.c: Aucun fichier ou dossier de ce type. (gdb) thread 22 [Switching to thread 22 (Thread 0x7fffedd10700 (LWP 1363311))] #0 priority_list_downgrade_task (child_task=0x7fffe0000cc0, list=0x7fffe00008d0, type=PQ_CHILDREN) at ../.././libgomp/task.c:991 991 in ../.././libgomp/task.c (gdb) bt full #0 priority_list_downgrade_task (child_task=0x7fffe0000cc0, list=0x7fffe00008d0, type=PQ_CHILDREN) at ../.././libgomp/task.c:991 next_task = 0xffffffffffffff90 node = 0x7fffe0000d30 node = <optimized out> next_task = <optimized out> prev_child = <optimized out> #1 priority_queue_downgrade_task (task=0x7fffe0000cc0, head=<optimized out>, type=PQ_CHILDREN) at ../.././libgomp/task.c:1047 list = 0x7fffe00008d0 #2 priority_queue_downgrade_task (task=0x7fffe0000cc0, head=<optimized out>, type=PQ_CHILDREN) at ../.././libgomp/task.c:1035 list = <optimized out> #3 gomp_task_run_pre (child_task=child_task@entry=0x7fffe0000cc0, parent=<optimized out>, team=team@entry=0x405350) at ../.././libgomp/task.c:1077 taskgroup = <optimized out> #4 0x00007ffff7fa315c in gomp_barrier_handle_tasks (state=state@entry=0) at ../.././libgomp/task.c:1335 ignored = true cancelled = false thr = <optimized out> team = 0x405350 task = <optimized out> child_task = 0x7fffe0000cc0 to_free = 0x7fffe0000b20 do_wake = 0 #5 0x00007ffff7faa7f8 in gomp_team_barrier_wait_end (bar=<optimized out>, state=0) at ../.././libgomp/config/linux/bar.c:116 generation = 0 gen = <optimized out> #6 0x00007ffff7faa8da in gomp_team_barrier_wait_final (bar=bar@entry=0x4053d0) at ../.././libgomp/config/linux/bar.c:136 state = <optimized out> #7 0x00007ffff7fa7e12 in gomp_thread_start (xdata=<optimized out>) at ../.././libgomp/team.c:124 team = 0x405350 task = 0x4069a0 data = <optimized out> thr = <optimized out> pool = 0x405280 local_fn = 0x401201 <main._omp_fn.0> local_data = 0x7fffffffdec8 --Type <RET> for more, q to quit, c to continue without paging-- #8 0x00007ffff7ef4fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486 ret = <optimized out> pd = <optimized out> now = <optimized out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737183287040, -8592581161367667977, 140737488341950, 140737488341951, 140737183287040, -120, 8592550692851776247, 8592563709294246647}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = <optimized out> #9 0x00007ffff7e254cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
next prev parent reply other threads:[~2022-02-04 23:25 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-02-04 16:42 [Bug libgomp/104385] New: " wacrenier at labri dot fr 2022-02-04 22:57 ` [Bug libgomp/104385] " pinskia at gcc dot gnu.org 2022-02-04 23:19 ` wacrenier at labri dot fr 2022-02-04 23:25 ` wacrenier at labri dot fr [this message] 2022-02-04 23:31 ` pinskia at gcc dot gnu.org 2022-02-05 0:07 ` jakub at gcc dot gnu.org 2022-02-05 2:37 ` pinskia at gcc dot gnu.org 2022-02-07 18:11 ` jakub at gcc dot gnu.org 2022-02-08 8:36 ` cvs-commit at gcc dot gnu.org 2022-02-19 8:02 ` cvs-commit at gcc dot gnu.org 2022-05-10 8:23 ` cvs-commit at gcc dot gnu.org 2022-05-11 6:24 ` cvs-commit at gcc dot gnu.org 2022-05-11 6:36 ` jakub at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-104385-4-Z4rtmdM97J@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).