Bug 163382 - "Get New" when pressed to get new themes, kopete crashes
Summary: "Get New" when pressed to get new themes, kopete crashes
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-06 18:15 UTC by Sean Wilson
Modified: 2008-06-23 21:54 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sean Wilson 2008-06-06 18:15:56 UTC
Version:           0.50.80 (using Devel)
Installed from:    Compiled sources
Compiler:          gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
 
OS:                Linux

If a chat window is opened and then "Get New" button is pressed to get new themes, kopete crashes everytime.

KDE 4.1Beta
Comment 1 Pino Toscano 2008-06-06 18:18:37 UTC
Can you please attach a backtrace of the crash?
Comment 2 Sean Wilson 2008-06-06 19:06:39 UTC
I can't get a backtrace, even starting in the terminal gives no crash info at all, it's like it's still running in the terminal but not.
Comment 3 Dennis Nienhüser 2008-06-07 18:06:37 UTC
I can't reproduce this with kopete from SVN trunk, so a backtrace would be really helpful. You can also get a backtrace using gdb. First kill any existing instance of kopete (killall kopete). Install gdb if needed, then execute kopete in gdb:

gdb --args kopete --nofork
Enter "r" to run kopete. When it crashes, you can print the backtrace with "bt".
Comment 4 Sean Wilson 2008-06-07 19:27:51 UTC
When I type bt is prints out "No stack."
Comment 5 Sean Wilson 2008-06-10 13:50:51 UTC
It seems the steps to reproduce are.

1. Launch kopete and Got to Settings--->Configure-->Chat Window

3. Click "Get New", then close it, close the kopete configure window.

4. Open the configure window again and click "Get New" again.

This crashes kopete everytime.
Comment 6 Cyrill Helg 2008-06-10 14:47:36 UTC
I can confirm this.
Comment 7 Cyrill Helg 2008-06-10 14:50:31 UTC
kopete(1787) ChatMessagePart::writeTemplate:
kopete(1787) ChatMessagePart::formatStyleKeywords: Hash  7031  has color  "#B07D2B"
kopete(1787) ChatMessagePart::formatStyleKeywords: Hash  7031  has color  "#B07D2B"
kopete(1787) ChatMessagePart::formatStyleKeywords: Hash  9679  has color  "peru"
kopete(1787) ChatMessagePart::formatStyleKeywords: Hash  9679  has color  "peru"
kopete(1787) ChatMessagePart::formatStyleKeywords: Hash  7031  has color  "#B07D2B"
kopete(1787) ChatMessagePart::formatStyleKeywords: Hash  7031  has color  "#B07D2B"
kopete(1787) ChatMessagePart::formatStyleKeywords: Map Action message to Status template.
kopete(1787) ChatMessagePart::formatStyleKeywords: Hash  7031  has color  "#B07D2B"
kopete(1787) ChatMessagePart::formatStyleKeywords: Hash  7031  has color  "#B07D2B"
kopete(1787) ChatMessagePart::formatStyleKeywords: Hash  9679  has color  "peru"
kopete(1787) ChatMessagePart::formatStyleKeywords: Hash  9679  has color  "peru"
kopete(1787) ChatMessagePart::changeStyle: Finish changing style.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb5ac99e0 (LWP 1787)]
0xb7bb4812 in KAboutData::programName () from /usr/kde/svn/lib/libkdecore.so.5

(gdb) bt
#0  0xb7bb4812 in KAboutData::programName () from /usr/kde/svn/lib/libkdecore.so.5
#1  0x081ee710 in ?? ()
#2  0x081ee710 in ?? ()
#3  0x08c88710 in ?? ()
#4  0xb135fff4 in ?? () from /usr/kde/svn/lib/libknewstuff2.so.4
#5  0xb135fff4 in ?? () from /usr/kde/svn/lib/libknewstuff2.so.4
#6  0x00000020 in ?? ()
#7  0x00000081 in ?? ()
#8  0xb13464e5 in ?? () from /usr/kde/svn/lib/libknewstuff2.so.4
#9  0xbfef1628 in ?? ()
#10 0x00000004 in ?? ()
#11 0x00000190 in ?? ()
#12 0xb135ba29 in ?? () from /usr/kde/svn/lib/libknewstuff2.so.4
#13 0x00000000 in ?? ()
Comment 8 Andre Barboza 2008-06-22 23:38:04 UTC
Application: Kopete (kopete), signal SIGABRT
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb5b486d0 (LWP 3649)]
[New Thread 0xb2932b90 (LWP 3659)]
0xb617479c in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 3649)]

Thread 2 (Thread 0xb2932b90 (LWP 3659)):
#0  0xb7d738c3 in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0
#1  0xb60449e6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#2  0xb6044dd7 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x084e9688 in ?? ()
#4  0x7fffffff in ?? ()
#5  0x0851dd90 in ?? ()
#6  0x00000001 in ?? ()
#7  0x00000001 in ?? ()
#8  0xb60d0520 in ?? () from /usr/lib/libglib-2.0.so.0
#9  0xb60d0560 in ?? () from /usr/lib/libglib-2.0.so.0
#10 0xb29321e4 in ?? ()
#11 0x00000001 in ?? ()
#12 0x00000001 in ?? ()
#13 0x084e9688 in ?? ()
#14 0x0851dd90 in ?? ()
#15 0xb61ab000 in ?? () from /lib/libc.so.6
#16 0xb7d73bc0 in ?? () from /lib/libpthread.so.0
#17 0xb7d72330 in ?? () from /lib/libpthread.so.0
#18 0xb6064d92 in g_thread_self () from /usr/lib/libglib-2.0.so.0
#19 0xb60455be in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#20 0xb7effa81 in QEventDispatcherGlib::processEvents (this=0x855d8f0, 
    flags=@0xb2932268)
    at /tmp/SBo/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:327
#21 0xb7ed438d in QEventLoop::processEvents (this=0x85411c0, flags=@0xb29322a4)
    at /tmp/SBo/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#22 0xb7ed452a in QEventLoop::exec (this=0x85411c0, flags=@0xb2932344)
    at /tmp/SBo/qt-copy/src/corelib/kernel/qeventloop.cpp:196
#23 0xb3f953e0 in QCA::SyncThread::run () from /usr/lib/libqca.so.2
#24 0xb7df07e7 in QThreadPrivate::start (arg=0x859dce8)
    at /tmp/SBo/qt-copy/src/corelib/thread/qthread_unix.cpp:190
#25 0xb7d70383 in start_thread () from /lib/libpthread.so.0
#26 0xb61b505e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb5b486d0 (LWP 3649)):
#0  0xb617479c in nanosleep () from /lib/libc.so.6
#1  0xb61745ba in sleep () from /lib/libc.so.6
#2  0xb79ec543 in ?? () from /usr/lib/libkdeui.so.5
#3  0x00000001 in ?? ()
#4  0x00000000 in ?? ()
#0  0xb617479c in nanosleep () from /lib/libc.so.6
Comment 9 Sean Wilson 2008-06-23 11:57:05 UTC
Heres what I got after some digging and asking.

Breakpoint 1, 0xb5dbb044 in _exit () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt                                                              
#0  0xb5dbb044 in _exit () from /lib/tls/i686/cmov/libc.so.6
#1  0xb5d53068 in exit () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7da60ee in qt_message_output () from /usr/lib/libQtCore.so.4
#3  0xb7da61d8 in qFatal () from /usr/lib/libQtCore.so.4
#4  0xb73d30e4 in Kopete::MessageHandlerFactory::Private::factories ()
    at /home/sean/compiled/KDE4.1/kdenetwork/kopete/libkopete/kopetemessagehandler.cpp:82
Comment 10 Sean Wilson 2008-06-23 12:08:42 UTC
Sorry, here is there rest.

Breakpoint 1, 0xb5d5f044 in _exit () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt                                                              
#0  0xb5d5f044 in _exit () from /lib/tls/i686/cmov/libc.so.6          
#1  0xb5cf7068 in exit () from /lib/tls/i686/cmov/libc.so.6           
#2  0xb7d4a0ee in qt_message_output () from /usr/lib/libQtCore.so.4   
#3  0xb7d4a1d8 in qFatal () from /usr/lib/libQtCore.so.4              
#4  0xb73770e4 in Kopete::MessageHandlerFactory::Private::factories ()
    at /home/sean/compiled/KDE4.1/kdenetwork/kopete/libkopete/kopetemessagehandler.cpp:82                                                                 
#5  0xb73772a2 in ~MessageHandlerFactory (this=0x84afde4)                    
    at /home/sean/compiled/KDE4.1/kdenetwork/kopete/libkopete/kopetemessagehandler.cpp:96                                                                 
#6  0xb3547665 in ~HistoryPlugin (this=0x84afdd0)                            
    at /home/sean/compiled/KDE4.1/kdenetwork/kopete/plugins/history/historyplugin.h:52                                                                    
#7  0xb73950f8 in destroy ()                                                 
    at /home/sean/compiled/KDE4.1/kdenetwork/kopete/libkopete/kopetepluginmanager.cpp:72                                                                  
#8  0xb7390b78 in __tcf_0 () at /usr/lib/kde4/include/kglobal.h:67           
#9  0xb5cf7084 in exit () from /lib/tls/i686/cmov/libc.so.6                  
---Type <return> to continue, or q <return> to quit---                       
#10 0xb7d4a0ee in qt_message_output () from /usr/lib/libQtCore.so.4          
#11 0xb7d4a1d8 in qFatal () from /usr/lib/libQtCore.so.4                     
#12 0xb7be9a52 in KGlobal::activeComponent ()                                
    at /home/sean/compiled/KDE4.1/kdelibs/kdecore/kernel/kglobal.cpp:175     
#13 0xb346fc4f in DownloadDialog (this=0x895af10, _engine=0x85d0718,         
    _parent=0x0)                                                             
    at /home/sean/compiled/KDE4.1/kdelibs/knewstuff/knewstuff2/ui/downloaddialog.cpp:130                                                                  
#14 0xb3481180 in KNS::EnginePrivate::workflow (this=0x85d0718)              
    at /home/sean/compiled/KDE4.1/kdelibs/knewstuff/knewstuff2/engine.cpp:122
#15 0xb3481438 in KNS::Engine::downloadDialogModal (this=0x8980e90)          
    at /home/sean/compiled/KDE4.1/kdelibs/knewstuff/knewstuff2/engine.cpp:187
#16 0xb350f138 in ChatWindowConfig::slotGetChatStyles (this=0x8892320)       
    at /home/sean/compiled/KDE4.1/kdenetwork/kopete/kopete/config/chatwindow/chatwindowconfig.cpp:479                                                     
#17 0xb35133f8 in ChatWindowConfig::qt_metacall (this=0x8892320,             
---Type <return> to continue, or q <return> to quit---                       
    _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbf9cf14c)                  
    at /home/sean/compiled/KDE4.1/kdenetwork/kopete/kopete/config/chatwindow/chatwindowconfig.moc:88                                                      
#18 0xb7e524f9 in QMetaObject::activate () from /usr/lib/libQtCore.so.4      
#19 0xb7e52930 in QMetaObject::activate () from /usr/lib/libQtCore.so.4      
#20 0xb66b2eb1 in QAbstractButton::clicked () from /usr/lib/libQtGui.so.4    
#21 0xb6412f49 in ?? () from /usr/lib/libQtGui.so.4                          
#22 0xb64147e0 in ?? () from /usr/lib/libQtGui.so.4                          
#23 0xb6414a3b in QAbstractButton::mouseReleaseEvent ()                      
   from /usr/lib/libQtGui.so.4                                               
#24 0xb612c4a4 in QWidget::event () from /usr/lib/libQtGui.so.4              
#25 0xb6413aff in QAbstractButton::event () from /usr/lib/libQtGui.so.4      
#26 0xb64b8932 in QPushButton::event () from /usr/lib/libQtGui.so.4          
#27 0xb60d4c0c in QApplicationPrivate::notify_helper ()                      
   from /usr/lib/libQtGui.so.4                                               
#28 0xb60d9cd5 in QApplication::notify () from /usr/lib/libQtGui.so.4        
#29 0xb789b4df in KApplication::notify (this=0xbf9cfedc,                     
    receiver=0x84fc800, event=0xbf9cf70c)                                    
---Type <return> to continue, or q <return> to quit---                       
    at /home/sean/compiled/KDE4.1/kdelibs/kdeui/kernel/kapplication.cpp:311  
#30 0xb7e3d6a9 in QCoreApplication::notifyInternal ()                        
   from /usr/lib/libQtCore.so.4                                              
#31 0xb60d6e21 in QApplicationPrivate::sendMouseEvent ()                     
   from /usr/lib/libQtGui.so.4
#32 0xb6140ccd in ?? () from /usr/lib/libQtGui.so.4
#33 0xb613f6b1 in QApplication::x11ProcessEvent ()
   from /usr/lib/libQtGui.so.4
#34 0xb61683ba in ?? () from /usr/lib/libQtGui.so.4
#35 0xb5c41bf8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#36 0xb5c44e5e in ?? () from /usr/lib/libglib-2.0.so.0
#37 0xb5c453ac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#38 0xb7e68f98 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#39 0xb61681b5 in ?? () from /usr/lib/libQtGui.so.4
#40 0xb7e3c92d in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#41 0xb7e3cabd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#42 0xb7e3ed3d in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
---Type <return> to continue, or q <return> to quit---
#43 0xb60d4567 in QApplication::exec () from /usr/lib/libQtGui.so.4
#44 0x0808a66a in main (argc=2, argv=0xbf9d02c4)
    at /home/sean/compiled/KDE4.1/kdenetwork/kopete/kopete/main.cpp:102
Comment 11 Dennis Nienhüser 2008-06-23 21:48:47 UTC
SVN commit 823658 by nienhueser:

Make sure there is a valid KComponentData which KNS2 relies on.
BUG: 163382


 M  +5 -0      chatwindowconfig.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=823658
Comment 12 Dennis Nienhüser 2008-06-23 21:54:03 UTC
Thanks for the detailed comments, very helpful :)