public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nptl/31244] New: pthread_cancel hangs on sparc32
@ 2024-01-15 10:24 cederman at gaisler dot com
  2024-01-17 13:17 ` [Bug nptl/31244] " adhemerval.zanella at linaro dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: cederman at gaisler dot com @ 2024-01-15 10:24 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=31244

            Bug ID: 31244
           Summary: pthread_cancel hangs on sparc32
           Product: glibc
           Version: 2.38
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: nptl
          Assignee: unassigned at sourceware dot org
          Reporter: cederman at gaisler dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

Created attachment 15301
  --> https://sourceware.org/bugzilla/attachment.cgi?id=15301&action=edit
Patch that has also been posted on the glibc list.

The signal return stub functions were changed from inline assembly to pure
assembly. After that the test tst-mutex8-static started to fail (timing
dependent on hardware, but always in QEMU user mode) as well as the tests
cleanup-8 and cleanup-10 in the GCC testsuite.

One of the indirect changes from the rewrite was that the functions got unwind
information. Removing this information and adding a bit of padding causes the
tests to pass.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug nptl/31244] pthread_cancel hangs on sparc32
  2024-01-15 10:24 [Bug nptl/31244] New: pthread_cancel hangs on sparc32 cederman at gaisler dot com
@ 2024-01-17 13:17 ` adhemerval.zanella at linaro dot org
  2024-01-17 13:20 ` adhemerval.zanella at linaro dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: adhemerval.zanella at linaro dot org @ 2024-01-17 13:17 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=31244

Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |adhemerval.zanella at linaro dot o
                   |                            |rg

--- Comment #1 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
A similar failure also happens on sparc64:

FAIL: nptl/tst-cancel24-static
FAIL: nptl/tst-cond8-static
FAIL: nptl/tst-mutex8-static
FAIL: nptl/tst-mutexpi8-static
FAIL: nptl/tst-mutexpi9

I will sent a similar fix as proposed to sparc32 [1].

[1]
https://patchwork.sourceware.org/project/glibc/patch/20240112092628.2464455-6-cederman@gaisler.com/

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug nptl/31244] pthread_cancel hangs on sparc32
  2024-01-15 10:24 [Bug nptl/31244] New: pthread_cancel hangs on sparc32 cederman at gaisler dot com
  2024-01-17 13:17 ` [Bug nptl/31244] " adhemerval.zanella at linaro dot org
@ 2024-01-17 13:20 ` adhemerval.zanella at linaro dot org
  2024-01-17 13:21 ` adhemerval.zanella at linaro dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: adhemerval.zanella at linaro dot org @ 2024-01-17 13:20 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=31244

Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |glaubitz at physik dot fu-berlin.d
                   |                            |e

--- Comment #2 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
*** Bug 25671 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug nptl/31244] pthread_cancel hangs on sparc32
  2024-01-15 10:24 [Bug nptl/31244] New: pthread_cancel hangs on sparc32 cederman at gaisler dot com
  2024-01-17 13:17 ` [Bug nptl/31244] " adhemerval.zanella at linaro dot org
  2024-01-17 13:20 ` adhemerval.zanella at linaro dot org
@ 2024-01-17 13:21 ` adhemerval.zanella at linaro dot org
  2024-01-18  4:58 ` sam at gentoo dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: adhemerval.zanella at linaro dot org @ 2024-01-17 13:21 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=31244

--- Comment #3 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
*** Bug 25672 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug nptl/31244] pthread_cancel hangs on sparc32
  2024-01-15 10:24 [Bug nptl/31244] New: pthread_cancel hangs on sparc32 cederman at gaisler dot com
                   ` (2 preceding siblings ...)
  2024-01-17 13:21 ` adhemerval.zanella at linaro dot org
@ 2024-01-18  4:58 ` sam at gentoo dot org
  2024-01-22 13:02 ` adhemerval.zanella at linaro dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: sam at gentoo dot org @ 2024-01-18  4:58 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=31244

Sam James <sam at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sam at gentoo dot org

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug nptl/31244] pthread_cancel hangs on sparc32
  2024-01-15 10:24 [Bug nptl/31244] New: pthread_cancel hangs on sparc32 cederman at gaisler dot com
                   ` (3 preceding siblings ...)
  2024-01-18  4:58 ` sam at gentoo dot org
@ 2024-01-22 13:02 ` adhemerval.zanella at linaro dot org
  2024-01-22 13:09 ` sam at gentoo dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: adhemerval.zanella at linaro dot org @ 2024-01-22 13:02 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=31244

Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
Fixed on 2.39.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug nptl/31244] pthread_cancel hangs on sparc32
  2024-01-15 10:24 [Bug nptl/31244] New: pthread_cancel hangs on sparc32 cederman at gaisler dot com
                   ` (4 preceding siblings ...)
  2024-01-22 13:02 ` adhemerval.zanella at linaro dot org
@ 2024-01-22 13:09 ` sam at gentoo dot org
  2024-02-02  8:41 ` glaubitz at physik dot fu-berlin.de
  2024-02-02 13:26 ` adhemerval.zanella at linaro dot org
  7 siblings, 0 replies; 9+ messages in thread
From: sam at gentoo dot org @ 2024-01-22 13:09 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=31244

Sam James <sam at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |2.39

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug nptl/31244] pthread_cancel hangs on sparc32
  2024-01-15 10:24 [Bug nptl/31244] New: pthread_cancel hangs on sparc32 cederman at gaisler dot com
                   ` (5 preceding siblings ...)
  2024-01-22 13:09 ` sam at gentoo dot org
@ 2024-02-02  8:41 ` glaubitz at physik dot fu-berlin.de
  2024-02-02 13:26 ` adhemerval.zanella at linaro dot org
  7 siblings, 0 replies; 9+ messages in thread
From: glaubitz at physik dot fu-berlin.de @ 2024-02-02  8:41 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=31244

--- Comment #5 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> ---
(In reply to Adhemerval Zanella from comment #4)
> Fixed on 2.39.

Can this be backported to 2.37 and 2.38?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug nptl/31244] pthread_cancel hangs on sparc32
  2024-01-15 10:24 [Bug nptl/31244] New: pthread_cancel hangs on sparc32 cederman at gaisler dot com
                   ` (6 preceding siblings ...)
  2024-02-02  8:41 ` glaubitz at physik dot fu-berlin.de
@ 2024-02-02 13:26 ` adhemerval.zanella at linaro dot org
  7 siblings, 0 replies; 9+ messages in thread
From: adhemerval.zanella at linaro dot org @ 2024-02-02 13:26 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=31244

--- Comment #6 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
(In reply to John Paul Adrian Glaubitz from comment #5)
> (In reply to Adhemerval Zanella from comment #4)
> > Fixed on 2.39.
> 
> Can this be backported to 2.37 and 2.38?

I backported this fix for 2.36, 2.37, and 2.38.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-02-02 13:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-15 10:24 [Bug nptl/31244] New: pthread_cancel hangs on sparc32 cederman at gaisler dot com
2024-01-17 13:17 ` [Bug nptl/31244] " adhemerval.zanella at linaro dot org
2024-01-17 13:20 ` adhemerval.zanella at linaro dot org
2024-01-17 13:21 ` adhemerval.zanella at linaro dot org
2024-01-18  4:58 ` sam at gentoo dot org
2024-01-22 13:02 ` adhemerval.zanella at linaro dot org
2024-01-22 13:09 ` sam at gentoo dot org
2024-02-02  8:41 ` glaubitz at physik dot fu-berlin.de
2024-02-02 13:26 ` adhemerval.zanella at linaro dot org

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).