Version: (using KDE KDE 3.5.8) Installed from: Ubuntu Packages OS: Linux 1 - Open a new Konsole window 2 - In the Konsole window enter the command: script x 3 - Press the backspace key, to cause a bell character to be written The result is that the script command exists immediately, which should not happen. 4 - enter again the command script x 5 - press the backspace key This time the command does not terminate, which is the correct behavior. If before step 2 you open and close the About dialog, or the Configure konsole dialog, then script does not crash. The problem does not occur when using gnome-terminal or xterm instead of konsole. The event that causes the crash seems to be outputting a bell character (^G) to the terminal. You can type the command echo ^G #(type e, c, h, o, space, control-v, control-g, enter) instead of pressing the backspace key and the results will be the same. If before step 2 or before step 3 I open and close the Settings menu (by clicking twice on it), then the problem does not occur. If, however, I do the same with any other menu (Session, Edit, View, Bookmarks or Help), script still crashes. The same actions did not cause a crash in Ubuntu 7.04. It only started happening when I upgraded to Ubuntu 7.10 (with the new KDE). I tried the same after removing all ~/.kde/share/config/session/konsole_* files and the error still happens. This *may* be a bug in /usr/bin/script, but the symptoms suggest it is very much affected by something in the Konsole environment, which changes when I open a dialog box or run a command in the window. I looked for a place to report a bug in /usr/bin/script, but could not find one. Does anybody know where I should report this in case the problem is really there? Here are the contents of my .kde/share/config/konsolerc and konsole.eventsrc : ------------ start konsolerc --------- [$Version] update_info=konsole.upd:kde2.2/r1,konsole.upd:kde3.0/r1 [Desktop Entry] ActiveSession=0 AllowResize=false AutoResizeTabs=false BlinkingCursor=false CtrlDrag=true CutToBeginningOfLine=true DefaultSession=shell.desktop DynamicTabHide=false EnableBidi=false EncodingName=Default Fullscreen=false Height 1024=341 LineSpacing=0 MatchTabWinTitle=false SilenceSeconds=10 TabColor=0,0,0 TabViewMode=0 TerminalSizeHint=false WarnQuit=true Width 1280=622 XonXoff=false bellmode=0 class=konsole-mainwindow#1 defaultfont=Andale Mono,9,-1,5,50,0,0,0,0,0 has frame=true history=2000 historyenabled=true keytab=linux schema=BlackOnWhite.schema scrollbar=2 tabbar=2 wordseps=:@-./_~ [General] ShowAlternativeShortcutConfig=false [Shortcuts] edit_copy=Ctrl+Insert [TipOfDay] TipLastShown=2007,10,20,1,3,17 ------------ end --------- ------------ start konsole.eventsrc --------- [Activity] commandline= logfile= presentation=16 soundfile= [BellInvisible] commandline= logfile= presentation=16 soundfile=KDE_Beep_Connect.ogg [BellVisible] commandline= logfile= presentation=0 soundfile= [Finished] commandline= logfile= presentation=0 soundfile= [Silence] commandline= logfile= presentation=16 soundfile= ------------ end ---------
Additional info: The same crash happens when resizing the konsole window, except this time it happens always, regardless of the konsole window being new.
> It only started happening when I upgraded to Ubuntu 7.10 (with the new KDE). Nothing changed in Konsole between Ubuntu 7.04 and Ubuntu 7.10 as far as I know, so likely a problem elsewhere.
Closing as per comment #2. If more debugging shows that Konsole is indeed doing something wrong then I will re-open.