[Bug nptl/34511] lio_listio may leave stack-based wait notes queued when returning

fweimer at redhat dot com via Glibc-bugs <[email protected]>
Newsgroups gmane.comp.lib.glibc.bugs
Message-ID <[email protected]/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=34511

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com

--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
Created attachment 16926
  --> https://sourceware.org/bugzilla/attachment.cgi?id=16926&action=edit
tst-listio-eintr.c

Prompt:

“
Please try to create a test case using the support/ framework for the bug
described in the report below. Write it to rt/tst-listio-eintr.c.

I think you need to get the futex operation in AIO_MISC_WAIT to block somehow,
detect this using support_thread_state_wait, and then send a signal to the
blocked thread.
”                                                

I only had to change the memset_explicit call, previously it used an incorrect
memset on buffer volatile char array.

Assisted-by: LLM

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.