public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/15521] New: real-time signals DO NOT delivered starting with the lowest-numbered signal.
@ 2013-05-23  8:19 1533963612 at qq dot com
  2013-05-23  8:26 ` [Bug libc/15521] " 1533963612 at qq dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: 1533963612 at qq dot com @ 2013-05-23  8:19 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15521

             Bug #: 15521
           Summary: real-time signals DO NOT delivered starting with the
                    lowest-numbered signal.
           Product: glibc
           Version: 2.15
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: unassigned@sourceware.org
        ReportedBy: 1533963612@qq.com
                CC: drepper.fsp@gmail.com
    Classification: Unclassified


Created attachment 7040
  --> http://sourceware.org/bugzilla/attachment.cgi?id=7040
compile it using -std=c99 option

Assume parent send 3 signals from SIGRTMAX to SIGRTMAX - 2, each signal sends 3
times, the child would recv the signal as order SIGRTMAX - 2 to SIGRTMAX, since
the lowest-numbered should delivered first, and each same number signal deliver
as FIFO order, but the result is:

-----parent send-----
sent 64, val = 1
sent 64, val = 2
sent 64, val = 3
sent 63, val = 1
sent 63, val = 2
sent 63, val = 3
sent 62, val = 1
sent 62, val = 2
sent 62, val = 3
-----child recv-----
recv 64, val = 1
recv 64, val = 2
recv 64, val = 3
recv 63, val = 1
recv 63, val = 2
recv 63, val = 3
recv 62, val = 1
recv 62, val = 2
recv 62, val = 3

we see that the same number signal deliver in rigth sequence (FIFO), but
different signal DO NOT delivered in lowest number first, in this case, should 
signal 62 first, and 64 last.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
>From glibc-bugs-return-18754-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu May 23 08:25:03 2013
Return-Path: <glibc-bugs-return-18754-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 5758 invoked by alias); 23 May 2013 08:25:03 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 5673 invoked by uid 48); 23 May 2013 08:24:51 -0000
From: "1533963612 at qq dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/15521] real-time signals DO NOT delivered starting with the lowest-numbered signal.
Date: Thu, 23 May 2013 08:25:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: 1533963612 at qq dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields: Attachment #7040 is obsolete
Message-ID: <bug-15521-131-8QO1nT8bq2@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-15521-131@http.sourceware.org/bugzilla/>
References: <bug-15521-131@http.sourceware.org/bugzilla/>
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
Content-Type: text/plain; charset="UTF-8"
MIME-Version: 1.0
X-SW-Source: 2013-05/txt/msg00201.txt.bz2
Content-length: 500

http://sourceware.org/bugzilla/show_bug.cgi?id\x15521

Chopin <1533963612 at qq dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #7040|0                           |1
        is obsolete|                            |

--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/15521] real-time signals DO NOT delivered starting with the lowest-numbered signal.
  2013-05-23  8:19 [Bug libc/15521] New: real-time signals DO NOT delivered starting with the lowest-numbered signal 1533963612 at qq dot com
@ 2013-05-23  8:26 ` 1533963612 at qq dot com
  2013-05-23 10:49 ` 1533963612 at qq dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: 1533963612 at qq dot com @ 2013-05-23  8:26 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15521

--- Comment #1 from Chopin <1533963612 at qq dot com> 2013-05-23 08:26:29 UTC ---
Created attachment 7041
  --> http://sourceware.org/bugzilla/attachment.cgi?id=7041
test code, compile it using -std=c99 option

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/15521] real-time signals DO NOT delivered starting with the lowest-numbered signal.
  2013-05-23  8:19 [Bug libc/15521] New: real-time signals DO NOT delivered starting with the lowest-numbered signal 1533963612 at qq dot com
  2013-05-23  8:26 ` [Bug libc/15521] " 1533963612 at qq dot com
@ 2013-05-23 10:49 ` 1533963612 at qq dot com
  2013-05-23 13:51 ` schwab@linux-m68k.org
  2014-06-13 17:40 ` fweimer at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: 1533963612 at qq dot com @ 2013-05-23 10:49 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15521

Chopin <1533963612 at qq dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |1533963612 at qq dot com

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/15521] real-time signals DO NOT delivered starting with the lowest-numbered signal.
  2013-05-23  8:19 [Bug libc/15521] New: real-time signals DO NOT delivered starting with the lowest-numbered signal 1533963612 at qq dot com
  2013-05-23  8:26 ` [Bug libc/15521] " 1533963612 at qq dot com
  2013-05-23 10:49 ` 1533963612 at qq dot com
@ 2013-05-23 13:51 ` schwab@linux-m68k.org
  2014-06-13 17:40 ` fweimer at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: schwab@linux-m68k.org @ 2013-05-23 13:51 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15521

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #2 from Andreas Schwab <schwab@linux-m68k.org> 2013-05-23 13:51:33 UTC ---
Signal delivery is the business of the kernel.  Please report that to
linux-kernel@vger.kernel.org.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/15521] real-time signals DO NOT delivered starting with the lowest-numbered signal.
  2013-05-23  8:19 [Bug libc/15521] New: real-time signals DO NOT delivered starting with the lowest-numbered signal 1533963612 at qq dot com
                   ` (2 preceding siblings ...)
  2013-05-23 13:51 ` schwab@linux-m68k.org
@ 2014-06-13 17:40 ` fweimer at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13 17:40 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

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


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

end of thread, other threads:[~2014-06-13 17:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-23  8:19 [Bug libc/15521] New: real-time signals DO NOT delivered starting with the lowest-numbered signal 1533963612 at qq dot com
2013-05-23  8:26 ` [Bug libc/15521] " 1533963612 at qq dot com
2013-05-23 10:49 ` 1533963612 at qq dot com
2013-05-23 13:51 ` schwab@linux-m68k.org
2014-06-13 17:40 ` fweimer at redhat dot com

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