Bug 156041

Summary: Show start page causes startup and shutdown SIGABRT
Product: [Applications] krdc Reporter: Michael Ritchie <mritchie>
Component: generalAssignee: Urs Wolfer <uwolfer>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Michael Ritchie 2008-01-17 22:31:40 UTC
Version:            (using KDE 4.0.0)
Installed from:    Ubuntu Packages

In KRDC if you disable "Show start page" it seems to cause 3 SIGABRT crashes depending on when you change the setting.

If you disable it then attempt to open a tab KRDC will crash. If you have an open vnc/rdp connection then disable it, the failure will happen when you close the program. Upon starting KRDC if you have "Remember open sessions for next startup" in conjunction with "show start page" it will SIGABRT on startup.

It looks like the setting is causing an off-by one error in qlist.h. In all the above cases the output from KRDC is as follows:

ASSERT failure in QList<T>::at: "index out of range", file /usr/include/qt4/QtCore/qlist.h, line 386
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = krdc path = <unknown> pid = 11105
sock_file=/home/mritchie/.kde/socket-walkman/kdeinit4__0
Warning: connect() failed: : No such file or directory
Comment 1 Michael Ritchie 2008-01-17 22:35:56 UTC
Small clarification on the 3rd crash: "show start page" has to be disabled, and remember session has to be enabled.
Comment 2 Urs Wolfer 2008-01-17 23:36:13 UTC
SVN commit 762816 by uwolfer:

Fix off-by-one errors when start page has been disabled.
BUG:156041

 M  +4 -3      mainwindow.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=762816