From issues-return-43968-archive-asf-public=cust-asf.ponee.io@karaf.apache.org Mon Apr 15 14:03:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id CCECC18064C for ; Mon, 15 Apr 2019 16:03:01 +0200 (CEST) Received: (qmail 93506 invoked by uid 500); 15 Apr 2019 14:03:01 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 93489 invoked by uid 99); 15 Apr 2019 14:03:00 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Apr 2019 14:03:00 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 5F31AE25EE for ; Mon, 15 Apr 2019 14:03:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 258E124599 for ; Mon, 15 Apr 2019 14:03:00 +0000 (UTC) Date: Mon, 15 Apr 2019 14:03:00 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-6141) Client hangs sporadic, if started without an tty MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-6141?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1681= 7996#comment-16817996 ]=20 Jean-Baptiste Onofr=C3=A9 commented on KARAF-6141: --------------------------------------------- I'm not able to reproduce the issue on 4.3.0-SNAPSHOT (I let a test script = running for ~ 10mn without problem). I'm postponing this Jira to 4.2.6 to allow me to dig into. > Client hangs sporadic, if started without an tty > ------------------------------------------------ > > Key: KARAF-6141 > URL: https://issues.apache.org/jira/browse/KARAF-6141 > Project: Karaf > Issue Type: Bug > Components: karaf > Affects Versions: 4.2.2 > Environment: SuSe Linux > Reporter: M Gerst=C3=A4dt > Assignee: Jean-Baptiste Onofr=C3=A9 > Priority: Minor > Fix For: 4.3.0, 4.2.5 > > > Hello, > since Version 4.2.2 the bin/client process hangs sporadic, if it has been= started as a process, which is not attached to a tty (for example with cro= njob). Before Version 4.2.2 the client works fine. > Below is a simple example to reproduce this issue: > =C2=A0 > {code:java} > while true; do > setsid sh -c 'echo $$ ; ${KARAF_DIR}/bin/client -a ${SSH_PORT} "exit"' = < /dev/null > sleep 2 > done > {code} > After some iterations, you should find some hanging "org.apache.karaf.cli= ent.Main -a 8101 exit" processes with ps -ef. > =C2=A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005)