From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 2022 invoked from network); 26 Apr 2022 00:44:35 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 26 Apr 2022 00:44:35 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1650933875; b=pu23XGFpFGUFJBU5ZRDF0zHKzLF9ACACkeEaQ8j6/VgHMREixJP0RFwxMmP/OSzctP29eSHuWL 0IYHKZpXisPUPSEbghRqWXjf/095RGjNpRcjwohuC1wv5/IQE380vyxkUURki1c/3oD0R3t0Le twu5x4CJUaIyr66s8eelGskpQc0RE6E1QFczUo5VusIWFE759w3J24PgBHSy4VMLffVURCr9+8 Ic0hhbwqNC03wI0/fGwSecoQNGvNS2N/xj16ujZmSQlHA2G/lthroJxuQ/TPE32RDMqRpOmM6F UYCj8cbV/Kw17/PEOPh3xtyOphziZ4ZgrgDZoBUxSsCIoQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (joooj.vinc17.net) smtp.remote-ip=155.133.131.76; dmarc=none header.from=vinc17.net; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1650933875; bh=pVYYzVsUl0GOM9j/Sp4BDzsLPZtJCTkeNm6Rk71XXxQ=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:To:From:Date:DKIM-Signature; b=cp404CNRdalL/gRnTK4nJ6rnhZtg93Q4TGqnNZXHt9odfNUtLQOKsvrr30e+bVwd46GtUAu4Ky YbUwEbgBBVV98AXPSz+6s5m35nXHXzIo7oLTrvgRQF+a3gIiaN6Yf3Z9G5dYI3xEBtQ92b6RQ3 yvgfl53Pcd2SmDS+PEI+O2CXKNDb5meZgAxd66OzMd0UGYixlYOyzHZqp3vT+99yPoIC5AzXsm i9lfmyqw7khckDefXRNW28L0qKJ71F+JP2wvYvRys4K6z/n8pMJqTzJbMp1p+pK88yV2r+4OMs H+Dy55UdE3KBd6N8e5u2e1hcWQrGa7Q3NiaEInCvXKIDbQ==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:In-Reply-To:Content-Transfer-Encoding :Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=/qUGNdEJwdEN9D47qon9nMIcBFisa7OUWWYOhKuEQ/s=; b=aS4mmlORBiuus32GBYfzvCJWCy 0ai5ZenQVzwpe0cgzeoX9xzYhGjBMDl1fLfkxc+nQvE0S4yZG4qFS7MsFXTWt/UdXExHHKok1tgLJ aTN7lIP7Vflv6XzVXwT8eUirsWc8oUMc4jM5iDPjDeYSIEy2c45lVQ9Exuc2C7rScmWtBsWpWWMev 8grMK1ANQFaBlkaJdAYQWZp6u2jh/MDyGgz4bnvE9dkFKnVMLvClm7tcib7qivBwrtUnSFVmoU24D Rd26UAbBt6P8G+AkF2WzHpyNxK10OX2/ZtzU1DNsTuQIx6UiGiZozjN00nl8DO6vguGiUpHw/r6By UT7oMbsg==; Received: from authenticated user by zero.zsh.org with local id 1nj9Ji-000KFA-Pp; Tue, 26 Apr 2022 00:44:34 +0000 Authentication-Results: zsh.org; iprev=pass (joooj.vinc17.net) smtp.remote-ip=155.133.131.76; dmarc=none header.from=vinc17.net; arc=none Received: from joooj.vinc17.net ([155.133.131.76]:52654) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1nj9JS-000Jui-Bj; Tue, 26 Apr 2022 00:44:18 +0000 Received: from smtp-zira.vinc17.net (128.119.75.86.rev.sfr.net [86.75.119.128]) by joooj.vinc17.net (Postfix) with ESMTPSA id 977537B; Tue, 26 Apr 2022 02:44:17 +0200 (CEST) Received: by zira.vinc17.org (Postfix, from userid 1000) id 5A3EE2800293; Tue, 26 Apr 2022 02:44:17 +0200 (CEST) Date: Tue, 26 Apr 2022 02:44:17 +0200 From: Vincent Lefevre To: zsh-workers@zsh.org Subject: Re: Ctrl-\ while executing a pipeline made zsh quit Message-ID: <20220426004417.GB100943@zira.vinc17.org> Mail-Followup-To: zsh-workers@zsh.org References: <20220426003649.GA100943@zira.vinc17.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220426003649.GA100943@zira.vinc17.org> X-Mailer-Info: https://www.vinc17.net/mutt/ User-Agent: Mutt/2.2.3+10 (6e7437c4) vl-138565 (2022-04-12) X-Seq: 50095 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: On 2022-04-26 02:36:49 +0200, Vincent Lefevre wrote: > With zsh 5.8.1 under Linux (zsh 5.8.1-1 Debian/unstable package), > while I was executing a pipeline, I typed Ctrl-\ to interrupt it > (Ctrl-C had no effect), which made unexpectedly zsh quit: SIGQUIT > should interrupt the commands zsh starts, not the interactive shell > itself. > > The backtrace: > > Core was generated by `zsh'. > Program terminated with signal SIGQUIT, Quit. > #0 0x00007f6e9cd2dbe8 in __GI___sigsuspend (set=set@entry=0x7ffc0653d8e0) > at ../sysdeps/unix/sysv/linux/sigsuspend.c:26 > 26 ../sysdeps/unix/sysv/linux/sigsuspend.c: No such file or directory. [...] More information with the full backtrace: Thread 1 (Thread 0x7f6e9cccf740 (LWP 99414)): #0 0x00007f6e9cd2dbe8 in __GI___sigsuspend (set=set@entry=0x7ffc0653d8e0) at ../sysdeps/unix/sysv/linux/sigsuspend.c:26 sc_ret = -514 sc_ret = #1 0x000056392a430207 in signal_suspend (sig=sig@entry=17, wait_cmd=wait_cmd@entry=0) at ../../Src/signals.c:393 ret = set = {__val = {2, 5440281970810964224, 9, 18446744073709551496, 9, 94803531777152, 0, 0, 94803529069392, 140113054513588, 94803529165200, 94803531761792, 94803531790544, 94803531761792, 0, 94803521934268}} #2 0x000056392a3fae2f in zwaitjob (job=, wait_cmd=0) at ../../Src/jobs.c:1603 q = 3 jn = 0x56392aac7350 #3 0x000056392a3fb544 in waitjobs () at ../../Src/jobs.c:1673 jn = 0x56392aac7350 #4 0x000056392a3dc64b in execpline (state=state@entry=0x7ffc0653de20, slcode=, how=, how@entry=18, last1=0) at ../../Src/exec.c:1759 jn = 0x56392aac7350 updated = 1 ipipe = {0, 0} opipe = {0, 0} pj = 0 newjob = 1 old_simple_pline = 0 slflags = 0 code = lastwj = 1 lpforked = 0 #5 0x000056392a3dd4a7 in execlist (state=state@entry=0x7ffc0653de20, dont_change_job=dont_change_job@entry=0, exiting=exiting@entry=0) at ../../Src/exec.c:1419 isend = donedebug = this_donetrap = 0 donetrap = 0 next = 0x7f6e9d0665e0 code = ret = cj = 0 csp = 0 ltype = 18 old_pline_level = 0 old_list_pipe = 0 old_list_pipe_job = 0 old_list_pipe_text = 0x0 oldlineno = 19 oldnoerrexit = 0 #6 0x000056392a3dd9a2 in execode (p=p@entry=0x7f6e9d066580, dont_change_job=dont_change_job@entry=0, exiting=exiting@entry=0, context=context@entry=0x56392a452285 "toplevel") at ../../Src/exec.c:1198 s = {prog = 0x7f6e9d066580, pc = 0x7f6e9d0665e0, strs = 0x7f6e9d0665e4 "svnwrapper"} zsh_eval_context_len = 32 alen = #7 0x000056392a3f3254 in loop (toplevel=toplevel@entry=1, justonce=justonce@entry=0) at ../../Src/init.c:212 toksav = SEPER prog = 0x7f6e9d066580 err = non_empty = 1 #8 0x000056392a3f6a2e in zsh_main (argc=, argv=) at ../../Src/init.c:1779 errexit = 0 t = runscript = zsh_name = cmd = 0x0 t0 = #9 0x00007f6e9cd187fd in __libc_start_main (main=0x56392a3bad40
, argc=1, argv=0x7ffc0653e1b8, init=, fini=, rtld_fini=, stack_end=0x7ffc0653e1a8) at ../csu/libc-start.c:332 self = result = unwind_buf = {cancel_jmp_buf = {{jmp_buf = {94803522285008, -328400302498789135, 94803521678672, 0, 0, 0, 326868374137981169, 408824851181193457}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x1, 0x7ffc0653e1b8}, data = {prev = 0x0, cleanup = 0x0, canceltype = 1}}} not_first_call = #10 0x000056392a3bad7a in _start () No symbol table info available. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)