search for: do_system

Displaying 20 results from an estimated 22 matches for "do_system".

2009 Oct 15
0
R segfault in fgets from do_system under high memory use (PR#14008)
Full_Name: Andrew Piskorski Version: R 2.9.2 (Patched), 2009-09-24, svn.rev 49930, x86_64-unknown-linux-gnu OS: Linux, Ubuntu 8.04.3 LTS Submission from: (NULL) (66.31.65.247) I have a large memory test case which segaults R everytime in an fgets call from R's do_system (see below). This appears to be because R does not check the return value of the system popen, and I have a simple patch to src/main/sysutils.c and src/unix/sys-unix.c which fixes the problem. I will attempt to attach the patch after submitting this initial bug report. This is on Linux, Ubuntu 8...
2008 Aug 29
1
panic actions on samba 3.2.2 (also)
...5889] [2008/08/29 15:11:24, 0] lib/util.c:smb_panic(1668) smb_panic(): calling panic action [/srv/bin/panic.sh mve portmver] My script contain a sleep 9000 and I make a bt of the process and I have : (gdb) bt #0 0x00002aaaadfbb0e5 in waitpid () from /lib64/libc.so.6 #1 0x00002aaaadf61e83 in do_system () from /lib64/libc.so.6 #2 0x00005555557d745c in smb_panic () from /usr/local/sbin/smbd #3 0x00005555557c3d6a in sig_fault () from /usr/local/sbin/smbd #4 <signal handler called> #5 0x00002aaaadf56055 in raise () from /lib64/libc.so.6 #6 0x00002aaaadf57af0 in abort () from /lib64/libc.s...
2010 Oct 03
2
R-beta_2010-10-02_r53128 fails to compile on FreeBSD
...sutils.o)(.text+0x1d5d): In function `R_system': /usr/local/R-beta/src/main/sysutils.c:289: undefined reference to `WIFEXITED' libR.a(sysutils.o)(.text+0x1d76):/usr/local/R-beta/src/main/sysutils.c:289: undefined reference to `WEXITSTATUS' libR.a(sys-unix.o)(.text+0x475): In function `do_system': /usr/local/R-beta/src/unix/sys-unix.c:290: undefined reference to `WIFEXITED' libR.a(sys-unix.o)(.text+0x551):/usr/local/R-beta/src/unix/sys-unix.c:290: undefined reference to `WEXITSTATUS' *** Error code 1 Stop in /usr/local/R-beta/src/main. *** Error code 1 Stop in /usr/local/R-be...
2007 Feb 06
1
R from SVN fails to build on win32
...-I. -DHAVE_CONFIG_H -DR_DLL_BUILD -c run.c -o run.o gcc -O3 -Wall -pedantic -std=gnu99 -I../include -I. -DHAVE_CONFIG_H -DR_DLL_BUILD -c shext.c -o shext.o gcc -O3 -Wall -pedantic -std=gnu99 -I../include -I. -DHAVE_CONFIG_H -DR_DLL_BUILD -c sys-win32.c -o sys-win32.o sys-win32.c: In function `do_system': sys-win32.c:183: warning: `hERR' might be used uninitialized in this function gcc -O3 -Wall -pedantic -std=gnu99 -I../include -I. -DHAVE_CONFIG_H -DR_DLL_BUILD -c system.c -o system.o gcc -O3 -Wall -pedantic -std=gnu99 -I../include -I. -DHAVE_CONFIG_H -DR_DLL_BUILD -c dos_glob.c -o do...
2005 Oct 19
1
can't start csh (scripts) (PR#8220)
Dear R developers, after upgrading from R 2.1.1 to 2.2.0 I can't start csh (scripts) anymore. While the following commands work fine > system("tcsh -c pwd") /hom1/users/gloeckler > system("bash -c pwd") /hom1/users/gloeckler > system("ksh -c pwd") /hom1/users/gloeckler csh (in contrast to the shells used above) doesn't give any result:
2013 Oct 14
1
Samba is still crashing
...ated to 4.1.0 and I am still getting the same problem. I have added panic action = /bin/sleep 99999 to my config. Here is a back trace for the crash. (gdb) bt #0 0x003c3424 in __kernel_vsyscall () #1 0xb76fa363 in __waitpid_nocancel () at ../sysdeps/unix/syscall-template.S:82 #2 0xb7693eb3 in do_system (line=0x15b3d90 "/bin/sleep 99999") at ../sysdeps/posix/system.c:149 #3 0x006a67ed in system (line=0x15b3d90 "/bin/sleep 99999") at pt-system.c:29 #4 0x0081fc28 in smb_panic_s3 (why=0x964ea1 "internal error") at ../source3/lib/util.c:798 #5 0x0095356d in smb_pani...
2009 Feb 16
2
A beautiful panic action
...main+0xf4) [0x2af32969b8b4] #26 /usr/local/sbin/smbd [0x2af325ab9909] [2009/02/16 10:40:35, 0] lib/util.c:smb_panic(1668) smb_panic(): calling panic action [/srv/bin/panic.sh spu m403] here the bt using gdb #0 0x00002af329715f15 in waitpid () from /lib64/libc.so.6 #1 0x00002af3296b9f31 in do_system () from /lib64/libc.so.6 #2 0x00002af325cab81c in smb_panic () from /usr/local/sbin/smbd #3 0x00002af325c980da in sig_fault () from /usr/local/sbin/smbd #4 <signal handler called> #5 0x00002af325b355a1 in destroy_fake_file_handle () from /usr/local/sbin/smbd #6 0x00002af325ac6832 in fil...
2007 Jun 22
0
Re: Intermittent "INTERNAL ERROR: Signal 11" with 3.0.24
...we've been able to capture a gdb backtrace. Can anyone help with guidance as to what this means. See below: (gdb) bt #0 0xffffe410 in ?? () #1 0x00000001 in ?? () #2 0x00000000 in ?? () #3 0xbfffc9d8 in ?? () #4 0x402b36e3 in __waitpid_nocancel () from /lib/tls/libc.so.6 #5 0x4025ef58 in do_system () from /lib/tls/libc.so.6 #6 0x402268dd in system () from /lib/tls/libpthread.so.0 #7 0x0822b612 in smb_panic (why=0x0) at lib/util.c:1608 #8 0x08219b3f in fault_report (sig=-512) at lib/fault.c:47 #9 0x08219b50 in sig_fault (sig=-512) at lib/fault.c:70 #10 <signal handler called> #11 0x...
2007 Jan 30
1
Solaris 10 compilation issue
...andom.o Rf_rlogis random.o Rf_rlnorm random.o R_rowsum registration.o str_signif registration.o Rf_pcauchy arithmetic.o dchdc_ registration.o do_system names.o dpbfa_ registration.o dpbsl_ registration.o dpoco_ registration.o dpodi_ registration.o dpofa_ registration.o dposl_...
2007 Jan 30
1
Difficulty with compiling R-2.4.1 on solaris 10
...andom.o Rf_rlogis random.o Rf_rlnorm random.o R_rowsum registration.o str_signif registration.o Rf_pcauchy arithmetic.o dchdc_ registration.o do_system names.o dpbfa_ registration.o dpbsl_ registration.o dpoco_ registration.o dpodi_ registration.o dpofa_ registration.o dposl_...
2007 Jun 14
1
Re: Intermittent "internal error: signal 11" with 3.0.24
...ced problems - so far without success. Any suggestions appreciated. sambaserver:~ # gdb /usr/sbin/smbd 1778 ... (gdb) bt #0 0xffffe410 in ?? () #1 0x00000001 in ?? () #2 0x00000000 in ?? () #3 0xbfffcfd8 in ?? () #4 0x402b36e3 in __waitpid_nocancel () from /lib/tls/libc.so.6 #5 0x4025ef58 in do_system () from /lib/tls/libc.so.6 #6 0x402268dd in system () from /lib/tls/libpthread.so.0 #7 0x0822b612 in smb_panic (why=0x0) at lib/util.c:1608 #8 0x08219b3f in fault_report (sig=-512) at lib/fault.c:47 #9 0x08219b50 in sig_fault (sig=-512) at lib/fault.c:70 #10 <signal handler called> #11 0x...
2023 Jan 14
2
Is "vfs objects = acl_tdb" allowed?
Hi, I had issues using"vfs objects = acl_xattr" (possibly too old version [Version 4.13.13-Debian] for the needed "acl_xattr:security_acl_name = user.samba" option needed if running in a non-priv container). So I tried "vfs objects = acl_tdb" and found it working. In https://wiki.samba.org/index.php/File_System_Support I found: File systems without xattr support
2007 May 19
2
Crash in blur.c (SIGSEGV)
...filter types work with blurdemo. "changing the filter type" might be a symptom of the same problem (accessing drop-down list). Here is exemplary backtrace: Thread 1 (Thread 46912509935360 (LWP 6335)): #0 0x0000003be36942f5 in waitpid () from /lib64/libc.so.6 #1 0x0000003be363bd13 in do_system () from /lib64/libc.so.6 #2 0x00002aaaad0d42d6 in crash_handler (sig=11) at crashhandler.c:50 count = 1 #3 <signal handler called> #4 blurWindowResizeNotify (w=0x1e67540, dx=0, dy=0, dwidth=0, dheight=0) at blur.c:2273 bw = (BlurWindow *) 0x0 bs = (BlurScreen *) 0xc...
2020 Mar 03
6
Upgrade 4.9 -> 4.11 oups
Hello ! I decided to upgrade my fileservers from stretch/samba 4.9 to buster/samba 4.11 I just realized that smbd is not working anymore :-/ If someone has an idea It would be amazing... as an idiot, I upgraded my 20 servers.... without snapshot.... Thank you so much Here's some logs : root at ef113:~# tail /var/log/samba/log.smbd #1
2007 Jan 30
0
R Compiling issue
...metic.o Rf_qnorm5 arithmetic.o bakslv registration.o Rf_rbinom random.o Rf_rchisq random.o Rf_qtukey arithmetic.o Rf_rgamma random.o Rf_rhyper random.o Rf_rlogis random.o Rf_rlnorm random.o R_rowsum registration.o str_signif registration.o Rf_pcauchy arithmetic.o dchdc_ registration.o do_system names.o dpbfa_ registration.o dpbsl_ registration.o dpoco_ registration.o dpodi_ registration.o dpofa_ registration.o dposl_ registration.o dqrdc_ registration.o dqrls_ registration.o dqrsl_ registration.o dsvdc_ registration.o dtrco_ registration.o dtrsl_ registration.o wilcox_free re...
2007 Jan 30
0
Issue with compiling R on solaris 10
...andom.o Rf_rlogis random.o Rf_rlnorm random.o R_rowsum registration.o str_signif registration.o Rf_pcauchy arithmetic.o dchdc_ registration.o do_system names.o dpbfa_ registration.o dpbsl_ registration.o dpoco_ registration.o dpodi_ registration.o dpofa_ registration.o dposl_...
2002 Dec 09
0
Re: R-help digest, Vol 1 #10 - 6 msgs
...;ntakebay at bio.indiana.edu> > cc: <r-help at stat.math.ethz.ch> > Subject: Re: [R] bugs in system() handling long character strings?? > > There is an undocumented limit of 119 characters/line when using > system(intern=TRUE) on Unix. You can easily raise it: it is in > do_system in file src/unix/sys-unix.c. > > I think this limit should be raised considerably, but it may well not be > worth eliminating it. > > On Sat, 7 Dec 2002, Naoki Takebayashi wrote: > > > Hi, > > > > system(cmd, intern=T) seems to have a problem when cmd returns a l...
2012 Oct 26
4
R 2.15.2 is released
...ols(T) and b had more than one column. It could segfault or give nonsense if k was specified as more than ncols(T). o smooth.spline() did not check that a specified numeric spar was of length 1, and gave corrupt results if it was of length 0. o Protection added to do_system. (PR#15025) o Printing of vectors with names > 1000 characters now works correctly rather than truncating. (PR#15028) o qr() for a complex matrix did not pivot the column names. o --with-blas='-framework vecLib' now also works on OS X 10.8. o R CMD check no long...
2012 Oct 26
4
R 2.15.2 is released
...ols(T) and b had more than one column. It could segfault or give nonsense if k was specified as more than ncols(T). o smooth.spline() did not check that a specified numeric spar was of length 1, and gave corrupt results if it was of length 0. o Protection added to do_system. (PR#15025) o Printing of vectors with names > 1000 characters now works correctly rather than truncating. (PR#15028) o qr() for a complex matrix did not pivot the column names. o --with-blas='-framework vecLib' now also works on OS X 10.8. o R CMD check no long...
2012 Oct 26
4
R 2.15.2 is released
...ols(T) and b had more than one column. It could segfault or give nonsense if k was specified as more than ncols(T). o smooth.spline() did not check that a specified numeric spar was of length 1, and gave corrupt results if it was of length 0. o Protection added to do_system. (PR#15025) o Printing of vectors with names > 1000 characters now works correctly rather than truncating. (PR#15028) o qr() for a complex matrix did not pivot the column names. o --with-blas='-framework vecLib' now also works on OS X 10.8. o R CMD check no long...