[
https://issues.apache.org/jira/browse/GUACAMOLE-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15439468#comment-15439468
]
Michael Jumper commented on GUACAMOLE-86:
-----------------------------------------
{quote}
When I am trying to attach pid of gucad to gdb, guacamole UI hangs and
connection terminates.
{quote}
gdb will suspend the process once it attaches. You will need to use the
"continue" command to resume execution.
{quote}
Same result when trying to attach sshd pid to gdb.
{quote}
Sorry - I didn't mean that you need to debug sshd itself. When guacd
establishes a connection, it forks a guard process which handles the actual
connection to the remote desktop server (in this case sshd). The PID of that
process will be listed in the log messages from guacd when the connection is
established.
That is the single process you will want to attach to when reproducing the
issue for the sake of a stacktrace.
> Connection closed when printing large content in SSH
> ----------------------------------------------------
>
> Key: GUACAMOLE-86
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-86
> Project: Guacamole
> Issue Type: Bug
> Components: guacd
> Affects Versions: 0.9.9
> Reporter: Nischay Rathor
> Priority: Critical
>
> Guacd is crashing when running commands with big output on stdout from web ui
> {noformat}
> Aug 25 07:10:34 ip-10-0-9-145 guacd[27432]: SSH connection successful.
> Aug 25 07:10:56 ip-10-0-9-145 server: 07:10:56.646 [Thread-5] ERROR
> o.g.g.w.GuacamoleWebSocketTunnelEndpoint - Connection to guacd terminated
> abnormally: Connection to guacd timed out.
> Aug 25 07:10:56 ip-10-0-9-145 server: 07:10:56.646 [Thread-5] DEBUG
> o.g.g.w.GuacamoleWebSocketTunnelEndpoint - Internal error during connection
> to guacd.
> Aug 25 07:10:56 ip-10-0-9-145 server:
> org.glyptodon.guacamole.GuacamoleUpstreamTimeoutException: Connection to
> guacd timed out.
> Aug 25 07:10:56 ip-10-0-9-145 server: 07:10:56.653 [Thread-5] DEBUG
> o.g.g.net.InetGuacamoleSocket - Closing socket to guacd.
> Aug 25 07:11:13 ip-10-0-9-145 server: 07:11:13.025
> [http-bio-127.0.0.1-8080-exec-5] DEBUG o.g.g.net.InetGuacamoleSocket -
> Connecting to guacd at localhost:4822.
> Wed Aug 24 19:05:37 2016] traps: guacd[29476] general protection
> ip:7f288455a24c sp:7f2874e53120 error:0 in libc-2.17.so[7f28844da000+1b7000]
> tree /
> rw-rr- 1 root root 20M Aug 25 06:20 demo.txt
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)