search for: sigcont

Displaying 20 results from an estimated 37 matches for "sigcont".

2009 Sep 09
10
dtrace overhead and proper measuring technique
I''m trying to time a function within Firefoxwith a pid$target probe [2]. e.g dtrace -Zqw -x dynvarsize=64m -x evaltime=preinit -p 13954 -s menu- construct.d -s sigcont.d elapsed: 12.7942481ms cpu : 7.7911194ms count : 40 times I''m also measuring Firefox startup time by running it arguments like this: ... file:///Users/joelr/work/mozilla/startup/startup.html#`python -c ''import time; print int(time.time() * 1000);''` startup.htm...
2002 Aug 08
2
The complete answer (was Re: so-called-hang-on-exit)
...pies of "The Design and Implementation of the 4.4BSD Operating System" as well as "Unix Internals: The New Frontiers". Specifically, pages 111-112 and 344 of the former and page 108 of the latter. It comes down to this: - The 4.4BSD tty and pty drivers send SIGHUP followed by SIGCONT (for stopped processes) to all orphaned process groups with a given tty/pty association when the session leader exits (TDI44BSDOS states that POSIX and 4.4BSD do this) - and any open file descriptors referring to the tty/pty in any processes that choose to continue running are revoke...
2001 Jan 02
0
ogg123: close_dsp_on_suspend and next_on_SIGUSR1 patches submission
Hi, A developper of MandrakeSoft needed for some reason to ameliorate ogg123 in a way: with the patch when you issue a Ctrl+Z (suspending the app) the dsp is freed. Ofcourse the app can still continue when SIGCONT is received. Apparently he chose to separate the actual code into more functions. Please note that this code uses local functions, it thus needs gcc to compile. -=-=-- --- vorbis-tools-1.0beta3/ogg123/ogg123.c.pix Thu Dec 28 17:46:53 2000 +++ vorbis-tools-1.0beta3/ogg123/ogg123.c Fri Dec 29 07:...
2002 Jan 02
2
macosx (lots of little changes)
...e pthread_sigmask(). this is not a perfect solution, I can't ^C out of ogg123. --- ogg123/buffer.c.orig Wed Jan 2 01:21:20 2002 +++ ogg123/buffer.c Tue Jan 1 16:15:31 2002 @@ -75,7 +75,11 @@ sigaddset(&set, SIGINT); sigaddset(&set, SIGTSTP); sigaddset(&set, SIGCONT); +#ifdef __APPLE__ + if (sigprocmask(SIG_BLOCK, &set, NULL) != 0 ) +#else if (pthread_sigmask(SIG_BLOCK, &set, NULL) != 0) +#endif DEBUG("pthread_sigmask failed"); } I was getting segfaults using NULL instead of the dummy variable. --- ogg123/callbacks.c.orig We...
2009 Feb 19
1
NUT 2.4.1 crashes on FreeBSD - additional info
...00,608) = 0 (0x0) > mmap(0x0,21112,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 672673792 > (0x28183000) > munmap(0x28183000,21112) = 0 (0x0) > sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) > = 0 (0x0) > sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) > __sysctl(0xbfbfeaa4,0x2,0x2816fae0,0xbfbfeaac,0x0,0x0) = 0 (0x0) > sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT...
2002 Jan 02
2
macosx (lots of little changes)
...e pthread_sigmask(). this is not a perfect solution, I can't ^C out of ogg123. --- ogg123/buffer.c.orig Wed Jan 2 01:21:20 2002 +++ ogg123/buffer.c Tue Jan 1 16:15:31 2002 @@ -75,7 +75,11 @@ sigaddset(&set, SIGINT); sigaddset(&set, SIGTSTP); sigaddset(&set, SIGCONT); +#ifdef __APPLE__ + if (sigprocmask(SIG_BLOCK, &set, NULL) != 0 ) +#else if (pthread_sigmask(SIG_BLOCK, &set, NULL) != 0) +#endif DEBUG("pthread_sigmask failed"); } I was getting segfaults using NULL instead of the dummy variable. --- ogg123/callbacks.c.orig We...
2009 Aug 28
13
putting a running app into trace mode
Suppose I have a USDT probe in Firefox and that I''m trying to catch the startup with a probe like this: proc:::exec-success /execname == "firefox-bin"/ { start = timestamp; } and stop tracing when Firefox hits this USDT probe: mozilla:::main-entry { exit(0); } How do I put the running firefox-bin into "trace mode" so that my USDT probe fires? Thanks, Joel
2006 Jan 06
0
question on tcl.tk
I am playing with tcl/tk on centso 4.2. I am trying to trap a signal and I get an error that invalid command name signal. My line is: signal trap SIGCONT ReadMessage where ReadMessage is a proc Is centos 4.2 missing a package or some thing for tcl? The example I found did not mention any restrictions. Any ideas, thank you. Jerry -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/...
2011 Mar 30
1
dovecot ldap failed to recover
One of our backend pop/imap-server running dovecot v1.2.16 experienced some problems yesterday. It suddenly couldn't authenticate users anymore, flooding the logs with: pop3-login: Disconnected (auth failed, 1 attempts): user=<user1 at example.com>, method=PLAIN, rip=192.168.42.15, lip=192.168.42.28 The problem seemed to start with this log entry: Mar 29 18:57:21 popimap1 dovecot:
2008 May 15
0
"ServerAliveInterval" and "ServerAliveCountMax" doesnt work in openssh50?
...5 root 5832 5415 0 14:34 ? 00:00:00 sshd: root at pts/0 root at sway-desktop:~# kill -19 5832 // 19 means SIGSTOP I waited more than 10 miniutes, the ssh still hangs there without giving any information about "Connection timeout"... So i sent a SIGCONT to the sshd server, and the ssh come back alive. We debugged into the code, found out that everytime the ssh did check the variable "keep_alive_timeouts" with the ServerAliveCountMax value after ServerAliveInterval seconds to see if keep_alive_timeouts > ServerAliveCountMax, if so , s...
2010 Jun 17
0
signals and RFC4254
...et of the signals you might want to *send* with a "signal" channel request. In particular, if you want to support sending all of the signals that can be generated by keyboard input, the suspend character is missing (SIGTSTP). I guess we can live without most of the others, but possibly SIGCONT and SIGSTOP might be useful too. I think TSTP should be part of the base spec, (and not an xx at foo.bar extension) otherwise this channel request can't fulfill the most basic need (propagating signals from a terminal to an app). -- -- Howard Chu CTO, Symas Corp. http://www....
2020 Aug 27
0
[klibc:master] alpha: Fix definitions of _NSIG and struct sigaction
...4 +#define SIGTRAP 5 +#define SIGABRT 6 +#define SIGEMT 7 +#define SIGFPE 8 +#define SIGKILL 9 +#define SIGBUS 10 +#define SIGSEGV 11 +#define SIGSYS 12 +#define SIGPIPE 13 +#define SIGALRM 14 +#define SIGTERM 15 +#define SIGURG 16 +#define SIGSTOP 17 +#define SIGTSTP 18 +#define SIGCONT 19 +#define SIGCHLD 20 +#define SIGTTIN 21 +#define SIGTTOU 22 +#define SIGIO 23 +#define SIGXCPU 24 +#define SIGXFSZ 25 +#define SIGVTALRM 26 +#define SIGPROF 27 +#define SIGWINCH 28 +#define SIGINFO 29 +#define SIGUSR1 30 +#define SIGUSR2 31 + +#define SIGPOLL SIGIO +#define SIGPWR S...
2016 Sep 27
10
[Bug 2619] New: infinite loop, 100% cpu use in ssh if ^Z is pressed at password prompt
https://bugzilla.mindrot.org/show_bug.cgi?id=2619 Bug ID: 2619 Summary: infinite loop, 100% cpu use in ssh if ^Z is pressed at password prompt Product: Portable OpenSSH Version: 7.3p1 Hardware: Other OS: Linux Status: NEW Severity: enhancement Priority: P5 Component:
2010 Jan 11
0
[PATCH] Fix arm signals
...#define SIGTRAP 5 +#define SIGABRT 6 +#define SIGIOT 6 +#define SIGBUS 7 +#define SIGFPE 8 +#define SIGKILL 9 +#define SIGUSR1 10 +#define SIGSEGV 11 +#define SIGUSR2 12 +#define SIGPIPE 13 +#define SIGALRM 14 +#define SIGTERM 15 +#define SIGSTKFLT 16 +#define SIGCHLD 17 +#define SIGCONT 18 +#define SIGSTOP 19 +#define SIGTSTP 20 +#define SIGTTIN 21 +#define SIGTTOU 22 +#define SIGURG 23 +#define SIGXCPU 24 +#define SIGXFSZ 25 +#define SIGVTALRM 26 +#define SIGPROF 27 +#define SIGWINCH 28 +#define SIGIO 29 +#define SIGPOLL SIGIO +/* +#define SIGLOST 29 +*/ +#define SIGP...
2015 Apr 03
2
systemctl (again)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Yet more information: As a test I moved the link /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service into /etc/systemd/user and reran systemctl daemon-reload. I then rebooted. # ls -l /etc/systemd/user total 4 lrwxrwxrwx. 1 root root 41 Jul 27 2014 dbus-org.fedoraproject.FirewallD1.service ->
2016 Mar 08
1
[PATCH] fish: reset the console on ^Z RHBZ#1213844
Patch registers SIGTSTP hook where it sends reset terminal color control sequence using write and fsync. Handler is installed only if signal is not being ignored. Patch uses rl_free_line_state and rl_cleanup_after_signal to unhook readline from terminal, then it calls original TSTP handler using approach in URL below and again hooks readline using rl_reset_after_signal. Handling is based on code
2015 Apr 04
0
systemctl (again)
...cription=The Apache HTTP Server After=network.target remote-fs.target nss-lookup.target [Service] Type=notify EnvironmentFile=/etc/sysconfig/httpd ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND ExecReload=/usr/sbin/httpd $OPTIONS -k graceful ExecStop=/bin/kill -WINCH ${MAINPID} KillSignal=SIGCONT PrivateTmp=true [Install] WantedBy=multi-user.target On 4 April 2015 at 00:07, J Martin Rushton <martinrushton56 at btinternet.com> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Yet more information: > > As a test I moved the link > /etc/systemd/sys...
2006 Feb 08
4
DO NOT REPLY [Bug 3491] New: throttle disk IO during filelist/directory parsing
...to microsleep between each readdir(). --slow-down=100 will usleep() for 1000usec (microseconds) before each readdir. if i'm not mistaken with 10k directories that'd be ~10second of sleep. I've seen people try to do this using --bwlimit and/or loop checking loadavg and sending sigstop/sigcont. re: http://lists.samba.org/archive/rsync/2004-February/008651.html not the best fix for disk cache poisoning but still might give a some time to breathe. sorry, patches are not for the latest ver.. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiv...
2002 Feb 08
3
SCP Problem with OpenSSH 3.0.2p1 linux->solaris
Hello, i am experiencing scp hangs. This command is executed: system("/usr/bin/scp -v -v -v -C root\@$ip:$LOG_DIR_CLIENT$SYSTEM_LOG"."_transfer $LOG_DIR_SERVER$SYSTEM_LOG-$ip >$SSH_STEP3_LOG 2>&1"); from within a perl script.
2004 Jun 15
3
Repeat patch for ogg123
...int j = i + random() % (items - i); - char *temp = playlist_array[i]; - playlist_array[i] = playlist_array[j]; - playlist_array[j] = temp; - } - } - /* Setup signal handlers and callbacks */ ATEXIT (exit_cleanup); @@ -382,12 +369,31 @@ signal (SIGTSTP, signal_handler); signal (SIGCONT, signal_handler); + k=0; + + while ((k < options.repeat || options.repeat==0) && !sig_request.exit) { + k++; - /* Play the files/streams */ - i = 0; - while (i < items && !sig_request.exit) { - play(playlist_array[i]); - i++; + /* Shuffle playlist */ + if...