[Bug 1433155] Re: bash "kill -l" builtin gives wrong numbers for SIGRTMIN+n signals

Explorer09 1433155 at bugs.launchpad.net
Wed Sep 14 13:11:38 UTC 2016


This is not a bug! It's expected behavior!
The SIGRTMIN number you quoted from /usr/include/asm/signal.h is a kernel minimum number of real-time signal, which is usually used by pthread library and not available for user apps.

Both of these two Stack Exchange questions have explained this:

http://unix.stackexchange.com/questions/155829/why-does-kill-l-not-list-signal-numbers-of-32-and-33
http://stackoverflow.com/questions/12680624/what-has-happened-to-the-32-and-33-kill-signals

Now, should this "bug" be closed?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/1433155

Title:
  bash "kill -l" builtin gives wrong numbers for SIGRTMIN+n signals

Status in bash package in Ubuntu:
  Confirmed

Bug description:
  The command "grep SIGRTMIN /usr/include/ -r" gives me

  /usr/include/asm/signal.h:#define SIGRTMIN      32

  and a bunch of other defines with the same value. But if I ask bash's
  "kill" builtin via "kill -l", I get "34) SIGRTMIN". What's
  interesting, there's actually no number 32 listed at all. Number 34
  goes right after 31, where the right 32 should appear. The other names
  defined via SIGRTMIN are also wrong.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: bash 4.2-2ubuntu2.6
  ProcVersionSignature: Ubuntu 3.2.0-76.111-generic 3.2.66
  Uname: Linux 3.2.0-76-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.0.1-0ubuntu17.6
  Architecture: amd64
  Date: Tue Mar 17 18:34:25 2015
  InstallationMedia: Kubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120423)
  MarkForUpload: True
  ProcEnviron:
   LANGUAGE=
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: bash
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1433155/+subscriptions



More information about the foundations-bugs mailing list