Path: csiph.com!fu-berlin.de!usenet.stanford.edu!not-for-mail From: George R Goffe Newsgroups: gnu.bash.bug Subject: Re: Is this a bug? Date: Sat, 22 Aug 2020 21:25:57 +0000 (UTC) Lines: 233 Approved: bug-bash@gnu.org Message-ID: References: <1361377909.989786.1596736417780.ref@mail.yahoo.com> <1361377909.989786.1596736417780@mail.yahoo.com> <0d88a4ca-9eca-62b4-91bd-d2e4083190f3@case.edu> <1312274972.4025864.1597785278610@mail.yahoo.com> <6575997b-0217-046a-8ef1-0437571475ca@case.edu> <1699062943.4171052.1597809756404@mail.yahoo.com> <16e6944b-9707-a80c-3602-e76edcca64ec@case.edu> <630008166.4463802.1597857290469@mail.yahoo.com> <054462f1-e801-bdcc-8f0d-b880ef8eab79@case.edu> <300430358.4632420.1597870535904@mail.yahoo.com> <13f19a1b-2222-e443-3a6d-c05382d92a0a@case.edu> <1760547595.6084259.1598131557465@mail.yahoo.com> Reply-To: George R Goffe NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: usenet.stanford.edu 1598131566 3091 209.51.188.17 (22 Aug 2020 21:26:06 GMT) X-Complaints-To: action@cs.stanford.edu To: "bug-bash@gnu.org" , Chet Ramey Envelope-to: bug-bash@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1598131558; bh=Zp8FJk2YO8X5c14X1RiSy160QmA/bu+K5XjnnUprApY=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=pady1eGSBqRjDf7NBnoqJQCYkU/W7OO1zwn6qrtdARe2ZUT7xFa9F1bpJa6GpOfyqtYzF73zw+hohInN12fm+13b484zVql6jAuPwGi5ekag98VTUh2Dkmw/0UM1TSR0oNzqYLwnwUmRk7R5sHJOxoA9iwIXc8smquWs+oftZUZGQ16Z/hdCyXtSdVcLxb+4VESSNcaLmeu1UBIZCB+gQnkoj6o6YcKWMA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vcsebkl8pI_U3LwJSx2yVD2W.CRYnkr7RT8x R4ZQNIZXuB0QOo4hMyyHrere4gteE36YuNMXUccO.vXDnaqKRRSS9WjaHT_6fx_iSqZtm4JG8u3w mLuDvXBC4jA..o3xtGlVE2l1tUi6NQvvN.pD6PZp7sdU9DFLy.VXErUGptMjzC0pBhck4mYXgrBT UeIAgKrZ5ss.PHPrqKuwIw8KuZ1ZUfjU8PyRFoBZpoMlT6ehrZrnbk5MPbTtFQSqpj.93HkZuzHi mr.KMY1RfJ9R5QkQjjob2APx66d1iLLGwI9As8X_W4Nl3FlSqk6BY3tGOjXJTXsW3lFPqQ3tbas_ fkLbwag9kSxitZaRHfuEQmDHZqjqeEknMbSkL6EfgwzOwJMKNZ9vLTa9h6PCxf2rFZIF0Kw1yFAy Ao.lpQSMahHIw2SwwD5W9g1xDUXyubiC.5Ga.trQABqngqiHC6A.xN27_ZPRNtxZ_uOgaRTpxmCU p0dgbabnzlfE6ohOjksJqw_LFtnA5LiKfogCOUr1qVkJNRnKB9vbVK2Oftaha6BVF_AH319jPn00 mL1sIj6w3pw-- In-Reply-To: <13f19a1b-2222-e443-3a6d-c05382d92a0a@case.edu> X-Mailer: WebService/1.1.16455 YMailNorrin Mozilla/5.0 (X11; Linux x86_64; rv:81.0) Gecko/20100101 Firefox/81.0 Content-Length: 9228 Received-SPF: pass client-ip=66.163.189.84; envelope-from=grgoffe@yahoo.com; helo=sonic306-22.consmr.mail.ne1.yahoo.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/22 17:25:58 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <1760547595.6084259.1598131557465@mail.yahoo.com> X-Mailman-Original-References: <1361377909.989786.1596736417780.ref@mail.yahoo.com> <1361377909.989786.1596736417780@mail.yahoo.com> <0d88a4ca-9eca-62b4-91bd-d2e4083190f3@case.edu> <1312274972.4025864.1597785278610@mail.yahoo.com> <6575997b-0217-046a-8ef1-0437571475ca@case.edu> <1699062943.4171052.1597809756404@mail.yahoo.com> <16e6944b-9707-a80c-3602-e76edcca64ec@case.edu> <630008166.4463802.1597857290469@mail.yahoo.com> <054462f1-e801-bdcc-8f0d-b880ef8eab79@case.edu> <300430358.4632420.1597870535904@mail.yahoo.com> <13f19a1b-2222-e443-3a6d-c05382d92a0a@case.edu> Xref: csiph.com gnu.bash.bug:16790 Chet, I'm really perplexed with this situation. I type in "ls -al 123456" wi= th only 1 tab key. NO indication of what's happening. I hit enter and get a= message that "ls: cannot access '123456': No such file or directory" I try= the same command but with 2 tab keys... hit enter and get the same msg.=20 I tried the same with a partial filename that DOES exist in the directory. = I can't seem to get the filename completion to ctrl-c out. gdb sees the ctr= l-c but bash stays in the attempted filename completion. Enter doesn't work= . Ctrl-c doesn't work. Ctrl-z doesn't work. Shouldn't there be a message about no file found presented by bash? There a= ppears to be NO indication that filename completion has failed to find a fi= le. I'm at a loss as to what to do at this point. What I would like to be able = to ctrl-c out of filename completion. Is this a konsole problem? I will try xterms. What are your thoughts? Are you able to create this situation on your system(s)? Best regards, George... gdb -p 706812 GNU gdb (GDB) Fedora 9.2-6.fc33 Copyright (C) 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: =C2=A0=C2=A0=C2=A0 . --Type for more, q to quit, c to continue without paging--c For help, type "help". Type "apropos word" to search for commands related to "word". Attaching to process 706812 Reading symbols from /usr/bin/bash... Reading symbols from /usr/lib/debug/usr/bin/bash-5.0.17-2.fc33.x86_64.debug= ... Reading symbols from /usr/lib64/libtinfo.so.6... Reading symbols from /usr/lib/debug/usr/lib64/libtinfo.so.6.2-6.2-3.2020022= 2.fc33.x86_64.debug... Reading symbols from /usr/lib64/libdl.so.2... Reading symbols from /usr/lib/debug/usr/lib64/libdl-2.32.9000.so.debug... Reading symbols from /usr/lib64/libc.so.6... Reading symbols from /usr/lib/debug/usr/lib64/libc-2.32.9000.so.debug... Reading symbols from /lib64/ld-linux-x86-64.so.2... Reading symbols from /usr/lib/debug/usr/lib64/ld-2.32.9000.so.debug... Reading symbols from /usr/lib64/libnss_sss.so.2... Reading symbols from /usr/lib/debug/usr/lib64/libnss_sss.so.2-2.3.1-4.fc33.= x86_64.debug... Reading symbols from /usr/lib64/libnss_files.so.2... Reading symbols from /usr/lib/debug/usr/lib64/libnss_files-2.32.9000.so.deb= ug... 0x00007f11222f528b in __pselect (nfds=3D1, readfds=3Dreadfds@entry=3D0x7ffd= afb3f020, writefds=3Dwritefds@entry=3D0x0, exceptfds=3Dexceptfds@entry=3D0x= 0, timeout=3D, timeout@entry=3D0x0, sigmask=3D0x7ffdafb3efe0= , sigmask@entry=3D0x55f28c2904e0 <_rl_orig_sigset>) at ../sysdeps/unix/sysv= /linux/pselect.c:48 48=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 return SYSCALL_CANCEL (pselect= 6, nfds, readfds, writefds, exceptfds, (gdb) continue Continuing. (gdb) continue Continuing. Program received signal SIGINT, Interrupt. 0x00007f11222f528b in __pselect (nfds=3D1, readfds=3Dreadfds@entry=3D0x7ffd= afb3f020, =C2=A0=C2=A0=C2=A0 writefds=3Dwritefds@entry=3D0x0, exceptfds=3Dexceptfds@e= ntry=3D0x0, timeout=3D, =C2=A0=C2=A0=C2=A0 timeout@entry=3D0x0, sigmask=3D0x7ffdafb3efe0, sigmask@e= ntry=3D0x55f28c2904e0 <_rl_orig_sigset>) =C2=A0=C2=A0=C2=A0 at ../sysdeps/unix/sysv/linux/pselect.c:48 48=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 return SYSCALL_CANCEL (pselect= 6, nfds, readfds, writefds, exceptfds, (gdb) continue Continuing. Program received signal SIGINT, Interrupt. 0x00007f11222f528b in __pselect (nfds=3D1, readfds=3Dreadfds@entry=3D0x7ffd= afb3f020, =C2=A0=C2=A0=C2=A0 writefds=3Dwritefds@entry=3D0x0, exceptfds=3Dexceptfds@e= ntry=3D0x0, timeout=3D, =C2=A0=C2=A0=C2=A0 timeout@entry=3D0x0, sigmask=3D0x7ffdafb3efe0, sigmask@e= ntry=3D0x55f28c2904e0 <_rl_orig_sigset>) =C2=A0=C2=A0=C2=A0 at ../sysdeps/unix/sysv/linux/pselect.c:48 48=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 return SYSCALL_CANCEL (pselect= 6, nfds, readfds, writefds, exceptfds, (gdb) continue Continuing. Program received signal SIGINT, Interrupt. 0x00007f11222f528b in __pselect (nfds=3D1, readfds=3Dreadfds@entry=3D0x7ffd= afb3f020, =C2=A0=C2=A0=C2=A0 writefds=3Dwritefds@entry=3D0x0, exceptfds=3Dexceptfds@e= ntry=3D0x0, timeout=3D, =C2=A0=C2=A0=C2=A0 timeout@entry=3D0x0, sigmask=3D0x7ffdafb3efe0, sigmask@e= ntry=3D0x55f28c2904e0 <_rl_orig_sigset>) =C2=A0=C2=A0=C2=A0 at ../sysdeps/unix/sysv/linux/pselect.c:48 48=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 return SYSCALL_CANCEL (pselect= 6, nfds, readfds, writefds, exceptfds, (gdb) continue Continuing. Program received signal SIGINT, Interrupt. 0x00007f11222f528b in __pselect (nfds=3D1, readfds=3Dreadfds@entry=3D0x7ffd= afb3f020, =C2=A0=C2=A0=C2=A0 writefds=3Dwritefds@entry=3D0x0, exceptfds=3Dexceptfds@e= ntry=3D0x0, timeout=3D, =C2=A0=C2=A0=C2=A0 timeout@entry=3D0x0, sigmask=3D0x7ffdafb3efe0, sigmask@e= ntry=3D0x55f28c2904e0 <_rl_orig_sigset>) =C2=A0=C2=A0=C2=A0 at ../sysdeps/unix/sysv/linux/pselect.c:48 48=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 return SYSCALL_CANCEL (pselect= 6, nfds, readfds, writefds, exceptfds, (gdb) continue Continuing. Program received signal SIGINT, Interrupt. 0x00007f11222f528b in __pselect (nfds=3D1, readfds=3Dreadfds@entry=3D0x7ffd= afb3f020, =C2=A0=C2=A0=C2=A0 writefds=3Dwritefds@entry=3D0x0, exceptfds=3Dexceptfds@e= ntry=3D0x0, timeout=3D, =C2=A0=C2=A0=C2=A0 timeout@entry=3D0x0, sigmask=3D0x7ffdafb3efe0, sigmask@e= ntry=3D0x55f28c2904e0 <_rl_orig_sigset>) =C2=A0=C2=A0=C2=A0 at ../sysdeps/unix/sysv/linux/pselect.c:48 48=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 return SYSCALL_CANCEL (pselect= 6, nfds, readfds, writefds, exceptfds, (gdb) continue Continuing. ^[[A Program received signal SIGINT, Interrupt. 0x00007f11222f528b in __pselect (nfds=3D1, readfds=3Dreadfds@entry=3D0x7ffd= afb3f020, =C2=A0=C2=A0=C2=A0 writefds=3Dwritefds@entry=3D0x0, exceptfds=3Dexceptfds@e= ntry=3D0x0, timeout=3D, =C2=A0=C2=A0=C2=A0 timeout@entry=3D0x0, sigmask=3D0x7ffdafb3efe0, sigmask@e= ntry=3D0x55f28c2904e0 <_rl_orig_sigset>) =C2=A0=C2=A0=C2=A0 at ../sysdeps/unix/sysv/linux/pselect.c:48 48=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 return SYSCALL_CANCEL (pselect= 6, nfds, readfds, writefds, exceptfds, (gdb) continue Continuing. Program received signal SIGINT, Interrupt. 0x00007f11222f528b in __pselect (nfds=3D1, readfds=3Dreadfds@entry=3D0x7ffd= afb3f020, =C2=A0=C2=A0=C2=A0 writefds=3Dwritefds@entry=3D0x0, exceptfds=3Dexceptfds@e= ntry=3D0x0, timeout=3D, =C2=A0=C2=A0=C2=A0 timeout@entry=3D0x0, sigmask=3D0x7ffdafb3efe0, sigmask@e= ntry=3D0x55f28c2904e0 <_rl_orig_sigset>) =C2=A0=C2=A0=C2=A0 at ../sysdeps/unix/sysv/linux/pselect.c:48 48=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 return SYSCALL_CANCEL (pselect= 6, nfds, readfds, writefds, exceptfds, (gdb) continue Continuing. Program received signal SIGINT, Interrupt. 0x00007f11222f528b in __pselect (nfds=3D1, readfds=3Dreadfds@entry=3D0x7ffd= afb3f020, =C2=A0=C2=A0=C2=A0 writefds=3Dwritefds@entry=3D0x0, exceptfds=3Dexceptfds@e= ntry=3D0x0, timeout=3D, =C2=A0=C2=A0=C2=A0 timeout@entry=3D0x0, sigmask=3D0x7ffdafb3efe0, sigmask@e= ntry=3D0x55f28c2904e0 <_rl_orig_sigset>) =C2=A0=C2=A0=C2=A0 at ../sysdeps/unix/sysv/linux/pselect.c:48 48=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 return SYSCALL_CANCEL (pselect= 6, nfds, readfds, writefds, exceptfds, (gdb) On Thursday, August 20, 2020, 7:29:38 AM PDT, Chet Ramey wrote:=20 On 8/19/20 4:55 PM, George R Goffe wrote: > Chet, >=20 > I tried several times to create the problem. I think I succeeded. I did i= nstall the "debuginfo" files I could find but it looks like libnss_sss.so's= debuginfo isn't built properly? It's supplied by sssd-client. I tried inst= alling sssd-client-debuginfo but it is already installed. I don't remember = doing that. Sigh... Somehow libnss_sss.so is referenced by bash? That's wha= t gdb thinks. Yep, it needs it to get access to user and group data for things like tilde expansion. > Anyway, I tried causing the problem. ls -al zzz and then ctrl-c = with seemingly no response. I'll have to try running gdb in another konsole= so I can watch what happens when I ... I'll do that now. Stand by.= =20 The trace you sent shows readline waiting in pselect for user input, so it must be after the directory read was interrupted. The only thing I can suggest is to defer the attach in gdb until bash appears frozen. That may not work, but it's better than what you got. --=20 ``The lyf so short, the craft so long to lerne.'' - Chaucer =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 ``Ars longa, vita brevis'' - Hippocra= tes Chet Ramey, UTech, CWRU=C2=A0 =C2=A0 chet@case.edu=C2=A0 =C2=A0 http://tisw= ww.cwru.edu/~chet/