(gdb) set args ./minerd -V
(gdb) run
Starting program: /usr/bin/screen ./minerd -V
[screen is terminating]
Program received signal SIGHUP, Hangup.
0x00007f9de428f7e0 in __pause_nocancel () at ../sysdeps/unix/syscall-template.S:81
81 ../sysdeps/unix/syscall-template.S: No such file or directory.
Hi, I'm not sure what you are trying to achieve. I can run minerd in screen with no problem at all, and even script it (with
screen -dm minerd [OPTIONS]), and never had an issue.
Regarding the gdb output you posted, you will probably get the same result if you try to run a simple program like
ls instead of
minerd -V.
I just try to execute cudaminer via: screen -dm ./cudaminer
And this doesn't work yet...
And of course, other test, with other apps - are successfull
(I have done some tests before, with top for example, please see below)
Maybe it's some strange cpuminer/operating system issue?
OS is Kubuntu 13.10 64bit:
http://www.kubuntu.org/getkubuntu (if you could check)
root@linux:~/cpuminer-master# ./minerd -V
cpuminer 2.3.3
libcurl/7.32.0 OpenSSL/1.0.1e zlib/1.2.8 libidn/1.28 librtmp/2.3
root@linux:~/cpuminer-master#
root@linux:~/cpuminer-master#
root@linux:~/cpuminer-master# screen ./minerd -V
[screen is terminating]
root@linux:~/cpuminer-master#
root@linux:~/cpuminer-master#
root@linux:~/cpuminer-master# screen -dmS top /usr/bin/top
root@linux:~/cpuminer-master# screen -ls
There is a screen on:
1861.top (04.03.2014 14:05:27) (Detached)
1 Socket in /var/run/screen/S-root.
root@linux:~/cpuminer-master# uname -a
Linux linux 3.11.0-17-generic #31-Ubuntu SMP Mon Feb 3 21:52:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
root@linux:~/cpuminer-master# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.8.1-10ubuntu9' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu9)
root@linux:~/cpuminer-master#
root@linux:~/cpuminer-master#