From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D02543858C27; Mon, 25 Jan 2021 11:01:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D02543858C27 From: "schwab@linux-m68k.org" To: glibc-bugs@sourceware.org Subject: [Bug malloc/27237] New: deadlock in malloc/tst-malloc-stats-cancellation Date: Mon, 25 Jan 2021 11:01:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: malloc X-Bugzilla-Version: 2.33 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcchost Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jan 2021 11:01:34 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27237 Bug ID: 27237 Summary: deadlock in malloc/tst-malloc-stats-cancellation Product: glibc Version: 2.33 Status: NEW Severity: critical Priority: P2 Component: malloc Assignee: unassigned at sourceware dot org Reporter: schwab@linux-m68k.org CC: nszabolcs at gmail dot com Target Milestone: --- Host: i586-*-* powerpc-*-* Broken by commit 2682695e5c. (gdb) thr a a bt Thread 2 (Thread 0xf7de2b00 (LWP 3534) "tst-malloc-stat"): #0 futex_wait (private=3D0, expected=3D2, futex_word=3D0xf7f9b700 ) at ../sysdeps/nptl/futex-internal.h:146 #1 __lll_lock_wait_private (futex=3D0xf7f9b700 ) at ./lowlevellock.c:35 #2 0xf7e6b144 in realloc_check (oldmem=3D0x5655a330, bytes=3D1, caller=3D0= xf7e5cc7d <_IO_mem_finish+45>) at hooks.c:319 #3 0xf7e6c18e in __GI___libc_realloc (oldmem=3D0x5655a330, bytes=3D1) at malloc.c:3327 #4 0xf7e5cc7d in _IO_mem_finish (fp=3D0x5655a1e0, dummy=3D0) at memstream.= c:131 #5 0xf7e53921 in _IO_new_fclose (fp=3D0x5655a1e0) at libioP.h:947 #6 0x5655680a in buffer_threadproc (argp=3D0xffffd878) at tst-malloc-stats-cancellation.c:89 #7 0xf7fabdfd in start_thread (arg=3D0xf7de2b00) at pthread_create.c:473 #8 0xf7ed9bd6 in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:108 Thread 1 (Thread 0xf7de3700 (LWP 3533) "tst-malloc-stat"): #0 0xf7fb9aa7 in __futex_abstimed_wait_common64 (futex_word=3D0xf7de2b68, expected=3D3534, clockid=3D, abstime=3D0x0, private=3D128, c= ancel=3Dtrue) at ../sysdeps/nptl/futex-internal.c:74 #1 0xf7fb9b8b in __GI___futex_abstimed_wait_cancelable64 (futex_word=3D, expected=3D, clockid=3D, abstime=3D0x0, private=3D128) at ../sysdeps/nptl/futex-internal.c:123 #2 0xf7fad3f9 in __pthread_clockjoin_ex (threadid=3D, thread_return=3D0xffffd874, clockid=3D0, abstime=3D0x0, block=3Dtrue) at pthread_join_common.c:102 #3 0xf7fad126 in __pthread_join (threadid=3D4158532352, thread_return=3D0xffffd874) at pthread_join.c:24 #4 0x56556332 in main () at tst-malloc-stats-cancellation.c:182 --=20 You are receiving this mail because: You are on the CC list for the bug.=