sivarajankumar / google-gadgets-for-linux

Automatically exported from code.google.com/p/google-gadgets-for-linux
Apache License 2.0
0 stars 0 forks source link

Crash on window interaction using plasma #372

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. choose add widget
2. download new google gadgets
3. choose any gadget - proceed with adding

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
google-gadgets 0.11.2
Qt 4.7.1
KDE 4.5.3
Gentoo Linux

Please provide any additional information below.

Perhaps it's related to issue 355

Application: Plasma Workspace (kdeinit4), signal: Segmentation fault            

[Current thread is 1 (Thread 0x7ffde76f2760 (LWP 3977))]                        

Thread 4 (Thread 0x7ffdbf735710 (LWP 4650)):                                    

#0  0x00007ffde5fe259c in pthread_cond_wait@@GLIBC_2.3.2 () from 
/lib/libpthread.so.0                                                            

#1  0x00007ffdb802e4ae in PR_WaitCondVar () from /usr/lib64/libnspr4.so         

#2  0x00007ffdb832cfdc in ?? () from /usr/lib64/xulrunner-1.9.2/libmozjs.so     

#3  0x00007ffdb8033fa3 in ?? () from /usr/lib64/libnspr4.so                     

#4  0x00007ffde5fddc1a in start_thread () from /lib/libpthread.so.0             

#5  0x00007ffde4d86cad in clone () from /lib/libc.so.6                          

Thread 3 (Thread 0x7ffdc7d4c710 (LWP 4651)):                                    

#0  0x00007ffde4d56e8d in nanosleep () from /lib/libc.so.6                      

#1  0x00007ffde4d56d00 in sleep () from /lib/libc.so.6                          

#2  0x00007ffdb8800b4d in ?? () from 
/usr/lib64/google-gadgets/modules/smjs-script-runtime.so                        

#3  0x00007ffde5fddc1a in start_thread () from /lib/libpthread.so.0             

#4  0x00007ffde4d86cad in clone () from /lib/libc.so.6                          

Thread 2 (Thread 0x7ffdb77de710 (LWP 4652)):                                    

#0  0x00007ffde5fe2909 in pthread_cond_timedwait@@GLIBC_2.3.2 () from 
/lib/libpthread.so.0                                                            

#1  0x00007ffde626f9e1 in QWaitCondition::wait(QMutex*, unsigned long) () from 
/usr/lib64/qt4/libQtCore.so.4                                                   

#2  0x00007ffde6264aa1 in ?? () from /usr/lib64/qt4/libQtCore.so.4              

#3  0x00007ffde626eebe in ?? () from /usr/lib64/qt4/libQtCore.so.4              

#4  0x00007ffde5fddc1a in start_thread () from /lib/libpthread.so.0             

#5  0x00007ffde4d86cad in clone () from /lib/libc.so.6                          

Thread 1 (Thread 0x7ffde76f2760 (LWP 3977)):                                    

[KCrash Handler]                                                                

#6  0x0000000000000131 in ?? ()                                                 

#7  0x00007ffdbba80981 in ggadget::TextFrame::GetSimpleExtents(double*, 
double*) () from /usr/lib/libggadget-1.0.so.0                                   

#8  0x00007ffdbb9b975c in ggadget::ButtonElement::GetDefaultSize(double*, 
double*) const () from /usr/lib/libggadget-1.0.so.0                             

#9  0x00007ffdbb9aec9d in ggadget::BasicElement::Layout() () from 
/usr/lib/libggadget-1.0.so.0                                                    

#10 0x00007ffdbb9f2a8e in ggadget::Elements::Layout() () from 
/usr/lib/libggadget-1.0.so.0                                                    

#11 0x00007ffdbb9ae95e in ggadget::BasicElement::Layout() () from 
/usr/lib/libggadget-1.0.so.0                                                    

#12 0x00007ffdbb9ed575 in ggadget::DivElement::Layout() () from 
/usr/lib/libggadget-1.0.so.0                                                    

#13 0x00007ffdbb9f2a8e in ggadget::Elements::Layout() () from 
/usr/lib/libggadget-1.0.so.0                                                    

#14 0x00007ffdbb9ae95e in ggadget::BasicElement::Layout() () from 
/usr/lib/libggadget-1.0.so.0                                                    

#15 0x00007ffdbb9ed575 in ggadget::DivElement::Layout() () from 
/usr/lib/libggadget-1.0.so.0                                                    

#16 0x00007ffdbb9f2a8e in ggadget::Elements::Layout() () from 
/usr/lib/libggadget-1.0.so.0                                                    

#17 0x00007ffdbba9368e in ggadget::View::Layout() () from 
/usr/lib/libggadget-1.0.so.0                                                    

#18 0x00007ffdbbddc6ff in ggadget::qt::QtViewWidget::timerEvent(QTimerEvent*) 
() from /usr/lib/libggadget-qt-1.0.so.0                                         

#19 0x00007ffde6372009 in QObject::event(QEvent*) () from 
/usr/lib64/qt4/libQtCore.so.4                                                   

#20 0x00007ffde55407ff in QWidget::event(QEvent*) () from 
/usr/lib64/qt4/libQtGui.so.4                                                    

#21 0x00007ffde54eb4ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) 
() from /usr/lib64/qt4/libQtGui.so.4                                            

#22 0x00007ffde54f08ed in QApplication::notify(QObject*, QEvent*) () from 
/usr/lib64/qt4/libQtGui.so.4                                                    

#23 0x00007ffde70face6 in KApplication::notify(QObject*, QEvent*) () from 
/usr/lib/libkdeui.so.5                                                          

#24 0x00007ffde63605eb in QCoreApplication::notifyInternal(QObject*, QEvent*) 
() from /usr/lib64/qt4/libQtCore.so.4                                           

#25 0x00007ffde638f71a in ?? () from /usr/lib64/qt4/libQtCore.so.4              

#26 0x00007ffde638c954 in ?? () from /usr/lib64/qt4/libQtCore.so.4              

#27 0x00007ffde1e3e2f1 in g_main_context_dispatch () from 
/usr/lib/libglib-2.0.so.0                                                       

#28 0x00007ffde1e42148 in ?? () from /usr/lib/libglib-2.0.so.0                  

#29 0x00007ffde1e422fc in g_main_context_iteration () from 
/usr/lib/libglib-2.0.so.0                                                       

#30 0x00007ffde638c643 in 
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () 
from /usr/lib64/qt4/libQtCore.so.4                                              

#31 0x00007ffde559cdae in ?? () from /usr/lib64/qt4/libQtGui.so.4               

#32 0x00007ffde635f342 in 
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from 
/usr/lib64/qt4/libQtCore.so.4                                                   

#33 0x00007ffde635f724 in 
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from 
/usr/lib64/qt4/libQtCore.so.4                                                   

#34 0x00007ffde636379b in QCoreApplication::exec() () from 
/usr/lib64/qt4/libQtCore.so.4                                                   

#35 0x00007ffdd7be3f53 in kdemain () from 
/usr/lib64/libkdeinit4_plasma-desktop.so                                        

#36 0x0000000000407b13 in _start ()

Original issue reported on code.google.com by kaeth...@gmail.com on 23 Nov 2010 at 10:47

GoogleCodeExporter commented 8 years ago
Here's the gdb backtrace, without debug symbols:

Program received signal SIGSEGV, Segmentation fault.                            

0x0000000000000040 in ?? ()                                                     

(gdb) where                                                                     

#0  0x0000000000000040 in ?? ()                                                 

#1  0x00007fffd1706981 in ggadget::TextFrame::GetSimpleExtents(double*, 
double*) ()                                                                     

   from /usr/lib/libggadget-1.0.so.0                                                                                                                                                                         
#2  0x00007fffd163f75c in ggadget::ButtonElement::GetDefaultSize(double*, 
double*) const ()                                                               

   from /usr/lib/libggadget-1.0.so.0                                                                                                                                                                         
#3  0x00007fffd1634c9d in ggadget::BasicElement::Layout() () from 
/usr/lib/libggadget-1.0.so.0                                                    

#4  0x00007fffd1678a8e in ggadget::Elements::Layout() () from 
/usr/lib/libggadget-1.0.so.0                                                    

#5  0x00007fffd163495e in ggadget::BasicElement::Layout() () from 
/usr/lib/libggadget-1.0.so.0                                                    

#6  0x00007fffd1673575 in ggadget::DivElement::Layout() () from 
/usr/lib/libggadget-1.0.so.0                                                    

#7  0x00007fffd1678a8e in ggadget::Elements::Layout() () from 
/usr/lib/libggadget-1.0.so.0                                                    

#8  0x00007fffd163495e in ggadget::BasicElement::Layout() () from 
/usr/lib/libggadget-1.0.so.0                                                    

#9  0x00007fffd1673575 in ggadget::DivElement::Layout() () from 
/usr/lib/libggadget-1.0.so.0                                                    

#10 0x00007fffd1678a8e in ggadget::Elements::Layout() () from 
/usr/lib/libggadget-1.0.so.0                                                    

#11 0x00007fffd171968e in ggadget::View::Layout() () from 
/usr/lib/libggadget-1.0.so.0                                                    

#12 0x00007fffd1a62bbd in ggadget::qt::QtViewWidget::paintEvent(QPaintEvent*) 
()                                                                              

   from /usr/lib/libggadget-qt-1.0.so.0                                                                                                                                                                      
#13 0x00007ffff40bed4d in QWidget::event(QEvent*) () from 
/usr/lib64/qt4/libQtGui.so.4                                                    

#14 0x00007ffff40694ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) 
()                                                                              

   from /usr/lib64/qt4/libQtGui.so.4                                                                                                                                                                         
#15 0x00007ffff406e8ed in QApplication::notify(QObject*, QEvent*) ()            

   from /usr/lib64/qt4/libQtGui.so.4                                                                                                                                                                         
#16 0x00007ffff5bafce6 in KApplication::notify(QObject*, QEvent*) () from 
/usr/lib/libkdeui.so.5                                                          

#17 0x00007ffff4ede5eb in QCoreApplication::notifyInternal(QObject*, QEvent*) 
()                                                                              

   from /usr/lib64/qt4/libQtCore.so.4                                                                                                                                                                        
#18 0x00007ffff40c574d in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion 
const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from 
/usr/lib64/qt4/libQtGui.so.4                                
#19 0x00007ffff42981ce in ?? () from /usr/lib64/qt4/libQtGui.so.4               

#20 0x00007ffff40b8e30 in QWidgetPrivate::syncBackingStore() () from 
/usr/lib64/qt4/libQtGui.so.4                                                    

#21 0x00007ffff40bf41a in QWidget::event(QEvent*) () from 
/usr/lib64/qt4/libQtGui.so.4                                                    

#22 0x00007ffff40694ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) 
()                                                                              

   from /usr/lib64/qt4/libQtGui.so.4                                                                                                                                                                         
#23 0x00007ffff406e8ed in QApplication::notify(QObject*, QEvent*) ()            

   from /usr/lib64/qt4/libQtGui.so.4                                                                                                                                                                         
#24 0x00007ffff5bafce6 in KApplication::notify(QObject*, QEvent*) () from 
/usr/lib/libkdeui.so.5                                                          

#25 0x00007ffff4ede5eb in QCoreApplication::notifyInternal(QObject*, QEvent*) 
()                                                                              

   from /usr/lib64/qt4/libQtCore.so.4                                                                                                                                                                        
#26 0x00007ffff4ee1571 in QCoreApplicationPrivate::sendPostedEvents(QObject*, 
int, QThreadData*) ()                                                           

   from /usr/lib64/qt4/libQtCore.so.4                                                                                                                                                                        
#27 0x00007ffff4f0ab03 in ?? () from /usr/lib64/qt4/libQtCore.so.4              

#28 0x00007fffeca0f2f1 in g_main_context_dispatch () from 
/usr/lib/libglib-2.0.so.0                                                       

#29 0x00007fffeca13148 in ?? () from /usr/lib/libglib-2.0.so.0                  

#30 0x00007fffeca132fc in g_main_context_iteration () from 
/usr/lib/libglib-2.0.so.0                                                       

#31 0x00007ffff4f0a643 in 
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)      

    () from /usr/lib64/qt4/libQtCore.so.4                                                                                                                                                                    
#32 0x00007ffff411adae in ?? () from /usr/lib64/qt4/libQtGui.so.4               

#33 0x00007ffff4edd342 in 
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()             

   from /usr/lib64/qt4/libQtCore.so.4                                                                                                                                                                        
#34 0x00007ffff4edd724 in 
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()                      

   from /usr/lib64/qt4/libQtCore.so.4                                                                                                                                                                        
#35 0x00007ffff4ee179b in QCoreApplication::exec() () from 
/usr/lib64/qt4/libQtCore.so.4                                                   

#36 0x00007ffff7ba2f53 in kdemain () from 
/usr/lib/libkdeinit4_plasma-desktop.so                                          

#37 0x00007ffff781ed2d in __libc_start_main () from /lib/libc.so.6              

#38 0x0000000000400709 in _start ()

Original comment by kaeth...@gmail.com on 23 Nov 2010 at 10:49

GoogleCodeExporter commented 8 years ago
Quero criar um aplicativo para o meuu orkut que eu possa dividir com viarios 
amigos

Original comment by erick.sa...@gmail.com on 10 Dec 2010 at 2:33

GoogleCodeExporter commented 8 years ago
I've reproduced this crash, this time with debug symbols. Could it be that 
host_ wasn't properly initialized? I've tried adding an assertion of 
impl_->host_ but it seems it isn't NULL.

Application: Plasma Desktop Shell (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f920c2bf760 (LWP 7360))]

Thread 6 (Thread 0x7f91e953b700 (LWP 7365)):
#0  0x00007f920991e5e3 in poll () from /lib/libc.so.6
#1  0x00007f9206739864 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f9206739d9d in g_main_context_iteration () from 
/usr/lib/libglib-2.0.so.0
#3  0x00007f920af4d696 in 
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () 
from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f920af20342 in 
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from 
/usr/lib64/qt4/libQtCore.so.4
#5  0x00007f920af20724 in 
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from 
/usr/lib64/qt4/libQtCore.so.4
#6  0x00007f920ae2cf2d in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f920af00538 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f920ae2febe in ?? () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007f920ab9ed4c in start_thread () from /lib/libpthread.so.0
#10 0x00007f920992740d in clone () from /lib/libc.so.6

Thread 5 (Thread 0x7f91dd8e7700 (LWP 7387)):
#0  0x00007f920aba362c in pthread_cond_wait@@GLIBC_2.3.2 () from 
/lib/libpthread.so.0
#1  0x00007f91ddb34cae in PR_WaitCondVar () from /usr/lib64/libnspr4.so
#2  0x00007f91dde3c3ce in ?? () from /usr/lib64/xulrunner-1.9.2/libmozjs.so
#3  0x00007f91ddb3a0f3 in ?? () from /usr/lib64/libnspr4.so
#4  0x00007f920ab9ed4c in start_thread () from /lib/libpthread.so.0
#5  0x00007f920992740d in clone () from /lib/libc.so.6

Thread 4 (Thread 0x7f91dd0e6700 (LWP 7388)):
#0  0x00007f92098f6a9d in nanosleep () from /lib/libc.so.6
#1  0x00007f92098f692f in sleep () from /lib/libc.so.6
#2  0x00007f91de31572d in ggadget::smjs::TriggerOperationCallbacksThread 
(data=0x17fa160) at js_script_runtime.cc:43
#3  0x00007f920ab9ed4c in start_thread () from /lib/libpthread.so.0
#4  0x00007f920992740d in clone () from /lib/libc.so.6

Thread 3 (Thread 0x7f91dc8e5700 (LWP 7389)):
#0  0x00007f920aba362c in pthread_cond_wait@@GLIBC_2.3.2 () from 
/lib/libpthread.so.0
#1  0x00007f920195e8ed in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x00007f920195e9f9 in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#3  0x00007f920ab9ed4c in start_thread () from /lib/libpthread.so.0
#4  0x00007f920992740d in clone () from /lib/libc.so.6

Thread 2 (Thread 0x7f91da1d9700 (LWP 4827)):
#0  0x00007f920aba39ab in pthread_cond_timedwait@@GLIBC_2.3.2 () from 
/lib/libpthread.so.0
#1  0x00007f920ae309e1 in QWaitCondition::wait(QMutex*, unsigned long) () from 
/usr/lib64/qt4/libQtCore.so.4
#2  0x00007f920ae25aa1 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007f920ae2febe in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f920ab9ed4c in start_thread () from /lib/libpthread.so.0
#5  0x00007f920992740d in clone () from /lib/libc.so.6

Thread 1 (Thread 0x7f920c2bf760 (LWP 7360)):
[KCrash Handler]
#6  0x00007f91f052bfe1 in ggadget::Gadget::GetDefaultFontSize (this=<value 
optimized out>) at gadget.cc:1256
#7  0x00007f91f05d5fb9 in SetUpFont (this=0x17ae358, width=0x7fff4c2f7000, 
height=0x7fff4c2f6ff8) at text_frame.cc:91
#8  ggadget::TextFrame::GetSimpleExtents (this=0x17ae358, width=0x7fff4c2f7000, 
height=0x7fff4c2f6ff8) at text_frame.cc:381
#9  0x00007f91f04d3dac in ggadget::ButtonElement::GetDefaultSize 
(this=0x2efbe90, width=0x7fff4c2f70f0, height=0x7fff4c2f70f8) at 
button_element.cc:356
#10 0x00007f91f04c563d in Layout (this=<value optimized out>) at 
basic_element.cc:440
#11 ggadget::BasicElement::Layout (this=<value optimized out>) at 
basic_element.cc:1848
#12 0x00007f91f051d14e in Layout (this=<value optimized out>) at elements.cc:367
#13 ggadget::Elements::Layout (this=<value optimized out>) at elements.cc:645
#14 0x00007f91f04c52fe in Layout (this=<value optimized out>) at 
basic_element.cc:519
#15 ggadget::BasicElement::Layout (this=<value optimized out>) at 
basic_element.cc:1848
#16 0x00007f91f05158f5 in ggadget::DivElement::Layout (this=0xb81b98) at 
div_element.cc:80
#17 0x00007f91f051d14e in Layout (this=<value optimized out>) at elements.cc:367
#18 ggadget::Elements::Layout (this=<value optimized out>) at elements.cc:645
#19 0x00007f91f04c52fe in Layout (this=<value optimized out>) at 
basic_element.cc:519
#20 ggadget::BasicElement::Layout (this=<value optimized out>) at 
basic_element.cc:1848
#21 0x00007f91f05158f5 in ggadget::DivElement::Layout (this=0xb818c0) at 
div_element.cc:80
#22 0x00007f91f051d14e in Layout (this=<value optimized out>) at elements.cc:367
#23 ggadget::Elements::Layout (this=<value optimized out>) at elements.cc:645
#24 0x00007f91f05f09de in Layout (this=<value optimized out>) at view.cc:1151
#25 ggadget::View::Layout (this=<value optimized out>) at view.cc:1803
#26 0x00007f91f09b551d in ggadget::qt::QtViewWidget::Impl::paintEvent 
(this=0x2d06a90, event=<value optimized out>) at qt_view_widget.cc:140
#27 0x00007f920a101d4d in QWidget::event(QEvent*) () from 
/usr/lib64/qt4/libQtGui.so.4
#28 0x00007f920a0ac4ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) 
() from /usr/lib64/qt4/libQtGui.so.4
#29 0x00007f920a0b18ed in QApplication::notify(QObject*, QEvent*) () from 
/usr/lib64/qt4/libQtGui.so.4
#30 0x00007f920bcc4056 in KApplication::notify(QObject*, QEvent*) () from 
/usr/lib/libkdeui.so.5
#31 0x00007f920af215eb in QCoreApplication::notifyInternal(QObject*, QEvent*) 
() from /usr/lib64/qt4/libQtCore.so.4
#32 0x00007f920a10874d in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion 
const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from 
/usr/lib64/qt4/libQtGui.so.4
#33 0x00007f920a2db22f in ?? () from /usr/lib64/qt4/libQtGui.so.4
#34 0x00007f920a2db569 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#35 0x00007f920a126f82 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#36 0x00007f920a134192 in QApplication::x11ProcessEvent(_XEvent*) () from 
/usr/lib64/qt4/libQtGui.so.4
#37 0x00007f920a15e432 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#38 0x00007f9206739322 in g_main_context_dispatch () from 
/usr/lib/libglib-2.0.so.0
#39 0x00007f9206739b00 in ?? () from /usr/lib/libglib-2.0.so.0
#40 0x00007f9206739d9d in g_main_context_iteration () from 
/usr/lib/libglib-2.0.so.0
#41 0x00007f920af4d643 in 
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () 
from /usr/lib64/qt4/libQtCore.so.4
#42 0x00007f920a15ddae in ?? () from /usr/lib64/qt4/libQtGui.so.4
#43 0x00007f920af20342 in 
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from 
/usr/lib64/qt4/libQtCore.so.4
#44 0x00007f920af20724 in 
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from 
/usr/lib64/qt4/libQtCore.so.4
#45 0x00007f920af2479b in QCoreApplication::exec() () from 
/usr/lib64/qt4/libQtCore.so.4
#46 0x00007f91fae2cca8 in kdemain () from 
/usr/lib64/libkdeinit4_plasma-desktop.so
#47 0x00000000004072f9 in _start ()

Original comment by kaeth...@gmail.com on 10 Feb 2011 at 7:56