Open GoogleCodeExporter opened 8 years ago
Without tracing through sub-processes, you won't be able to make sense of this
log file. It just prints "forkpty() failed", which could have all sorts of
different reasons.
Original comment by zod...@gmail.com
on 1 Sep 2011 at 6:33
helo Zod...
Been rev 239 code of shellinabox ready for sub-process trace with
http://valgrind.org ś software ?
I'll give it an try.
best regards
Original comment by rnskl...@web.de
on 2 Sep 2011 at 7:39
ok and as well i'll deliver that one :
http://fedoraproject.org/wiki/StackTraces
..
Original comment by rnskl...@web.de
on 2 Sep 2011 at 7:50
GDB stracktrace not possible as shellinabox has no debug symbol options i.e no
./configure --enable-debug
Original comment by rnskl...@web.de
on 9 Sep 2011 at 5:19
It builds everything with "-g" by default. No need to set any options.
Original comment by zod...@gmail.com
on 9 Sep 2011 at 5:23
the default fedora rpms have no -g enabled.
http://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html helped
CFLAGS="-ggdb -g" ;./configure --prefix=/usr
but :
(gdb) run
Starting program: /root/rpmbuild/BUILD/shellinabox-2.10/shellinaboxd
[Thread debugging using libthread_db enabled]
Cannot find new threads: generic error
Missing separate debuginfos, use: debuginfo-install glibc-2.14-5.i686
keyutils-libs-1.2-7.fc15.i686 krb5-libs-1.9.1-5.fc15.i686
libcom_err-1.41.14-2.fc15.i686 libselinux-2.0.99-4.fc15.i686
openssl-1.0.0e-1.fc15.i686 openssl-devel-1.0.0e-1.fc15.i686
zlib-1.2.5-3.fc15.i686
(gdb)
...
Original comment by rnskl...@web.de
on 9 Sep 2011 at 5:34
ok got that installed
(gdb) run
Starting program: /root/rpmbuild/BUILD/shellinabox-2.10/shellinaboxd
[Thread debugging using libthread_db enabled]
Cannot find new threads: generic error
(gdb)
how i solve that ?
i' m not an Coder
Original comment by rnskl...@web.de
on 9 Sep 2011 at 5:41
I would recommend not building the RPM while debugging. Instead, just build the
source tree that you can check out from Subversion.
./configure && make
should do the trick.
Original comment by zod...@gmail.com
on 9 Sep 2011 at 5:46
NO that don´t solve it.
(gdb) run -d -n -v -t -u root
Starting program: /root/rpmbuild/BUILD/shellinabox-2.10/shellinaboxd -d -n -v
-t -u root
[Thread debugging using libthread_db enabled]
Cannot find new threads: generic error
(gdb) thread apply all bt full
Cannot find new threads: generic error
(gdb)
I can offer you to let you temporarly login to the box
please email me privatly email to technik at remsnet dot de
regards
Horst Venzke
Original comment by rnskl...@web.de
on 9 Sep 2011 at 6:06
ok i may think i looked at the wrong way.
the apache part is the issue.
mod_security stops shellinabox from working ;(
Original comment by rnskl...@web.de
on 9 Sep 2011 at 6:58
Original issue reported on code.google.com by
rnskl...@web.de
on 1 Sep 2011 at 6:10Attachments: