Displaying 20 results from an estimated 80 matches for "wexit".
Did you mean:
exit
2002 Jun 18
1
remote rsync process dies, local hangs
...M rev=POLLRDNORM
fd=8 ev=POLLRDNORM rev=0
read(6, "01\0\0\0", 4) = 4
close(6) = 0
poll(0xFFBEE938, 2, 60000) = 1
fd=1 ev=POLLOUT rev=POLLOUT
fd=8 ev=POLLRDNORM rev=0
write(1, "04\0\007FFFFFFFF", 8) = 8
kill(18231, SIGUSR2) = 0
waitid(P_PID, 18231, 0xFFBEFB08, WEXITED|WTRAPPED|WNOHANG) = 0
Received signal #18, SIGCLD, in poll() [caught]
siginfo: SIGCLD CLD_EXITED pid=18231 status=0x0000
poll(0xFFBEFAE8, 0, 20) Err#4 EINTR
waitid(P_ALL, 0, 0xFFBEF620, WEXITED|WTRAPPED|WNOHANG) = 0
waitid(P_ALL, 0, 0xFFBEF620, WEXITED|WTRAPPED|WNOHANG) Err#10 ECHI...
2015 Mar 18
0
[PATCH 1/2] mllib: allow external_command to return on nonzero return value
...?(ignore_error = false) cmd =
let chan = Unix.open_process_in cmd in
let lines = ref [] in
(try while true do lines := input_line chan :: !lines done
with End_of_file -> ());
let lines = List.rev !lines in
let stat = Unix.close_process_in chan in
- (match stat with
- | Unix.WEXITED 0 -> ()
+ match stat with
+ | Unix.WEXITED 0 ->
+ (* Command exited correctly, return its output *)
+ lines
+ | Unix.WEXITED i when ignore_error ->
+ (* Command failed. in case such as 'ls something*' when path doesn't exist
+ * and desired behavior is to get...
2019 Aug 13
5
[PATCH 0/3] generator: pod2text-related improvements
- refactor memoization code
- pass pod as stdin rather than files
Pino Toscano (3):
generator: isolate memoized cache in own module
generator: adjust variable names
generator: improve pod2text invocation
generator/Makefile.am | 3 ++
generator/memoized_cache.ml | 62 +++++++++++++++++++++
generator/memoized_cache.mli | 29 ++++++++++
generator/utils.ml | 101
2013 Jul 18
7
[Bug 10035] New: rsync hangs in solaris
...nal #18, SIGCLD, in write() [caught]
10529: siginfo: SIGCLD CLD_EXITED pid=10530 status=0x001E
10529: write(1, " r e c v _ f i l e _ n a".., 42) Err#4 EINTR
10529: lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF
[0x0000FFFF]
10529: waitid(P_ALL, 0, 0x08045220, WEXITED|WTRAPPED|WNOHANG) = 0
10529: waitid(P_ALL, 0, 0x08045220, WEXITED|WTRAPPED|WNOHANG) Err#10 ECHILD
10529: setcontext(0x08045110)
10529: pollsys(0x08045D80, 1, 0x08045E10, 0x00000000) = 1
10529: read(7, " (\0\0\t", 4) = 4
10529: time()...
1998 Nov 14
0
Sync passwd and smbpasswd
...648, 1, -1) Err#4 EINTR
sigprocmask(SIG_BLOCK, 0xEFFFC1D8, 0x00000000) = 0
write(3, " g o t S I G C L D\n", 11) = 11
getuid() = 0 [0]
fstat(3, 0xEFFFC0F0) = 0
waitid(P_ALL, 0, 0xEFFFC108, WEXITED|WTRAPPED|WNOHANG) = 0
waitid(P_ALL, 0, 0xEFFFC108, WEXITED|WTRAPPED|WNOHANG) Err#10 ECHILD
sigaction(SIGCLD, 0xEFFFC0B8, 0xEFFFC1B8) = 0
waitid(P_ALL, 0, 0xEFFFC138, WEXITED|WNOHANG|WNOWAIT) Err#10 ECHILD
sigprocmask(SIG_UNBLOCK, 0xEFFFC1D8, 0x00000000) = 0
setcontext(0xEFFFC328)
poll(0xEFF...
2017 Apr 07
1
[PATCH 1/2] mllib: add new Common_utils.run_commands
...pid = p
+ ) !pids in
+ if matching_pair <> [] then (
+ let matching_pair = List.hd matching_pair in
+ let idx, _, app, outfd, errfd = matching_pair in
+ may Unix.close outfd;
+ may Unix.close errfd;
+ pids := new_pids;
+ match stat with
+ | Unix.WEXITED i ->
+ res.(idx) <- i
+ | Unix.WSIGNALED i ->
+ error (f_"external command ‘%s’ killed by signal %d")
+ app i
+ | Unix.WSTOPPED i ->
+ error (f_"external command ‘%s’ stopped by signal %d")
+ app i
+ );
+ done;
+...
2023 Aug 04
1
[libnbd PATCH] golang: Optionally use gofmt on generated .go files
...= None) filename k =
@@ -431,6 +432,15 @@ let
close_out c;
chan := NoOutput;
(match formatter with
+ | Some Gofmt ->
+ if Config.gofmt <> "no" then (
+ let cmd = sprintf "%s -w %s" Config.gofmt filename_new in
+ match system cmd with
+ | WEXITED 0 -> ()
+ | WEXITED i -> failwithf "gofmt failed with exit code %d" i
+ | WSIGNALED i | WSTOPPED i ->
+ failwithf "gofmt was killed or stopped by signal %d" i
+ )
| Some Rustfmt ->
if Config.rustfmt <> "no" then (...
2017 Jun 20
2
[PATCH v2 1/2] mllib: add new Common_utils.run_commands
...let app =
if Filename.is_relative app then which app
else (Unix.access app [Unix.X_OK]; app) in
- let pid =
- Unix.create_process app (Array.of_list args) Unix.stdin
- Unix.stdout Unix.stderr in
- let _, stat = Unix.waitpid [] pid in
- match stat with
- | Unix.WEXITED i -> i
- | Unix.WSIGNALED i ->
- error (f_"external command ‘%s’ killed by signal %d")
- (stringify_args args) i
- | Unix.WSTOPPED i ->
- error (f_"external command ‘%s’ stopped by signal %d")
- (stringify_args args) i
+ let outfd = ge...
2006 Oct 13
3
error running webserver 7 with the DTrace dvm agents...
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body text="#330000" bgcolor="#ffffff">
<tt><font size="+1">I am attempting to run the sun webserver 7
2015 Mar 18
5
[PATCH 0/2] [RFE] virt-builder should support download resume
This patchset adds support for resuming downloads in virt-builder.
Partially downloaded file is not deleted on exit anymore.
There is a check for partially downloaded image in cache directory
based on its name. When found, download_to crafts appropriate
options to continue its download.
Maros Zatko (2):
mllib: allow external_command to return [] on nonzero return value
builder: support for
2016 Aug 02
0
[PATCH] mllib: check for executable existance in run_command (RHBZ#1362357)
...let run_command ?(echo_cmd = true) args =
if echo_cmd then
debug "%s" (stringify_args args);
- let pid =
- Unix.create_process (List.hd args) (Array.of_list args) Unix.stdin
- Unix.stdout Unix.stderr in
- let _, stat = Unix.waitpid [] pid in
- match stat with
- | Unix.WEXITED i -> i
- | Unix.WSIGNALED i ->
- error (f_"external command '%s' killed by signal %d")
- (stringify_args args) i
- | Unix.WSTOPPED i ->
- error (f_"external command '%s' stopped by signal %d")
- (stringify_args args) i
+ let app = Li...
2017 Jun 20
0
[PATCH v2 2/2] dib: use Common_utils.run_commands
...= p
- ) !pids in
- if matching_pair <> [] then (
- let matching_pair = List.hd matching_pair in
- let _, csum_tool, outfd = matching_pair in
- Unix.close outfd;
- pids := new_pids;
- match stat with
- | Unix.WEXITED 0 -> ()
- | Unix.WEXITED i ->
+ let res = run_commands cmds in
+ iteri (
+ fun i code ->
+ if code <> 0 then (
+ let args, _, _ = List.nth cmds i in
error (f_"external command ‘%s’ exited with error %d&qu...
2019 Jan 16
0
[PATCH 2/5] mltools: create a new external_command_code
...if echo_cmd then
debug "%s" cmd;
let chan = Unix.open_process_in cmd in
@@ -347,18 +353,10 @@ let external_command ?(echo_cmd = true) cmd =
with End_of_file -> ());
let lines = List.rev !lines in
let stat = Unix.close_process_in chan in
- (match stat with
- | Unix.WEXITED 0 -> ()
- | Unix.WEXITED i ->
- error (f_"external command ‘%s’ exited with error %d") cmd i
- | Unix.WSIGNALED i ->
- error (f_"external command ‘%s’ killed by signal %d") cmd i
- | Unix.WSTOPPED i ->
- error (f_"external command ‘%s’ stopped by s...
2019 Aug 13
0
[PATCH 3/3] generator: improve pod2text invocation
...= try loop 1 with End_of_file -> List.rev !lines in
- unlink filename;
- (match close_process_in chan with
+ (try while true do lines := input_line chan_out :: !lines done
+ with End_of_file -> ());
+ let lines = List.rev !lines in
+ (match close_process (chan_out, chan_in) with
| WEXITED 0 -> ()
| WEXITED i ->
failwithf "pod2text: process exited with non-zero status (%d)" i
| WSIGNALED i | WSTOPPED i ->
failwithf "pod2text: process signalled or stopped by signal %d" i
);
+ let lines =
+ if discard then (* discard the fir...
2001 Dec 12
1
2.5.0, Solaris 2.6, Daemon SIGSEGV
...6192: Received signal #11, SIGSEGV [default]
6192: siginfo: SIGSEGV SEGV_ACCERR addr=0x0003D940
6192: *** process killed ***
6191: Received signal #18, SIGCLD [caught]
6191: siginfo: SIGCLD CLD_KILLED pid=6192 status=0x000B
6191: waitid(P_ALL, 0, 0xEFFFF810, WEXITED|WTRAPPED|WNOHANG) = 0
6191: waitid(P_ALL, 0, 0xEFFFF810, WEXITED|WTRAPPED|WNOHANG) Err#10 ECHILD
6191: setcontext(0xEFFFF9C0)
6191: _exit(0)
Can anyone tell me what this is? I have looked through the list archives, but can't see anything, and had a google for it as well; none of the...
2019 Jan 16
10
[PATCH 0/5] [RFC] builder: handle unavailable repos
In case a repository of virt-builder references files (e.g. the index)
that cannot be downloaded (network issues, 404, etc) then virt-builder
errors out on this situation. This is not a nice situation, from an user
POV.
This series does some refactoring to allow to better handle downloading
failures, and handle the failures gracefully in virt-builder.
RFC because I'm not yet too convinced
2019 Jan 16
2
Re: [PATCH 2/5] mltools: create a new external_command_code
...;%s" cmd;
> let chan = Unix.open_process_in cmd in
> @@ -347,18 +353,10 @@ let external_command ?(echo_cmd = true) cmd =
> with End_of_file -> ());
> let lines = List.rev !lines in
> let stat = Unix.close_process_in chan in
> - (match stat with
> - | Unix.WEXITED 0 -> ()
> - | Unix.WEXITED i ->
> - error (f_"external command ‘%s’ exited with error %d") cmd i
> - | Unix.WSIGNALED i ->
> - error (f_"external command ‘%s’ killed by signal %d") cmd i
> - | Unix.WSTOPPED i ->
> - error (f_"exte...
2000 Jan 26
2
[2.0.6] doesn't run under Solaris 7/sparc, Internal Error
Is the following a known problem:
===============================================================
[2000/01/26 09:41:03, 0] lib/fault.c:fault_report(41)
INTERNAL ERROR: Signal 11 in pid 22273 (2.0.6)
Please read the file BUGS.txt in the distribution
[2000/01/26 09:41:03, 0] lib/fault.c:fault_report(43)
===============================================================
This is using the same
2001 Aug 25
0
problems with rsync version 2.4.6 protocol version 24 on solaris 2.8
...6 25536 0 15:16:35 pts/5 0:00 grep rsync
root 29192 29191 0 14:43:37 pts/2 1:10 /opt/Rsync/bin/rsync.7
--recursive --progress --stats --delete --one-file-syste
root@lancelot:/opt/Rsync% truss -p 29191
poll(0xFFBEF888, 0, 20) = 0
waitid(P_PID, 29192, 0xFFBEF898, WEXITED|WTRAPPED|WNOHANG) = 0
poll(0xFFBEF888, 0, 20) = 0
waitid(P_PID, 29192, 0xFFBEF898, WEXITED|WTRAPPED|WNOHANG) = 0
^Croot@lancelot:/opt/Rsync% truss -p 29192
poll(0xFFBEDC58, 1, 60000) (sleeping...)
^Croot@lancelot:/opt/Rsync%
-------------- next part --------------
#...
2003 Oct 15
1
rsync freezes on solaris
...#32 EPIPE
Received signal #13, SIGPIPE [ignored]
sigaction(SIGUSR1, 0xFFBEDAF8, 0xFFBEDB78) = 0
sigaction(SIGUSR2, 0xFFBEDAF8, 0xFFBEDB78) = 0
getpid() = 7970 [7969]
Received signal #18, SIGCLD [caught]
siginfo: SIGCLD CLD_EXITED pid=7971 status=0x000C
waitid(P_ALL, 0, 0xFFBED6D8, WEXITED|WTRAPPED|WNOHANG) = 0
waitid(P_ALL, 0, 0xFFBED6D8, WEXITED|WTRAPPED|WNOHANG) Err#10 ECHILD
setcontext(0xFFBED890)
kill(7971, SIGUSR1) Err#3 ESRCH
write(2, " r s y n c e r r o r :".., 69) Err#32 EPIPE
Received signal #13, SIGPIPE [ignored]
sigaction(SIGUSR1, 0xFFBED598, 0xFFBED6...