Displaying 20 results from an estimated 147 matches for "signum".
Did you mean:
signup
2008 Jun 02
6
significant digits (PR#9682)
...) as it's
written not particularly useful.
There are two solutions I can think of off the top of my head. The
first is to create a new data type of a fixed length real number but
the easier way would be to have a function that returns a string
something like this:
signif.string <- function(signum,sigdigs){
left <- nchar(trunc(signum))
right <- nchar(signum-trunc(signum))-2
if (abs(signum)<1 | signum<0) {left<-left-1}
if (right<0) {right<-0}
if (sigdigs<left) {return(as.character(signif(signum,digits=sigdigs)))}
else if (sigdigs==left) {return(paste(round(...
2004 Feb 08
3
Re: klibc - setenv broken
Kay Sievers wrote:
> Hi,
> this simple program compiled with klibc:
>
> #include <stdio.h>
> int main(int argc, char* argv[])
> {
> setenv("TESTENV", "happy", 1);
> printf("TESTENV='%s'\n", getenv("TESTENV"));
> }
>
> prints:
>
> ./env
> TESTENV='(null)'
>
>
2004 Feb 21
1
sighandler_t signal(int signum, sighandler_t handler);
sighandler_t signal(int signum, sighandler_t handler);
it's in the headers ok but the function seems to be missing. I seem to recall
this working in older versions.
linking...
/home/mesa/boot/v86bios/main.c:411: undefined reference to `signal'
main.o(.text+0x613): /home/mesa/boot/v86bios/main.c:412: undefined reference...
2017 May 30
1
Gluster client mount fails in mid flight with signum 15
...luster client mounts fail in mid run with this in the log
glusterfsd.c:1332:cleanup_and_exit] (-->/lib64/libpthread.so.0(+0x7dc5) [0x7f640c8b3dc5] -->/usr/sbin/glusterfs(glusterfs_sigwaiter+0xe5) [0x7f640df4bfd5] -->/usr/sbin/glusterfs(cleanup_and_exit+0x6b) [0x7f640df4bdfb] ) 0-: received signum (15), shutting down.
We?ve tried running debug but have not found anything suspicious happening at the time of the failures
We?ve searched the inter web but can not find anyone else having the same problem in mid flight
The clients have four mounts of volumes from the same server, all mounts fail...
2020 Jun 19
2
SegFault when using TunnelServer=yes
... curgen = 7
diff = {tv_sec = 0, tv_usec = 512516}
n = <optimized out>
readable = {fds_bits = {256, 0 <repeats 15 times>}}
writable = {fds_bits = {0 <repeats 16 times>}}
#7 0x00005555555607f2 in main_loop () at net.c:510
sighup = {signum = 1, cb = 0x555555560480 <sighup_handler>,
data = 0x7fffffffe1a0, node = {next = 0x7fffffffe2a8, prev = 0x0,
parent = 0x7fffffffe2a8, left = 0x0, right = 0x0, data =
0x7fffffffe1a0}}
sigterm = {signum = 15, cb = 0x55555555f900 <sigterm_handler>,
data = 0x7ffffff...
2013 Jun 03
2
recovering gluster volume || startup failure
...[2013-06-02 09:32:16.973786] W [glusterfsd.c:831:cleanup_and_exit] (-->/usr/lib64/libgfrpc.so.0(rpcsvc_notify+0x93) [0x30cac0a5b3] (-->/usr/lib64/libgfrpc.so.0(rpcsvc_handle_rpc_call+0x293) [0x30cac0a443] (-->/usr/sbin/glusterfsd(glusterfs_handle_terminate+0x15) [0x40a955]))) 0-: received signum (15), shutting down
[2013-06-02 09:32:16.973895] W [glusterfsd.c:831:cleanup_and_exit] (-->/lib64/libc.so.6(clone+0x6d) [0x3ef56e68ed] (-->/lib64/libpthread.so.0() [0x3ef5a077e1] (-->/usr/sbin/glusterfsd(glusterfs_sigwaiter+0xdd) [0x405d4d]))) 0-: received signum (15), shutting down
NFS...
2020 Jul 27
3
SegFault when using TunnelServer=yes
...ff = {tv_sec = 0, tv_usec = 512516}
> n = <optimized out>
> readable = {fds_bits = {256, 0 <repeats 15 times>}}
> writable = {fds_bits = {0 <repeats 16 times>}}
> #7 0x00005555555607f2 in main_loop () at net.c:510
> sighup = {signum = 1, cb = 0x555555560480 <sighup_handler>,
> data = 0x7fffffffe1a0, node = {next = 0x7fffffffe2a8, prev = 0x0,
> parent = 0x7fffffffe2a8, left = 0x0, right = 0x0, data =
> 0x7fffffffe1a0}}
> sigterm = {signum = 15, cb = 0x55555555f900 <sigterm_handler>...
2020 Jul 27
0
SegFault when using TunnelServer=yes
... curgen = 7
diff = {tv_sec = 0, tv_usec = 512516}
n = <optimized out>
readable = {fds_bits = {256, 0 <repeats 15 times>}}
writable = {fds_bits = {0 <repeats 16 times>}}
#7 0x00005555555607f2 in main_loop () at net.c:510
sighup = {signum = 1, cb = 0x555555560480 <sighup_handler>,
data = 0x7fffffffe1a0, node = {next = 0x7fffffffe2a8, prev = 0x0,
parent = 0x7fffffffe2a8, left = 0x0, right = 0x0, data =
0x7fffffffe1a0}}
sigterm = {signum = 15, cb = 0x55555555f900 <sigterm_handler>,
data = 0x7ffffff...
2017 Nov 13
2
snapshot mount fails in 3.12
...key:snaps)
[2017-11-13 08:46:02.300903] W [glusterfsd.c:1347:cleanup_and_exit]
(-->/lib64/libgfrpc.so.0(rpc_clnt_handle_reply+0x90) [0x7feb51ed9e60]
-->/usr/sbin/glusterfs(mgmt_getspec_cbk+0x680) [0x55a5dbb97ef0]
-->/usr/sbin/glusterfs(cleanup_and_exit+0x6b) [0x55a5dbb9118b] ) 0-:
received signum (0), shutting down
[2017-11-13 08:46:02.300928] I [fuse-bridge.c:5833:fini] 0-fuse:
Unmounting '/mnt/temp'.
[2017-11-13 08:46:02.308875] I [fuse-bridge.c:5838:fini] 0-fuse: Closing
fuse connection to '/mnt/temp'.
[2017-11-13 08:46:02.308987] W [glusterfsd.c:1347:cleanup_and_exit]
(-...
2019 Aug 15
1
[PATCH libnbd] api: Rename nbd_kill_command -> nbd_kill_subprocess.
...d_kill_subprocess(3)>.";
};
"is_read_only", {
@@ -2249,7 +2249,7 @@ The release number is incremented for each release along a particular
branch.";
};
- "kill_command", {
+ "kill_subprocess", {
default_call with
args = [ Int "signum" ]; ret = RErr;
shortdesc = "kill server running as a subprocess";
diff --git a/lib/handle.c b/lib/handle.c
index d599eef..b508744 100644
--- a/lib/handle.c
+++ b/lib/handle.c
@@ -254,7 +254,7 @@ nbd_unlocked_get_version (struct nbd_handle *h)
}
int
-nbd_unlocked_kill_comman...
2020 Jul 28
0
SegFault when using TunnelServer=yes
...ff = {tv_sec = 0, tv_usec = 512516}
> n = <optimized out>
> readable = {fds_bits = {256, 0 <repeats 15 times>}}
> writable = {fds_bits = {0 <repeats 16 times>}}
> #7 0x00005555555607f2 in main_loop () at net.c:510
> sighup = {signum = 1, cb = 0x555555560480 <sighup_handler>,
> data = 0x7fffffffe1a0, node = {next = 0x7fffffffe2a8, prev = 0x0,
> parent = 0x7fffffffe2a8, left = 0x0, right = 0x0, data =
> 0x7fffffffe1a0}}
> sigterm = {signum = 15, cb = 0x55555555f900 <sigterm_handler>...
2023 Mar 14
1
can't set up geo-replication: can't fetch slave details
...volume file
(key:ansible)
[2023-03-14 19:13:48.914739 +0000] W
[glusterfsd.c:1432:cleanup_and_exit] (-->/lib/x86_64-linux-
gnu/libgfrpc.so.0(+0xfe3b) [0x7f1ca0a6ce3b] --
>glusterfs(mgmt_getspec_cbk+0x762) [0x558ace8e8412] --
>glusterfs(cleanup_and_exit+0x57) [0x558ace8df4f7] ) 0-: received
signum (0), shutting down
[2023-03-14 19:13:48.914767 +0000] I [fuse-bridge.c:7063:fini] 0-fuse:
Unmounting '/tmp/gverify.sh.txIgka'.
[2023-03-14 19:13:48.917289 +0000] I [fuse-bridge.c:7067:fini] 0-fuse:
Closing fuse connection to '/tmp/gverify.sh.txIgka'.
[2023-03-14 19:13:48.917358 +00...
1999 Jan 24
1
HPUX 9.05 & Samba 2.0.0 & problems -> solved !
...source.new/lib/signal.c
--- source/lib/signal.c Thu Jan 14 22:07:33 1999
+++ source.new/lib/signal.c Sun Jan 24 23:32:44 1999
@@ -47,8 +47,21 @@
catch child exits - leave status;
****************************************************************************/
-static void sig_cld_leave_status(int signum)
+static void
+#if defined(HPUX) && !defined(SA_RESTART) /* e.g. HPUX 9.0x */
+sig_cld_leave_status(int signum, int code, struct sigcontext *scp)
+#else
+sig_cld_leave_status(int signum)
+#endif
{
+#if defined(HPUX) && !defined(SA_RESTART) /* e.g. HPUX 9.0x */
+ extern int DEBUGLE...
2017 Nov 13
0
snapshot mount fails in 3.12
...13 08:46:02.300903] W [glusterfsd.c:1347:cleanup_and_exit]
> (-->/lib64/libgfrpc.so.0(rpc_clnt_handle_reply+0x90) [0x7feb51ed9e60]
> -->/usr/sbin/glusterfs(mgmt_getspec_cbk+0x680) [0x55a5dbb97ef0]
> -->/usr/sbin/glusterfs(cleanup_and_exit+0x6b) [0x55a5dbb9118b] ) 0-:
> received signum (0), shutting down
> [2017-11-13 08:46:02.300928] I [fuse-bridge.c:5833:fini] 0-fuse:
> Unmounting '/mnt/temp'.
> [2017-11-13 08:46:02.308875] I [fuse-bridge.c:5838:fini] 0-fuse: Closing
> fuse connection to '/mnt/temp'.
> [2017-11-13 08:46:02.308987] W [glusterfsd.c:...
2019 Jul 25
2
Re: [PATCH libnbd] api: New nbd_kill_command API for sending a signal to the command subprocess.
...t a signal number (and not
> serving as a process existence probe).
The reason for this choice is that in some language bindings we might
not have the SIG* symbols available, but there ought to still be a way
to send a default. Hopefully people will read the docs :-)
I pushed it with s/signal/signum/.
Are we waiting on any other ABI breaks or would now be a good time to
do another 0.x release?
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests withou...
2013 Dec 09
2
[PATCH] rework master-to-worker signaling to use a pipe
...rs
+ # (e.g. ruby-pg) may cancel pending requests.
+ def fake_sig(sig) # :nodoc:
+ old_cb = trap(sig, "IGNORE")
+ old_cb.call
+ ensure
+ trap(sig, old_cb)
+ end
+
+ # master sends fake signals to children
+ def soft_kill(sig) # :nodoc:
+ case sig
+ when Integer
+ signum = sig
+ else
+ signum = Signal.list[sig.to_s] or
+ raise ArgumentError, "BUG: bad signal: #{sig.inspect}"
+ end
+ # writing and reading 4 bytes on a pipe is atomic on all POSIX platforms
+ # Do not care in the odd case the buffer is full, here.
+ @master.kgio_...
2018 May 08
1
mount failing client to gluster cluster.
...08 03:33:48.998891] W [glusterfsd.c:1327:cleanup_and_exit]
(-->/usr/lib/x86_64-linux-gnu/libgfrpc.so.0(rpc_clnt_handle_reply+0x90)
[0x7f25cd69ba20]
-->/usr/sbin/glusterfs(mgmt_getspec_cbk+0x494) [0x558e7de496f4]
-->/usr/sbin/glusterfs(cleanup_and_exit+0x54) [0x558e7de43444] ) 0-:
received signum (0), s
hutting down
[2018-05-08 03:33:48.998923] I [fuse-bridge.c:5794:fini] 0-fuse: Unmounting
'/var/lib/libvirt/images'.
[2018-05-08 03:33:49.019805] W [glusterfsd.c:1327:cleanup_and_exit]
(-->/lib/x86_64-linux-gnu/libpthread.so.0(+0x7494) [0x7f25cc72c494]
-->/usr/sbin/gluster
fs(gl...
2019 Sep 26
0
Re: [PATCH libnbd 1/2] lib: Avoid killing subprocess twice.
...rocess).
> ---
> lib/handle.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/lib/handle.c b/lib/handle.c
> index 2af25fe..5ad818e 100644
> --- a/lib/handle.c
> +++ b/lib/handle.c
> @@ -315,6 +315,8 @@ nbd_unlocked_kill_subprocess (struct nbd_handle *h, int signum)
> return -1;
> }
>
> + h->pid = -1;
> +
Ouch - this means we completely forget about the child process, even if
signum == SIGHUP and was meant merely to get the server to reload state
rather than to kill it (we've talked about making nbdkit have a way to
rel...
2001 Jul 22
1
[patch] VPN enhancements
Hi,
This patch (mostly my work, except for protocolkeepalives, which
rjk at greenend.org.uk wrote for 2.5, and I forward-ported) came out our
usage for VPN tunnels of ssh, where it was useful for ssh to notice if
the server went away. It includes documentation, and is pretty
self-explanatory.
Matthew
-------------- next part --------------
An embedded and charset-unspecified text was
2003 Sep 13
1
R 1.8.0 (to be) and RPy 0.3.1
...had the odd problem here or there -- initially an Atlas interaction,
currently something with long_jump() which cannot be found when R's dynamic
library is loaded. [1] It is called R_eval.c:
/* Abort the current R computation and signal a KeyboardInterrupt
exception */
void interrupt_R(int signum)
{
interrupted = 1;
jump_now();
}
By commenting it out, the package builds and is usable (modulo the absence
of interrupt handling, I suppose).
Could someone give me a pointer or suggestion as to what the replacement for
jump_now() would be?
Dirk
[1] See e.g. http://w...