Bug 190733 - Crash while connecting to another machine on the network
Summary: Crash while connecting to another machine on the network
Status: RESOLVED WORKSFORME
Alias: None
Product: krdc
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Urs Wolfer
URL:
Keywords: investigated, triaged
Depends on:
Blocks:
 
Reported: 2009-04-26 18:19 UTC by raghav.moko
Modified: 2018-09-21 19:06 UTC (History)
4 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 raghav.moko 2009-04-26 18:19:55 UTC
Version:           4.2.2 (using KDE 4.2.2)
OS:                Linux
Installed from:    Ubuntu Packages

I tried connecting to another machine on the same network from my laptop, but KRDC crashed with this backtrace:

Application: KRDC (krdc), signal SIGABRT
[Current thread is 0 (LWP 6699)]

Thread 2 (Thread 0xb09c8b90 (LWP 6700)):
#0  0xb7ffb430 in __kernel_vsyscall ()
#1  0xb631e0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb67012ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb68ec9b2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb68e838d in QSemaphore::acquire () from /usr/lib/libQtCore.so.4
#5  0xb69f5dfb in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#6  0xb69f6932 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#7  0x08064c79 in _start ()

Thread 1 (Thread 0xb5edf700 (LWP 6699)):
[KCrash Handler]
#6  0xb7ffb430 in __kernel_vsyscall ()
#7  0xb66396d0 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb663b098 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb68e3595 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb68e3681 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb68e372c in qt_assert_x () from /usr/lib/libQtCore.so.4
#12 0x0807e896 in _start ()

The other machine is running Ubuntu 8.04.
Comment 1 Urs Wolfer 2009-04-26 18:38:58 UTC
Are you using VNC?

Please see:
http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Comment 2 Urs Wolfer 2009-07-12 17:16:00 UTC
Ping, please provide the requested information. Without that I will not be able
to fix it.
Comment 3 Urs Wolfer 2009-09-11 22:29:32 UTC
Still waiting for information...
Comment 4 bill 2010-06-25 04:03:30 UTC
krfb on notebook (openSuse 11.1 with KDE4.1.3) crashes (reproducible) when I click on the "X" in the tab to close the last of the connections attempted via VNC to a server (on the same LAN segment) that was running krfb 4.3.5 (openSuse 11.2 and KDE 4.3.5).  Used various forms for the server address:  host:1, host:5901, and IPaddress:5901 (in that order).


The first time backtrace:

Application: KRDC (krdc), signal SIGABRT
[Current thread is 1 (Thread 0xb5725700 (LWP 5152))]

Thread 2 (Thread 0xb3c00b90 (LWP 28888)):
[KCrash Handler]
#6  0xffffe430 in __kernel_vsyscall ()
#7  0xb5b53990 in raise () from /lib/libc.so.6
#8  0xb5b552c8 in abort () from /lib/libc.so.6
#9  0xb5b8f6c5 in ?? () from /lib/libc.so.6
#10 0xb5b95654 in ?? () from /lib/libc.so.6
#11 0xb5b97c8a in ?? () from /lib/libc.so.6
#12 0xb5b9988c in malloc () from /lib/libc.so.6
#13 0xb754a08d in qMalloc(unsigned int) () from /usr/lib/libQtCore.so.4
#14 0xb7552406 in QByteArray::QByteArray(int, char) () from /usr/lib/libQtCore.so.4
#15 0xb7547c69 in qt_error_string(int) () from /usr/lib/libQtCore.so.4
#16 0xb754ec6f in ?? () from /usr/lib/libQtCore.so.4
#17 0xb754edeb in ?? () from /usr/lib/libQtCore.so.4
#18 0xb754a4da in QMutex::lock() () from /usr/lib/libQtCore.so.4
#19 0x08064fe4 in _start ()

Thread 1 (Thread 0xb5725700 (LWP 5152)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb5c06e83 in ?? () from /lib/libc.so.6
#2  0xb5b9a4d1 in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)


The second crash backtrace was:

Application: KRDC (krdc), signal SIGABRT
[Current thread is 1 (Thread 0xb57e2700 (LWP 30313))]

Thread 5 (Thread 0xb3c8ab90 (LWP 30314)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb75adc35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb760d872 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb76092ad in QSemaphore::acquire(int) () from /usr/lib/libQtCore.so.4
#4  0xb77116d3 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#5  0xb7712302 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#6  0x08063f77 in _start ()

Thread 4 (Thread 0xb2effb90 (LWP 30315)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb75adc35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb760d872 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb76092ad in QSemaphore::acquire(int) () from /usr/lib/libQtCore.so.4
#4  0xb77116d3 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#5  0xb7712302 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#6  0x08063f77 in _start ()

Thread 3 (Thread 0xb23fdb90 (LWP 30316)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb75adc35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb760d872 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb76092ad in QSemaphore::acquire(int) () from /usr/lib/libQtCore.so.4
#4  0xb77116d3 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#5  0xb7712302 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#6  0x08063f77 in _start ()

Thread 2 (Thread 0xb18fbb90 (LWP 30317)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb75b07b9 in __lll_lock_wait () from /lib/libpthread.so.0
#2  0xb75adcf1 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#3  0xb760bf22 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb76074da in QMutex::lock() () from /usr/lib/libQtCore.so.4
#5  0x08064fe4 in _start ()

Thread 1 (Thread 0xb57e2700 (LWP 30313)):
[KCrash Handler]
#6  0xffffe430 in __kernel_vsyscall ()
#7  0xb5c10990 in raise () from /lib/libc.so.6
#8  0xb5c122c8 in abort () from /lib/libc.so.6
#9  0xb5c4c6c5 in ?? () from /lib/libc.so.6
#10 0xb5c52654 in ?? () from /lib/libc.so.6
#11 0xb5c54c8a in ?? () from /lib/libc.so.6
#12 0xb5c5688c in malloc () from /lib/libc.so.6
#13 0xb67d8b72 in XCreateGC () from /usr/lib/libX11.so.6
#14 0xb61637d6 in ?? () from /usr/lib/libQtGui.so.4
#15 0xb60b5670 in QPainter::begin(QPaintDevice*) () from /usr/lib/libQtGui.so.4
#16 0xb60b7fbc in QPainter::QPainter(QPaintDevice*) () from /usr/lib/libQtGui.so.4
#17 0xb5ff646a in QWidgetPrivate::beginSharedPainter() () from /usr/lib/libQtGui.so.4
#18 0xb61717c2 in ?? () from /usr/lib/libQtGui.so.4
#19 0xb6171d17 in ?? () from /usr/lib/libQtGui.so.4
#20 0xb6004696 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#21 0xb6357127 in QMainWindow::event(QEvent*) () from /usr/lib/libQtGui.so.4
#22 0xb727d178 in KMainWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#23 0xb72beb8c in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#24 0xb5fac8fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#25 0xb5fb482a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#26 0xb71b857d in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#27 0xb76fc961 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#28 0xb76fd5d5 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#29 0xb76fd7cd in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#30 0xb772736f in ?? () from /usr/lib/libQtCore.so.4
#31 0xb5b499c8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0xb5b4d083 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0xb5b4d241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#34 0xb7726fb8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#35 0xb60458f5 in ?? () from /usr/lib/libQtGui.so.4
#36 0xb76fb01a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#37 0xb76fb1da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#38 0xb76fd895 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#39 0xb5fac777 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#40 0x0807a8b5 in _start ()


After this second crash, the terminal in which I started krdc contained:

konsultor@Linuxor:~> krdc                                                 
QThread: Destroyed while thread is still running                          
QMutex::lock: mutex lock failure:                                         
*** glibc detected *** krdc: malloc(): memory corruption: 0x081e08e1 ***  
======= Backtrace: =========                                              
/lib/libc.so.6[0xb5c52654]                                                
/lib/libc.so.6[0xb5c54c8a]                                                
/lib/libc.so.6(__libc_malloc+0x9c)[0xb5c5688c]                            
/usr/lib/libX11.so.6(XCreateGC+0x32)[0xb67d8b72]                          
/usr/lib/libQtGui.so.4[0xb61637d6]                                        
/usr/lib/libQtGui.so.4(_ZN8QPainter5beginEP12QPaintDevice+0x1d0)[0xb60b5670]
/usr/lib/libQtGui.so.4(_ZN8QPainterC1EP12QPaintDevice+0x17c)[0xb60b7fbc]    
/usr/lib/libQtGui.so.4(_ZN14QWidgetPrivate18beginSharedPainterEv+0x23a)[0xb5ff646a]
/usr/lib/libQtGui.so.4[0xb61717c2]                                                 
/usr/lib/libQtGui.so.4[0xb6171d17]                                                 
/usr/lib/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0x5b6)[0xb6004696]               
/usr/lib/libQtGui.so.4(_ZN11QMainWindow5eventEP6QEvent+0x77)[0xb6357127]           
/usr/lib/libkdeui.so.5(_ZN11KMainWindow5eventEP6QEvent+0x68)[0xb727d178]           
/usr/lib/libkdeui.so.5(_ZN13KXmlGuiWindow5eventEP6QEvent+0x2c)[0xb72beb8c]         
/usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xbc)[0xb5fac8fc]                                                                                        
/usr/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x18a)[0xb5fb482a]         
/usr/lib/libkdeui.so.5(_ZN12KApplication6notifyEP7QObjectP6QEvent+0x3d)[0xb71b857d]          
/usr/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0xb1)[0xb76fc961]                                                                                         
/usr/lib/libQtCore.so.4(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x2a5)[0xb76fd5d5]                                                                        
/usr/lib/libQtCore.so.4(_ZN16QCoreApplication16sendPostedEventsEP7QObjecti+0x2d)[0xb76fd7cd] 
/usr/lib/libQtCore.so.4[0xb772736f]                                                          
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1e8)[0xb5b499c8]                         
/usr/lib/libglib-2.0.so.0[0xb5b4d083]                                                        
/usr/lib/libglib-2.0.so.0(g_main_context_iteration+0x71)[0xb5b4d241]                         
/usr/lib/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x58)[0xb7726fb8]                                                             
/usr/lib/libQtGui.so.4[0xb60458f5]                                                           
/usr/lib/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x4a)[0xb76fb01a]                                                                                 
/usr/lib/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xea)[0xb76fb1da]                                                                                           
/usr/lib/libQtCore.so.4(_ZN16QCoreApplication4execEv+0xb5)[0xb76fd895]                       
/usr/lib/libQtGui.so.4(_ZN12QApplication4execEv+0x27)[0xb5fac777]                            
krdc[0x807a8b5]                                                                              
/lib/libc.so.6(__libc_start_main+0xe5)[0xb5bfc705]                                           
krdc[0x8058a61]                                                                              
======= Memory map: ========                                                                 
08048000-08087000 r-xp 00000000 08:05 1335963    /usr/bin/krdc                               
08087000-08088000 r--p 0003e000 08:05 1335963    /usr/bin/krdc                               
08088000-08089000 rw-p 0003f000 08:05 1335963    /usr/bin/krdc                               
08089000-08325000 rw-p 08089000 00:00 0          [heap]                                      
b0c00000-b0c21000 rw-p b0c00000 00:00 0                                                      
b0c21000-b0d00000 ---p b0c21000 00:00 0                                                      
b10a3000-b10fb000 rw-p b10a3000 00:00 0                                                      
b10fb000-b10fc000 ---p b10fb000 00:00 0                                                      
b10fc000-b1bfd000 rw-p b10fc000 00:00 0                                                      
b1bfd000-b1bfe000 ---p b1bfd000 00:00 0                                                      
b1bfe000-b26ff000 rw-p b1bfe000 00:00 0
b26ff000-b2700000 ---p b26ff000 00:00 0
b2700000-b2f00000 rw-p b2700000 00:00 0
b2f00000-b2f53000 rw-p b2f00000 00:00 0
b2f53000-b3000000 ---p b2f53000 00:00 0
b304c000-b33fd000 rw-p b304c000 00:00 0
b33fd000-b3432000 r--s 00000000 08:07 49101      /var/run/nscd/dbQCR6lY (deleted)
b3432000-b348a000 rw-p b3432000 00:00 0
b348a000-b348b000 ---p b348a000 00:00 0
b348b000-b3c8b000 rw-p b348b000 00:00 0
b3c8b000-b3cbe000 r--p 00000000 08:05 1861664    /usr/share/fonts/truetype/ariali.ttf
b3cbe000-b3cf3000 r--s 00000000 08:07 49099      /var/run/nscd/passwd
b3cf3000-b3d39000 r--p 00000000 08:05 1861661    /usr/share/fonts/truetype/arialbd.ttf
b3d39000-b3e9d000 r--s 00000000 08:07 408912     /var/tmp/kdecache-konsultor/ksycoca4
b3e9d000-b3ee1000 r--p 00000000 08:05 1861660    /usr/share/fonts/truetype/arial.ttf
b3ee1000-b3f2e000 r--p 00000000 08:07 106351     /var/cache/libx11/compose/l4_024_313cb605_00280cc0
b3f2e000-b3f3b000 r-xp 00000000 08:05 581843     /usr/lib/kde4/plugins/imageformats/kimg_xcf.so
b3f3b000-b3f3c000 r--p 0000c000 08:05 581843     /usr/lib/kde4/plugins/imageformats/kimg_xcf.so
b3f3c000-b3f3d000 rw-p 0000d000 08:05 581843     /usr/lib/kde4/plugins/imageformats/kimg_xcf.so
b3f3d000-b3f41000 rw-p b3f3d000 00:00 0
b3f41000-b3f8c000 r-xp 00000000 08:05 5KCrash: Application 'krdc' crashing...
sock_file=/home/konsultor/.kde4/socket-Linuxor/kdeinit4__0

NOTE:  the terminal did not present a prompt until I entered ^C.

Have not yet been able to see the server desktop from the notebook--krfb shows a solid black "screen".  Server shows a tcp connection (via ps -planet). 

Will run memcheck and report if there are errors.
Comment 5 bill 2010-06-26 22:19:01 UTC
After 7 hours and 4 complete interations, memcheck finds zero errors in RAM.
Comment 6 bill 2010-06-26 22:19:33 UTC
After 7 hours and 4 complete iterations, memcheck finds zero errors in RAM.
Comment 7 Andrew Crouthamel 2018-09-20 22:10:05 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 uc 2018-09-21 01:39:56 UTC
Is there a status of "moot" for bugs this old?
Comment 9 Andrew Crouthamel 2018-09-21 19:06:07 UTC
In that case I'll close this. :) Thank you for the update!