-
-
Notifications
You must be signed in to change notification settings - Fork 715
Fails when receiving two USR1
s
#428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The signal handler is probably still attached. Not sure why you need to send it twice tho. |
patrick96
pushed a commit
that referenced
this issue
Mar 13, 2019
To avoid polybar from being killed by SIGUSR1 during reloading, SIGUSR1 is ignored until the signal is registered in the new polybar process. As stated in signal(7) man page, the ignored signals are still ignored after a call to a function of the execvX family. During an execve(2), the dispositions of handled signals are reset to the default; the dispositions of ignored signals are left unchanged. Fixes #428
patrick96
pushed a commit
that referenced
this issue
Mar 25, 2019
To avoid polybar from being killed by SIGUSR1 during reloading, SIGUSR1 is ignored until the signal is registered in the new polybar process. As stated in signal(7) man page, the ignored signals are still ignored after a call to a function of the execvX family. During an execve(2), the dispositions of handled signals are reset to the default; the dispositions of ignored signals are left unchanged. Fixes #428
patrick96
added a commit
that referenced
this issue
Mar 25, 2019
Changelog Fixes: * `internal/xworkspaces`: * Crash when WM doesn't set `_NET_DESKTOP_NAMES` (#1576), see #1462 * Workspace removal not always detected (#1579), see #1491, #248 * `internal/i3`: Crash when `<label-state>` was not added to `format` (#1591), see #975 * `internal/fs`: Incorrect sizes on some machines (#1612, #1699), see #743 * `internal/network`: Buffer overflow with ipv6 addresses (#1514) * renderer: Show proper error when imagemagick is used to set the background (#1608), see #1582, #1585 * tray: * Wrong background for transparent trays when using `tray-offset-*` (#1571) * Build failure on clang8 (#1675), #1674 * Allow negative offset values for `tray-offset-*` (#1669), see #1666 * build: Link failure when configuring with `-DBUILD_SHARED_LIBS=ON` (#1647, polybar/xpp#15), see #1628 * controller: Crash when reloading via `SIGUSR1` too fast (#1678), #428
patrick96
added a commit
that referenced
this issue
Mar 25, 2019
Changelog Fixes: * `internal/xworkspaces`: * Crash when WM doesn't set `_NET_DESKTOP_NAMES` (#1576), see #1462 * Workspace removal not always detected (#1579), see #1491, #248 * `internal/i3`: Crash when `<label-state>` was not added to `format` (#1591), see #975 * `internal/fs`: Incorrect sizes on some machines (#1612, #1699), see #743 * `internal/network`: Buffer overflow with ipv6 addresses (#1514) * renderer: Show proper error when imagemagick is used to set the background (#1608), see #1582, #1585 * tray: * Wrong background for transparent trays when using `tray-offset-*` (#1571) * Build failure on clang8 (#1675), #1674 * Allow negative offset values for `tray-offset-*` (#1669), see #1666 * build: Link failure when configuring with `-DBUILD_SHARED_LIBS=ON` (#1647, polybar/xpp#15), see #1628 * controller: Crash when reloading via `SIGUSR1` too fast (#1678), #428
doronbehar
pushed a commit
to doronbehar/polybar
that referenced
this issue
Aug 5, 2019
Changelog Fixes: * `internal/xworkspaces`: * Crash when WM doesn't set `_NET_DESKTOP_NAMES` (polybar#1576), see polybar#1462 * Workspace removal not always detected (polybar#1579), see polybar#1491, polybar#248 * `internal/i3`: Crash when `<label-state>` was not added to `format` (polybar#1591), see polybar#975 * `internal/fs`: Incorrect sizes on some machines (polybar#1612, polybar#1699), see polybar#743 * `internal/network`: Buffer ov 8000 erflow with ipv6 addresses (polybar#1514) * renderer: Show proper error when imagemagick is used to set the background (polybar#1608), see polybar#1582, polybar#1585 * tray: * Wrong background for transparent trays when using `tray-offset-*` (polybar#1571) * Build failure on clang8 (polybar#1675), polybar#1674 * Allow negative offset values for `tray-offset-*` (polybar#1669), see polybar#1666 * build: Link failure when configuring with `-DBUILD_SHARED_LIBS=ON` (polybar#1647, polybar/xpp#15), see polybar#1628 * controller: Crash when reloading via `SIGUSR1` too fast (polybar#1678), polybar#428
doronbehar
pushed a commit
to doronbehar/polybar
that referenced
this issue
Feb 11, 2020
Changelog Fixes: * `internal/xworkspaces`: * Crash when WM doesn't set `_NET_DESKTOP_NAMES` (polybar#1576), see polybar#1462 * Workspace removal not always detected (polybar#1579), see polybar#1491, polybar#248 * `internal/i3`: Crash when `<label-state>` was not added to `format` (polybar#1591), see polybar#975 * `internal/fs`: Incorrect sizes on some machines (polybar#1612, polybar#1699), see polybar#743 * `internal/network`: Buffer overflow with ipv6 addresses (polybar#1514) * renderer: Show proper error when imagemagick is used to set the background (polybar#1608), see polybar#1582, polybar#1585 * tray: * Wrong background for transparent trays when using `tray-offset-*` (polybar#1571) * Build failure on clang8 (polybar#1675), polybar#1674 * Allow negative offset values for `tray-offset-*` (polybar#1669), see polybar#1666 * build: Link failure when configuring with `-DBUILD_SHARED_LIBS=ON` (polybar#1647, polybar/xpp#15), see polybar#1628 * controller: Crash when reloading via `SIGUSR1` too fast (polybar#1678), polybar#428
doronbehar
pushed a commit
to doronbehar/polybar
that referenced
this issue
Mar 19, 2020
Changelog Fixes: * `internal/xworkspaces`: * Crash when WM doesn't set `_NET_DESKTOP_NAMES` (polybar#1576), see polybar#1462 * Workspace removal not always detected (polybar#1579), see polybar#1491, polybar#248 * `internal/i3`: Crash when `<label-state>` was not added to `format` (polybar#1591), see polybar#975 * `internal/fs`: Incorrect sizes on some machines (polybar#1612, polybar#1699), see polybar#743 * `internal/network`: Buffer overflow with ipv6 addresses (polybar#1514) * renderer: Show proper error when imagemagick is used to set the background (polybar#1608), see polybar#1582, polybar#1585 * tray: * Wrong background for transparent trays when using `tray-offset-*` (polybar#1571) * Build failure on clang8 (polybar#1675), polybar#1674 * Allow negative offset values for `tray-offset-*` (polybar#1669), see polybar#1666 * build: Link failure when configuring with `-DBUILD_SHARED_LIBS=ON` (polybar#1647, polybar/xpp#15), see polybar#1628 * controller: Crash when reloading via `SIGUSR1` too fast (polybar#1678), polybar#428
doronbehar
pushed a commit
to doronbehar/polybar
that referenced
this issue
Mar 19, 2020
Changelog Fixes: * `internal/xworkspaces`: * Crash when WM doesn't set `_NET_DESKTOP_NAMES` (polybar#1576), see polybar#1462 * Workspace removal not always detected (polybar#1579), see polybar#1491, polybar#248 * `internal/i3`: Crash when `<label-state>` was not added to `format` (polybar#1591), see polybar#975 * `internal/fs`: Incorrect sizes on some machines (polybar#1612, polybar#1699), see polybar#743 * `internal/network`: Buffer overflow with ipv6 addresses (polybar#1514) * renderer: Show proper error when imagemagick is used to set the background (polybar#1608), see polybar#1582, polybar#1585 * tray: * Wrong background for transparent trays when using `tray-offset-*` (polybar#1571) * Build failure on clang8 (polybar#1675), polybar#1674 * Allow negative offset values for `tray-offset-*` (polybar#1669), see polybar#1666 * build: Link failure when configuring with `-DBUILD_SHARED_LIBS=ON` (polybar#1647, polybar/xpp#15), see polybar#1628 * controller: Crash when reloading via `SIGUSR1` too fast (polybar#1678), polybar#428
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Repro:
polybar
.pkill -USR1 polybar ; pkill -USR1 polybar
.Happens every time. (:
The text was updated successfully, but these errors were encountered: