Bug 191093

Summary: konsole crash on tab completion
Product: [Applications] konsole Reporter: Raffaele Castagno <raffaele.castagno>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: raffaele.castagno, robertknight
Priority: NOR    
Version: 1.6.6   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Raffaele Castagno 2009-04-30 01:00:31 UTC
Version:           1.6.6 (using 3.5.10 "release 27" , openSUSE )
Compiler:          Target: i586-suse-linux
OS:                Linux (i686) release 2.6.29-6-default

In a konsole window, type this:
"-\
(double quotes, minus, backslash)

at this point, pressing TAB key for autocompletion causes konsole to crash silently, instead it should beep on error like bash does.
Comment 1 Robert Knight 2009-04-30 10:58:22 UTC
bash is the program which provides the tab completion - not Konsole.  Can you try running Konsole with the --noclose argument and see whether Konsole still quits unexpectedly?
Comment 2 Raffaele Castagno 2009-05-03 08:37:23 UTC
with --noclose now I get this dump, but can't tell if it's a bash or konsole problem:

raffaele@linux:~> "-\*** glibc detected *** /bin/bash: free(): invalid pointer: 0x081625d0 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7ec8644]
/lib/libc.so.6(cfree+0x3b)[0xb7ec9ecb]
/lib/libreadline.so.6(rl_filename_completion_function+0x60a)[0xb7fd29ba]
/bin/bash(command_word_completion_function+0x6a4)[0x80a7bb8]
/lib/libreadline.so.6(rl_completion_matches+0x5b)[0xb7fd384b]
/bin/bash(bash_default_completion+0x6b)[0x80a802b]
/bin/bash[0x80a909c]
/lib/libreadline.so.6[0xb7fd3919]
/lib/libreadline.so.6(rl_complete_internal+0x127)[0xb7fd4e77]
/lib/libreadline.so.6(rl_complete+0x5d)[0xb7fd52ad]
/lib/libreadline.so.6(_rl_dispatch_subseq+0xcf)[0xb7fcbf6f]
/lib/libreadline.so.6(_rl_dispatch+0x34)[0xb7fcc3b4]
/lib/libreadline.so.6(readline_internal_char+0xb9)[0xb7fcc7e9]
/lib/libreadline.so.6(readline+0x6d)[0xb7fccced]
/bin/bash[0x80608c1]
/bin/bash[0x806170e]
/bin/bash[0x8064895]
/bin/bash(yyparse+0xd8)[0x80677c8]
/bin/bash(parse_command+0x2f)[0x805ee7f]
/bin/bash(read_command+0x106)[0x805f026]
/bin/bash(reader_loop+0x7b)[0x805f12b]
/bin/bash(main+0x735)[0x805d635]
/lib/libc.so.6(__libc_start_main+0xe5)[0xb7e72705]
/bin/bash[0x805bf81]
======= Memory map: ========
08048000-080e9000 r-xp 00000000 03:04 1113686    /bin/bash
080e9000-080ea000 r--p 000a0000 03:04 1113686    /bin/bash
080ea000-080ec000 rw-p 000a1000 03:04 1113686    /bin/bash
080ec000-081d7000 rw-p 080ec000 00:00 0          [heap]
b7c60000-b7c7d000 r-xp 00000000 03:04 1112820    /lib/libgcc_s.so.1
b7c7d000-b7c7e000 r--p 0001c000 03:04 1112820    /lib/libgcc_s.so.1
b7c7e000-b7c7f000 rw-p 0001d000 03:04 1112820    /lib/libgcc_s.so.1
b7cc0000-b7cf5000 r--s 00000000 03:04 1979593    /appcache/boot/passwd (deleted)
b7cf5000-b7d34000 r--p 00000000 03:04 1112315    /usr/lib/locale/en_US.utf8/LC_CTYPE
b7d34000-b7e1d000 r--p 00000000 03:04 1112311    /usr/lib/locale/en_US.utf8/LC_COLLATE
b7e1d000-b7e1f000 rw-p b7e1d000 00:00 0
b7e1f000-b7e56000 r-xp 00000000 03:04 731165     /lib/libncurses.so.5.6
b7e56000-b7e58000 r--p 00036000 03:04 731165     /lib/libncurses.so.5.6
b7e58000-b7e5c000 rw-p 00038000 03:04 731165     /lib/libncurses.so.5.6
b7e5c000-b7fb1000 r-xp 00000000 03:04 731121     /lib/libc-2.9.so
b7fb1000-b7fb2000 ---p 00155000 03:04 731121     /lib/libc-2.9.so
b7fb2000-b7fb4000 r--p 00155000 03:04 731121     /lib/libc-2.9.so
b7fb4000-b7fb5000 rw-p 00157000 03:04 731121     /lib/libc-2.9.so
b7fb5000-b7fb8000 rw-p b7fb5000 00:00 0
b7fb8000-b7fbb000 r-xp 00000000 03:04 731127     /lib/libdl-2.9.so
b7fbb000-b7fbc000 r--p 00002000 03:04 731127     /lib/libdl-2.9.so
b7fbc000-b7fbd000 rw-p 00003000 03:04 731127     /lib/libdl-2.9.so
b7fbd000-b7ff2000 r-xp 00000000 03:04 729427     /lib/libreadline.so.6.0
b7ff2000-b7ff3000 r--p 00035000 03:04 729427     /lib/libreadline.so.6.0
b7ff3000-b7ff6000 rw-p 00036000 03:04 729427     /lib/libreadline.so.6.0
b7ff6000-b7ff8000 rw-p b7ff6000 00:00 0
b8027000-b8028000 rw-p b8027000 00:00 0
b8028000-b8029000 r--p 00000000 03:04 1112314    /usr/lib/locale/en_US.utf8/LC_NUMERIC
b8029000-b802a000 r--p 00000000 03:04 1112313    /usr/lib/locale/en_US.utf8/LC_TIME
b802a000-b802b000 r--p 00000000 03:04 1112307    /usr/lib/locale/en_US.utf8/LC_MONETARY
b802b000-b802c000 r--p 00000000 03:04 1112306    /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
b802c000-b802d000 r--p 00000000 03:04 1112303    /usr/lib/locale/en_US.utf8/LC_PAPER
b802d000-b802e000 r--p 00000000 03:04 1112302    /usr/lib/locale/en_US.utf8/LC_NAME
b802e000-b802f000 r--p 00000000 03:04 1112297    /usr/lib/locale/en_US.utf8/LC_ADDRESS
b802f000-b8030000 r--p 00000000 03:04 1112283    /usr/lib/locale/en_US.utf8/LC_TELEPHONE
b8030000-b8031000 r--p 00000000 03:04 1112282    /usr/lib/locale/en_US.utf8/LC_MEASUREMENT
b8031000-b8038000 r--s 00000000 03:04 1112279    /usr/lib/gconv/gconv-modules.cache
b8038000-b8039000 r--p 00000000 03:04 1112278    /usr/lib/locale/en_US.utf8/LC_IDENTIFICATION
b8039000-b803a000 rw-p b8039000 00:00 0
b803a000-b8058000 r-xp 00000000 03:04 730506     /lib/ld-2.9.so
b8058000-b8059000 r--p 0001d000 03:04 730506     /lib/ld-2.9.so
b8059000-b805a000 rw-p 0001e000 03:04 730506     /lib/ld-2.9.so
bff44000-bff59000 rw-p bffeb000 00:00 0          [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0          [vdso]
Comment 3 Robert Knight 2009-05-03 14:00:11 UTC
Hi Raffaele,

I marked this report as UNMAINTAINED because we do not provide updates for KDE 3 any more.  I might be able to help find out where the problem is but if it turns out to be a problem with Konsole, which I think is unlikely given that is is bash that is crashing, we won't be able to 'fix' it.