Bug#972672: bash SIGSEGV related to locale

2020-11-04 Thread Chet Ramey
On 11/4/20 7:16 AM, Thomas Schwinge wrote: >> I suspect that the bug is the "len" argument on the previous line >> n = wcsrtombs(pathname, (const wchar_t **)&wpathname, len, &ps); >> >> Here "len" is byte length obtained for the original string from >> strlen(). But the call seems to expect the

Bug#972672: bash SIGSEGV related to locale

2020-11-04 Thread Thomas Schwinge
Hi! I saw your message only when now looking at -- apparently, the Debian BTS doesn't put the submitter (me) onto CC by default? (Strange.) Anyway: On 2020-10-25T04:36:58+0200, Uoti Urpala wrote: > On Thu, 22 Oct 2020 11:47:44 +0200 Thomas Schwinge > wrote:

Bug#972672: bash SIGSEGV related to locale

2020-11-04 Thread Thomas Schwinge
Control: forcemerge 972286 -1 Hi! On 2020-10-22T11:47:44+0200, I wrote: > [...], SIGSEGV, supposedly when bash tries to expand the last path > component glob ('*'): > 2020-10-22 06:51:53 upgrade bash:amd64 5.0-7 5.1~rc1-2 > [...] > > So that's probably it. I'll later retry with downgra

Bug#972672: bash SIGSEGV related to locale

2020-10-24 Thread Uoti Urpala
On Thu, 22 Oct 2020 11:47:44 +0200 Thomas Schwinge wrote: > ..., that is, SIGSEGV, supposedly when bash tries to expand the last path > component glob ('*'): I also encountered this bug. After installing bash-dbgsym, gdb says it crashes at glob.c line 487 in wdequote_pathname(). The immediate cau

Bug#972672: bash SIGSEGV related to locale

2020-10-22 Thread Matthias Klose
On 10/22/20 11:47 AM, Thomas Schwinge wrote: > So that's probably it. I'll later retry with downgraded bash. please use the bashbug script to forward that issue, if that's new behavior in 5.1.

Bug#972672: bash SIGSEGV related to locale

2020-10-22 Thread Thomas Schwinge
Package: bash Version: 5.1~rc1-2 Hi! Up-to-date Debian testing GNU/Linux x86_64 system. Given a directory/path '/home/thomas/Mail/thomas\@schwinge.name/list/käufer\*innen-forum.forum.fairmondo.de': special characters '@', 'ä' ('\303\244'), '*', and directory content as follows: $ find /hom