Bug 181230 - Crash when I close the tab that requests kwallet access
Summary: Crash when I close the tab that requests kwallet access
Status: RESOLVED FIXED
Alias: None
Product: krdc
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Urs Wolfer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-18 20:33 UTC by auxsvr
Modified: 2009-01-25 15:56 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 auxsvr 2009-01-18 20:33:11 UTC
Version:           Version 4.1.96 (KDE 4.1.96 (KDE 4.2 RC1)) "release 76.2" (using Devel)
Compiler:          gcc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291] 
OS:                Linux
Installed from:    Compiled sources

Start RDP connection, a messagebox for kwallet access appears, close the tab that triggered this message, select "Allow once" in the kwallet messagebox, krdc crashes with backtrace:

Application: KRDC (krdc), signal SIGSEGV
[Current thread is 1 (Thread 0xb5fd6700 (LWP 29125))]

Thread 2 (Thread 0xb44a7b90 (LWP 29126)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb68243e1 in select () from /lib/libc.so.6
#2  0xb6b1adc7 in QProcessManager::run (this=0x809b3c8) at io/qprocess_unix.cpp:301
#3  0xb6a4b85e in QThreadPrivate::start (arg=0x809b3c8) at thread/qthread_unix.cpp:185
#4  0xb69e91b5 in start_thread () from /lib/libpthread.so.0
#5  0xb682b38e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb5fd6700 (LWP 29125)):
[KCrash Handler]
#6  0xb6af6794 in QUrl::scheme (this=0x80f69b4) at io/qurl.cpp:4006
#7  0xb6d51c06 in KUrl::prettyUrl(KUrl::AdjustPathOption) const () from /usr/lib/libkdecore.so.5
#8  0x08070ce0 in RemoteView::readWalletPassword(bool) ()
#9  0x08061aca in RdpView::start() ()
#10 0x08076bef in MainWindow::newConnection(KUrl const&, bool) ()
#11 0x08076f32 in MainWindow::openFromDockWidget(QModelIndex const&) ()
#12 0x08077d29 in MainWindow::qt_metacall(QMetaObject::Call, int, void**) ()
#13 0xb6b50580 in QMetaObject::activate (sender=0x8144e48, from_signal_index=33, to_signal_index=33, argv=0xbffce36c) at kernel/qobject.cpp:3031
#14 0xb6b51302 in QMetaObject::activate (sender=0x8144e48, m=0xb77b1e44, local_signal_index=2, argv=0xbffce36c) at kernel/qobject.cpp:3101
#15 0xb74b1fe3 in QAbstractItemView::doubleClicked (this=0x8144e48, _t1=@0x8229328) at .moc/release-shared/moc_qabstractitemview.cpp:323
#16 0xb74fd650 in QTreeView::mouseDoubleClickEvent (this=0x8144e48, event=0xbffcec58) at itemviews/qtreeview.cpp:1792
#17 0xb70498b2 in QWidget::event (this=0x8144e48, event=0xbffcec58) at kernel/qwidget.cpp:7167
#18 0xb737fa83 in QFrame::event (this=0x8144e48, e=0xbffcec58) at widgets/qframe.cpp:651
#19 0xb74161bf in QAbstractScrollArea::viewportEvent (this=0x8144e48, e=0xbffcdef4) at widgets/qabstractscrollarea.cpp:943
#20 0xb74c0f3f in QAbstractItemView::viewportEvent (this=0x8144e48, event=0xbffcec58) at itemviews/qabstractitemview.cpp:1429
#21 0xb74f8ae4 in QTreeView::viewportEvent (this=0x8144e48, event=0xbffcec58) at itemviews/qtreeview.cpp:1252
#22 0xb7418765 in QAbstractScrollAreaFilter::eventFilter (this=0x821d160, o=0x81e74c0, e=0xbffcec58) at widgets/qabstractscrollarea_p.h:96
#23 0xb6b3ab3a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8097a40, receiver=0x81e74c0, event=0xbffcec58) at kernel/qcoreapplication.cpp:694
#24 0xb6ff18da in QApplicationPrivate::notify_helper (this=0x8097a40, receiver=0x81e74c0, e=0xbffcec58) at kernel/qapplication.cpp:3799
#25 0xb6ffa111 in QApplication::notify (this=0xbffcf518, receiver=0x81e74c0, e=0xbffcec58) at kernel/qapplication.cpp:3528
#26 0xb79c38fd in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#27 0xb6b3b961 in QCoreApplication::notifyInternal (this=0xbffcf518, receiver=0x81e74c0, event=0xbffcec58) at kernel/qcoreapplication.cpp:587
#28 0xb6ff939e in QApplicationPrivate::sendMouseEvent (receiver=0x81e74c0, event=0xbffcec58, alienWidget=0x81e74c0, nativeWidget=0x8220e78, buttonDown=0xb77bdcb0, lastMouseReceiver=@0xb77bdcb4)
    at ../../src/corelib/kernel/qcoreapplication.h:212
#29 0xb7063716 in QETWidget::translateMouseEvent (this=0x8220e78, event=0xbffcf23c) at kernel/qapplication_x11.cpp:4040
#30 0xb7062ac5 in QApplication::x11ProcessEvent (this=0xbffcf518, event=0xbffcf23c) at kernel/qapplication_x11.cpp:3036
#31 0xb708b08a in x11EventSourceDispatch (s=0x809aba8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142
#32 0xb66a89a8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#33 0xb66ac063 in ?? () from /usr/lib/libglib-2.0.so.0
#34 0xb66ac221 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#35 0xb6b65fb8 in QEventDispatcherGlib::processEvents (this=0x8097800, flags={i = -1073941512}) at kernel/qeventdispatcher_glib.cpp:319
#36 0xb708a785 in QGuiEventDispatcherGlib::processEvents (this=0x8097800, flags={i = -1073941464}) at kernel/qguieventdispatcher_glib.cpp:198
#37 0xb6b3a01a in QEventLoop::processEvents (this=0xbffcf4a0, flags={i = -1073941400}) at kernel/qeventloop.cpp:143
#38 0xb6b3a1da in QEventLoop::exec (this=0xbffcf4a0, flags={i = -1073941336}) at kernel/qeventloop.cpp:194
#39 0xb6b3c895 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#40 0xb6ff1777 in QApplication::exec () at kernel/qapplication.cpp:3331
#41 0x08078da5 in main ()
Comment 1 Urs Wolfer 2009-01-25 15:54:00 UTC
SVN commit 916562 by uwolfer:

Disable the KRDC window while opening a KWallet dialog. Otherwise the user can close the tab and KRDC would crash. KWallet does dim the window, but cannot disable inputs unfortunately.
BUG:181230

 M  +2 -0      remoteview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=916562
Comment 2 Urs Wolfer 2009-01-25 15:56:21 UTC
SVN commit 916563 by uwolfer:

Manually backport to 4.2:
SVN commit 916562 by uwolfer:

Disable the KRDC window while opening a KWallet dialog. Otherwise the user can close the tab and KRDC would crash. KWallet does dim the window, but cannot disable inputs unfortunately.
CCBUG:181230

 M  +2 -0      remoteview.cpp  


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