[Konsole-devel] [Bug 155801] New: xtermcontrol crashes Konsole in KDE 4.0

Jared Sutton jpsutton at gmail.com
Tue Jan 15 03:27:25 UTC 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=155801         
           Summary: xtermcontrol crashes Konsole in KDE 4.0
           Product: konsole
           Version: 2.0
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel kde org
        ReportedBy: jpsutton gmail com


Version:           2.0 (using KDE KDE 4.0.0)
Installed from:    Ubuntu Packages
OS:                Linux

I use xterm windows for my terminal most of the time.  The reason is that I prefer using small fonts, and I haven't found a way to turn off anti-aliasing in Konsole.  So, I've just gotten used to xterm, and since I prefer a green-on-black color scheme, I use the program xtermcontrol to adjust my xterm settings each time a new shell is launched (by placing the xtermcontrol parameters in ~/.bashrc).

Anyway, as I was testing KDE 4.0 (both the PPA packages listed at kubuntu.org and the "official" Gutsy-backports packages) I found that the program xtermcontrol crashes the new version of Konsole.  This is a regression, as this behavior is not observed in the KDE3 version of Konsole.

Steps to reproduce:
1. Make sure the program "xtermcontrol" is installed (http://www.thrysoee.dk/xtermcontrol/)
2. Launch Konsole 2.0 (the version released with KDE 4.0)
3. Execute the following command in the konsole window "xtermcontrol --fg=green --bg=black"

Here's the output I get when Konsole crashes:

konsole(19783) Konsole::Session::setUserTitle: /build/buildd/kdebase-kde4-4.0.0/apps/konsole/src/Session.cpp 353 : setting background colour to  "black"
ASSERT: "0" in file /build/buildd/kdebase-kde4-4.0.0/apps/konsole/src/Session.cpp, line 363
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = konsole path = <unknown> pid = 19783
sock_file=/home/jasutton/.kde4/socket-Jared/kdeinit4__0
Warning: connect() failed: : No such file or directory
KCrash cannot reach kdeinit, launching directly.

After reviewing apps/konsole/src/Session.cpp (in websvn), it appears that some code hasn't been written yet, as there's a comment to that effect in the code, so this appears to be an intentional crash (an explicit "Q_ASSERT(0)").

I wasn't sure if this should be reported in light of the source comments, but if it shouldn't feel free to close this bug report. :)



More information about the konsole-devel mailing list