Bug 200915 - crashes when you close after a rdp connection with maximized window
Summary: crashes when you close after a rdp connection with maximized window
Status: RESOLVED FIXED
Alias: None
Product: krdc
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Urs Wolfer
URL:
Keywords:
: 201234 201964 202452 204989 205192 205867 206797 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-07-20 20:22 UTC by Marco Menardi
Modified: 2009-12-27 16:39 UTC (History)
8 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 Marco Menardi 2009-07-20 20:22:36 UTC
Application that crashed: krdc
Version of the application: 4.2.96 (KDE 4.2.96 (KDE 4.3 RC2))
KDE Version: 4.2.96 (KDE 4.2.96 (KDE 4.3 RC2))
Qt Version: 4.5.0
Operating System: Linux 2.6.30-10-generic i686
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
To  reproduce it:
connect in rdp to a M$ Xp or 2003 host, login with username and password
maximize window
to close the connection, use remote Start -> Close connection
press the toolbutton to reduce krdc window
crash

 -- Backtrace:
Application: KRDC (krdc), signal: Segmentation fault
[KCrash Handler]
#6  0x080681b2 in MainWindow::switchFullscreen (this=0x9142510) at /build/buildd/kdenetwork-4.2.96/krdc/mainwindow.cpp:521
#7  0x0806c4cd in MainWindow::qt_metacall (this=0x9142510, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0xbff81a9c) at /build/buildd/kdenetwork-4.2.96/obj-i486-linux-gnu/krdc/mainwindow.moc:134
#8  0x027d8ca8 in QMetaObject::activate (sender=0x91f1dd8, from_signal_index=5, to_signal_index=6, argv=0xbff81a9c) at kernel/qobject.cpp:3069
#9  0x027d90e0 in QMetaObject::activate (sender=0x91f1dd8, m=0x480e008, from_local_signal_index=1, to_local_signal_index=2, argv=0xbff81a9c) at kernel/qobject.cpp:3163
#10 0x03f7b891 in QAction::triggered (this=0x91f1dd8, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#11 0x03f7ce0f in QAction::activate (this=0x91f1dd8, event=QAction::Trigger) at kernel/qaction.cpp:1160
#12 0x0444c322 in QToolButton::nextCheckState (this=0x932c698) at ../../include/QtGui/../../src/gui/kernel/qaction.h:203
#13 0x04364cd3 in QAbstractButtonPrivate::click (this=0x9ab8b18) at widgets/qabstractbutton.cpp:525
#14 0x04364fa6 in QAbstractButton::mouseReleaseEvent (this=0x9ab89c8, e=0xbff820a8) at widgets/qabstractbutton.cpp:1115
#15 0x0444c81c in QToolButton::mouseReleaseEvent (this=0x9ab89c8, e=0xbff820a8) at widgets/qtoolbutton.cpp:709
#16 0x03fd8b43 in QWidget::event (this=0x9ab89c8, event=0xbff820a8) at kernel/qwidget.cpp:7516
#17 0x04362f5e in QAbstractButton::event (this=0x9ab89c8, e=0xbff820a8) at widgets/qabstractbutton.cpp:1077
#18 0x0444f24a in QToolButton::event (this=0x9ab89c8, event=0xbff820a8) at widgets/qtoolbutton.cpp:1151
#19 0x03f81e9c in QApplicationPrivate::notify_helper (this=0x90aaa40, receiver=0x9ab89c8, e=0xbff820a8) at kernel/qapplication.cpp:4084
#20 0x03f8ab11 in QApplication::notify (this=0xbff829cc, receiver=0x9ab89c8, e=0xbff820a8) at kernel/qapplication.cpp:3786
#21 0x011824dd in KApplication::notify (this=0xbff829cc, receiver=0x9ab89c8, event=0xbff820a8) at /build/buildd/kde4libs-4.2.96/kdeui/kernel/kapplication.cpp:302
#22 0x027c2a3b in QCoreApplication::notifyInternal (this=0xbff829cc, receiver=0x9ab89c8, event=0xbff820a8) at kernel/qcoreapplication.cpp:602
#23 0x03f89b7e in QApplicationPrivate::sendMouseEvent (receiver=0x9ab89c8, event=0xbff820a8, alienWidget=0x9ab89c8, nativeWidget=0x9ab7128, buttonDown=0x482c200, lastMouseReceiver=@0x482c204)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#24 0x03ff997e in QETWidget::translateMouseEvent (this=0x9ab7128, event=0xbff826ec) at kernel/qapplication_x11.cpp:4425
#25 0x03ff8ca7 in QApplication::x11ProcessEvent (this=0xbff829cc, event=0xbff826ec) at kernel/qapplication_x11.cpp:3421
#26 0x04023c6a in x11EventSourceDispatch (s=0x90ad7b0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#27 0x0296eb88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0x029720eb in ?? () from /usr/lib/libglib-2.0.so.0
#29 0x02972268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0x027ee438 in QEventDispatcherGlib::processEvents (this=0x9094fa8, flags={i = -1074255704}) at kernel/qeventdispatcher_glib.cpp:323
#31 0x04023365 in QGuiEventDispatcherGlib::processEvents (this=0x9094fa8, flags={i = -1074255656}) at kernel/qguieventdispatcher_glib.cpp:202
#32 0x027c106a in QEventLoop::processEvents (this=0xbff82950, flags={i = -1074255592}) at kernel/qeventloop.cpp:149
#33 0x027c14aa in QEventLoop::exec (this=0xbff82950, flags={i = -1074255528}) at kernel/qeventloop.cpp:200
#34 0x027c3959 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#35 0x03f81d17 in QApplication::exec () at kernel/qapplication.cpp:3553
#36 0x0806daad in main (argc=3, argv=0xbff82b94) at /build/buildd/kdenetwork-4.2.96/krdc/main.cpp:101

Reported using DrKonqi
Comment 1 Urs Wolfer 2009-07-30 23:29:37 UTC
*** Bug 201964 has been marked as a duplicate of this bug. ***
Comment 2 Elias Probst 2009-07-31 14:41:35 UTC
I can confirm this on KDE 4.2.98 (4.3 RC3)
Comment 3 Pino Toscano 2009-08-04 00:16:58 UTC
*** Bug 202452 has been marked as a duplicate of this bug. ***
Comment 4 Urs Wolfer 2009-08-04 21:01:05 UTC
*** Bug 201234 has been marked as a duplicate of this bug. ***
Comment 5 Urs Wolfer 2009-08-04 22:04:24 UTC
SVN commit 1006980 by uwolfer:

Backport:
SVN commit 1006958 by uwolfer:

KStandardAction::fullScreen is the wrong thing for KRDC; we do a custom handling of fullscreen windows by our self. This reverts r977345.
Fixes wrong behavior and crashes.

But: adopt style more to KToggleFullScreenAction: shortcut and spelling: 'Fullscreen' -> 'Full Screen'.

CCBUG:200915

 M  +3 -3      krdcui.rc  
 M  +20 -9     mainwindow.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1006980
Comment 6 Urs Wolfer 2009-08-24 20:53:55 UTC
*** Bug 204989 has been marked as a duplicate of this bug. ***
Comment 7 Dario Andres 2009-08-26 15:34:38 UTC
*** Bug 205192 has been marked as a duplicate of this bug. ***
Comment 8 Urs Wolfer 2009-09-01 20:13:54 UTC
*** Bug 205867 has been marked as a duplicate of this bug. ***
Comment 9 Urs Wolfer 2009-12-27 16:39:20 UTC
*** Bug 206797 has been marked as a duplicate of this bug. ***