Bug 162865 - krdc crashes with SIGABRT
Summary: krdc crashes with SIGABRT
Status: RESOLVED FIXED
Alias: None
Product: krdc
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Urs Wolfer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-30 09:40 UTC by Ákos Mattiassich
Modified: 2008-08-02 16:26 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 Ákos Mattiassich 2008-05-30 09:40:08 UTC
Version:           ismeretlen (using 3.5.9, Kubuntu (hardy) 4:3.5.9-0ubuntu7.1)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.24-17-generic

I use krdc under vpn connection with vnc protokol. 
Sometimes, cca. twice an hour, comes this crash:

(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb6b6b9b0 (LWP 30729)]
[New Thread 0xb6511b90 (LWP 30751)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xb7f98410 in __kernel_vsyscall ()
#0  0xb7f98410 in __kernel_vsyscall ()
#1  0xb72d4aa5 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb6bb0bf4 in ?? () from /usr/lib/libxcb.so.1
#3  0xb6bb1a65 in xcb_send_request () from /usr/lib/libxcb.so.1
#4  0xb6ee9041 in _XPutXCBBuffer () from /usr/lib/libX11.so.6
#5  0xb6ee942b in ?? () from /usr/lib/libX11.so.6
#6  0xb6fc661a in XShmPutImage () from /usr/lib/libXext.so.6
#7  0x0807ce3a in ?? ()
#8  0x08073c6f in ?? ()
#9  0x080781db in ?? ()
#10 0xb77a75e7 in QObject::event () from /usr/lib/libqt-mt.so.3
#11 0xb77dfd65 in QWidget::event () from /usr/lib/libqt-mt.so.3
#12 0xb773dc36 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#13 0xb7740564 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#14 0xb7efe672 in KApplication::notify () from /usr/lib/libkdecore.so.4
#15 0xb76ce28d in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#16 0xb773ec6e in QApplication::sendPostedEvents ()
   from /usr/lib/libqt-mt.so.3
#17 0xb773ed76 in QApplication::sendPostedEvents ()
   from /usr/lib/libqt-mt.so.3
#18 0xb76e28a3 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#19 0xb7758f90 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#20 0xb7758c8e in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#21 0xb773f7df in QApplication::exec () from /usr/lib/libqt-mt.so.3
#22 0x0806a4b1 in ?? ()
#23 0xb6c3c450 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#24 0x08059011 in ?? ()
Comment 1 Urs Wolfer 2008-06-01 15:32:24 UTC
This backtrace does not contain useful information. Please try it out with the KDE 4 version of KRDC and tell me if you still can reproduce.
Comment 2 Ákos Mattiassich 2008-06-02 09:34:28 UTC
I can't repruduce the crash with KRDC 4, but if i connect with VNC, i can't use the 'Alt Gr' key on my hungarian keyboard. Connection with RDP is ok.
Comment 3 Urs Wolfer 2008-06-02 22:21:12 UTC
Ok, can you please try if you can reproduce this behavior all the time? Does it help if you change your keyboard layout? Please provide as much useful information as possible here. Thanks.
Comment 4 Ákos Mattiassich 2008-06-06 08:28:44 UTC
I can reproduce this bug anytime.
It doesn't help, if I change the keyboard layout. 
I tried German layout, there is an AltGr button too.

Here are some keys with Hungarian layout locale:
íyxcvbnm,.-űáé
The same keys if i push AltGr locale:
<>#&@{}<;>*¤ß$
The same keys with AltGr remote:
myxcvbnm,y-űáé
German locale:
|«»¢“”nµ─·
German remote:
w   77n77 7 

My keyboard settings:
$ setxkbmap -print
xkb_keymap {
        xkb_keycodes  { include "xfree86+aliases(qwertz)"       };
        xkb_types     { include "complete+numpad(microsoft)"    };
        xkb_compat    { include "complete"      };
        xkb_symbols   { include "pc+de+level3(ralt_switch)+eurosign(e)" };
        xkb_geometry  { include "pc(pc105)"     };
};
Comment 5 Ákos Mattiassich 2008-06-06 09:39:15 UTC
I have a workaround discovered:
If I press remote Alt + Ctrl + <key>, 
it behaves as i would press AltGr + <key>
Comment 6 Urs Wolfer 2008-06-08 12:10:46 UTC
I cannot reproduce this issue here. Also, KRDC just uses Qt methods to get the keys which are pressed.. Are you sure Alt Gr works in other Qt apps (KDE apps)?
Comment 7 Ákos Mattiassich 2008-06-15 19:50:54 UTC
Yes AltGr works with Parley and with other KDE4 applications too. KRDC4 works also if I connect with RDP, only VNC has this bug.
Comment 8 Baziel de Leeuw 2008-07-11 15:22:14 UTC
i use an american keyboard, and kde4-krdc op opensuse 11, and i get the same messages:
System configuration startup check disabled.

[?1034h(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb6a57b50 (LWP 22641)]
[New Thread 0xb667bb90 (LWP 22654)]
[New Thread 0xb3e2cb90 (LWP 22652)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xffffe430 in __kernel_vsyscall ()
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb71aac15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb6ae4067 in ?? () from /usr/lib/libxcb.so.1
#3  0xb6ae5004 in xcb_send_request () from /usr/lib/libxcb.so.1
#4  0xb70c43c6 in _XPutXCBBuffer () from /usr/lib/libX11.so.6
#5  0xb70c4790 in ?? () from /usr/lib/libX11.so.6
#6  0xb71c284e in XShmPutImage () from /usr/lib/libXext.so.6
#7  0x0807dcfd in ?? ()
#8  0x08074b6d in ?? ()
#9  0x08074db7 in ?? ()
#10 0xb747e8f6 in QObject::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#11 0xb74b91fc in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#12 0xb74193cd in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#13 0xb741a37d in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#14 0xb7b08892 in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#15 0xb741b4ea in QApplication::sendPostedEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#16 0xb741b646 in QApplication::sendPostedEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#17 0xb73c3c75 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0xb7431d10 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0xb7431ba6 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#20 0xb7419a5f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0x0807050f in ?? ()
#22 0xb6e635f5 in __libc_start_main () from /lib/libc.so.6
#23 0x08058d71 in ?? ()
Comment 9 Urs Wolfer 2008-08-02 16:25:18 UTC
SVN commit 841060 by uwolfer:

Correctely respect key modifiers in VNC.
Patch by Guillaume Pothier, thanks a lot!
BUG:168015
BUG:162865
(#162865: fixes KDE 4 issues, other issues listed there are already fixed in KDE 4)

 M  +39 -10    vncview.cpp  
 M  +1 -0      vncview.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=841060
Comment 10 Urs Wolfer 2008-08-02 16:26:57 UTC
SVN commit 841061 by uwolfer:

Backport:
SVN commit 841060 by uwolfer:

Correctely respect key modifiers in VNC.
Patch by Guillaume Pothier, thanks a lot!
CCBUG:168015
CCBUG:162865
(#162865: fixes KDE 4 issues, other issues listed there are already fixed in KDE 4)

 M  +39 -10    vncview.cpp  
 M  +1 -0      vncview.h  


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