Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1FB20200B81 for ; Tue, 30 Aug 2016 08:02:27 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1E064160AC8; Tue, 30 Aug 2016 06:02:27 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D1DB3160AB8 for ; Tue, 30 Aug 2016 08:02:25 +0200 (CEST) Received: (qmail 90647 invoked by uid 500); 30 Aug 2016 06:02:24 -0000 Mailing-List: contact commits-help@guacamole.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@guacamole.incubator.apache.org Delivered-To: mailing list commits@guacamole.incubator.apache.org Received: (qmail 90637 invoked by uid 99); 30 Aug 2016 06:02:24 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2016 06:02:24 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 568EE1A7F67 for ; Tue, 30 Aug 2016 06:02:24 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.646 X-Spam-Level: X-Spam-Status: No, score=-4.646 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id mW6f3L61FtqX for ; Tue, 30 Aug 2016 06:02:22 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id 63F3A5F248 for ; Tue, 30 Aug 2016 06:02:21 +0000 (UTC) Received: (qmail 90610 invoked by uid 99); 30 Aug 2016 06:02:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2016 06:02:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6A7902C014C for ; Tue, 30 Aug 2016 06:02:20 +0000 (UTC) Date: Tue, 30 Aug 2016 06:02:20 +0000 (UTC) From: "Nischay Rathor (JIRA)" To: commits@guacamole.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (GUACAMOLE-86) Connection closed when printing large content in SSH MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 30 Aug 2016 06:02:27 -0000 [ https://issues.apache.org/jira/browse/GUACAMOLE-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15448158#comment-15448158 ] Nischay Rathor commented on GUACAMOLE-86: ----------------------------------------- Hi [~mike.jumper], I tried to collect GDB dump for guacd process as you mentioned. I tried it many times. Refer shared link. Below are my observation. 1. Every time I executed tree / from ui (it dumps approx. 15mb of output to stdout). Guacd crashes in first or second attempt. 2. I observe only 2 traps messages in dmesg. {noformat} [Tue Aug 30 05:14:17 2016] traps: guacd[26841] general protection ip:7fe7bc0e61df sp:7fe7b48c6c78 error:0 in libguac-client-ssh.so.0.0.0[7fe7bc0d3000+1c000] [Tue Aug 30 05:40:36 2016] traps: guacd[28984] general protection ip:7f506858524c sp:7f5061102120 error:0 in libc-2.17.so[7f5068505000+1b7000] {noformat} https://dl.dropboxusercontent.com/u/12181164/guacd-gdb-dump.txt > 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)