Displaying 6 results from an estimated 6 matches for "sys_waitpid".
1999 Jan 24
1
HPUX 9.05 & Samba 2.0.0 & problems -> solved !
...D, SIGNAL_CAST sig_cld_leave_status);
}
diff -u --recursive --new-file source/smbd/open.c source.new/smbd/open.c
--- source/smbd/open.c Thu Dec 31 03:37:01 1998
+++ source.new/smbd/open.c Sun Jan 24 23:32:32 1999
@@ -225,8 +225,10 @@
*/
pid_t wpid;
int status_code;
- if ((wpid = sys_waitpid(child_pid, &status_code, 0)) < 0) {
- DEBUG(0,("check_access_allowed_for_current_user: The process is no
longer waiting!\n"));
+ while ((wpid = sys_waitpid(child_pid, &status_code, 0)) < 0) {
+ if(errno == EINTR)
+ continue;
+ DEBUG(0,("check_ac...
2005 Jun 02
3
[Bug 2766] rsync endless loop
https://bugzilla.samba.org/show_bug.cgi?id=2766
------- Additional Comments From paul@debian.org 2005-06-02 08:47 -------
It seems to be looping in userspace (no system calls, hence strace doesn't show
anything). Could you try ltrace instead of strace, that should show what
library functions (if any) are being called which may help.
--
Configure bugmail:
1999 Jan 25
0
SAMBA digest 1954
...;
> }
>diff -u --recursive --new-file source/smbd/open.c source.new/smbd/open.c
>--- source/smbd/open.c Thu Dec 31 03:37:01 1998
>+++ source.new/smbd/open.c Sun Jan 24 23:32:32 1999
>@@ -225,8 +225,10 @@
> */
> pid_t wpid;
> int status_code;
>- if ((wpid = sys_waitpid(child_pid, &status_code, 0)) < 0) {
>- DEBUG(0,("check_access_allowed_for_current_user: The process is no
>longer waiting!\n"));
>+ while ((wpid = sys_waitpid(child_pid, &status_code, 0)) < 0) {
>+ if(errno == EINTR)
>+ continue;
>+...
2005 Apr 18
3
Samba Internal Error and Panic
Getting this on a FreeBSD 5.2.1-RELEASE #0: Sat Aug 28 11:56:25 CDT 2004
system when trying to start the smbd process after an upgrade to the
newest release. Didn't see anything helpful in the referenced appendix
bugs of the Samba HOWTO collection. An attempted smbd -d10 yielded a
core dump but no futher info.
-------------------------------log
2009 Apr 16
1
NULL pointer dereference at __switch_to() ( __unlazy_fpu ) with lguest PAE patch
...? schedule+0x12/0x24
[ 84.749676] [<c01225ff>] ? do_wait+0x1ec/0x363
[ 84.749676] [<c011c4a7>] ? default_wake_function+0x0/0xd
[ 84.749676] [<c020fabe>] ? copy_to_user+0x2a/0x34
[ 84.749676] [<c01227e5>] ? sys_wait4+0x6f/0x85
[ 84.749676] [<c012280e>] ? sys_waitpid+0x13/0x15
[ 84.749676] [<c01037c5>] ? syscall_call+0x7/0xb
[ 84.749676] Code: 00 01 80 00 6a 00 6a 00 6a 00 8d 4d b0 31 d2 89 f0 e8 d3 d7 01 00 8d 65 f4 5b 5e 5f c9 c3 55 89 e5 57 56 53 83 ec 0c 89 c6 89 d3 <8b> 40 04 8b 40 0c a8 01 74 56 a8 10 8b be 60 02 00 00 74 1b 83
[ 84.749...
2009 Apr 16
1
NULL pointer dereference at __switch_to() ( __unlazy_fpu ) with lguest PAE patch
...? schedule+0x12/0x24
[ 84.749676] [<c01225ff>] ? do_wait+0x1ec/0x363
[ 84.749676] [<c011c4a7>] ? default_wake_function+0x0/0xd
[ 84.749676] [<c020fabe>] ? copy_to_user+0x2a/0x34
[ 84.749676] [<c01227e5>] ? sys_wait4+0x6f/0x85
[ 84.749676] [<c012280e>] ? sys_waitpid+0x13/0x15
[ 84.749676] [<c01037c5>] ? syscall_call+0x7/0xb
[ 84.749676] Code: 00 01 80 00 6a 00 6a 00 6a 00 8d 4d b0 31 d2 89 f0 e8 d3 d7 01 00 8d 65 f4 5b 5e 5f c9 c3 55 89 e5 57 56 53 83 ec 0c 89 c6 89 d3 <8b> 40 04 8b 40 0c a8 01 74 56 a8 10 8b be 60 02 00 00 74 1b 83
[ 84.749...