Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#16141 - [bash] crashes when using auto-completion

Attached to Project: Arch Linux
Opened by Jan-Marten Brüggemann (Fusselkater) - Friday, 11 September 2009, 13:31 GMT
Last edited by Roman Kyrylych (Romashka) - Sunday, 04 October 2009, 18:27 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Aaron Griffin (phrakture)
Architecture i686
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Package version: 4.0.028-1

Description:
When I try to auto-complete this:

wine "C:\windows\

I know, that i cannot auto-complete this, but when I press tab twice bash crashes with the following error:

[jbruegge@Cheetah ~]$ wine "C:\windows\*** glibc detected *** /bin/bash: free(): invalid pointer: 0x083683b8 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7e21581]
/lib/libc.so.6[0xb7e22c82]
/lib/libc.so.6(cfree+0x6d)[0xb7e25d4d]
/lib/libreadline.so.6(rl_filename_completion_function+0x15e)[0xb7f6a18e]
/lib/libreadline.so.6(rl_completion_matches+0x68)[0xb7f6a858]
/lib/libreadline.so.6[0xb7f6a963]
/lib/libreadline.so.6(rl_complete_internal+0x120)[0xb7f6bca0]
/lib/libreadline.so.6(rl_complete+0x5d)[0xb7f6c0fd]
/lib/libreadline.so.6(_rl_dispatch_subseq+0xbf)[0xb7f62e5f]
/lib/libreadline.so.6(_rl_dispatch+0x34)[0xb7f63254]
/lib/libreadline.so.6(readline_internal_char+0xb3)[0xb7f63653]
/lib/libreadline.so.6(readline+0x6d)[0xb7f63b3d]
/bin/bash[0x8060f39]
/bin/bash[0x806043e]
/bin/bash[0x80630d2]
/bin/bash(yyparse+0x40b)[0x8065b0b]
/bin/bash(parse_command+0x60)[0x805e480]
/bin/bash(read_command+0x5f)[0x805e53f]
/bin/bash(reader_loop+0x155)[0x805e785]
/bin/bash(main+0xe2c)[0x805de4c]
/lib/libc.so.6(__libc_start_main+0xe6)[0xb7dcca36]
/bin/bash[0x805be61]
======= Memory map: ========
08048000-080da000 r-xp 00000000 08:01 6015 /bin/bash
080da000-080dd000 rwxp 00091000 08:01 6015 /bin/bash
080dd000-080e3000 rwxp 00000000 00:00 0
0833f000-08381000 rwxp 00000000 00:00 0 [heap]
b7b00000-b7b21000 rwxp 00000000 00:00 0
b7b21000-b7c00000 ---p 00000000 00:00 0
b7c23000-b7c40000 r-xp 00000000 08:01 6249 /usr/lib/libgcc_s.so.1
b7c40000-b7c41000 rwxp 0001c000 08:01 6249 /usr/lib/libgcc_s.so.1
b7c63000-b7c6d000 r-xp 00000000 08:01 289 /lib/libnss_files-2.10.1.so
b7c6d000-b7c6e000 r-xp 00009000 08:01 289 /lib/libnss_files-2.10.1.so
b7c6e000-b7c6f000 rwxp 0000a000 08:01 289 /lib/libnss_files-2.10.1.so
b7c6f000-b7db4000 r-xp 00000000 08:01 613 /usr/lib/locale/locale-archive
b7db4000-b7db6000 rwxp 00000000 00:00 0
b7db6000-b7ef6000 r-xp 00000000 08:01 276 /lib/libc-2.10.1.so
b7ef6000-b7ef8000 r-xp 0013f000 08:01 276 /lib/libc-2.10.1.so
b7ef8000-b7ef9000 rwxp 00141000 08:01 276 /lib/libc-2.10.1.so
b7ef9000-b7efc000 rwxp 00000000 00:00 0
b7efc000-b7efe000 r-xp 00000000 08:01 258 /lib/libdl-2.10.1.so
b7efe000-b7eff000 r-xp 00001000 08:01 258 /lib/libdl-2.10.1.so
b7eff000-b7f00000 rwxp 00002000 08:01 258 /lib/libdl-2.10.1.so
b7f00000-b7f4a000 r-xp 00000000 08:01 3643 /lib/libncursesw.so.5.7
b7f4a000-b7f4d000 rwxp 0004a000 08:01 3643 /lib/libncursesw.so.5.7
b7f4d000-b7f54000 r-xp 00000000 08:01 5979 /lib/libhistory.so.6.0
b7f54000-b7f55000 rwxp 00006000 08:01 5979 /lib/libhistory.so.6.0
b7f55000-b7f84000 r-xp 00000000 08:01 5978 /lib/libreadline.so.6.0
b7f84000-b7f88000 rwxp 0002f000 08:01 5978 /lib/libreadline.so.6.0
b7f88000-b7f8a000 rwxp 00000000 00:00 0
b7fab000-b7fac000 rwxp 00000000 00:00 0
b7fac000-b7fad000 r-xp 00000000 00:00 0 [vdso]
b7fad000-b7fc9000 r-xp 00000000 08:01 292 /lib/ld-2.10.1.so
b7fc9000-b7fca000 r-xp 0001b000 08:01 292 /lib/ld-2.10.1.so
b7fca000-b7fcb000 rwxp 0001c000 08:01 292 /lib/ld-2.10.1.so
bf955000-bf96a000 rw-p 00000000 00:00 0 [stack]


Hinweis: Das Programm „/bin/bash“ ist abgestürzt.

This task depends upon

Closed by  Roman Kyrylych (Romashka)
Sunday, 04 October 2009, 18:27 GMT
Reason for closing:  Upstream
Additional comments about closing:  reported upstream: http://lists.gnu.org/archive/html/bug-ba sh/2009-10/msg00014.html Will be fixed in 4.1.
Comment by Aaron Griffin (phrakture) - Tuesday, 15 September 2009, 19:58 GMT
Weird. What happens if you use double slashes?
wine "C:\\windows\\<tab>
Comment by Jan-Marten Brüggemann (Fusselkater) - Wednesday, 16 September 2009, 06:30 GMT
It only happens, when i try wine "C:\windows\<tab>

wine "C:\\windows\<tab> - No crash
wine "C:\\windows\\<tab> - No crash
wine "C:\windows\\<tab> - No crash
Comment by Aaron Griffin (phrakture) - Wednesday, 16 September 2009, 21:33 GMT
Seems like an upstream bug to me. Are you using bash_completion? Try with or without it just to narrow this down more.

Still, I'd report this upstream. You can use "bashbug" to do this

Loading...