Summary: | kcmshell signal 11 on login manager load | ||
---|---|---|---|
Product: | kcontrol | Reporter: | Derek Kite <dkite> |
Component: | kcmkdm | Assignee: | kdm bugs tracker <kdm-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | aseigo |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Derek Kite
2002-12-11 03:04:50 UTC
i cannot claim that i would understand what is going on ... can you attach gdb manually and use "where full" instead of "bt"? does the following patch help: Index: kdm-users.cpp =================================================================== RCS file: /home/kde/kdebase/kcontrol/kdm/kdm-users.cpp,v retrieving revision 1.66 diff -u -3 -d -p -r1.66 kdm-users.cpp --- kdm-users.cpp 27 Dec 2002 18:32:21 -0000 1.66 +++ kdm-users.cpp 28 Dec 2002 02:07:58 -0000 @@ -410,7 +410,8 @@ void KDMUsersWidget::slotAddUsers(const } optinlv->sort(); optoutlv->sort(); - usercombo->listBox()->sort(); + if (userCombo->listBox()) + usercombo->listBox()->sort(); } void KDMUsersWidget::slotDelUsers(const QMap<QString,int> &users) Subject: Re: kcmshell signal 11 on login manager load Sorry for the delay. No difference. I also added a check on line 410... if (usercombo) usercombo->insertItem(*name); and no difference. Odd thing, if it isn't root, it loads, and the user list seems ok, although disabled. With root privileges, it crashes. Derek On December 27, 2002 06:08 pm, you wrote: > ------- You are receiving this mail because: ------- > You reported the bug, or are watching the reporter. > > http://bugs.kde.org/show_bug.cgi?id=51745 > > > > > ------- Additional Comments From aseigo@olympusproject.org 2002-12-28 > 03:08 ------- does the following patch help: > > Index: kdm-users.cpp > =================================================================== > RCS file: /home/kde/kdebase/kcontrol/kdm/kdm-users.cpp,v > retrieving revision 1.66 > diff -u -3 -d -p -r1.66 kdm-users.cpp > --- kdm-users.cpp 27 Dec 2002 18:32:21 -0000 1.66 > +++ kdm-users.cpp 28 Dec 2002 02:07:58 -0000 > @@ -410,7 +410,8 @@ void KDMUsersWidget::slotAddUsers(const > } > optinlv->sort(); > optoutlv->sort(); > - usercombo->listBox()->sort(); > + if (userCombo->listBox()) > + usercombo->listBox()->sort(); > } > > void KDMUsersWidget::slotDelUsers(const QMap<QString,int> &users) Subject: Re: kcmshell signal 11 on login manager load Ha. In kdm-conv.cpp add if (userlb->listBox()) on line 312. It doesn't crash. Hmm. Another odd thing is the window holding the whole 'kcmshell System/kdm' is way too wide. This is root. User privileges, things look normal. Is there a configuration file somewhere that it is reading, and messing things up? Derek On December 27, 2002 06:08 pm, you wrote: > ------- You are receiving this mail because: ------- > You reported the bug, or are watching the reporter. > > http://bugs.kde.org/show_bug.cgi?id=51745 > > > > > ------- Additional Comments From aseigo@olympusproject.org 2002-12-28 > 03:08 ------- does the following patch help: > > Index: kdm-users.cpp > =================================================================== > RCS file: /home/kde/kdebase/kcontrol/kdm/kdm-users.cpp,v > retrieving revision 1.66 > diff -u -3 -d -p -r1.66 kdm-users.cpp > --- kdm-users.cpp 27 Dec 2002 18:32:21 -0000 1.66 > +++ kdm-users.cpp 28 Dec 2002 02:07:58 -0000 > @@ -410,7 +410,8 @@ void KDMUsersWidget::slotAddUsers(const > } > optinlv->sort(); > optoutlv->sort(); > - usercombo->listBox()->sort(); > + if (userCombo->listBox()) > + usercombo->listBox()->sort(); > } > > void KDMUsersWidget::slotDelUsers(const QMap<QString,int> &users) yes, i caught that after i posted the patch to this bug (and then forgot to add that to bug.. bad Aaron!) it's committed now to HEAD and will be backporting to the 3.1 branch shortly |