Bug 100342 - Kuser crash when adding group to existing user
Summary: Kuser crash when adding group to existing user
Status: RESOLVED DUPLICATE of bug 100443
Alias: None
Product: kuser
Classification: Miscellaneous
Component: general (show other bugs)
Version: 2.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Szombathelyi György
URL:
Keywords:
: 105416 111788 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-26 23:33 UTC by Magnus Larsson
Modified: 2005-08-31 07:40 UTC (History)
2 users (show)

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 Magnus Larsson 2005-02-26 23:33:15 UTC
Version:           2.0 (using KDE 3.4.0, compiled sources)
Compiler:          gcc version 3.4.2
OS:                Linux (i686) release 2.6.10

Kuser crashes when trying to add a group to an existing user.

Testcase:
kdesu kuser
1) Give root password.
2) Select a user by double clicking on user line in the list.
3) Select an unused group to add. Click to tick mark the new group.
=> Kdesu crashes. The backtrace follows:

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1239144112 (LWP 26371)]
[KCrash handler]
#7  0x080730be in propdlg::slotOk (this=0xbfffe810) at qcheckbox.h:85
#8  0xb7a2c1fe in KDialogBase::qt_invoke ()
   from /opt/kde-3.4-rc1/lib/libkdeui.so.4
#9  0x08075453 in propdlg::qt_invoke (this=0xb7b2794c, _id=-1073750816, 
    _o=0xb9) at propdlg.moc:102
#10 0xb70e0704 in QObject::activate_signal ()
   from /opt/qt-3.3.4/lib/libqt-mt.so.3
#11 0xb70e0e9c in QObject::activate_signal ()
   from /opt/qt-3.3.4/lib/libqt-mt.so.3
#12 0xb743e27c in QButton::clicked () from /opt/qt-3.3.4/lib/libqt-mt.so.3
#13 0xb7178711 in QButton::mouseReleaseEvent ()
   from /opt/qt-3.3.4/lib/libqt-mt.so.3
#14 0xb711a5e4 in QWidget::event () from /opt/qt-3.3.4/lib/libqt-mt.so.3
#15 0xb707c99f in QApplication::internalNotify ()
   from /opt/qt-3.3.4/lib/libqt-mt.so.3
#16 0xb707cbf6 in QApplication::notify () from /opt/qt-3.3.4/lib/libqt-mt.so.3
#17 0xb76a96c5 in KApplication::notify ()
   from /opt/kde-3.4-rc1/lib/libkdecore.so.4
#18 0xb7016e2b in QETWidget::translateMouseEvent ()
   from /opt/qt-3.3.4/lib/libqt-mt.so.3
#19 0xb70152b1 in QApplication::x11ProcessEvent ()
   from /opt/qt-3.3.4/lib/libqt-mt.so.3
#20 0xb7028805 in QEventLoop::processEvents ()
   from /opt/qt-3.3.4/lib/libqt-mt.so.3
#21 0xb70930d1 in QEventLoop::enterLoop () from /opt/qt-3.3.4/lib/libqt-mt.so.3
#22 0xb707bb2f in QApplication::enter_loop ()
   from /opt/qt-3.3.4/lib/libqt-mt.so.3
#23 0xb7276572 in QDialog::exec () from /opt/qt-3.3.4/lib/libqt-mt.so.3
#24 0x080702bc in mainView::userSelected (this=0x81bcce8) at mainView.cpp:358
#25 0x08071871 in mainView::qt_invoke (this=0x81bcce8, _id=50, _o=0xb9)
    at mainView.moc:125
#26 0xb70e0704 in QObject::activate_signal ()
   from /opt/qt-3.3.4/lib/libqt-mt.so.3
#27 0xb7449c90 in QListView::doubleClicked ()
   from /opt/qt-3.3.4/lib/libqt-mt.so.3
#28 0xb79c5b10 in KListView::contentsMouseDoubleClickEvent ()
   from /opt/kde-3.4-rc1/lib/libkdeui.so.4
#29 0xb71fcf55 in QScrollView::viewportMouseDoubleClickEvent ()
   from /opt/qt-3.3.4/lib/libqt-mt.so.3
#30 0xb71ff524 in QScrollView::eventFilter ()
   from /opt/qt-3.3.4/lib/libqt-mt.so.3
#31 0xb71cc878 in QListView::eventFilter ()
   from /opt/qt-3.3.4/lib/libqt-mt.so.3
#32 0xb70ddb0f in QObject::activate_filters ()
   from /opt/qt-3.3.4/lib/libqt-mt.so.3
#33 0xb70ddbe4 in QObject::event () from /opt/qt-3.3.4/lib/libqt-mt.so.3
#34 0xb711a05f in QWidget::event () from /opt/qt-3.3.4/lib/libqt-mt.so.3
#35 0xb707c99f in QApplication::internalNotify ()
   from /opt/qt-3.3.4/lib/libqt-mt.so.3
#36 0xb707cbf6 in QApplication::notify () from /opt/qt-3.3.4/lib/libqt-mt.so.3
#37 0xb76a96c5 in KApplication::notify ()
   from /opt/kde-3.4-rc1/lib/libkdecore.so.4
#38 0xb7016e2b in QETWidget::translateMouseEvent ()
   from /opt/qt-3.3.4/lib/libqt-mt.so.3
#39 0xb70152b1 in QApplication::x11ProcessEvent ()
   from /opt/qt-3.3.4/lib/libqt-mt.so.3
#40 0xb7028805 in QEventLoop::processEvents ()
   from /opt/qt-3.3.4/lib/libqt-mt.so.3
#41 0xb70930d1 in QEventLoop::enterLoop () from /opt/qt-3.3.4/lib/libqt-mt.so.3
#42 0xb7093026 in QEventLoop::exec () from /opt/qt-3.3.4/lib/libqt-mt.so.3
#43 0xb707baff in QApplication::exec () from /opt/qt-3.3.4/lib/libqt-mt.so.3
#44 0x0806eef3 in main (argc=185, argv=0xb9) at main.cpp:64

The same thing happened to me using kde-3.4-beta2 compiled from sources.

Sincerely,

Magnus Larsson
Comment 1 Magnus Larsson 2005-02-26 23:36:14 UTC
Hello again, 

This did not happen using kde-3.3.2, compiled from sources.

uname -a
Linux lfs 2.6.10 #1 Sat Jan 15 08:40:36 CET 2005 i686 athlon i386 GNU/Linux

Best regards,

Magnus Larsson
Comment 2 Maxwell S Correia 2005-04-11 07:00:24 UTC
Hello, the same error happened to me using Kubuntu 5.04 final (kuser 4:3.4.0-0ubuntu1):


Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".

`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.

[Thread debugging using libthread_db enabled]
[New Thread -1230610304 (LWP 7927)]

[KCrash handler]
#4  0x08072e90 in KUser::~KUser ()
#5  0xb7ec43e3 in KDialogBase::qt_invoke () from /usr/lib/libkdeui.so.4
#6  0x080735d5 in KUser::~KUser ()
#7  0xb7089067 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#8  0xb7088eae in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#9  0xb73aaf12 in QButton::clicked () from /usr/lib/libqt-mt.so.3
#10 0xb7114eae in QButton::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
#11 0xb70bc7e9 in QWidget::event () from /usr/lib/libqt-mt.so.3
#12 0xb7031370 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#13 0xb7030ac7 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#14 0xb78ab960 in KApplication::notify () from /usr/lib/libkdecore.so.4
#15 0xb6fca12f in QETWidget::translateMouseEvent ()
   from /usr/lib/libqt-mt.so.3
#16 0xb6fc7e1c in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#17 0xb6fddec2 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#18 0xb704274c in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#19 0xb70315d3 in QApplication::enter_loop () from /usr/lib/libqt-mt.so.3
#20 0xb720320c in QDialog::exec () from /usr/lib/libqt-mt.so.3
#21 0x0806bb21 in KUser::~KUser ()
#22 0x0806c549 in KUser::~KUser ()
#23 0xb7089067 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#24 0xb73b58b8 in QListView::doubleClicked () from /usr/lib/libqt-mt.so.3
#25 0xb7e65082 in KListView::contentsMouseDoubleClickEvent ()
   from /usr/lib/libkdeui.so.4
#26 0xb71931c6 in QScrollView::viewportMouseDoubleClickEvent ()
   from /usr/lib/libqt-mt.so.3
#27 0xb7192a21 in QScrollView::eventFilter () from /usr/lib/libqt-mt.so.3
#28 0xb7163338 in QListView::eventFilter () from /usr/lib/libqt-mt.so.3
#29 0xb7086b01 in QObject::activate_filters () from /usr/lib/libqt-mt.so.3
#30 0xb7086a5d in QObject::event () from /usr/lib/libqt-mt.so.3
#31 0xb70bc76f in QWidget::event () from /usr/lib/libqt-mt.so.3
#32 0xb7031370 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#33 0xb7030ac7 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#34 0xb78ab960 in KApplication::notify () from /usr/lib/libkdecore.so.4
#35 0xb6fca12f in QETWidget::translateMouseEvent ()
   from /usr/lib/libqt-mt.so.3
#36 0xb6fc7e1c in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#37 0xb6fddec2 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#38 0xb704274c in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#39 0xb704260e in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#40 0xb703157b in QApplication::exec () from /usr/lib/libqt-mt.so.3
#41 0x0806a49e in KUser::~KUser ()
#42 0xb7a3d8c8 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#43 0x08059fa1 in ?? ()
Comment 3 Maksim Orlovich 2005-04-12 05:53:29 UTC
Hi.  In your source builds, can you please try:
http://bugs.kde.org/attachment.cgi?id=10409&action=view

and see if it fixes your issue?
Comment 4 Magnus Larsson 2005-04-12 21:05:21 UTC
Hello Maksim Orlovich,

Your patch works for me, as per testcase, applied to kde-3.4.0 source.

Thank you,

Best regards,

Magnus Larsson
Comment 5 Maksim Orlovich 2005-04-12 21:08:15 UTC
Thanks you for testing it. This change will be included in 3.4.1


*** This bug has been marked as a duplicate of 100443 ***
Comment 6 Stephan Binner 2005-05-15 21:10:15 UTC
*** Bug 105416 has been marked as a duplicate of this bug. ***
Comment 7 Szombathelyi György 2005-08-31 07:40:32 UTC
*** Bug 111788 has been marked as a duplicate of this bug. ***