I managed to install gdb in guacd container:

-----------------------------

[root@480dcc5d723f /]# top
top - 10:44:32 up 104 days, 23:28,  0 users,  load average: 1.66, 1.95, 1.65
Tasks:   4 total,   1 running,   3 sleeping,   0 stopped,   0 zombie
%Cpu(s):  4.7 us,  0.7 sy,  0.0 ni, 93.8 id,  0.8 wa, 0.0 hi,  0.0 si,  
0.0 st
KiB Mem : 32714444 total,  4350124 free,  4299328 used, 24064992 buff/cache
KiB Swap:  1048572 total,   993004 free,    55568 used. 27710752 avail Mem

   PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
    32 root      20   0  495456  45820   9360 S 100.0  0.1 132:28.00 guacd
     1 root      20   0  295568  15732   5332 S   0.0 0.0   0:01.08 guacd
    39 root      20   0   11880   2996   2584 S   0.0 0.0   0:00.00 bash
   178 root      20   0   52004   3888   3308 R   0.0 0.0   0:00.00 top

-----------------------------


[root@480dcc5d723f /]# gdb -batch -ex bt -p 32
[New LWP 38]
[New LWP 36]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007f328ab93ef7 in pthread_join () from /lib64/libpthread.so.0
#0  0x00007f328ab93ef7 in pthread_join () from /lib64/libpthread.so.0
#1  0x00007f32820aa859 in guac_vnc_client_free_handler 
(client=0x7f327c00abc0) at client.c:71
#2  0x00007f328b554b72 in guac_client_free (client=0x7f327c00abc0) at 
client.c:193
#3  0x0000000000404310 in guacd_exec_proc (protocol=0x7f327c002b63 
"vnc", proc=0x7f327c00aba0) at proc.c:191
#4  guacd_create_proc (protocol=protocol@entry=0x7f327c002b63 "vnc") at 
proc.c:253
#5  0x0000000000403a80 in guacd_route_connection (socket=0x7f327c00ad10, 
map=0x7f328bacd010) at connection.c:299
#6  guacd_connection_thread (data=0x251e450) at connection.c:394
#7  0x00007f328ab92dc5 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f3289b6173d in clone () from /lib64/libc.so.6
[root@480dcc5d723f /]#

Daniel Nguyen

W dniu 22.07.2017 o 01:43, Mike Jumper [via Apache Guacamole 
(incubating) - Users] pisze:
> On Fri, Jul 21, 2017 at 2:16 PM, danielos <[hidden email] 
> </user/SendEmail.jtp?type=node&node=1368&i=0>> wrote:
>
>
>     Actually I found something (whole guacd log attached to e-mail
>     message):
>
>     guacd[1]: INFO: Connection "$5ac08735-d767-419f-997a-a80e74f6704b"
>     removed.
>     guacd[1]: INFO: Creating new client for protocol "rdp"
>     guacd[1]: INFO: Connection ID is
>     "$7293ee8c-133f-4844-af8f-ce124b9693e3"
>     guacd[289]: INFO:       No security mode specified. Defaulting to RDP.
>     guacd[289]: INFO:       Resize method: none
>     guacd[289]: INFO:       User
>     "@09c1c2a7-7554-4453-85a1-19dda4c8cd96" joined connection
>     "$7293ee8c-133f-4844-af8f-ce124b9693e3" (1 users now present)
>     guacd[289]: ERROR:      Password authentication failed:
>     Authentication failed (username/password)
>     guacd[289]: INFO:       User
>     "@09c1c2a7-7554-4453-85a1-19dda4c8cd96" disconnected (0 users remain)
>     guacd[289]: INFO:       Last user of connection
>     "$7293ee8c-133f-4844-af8f-ce124b9693e3" disconnected
>     *** Error in `/usr/local/sbin/guacd': free(): invalid pointer:
>     0x00007fb74c00b5a0 ***
>     ======= Backtrace: =========
>     /lib64/libc.so.6(+0x7c503)[0x7fb763e51503]
>     
> /usr/local/lib/libguac-client-rdp.so(guac_common_ssh_destroy_user+0x23)[0x7fb75c4117d3]
>     
> /usr/local/lib/libguac-client-rdp.so(guac_rdp_client_free_handler+0x61)[0x7fb75c405ba1]
>     /usr/local/lib/libguac.so.12(guac_client_free+0x32)[0x7fb7658bfb72]
>     /usr/local/sbin/guacd[0x404310]
>     /usr/local/sbin/guacd[0x403a80]
>     /lib64/libpthread.so.0(+0x7dc5)[0x7fb764efddc5]
>     /lib64/libc.so.6(clone+0x6d)[0x7fb763ecc73d]
>     ======= Memory map: ========
>     00400000-00407000 r-xp 00000000 00:26 23 /usr/local/sbin/guacd
>     00606000-00607000 r--p 00006000 00:26 23 /usr/local/sbin/guacd
>     00607000-00608000 rw-p 00007000 00:26 23 /usr/local/sbin/guacd
>     00d6b000-0158a000 rw-p 00000000 00:00 0      [heap]
>
>
> That particular issue is:
>
> https://issues.apache.org/jira/browse/GUACAMOLE-194
>
> which should be fixed on the current 0.9.13-incubating release 
> candidate. I don't think this would result in guacd spinning and 
> eating 100% CPU, but it's worth trying the "0.9.13-incubating-RC1" tag 
> of the Docker images to see if the issue remains reproducible.
>
> Are you able to reproduce this outside of Docker?
>
> - Mike
>
>
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the 
> discussion below:
> http://apache-guacamole-incubating-users.2363388.n4.nabble.com/guacd-0-9-12-incubating-is-using-100-cpu-tp1365p1368.html
>  
>
> To unsubscribe from guacd 0.9.12-incubating is using 100% cpu, click 
> here 
> <http://apache-guacamole-incubating-users.2363388.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1365&code=Z3VhY2Ftb2xlQGRhbi10ZWNoLnBsfDEzNjV8OTM3MTEyMDU2>.
> NAML 
> <http://apache-guacamole-incubating-users.2363388.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>  
>





--
View this message in context: 
http://apache-guacamole-incubating-users.2363388.n4.nabble.com/guacd-0-9-12-incubating-is-using-100-cpu-tp1365p1370.html
Sent from the Apache Guacamole (incubating) - Users mailing list archive at 
Nabble.com.

Reply via email to