2014-07-30 22:39 GMT+02:00 red0queen <[email protected]>:
> Le 30/07/2014 08:54, Henri Doreau a écrit :
>
> 2014-07-29 9:20 GMT+02:00 red0queen <[email protected]>:
>
> Thanks Henri, I do not know strace.
> I've attach it to the stuck process, it fill me a log file with :
>
> 7562  recv(6, "", 5, 0)                 = 0
> 7562  select(7, [6], NULL, NULL, {2, 0}) = 1 (in [6], left {1, 999998})
> 7562  ioctl(6, FIONREAD, [1])           = 0
> 7562  time(NULL)                        = 1406617706
> 7562  time(NULL)                        = 1406617706
> 7562  select(7, [6], [6], NULL, {1, 0}) = 2 (in [6], out [6], left {0,
> 999998})
> 7562  select(7, [6], NULL, NULL, {2, 0}) = 1 (in [6], left {1, 999999})
> 7562  ioctl(6, FIONREAD, [1])           = 0
> 7562  time(NULL)                        = 1406617706
> 7562  time(NULL)                        = 1406617706
>
> The five last lines are repeated indefinitely.
> It help someone to understand ? because me... no!
>
> Well, a bit but it doesn't show as much as I was hoping for. Looks
> like this is somewhere in the network communication loop between
> scanner & manager (lib/misc/network.c). Can you give a try at gstack
> and dump the call stacks of the manager and scanner (gstack <pid>).
> I'm not familiat with the master/slave code and logic but it might
> give another hint...
>
> Debian have no gstack but pstack, sadly, it seems to be bugged. Do you know
> another tool for doing that ?
>
> 3785: openvassd: Serving 127.0.0.1
> (No symbols found in )
> (No symbols found in /usr/lib/libgpgme.so.11)
> (No symbols found in /lib/i386-linux-gnu/libgpg-error.so.0)
> (No symbols found in /lib/i386-linux-gnu/libglib-2.0.so.0)
> (No symbols found in /usr/lib/i386-linux-gnu/libgnutls.so.26)
> (No symbols found in /lib/i386-linux-gnu/libc.so.6)
> (No symbols found in /lib/i386-linux-gnu/libuuid.so.1)
> (No symbols found in /usr/lib/i386-linux-gnu/libpcap.so.0.8)
> (No symbols found in /lib/i386-linux-gnu/libgcrypt.so.11)
> (No symbols found in /usr/lib/i386-linux-gnu/libgio-2.0.so.0)
> (No symbols found in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0)
> (No symbols found in /lib/i386-linux-gnu/libz.so.1)
> (No symbols found in /lib/i386-linux-gnu/libm.so.6)
> (No symbols found in /usr/lib/i386-linux-gnu/libssh.so.4)
> (No symbols found in /usr/lib/i386-linux-gnu/libksba.so.8)
> (No symbols found in /lib/i386-linux-gnu/libpcre.so.3)
> (No symbols found in /lib/i386-linux-gnu/librt.so.1)
> (No symbols found in /usr/lib/i386-linux-gnu/libtasn1.so.3)
> (No symbols found in /usr/lib/i386-linux-gnu/libp11-kit.so.0)
> (No symbols found in /lib/ld-linux.so.2)
> (No symbols found in /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0)
> (No symbols found in /lib/i386-linux-gnu/libselinux.so.1)
> (No symbols found in /lib/i386-linux-gnu/libresolv.so.2)
> (No symbols found in /usr/lib/i386-linux-gnu/libgthread-2.0.so.0)
> (No symbols found in /usr/lib/i386-linux-gnu/libffi.so.5)
> (No symbols found in /usr/lib/i386-linux-gnu/i686/cmov/libssl.so.1.0.0)
> (No symbols found in /usr/lib/i386-linux-gnu/i686/cmov/libcrypto.so.1.0.0)
> (No symbols found in /lib/i386-linux-gnu/libdl.so.2)
> (No symbols found in /usr/lib/i386-linux-gnu/gconv/ISO8859-1.so)
> crawl: Input/output error
> Error tracing through process 3785
>
>
> Which version of OpenVAS are you running BTW?
>
> Version 7
>
> Regards
>
> Henri
>
>

You can attach gdb to a running process and issue the "bt" command to
get similar results.

-- 
Henri
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to