Bug 156041 - Show start page causes startup and shutdown SIGABRT
Summary: Show start page causes startup and shutdown SIGABRT
Status: RESOLVED FIXED
Alias: None
Product: krdc
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash (vote)
Target Milestone: ---
Assignee: Urs Wolfer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-17 22:31 UTC by Michael Ritchie
Modified: 2008-01-17 23:36 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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