Application: kopete (1.0.0) KDE Platform Version: 4.4.2 (KDE 4.4.2) Qt Version: 4.6.2 Operating System: Linux 2.6.32-22-generic x86_64 Distribution: Ubuntu 10.04 LTS -- Information about the crash: kopete crash when i take files in dolphin, dolphin also crash!! -- Backtrace: Application: Kopete (kopete), signal: Segmentation fault [Current thread is 1 (Thread 0x7fdcf032c780 (LWP 2771))] Thread 2 (Thread 0x7fdcd794c710 (LWP 10032)): #0 0x00007fdcec7bef53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007fdce7db44a9 in ?? () from /lib/libglib-2.0.so.0 #2 0x00007fdce7db48fc in g_main_context_iteration () from /lib/libglib-2.0.so.0 #3 0x00007fdcede22566 in QEventDispatcherGlib::processEvents (this=0x23e1d10, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414 #4 0x00007fdceddf7992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #5 0x00007fdceddf7d6c in QEventLoop::exec (this=0x7fdcd794bd90, flags=) at kernel/qeventloop.cpp:201 #6 0x00007fdcedd01d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487 #7 0x00007fdceddd8178 in QInotifyFileSystemWatcherEngine::run (this=0x2415670) at io/qfilesystemwatcher_inotify.cpp:248 #8 0x00007fdcedd04775 in QThreadPrivate::start (arg=0x2415670) at thread/qthread_unix.cpp:248 #9 0x00007fdcec2759ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #10 0x00007fdcec7cb69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #11 0x0000000000000000 in ?? () Thread 1 (Thread 0x7fdcf032c780 (LWP 2771)): [KCrash Handler] #5 QListData::size (this=0x0) at ../../include/QtCore/../../src/corelib/tools/qlist.h:90 #6 QList<QTabBarPrivate::Tab>::count (this=0x0) at ../../include/QtCore/../../src/corelib/tools/qlist.h:261 #7 QTabBar::count (this=0x0) at widgets/qtabbar.cpp:1220 #8 0x00007fdcee8dad37 in KTabBar::selectTab (this=0x0, pos=...) at ../../kdeui/widgets/ktabbar.cpp:388 #9 0x00007fdcdcf3c4cc in KopeteChatWindow::testCanDecode (this=0x2fd4630, event=0x7fffe5d7a1e0, accept=@0x7fffe5d79a0f) at ../../../../kopete/kopete/chatwindow/kopetechatwindow.cpp:635 #10 0x00007fdcdcf41f68 in KopeteChatWindow::qt_metacall (this=0x2fd4630, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe5d799d0) at ./kopetechatwindow.moc:157 #11 0x00007fdcede0be3f in QMetaObject::activate (sender=0x31646e0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x236) at kernel/qobject.cpp:3293 #12 0x00007fdcee8dbd14 in KTabWidget::testCanDecode (this=0x0, _t1=0x7fffe5d7a1e0, _t2=<value optimized out>) at ./ktabwidget.moc:209 #13 0x00007fdcee8dc665 in KTabWidget::dragEnterEvent (this=0x31646e0, event=0x7fffe5d7a1e0) at ../../kdeui/widgets/ktabwidget.cpp:414 #14 0x00007fdcecf8f505 in QWidget::event (this=0x31646e0, event=0x7fffe5d7a1e0) at kernel/qwidget.cpp:8192 #15 0x00007fdcecf3922c in QApplicationPrivate::notify_helper (this=0x1f002c0, receiver=0x31646e0, e=0x7fffe5d7a1e0) at kernel/qapplication.cpp:4300 #16 0x00007fdcecf3fa34 in QApplication::notify (this=<value optimized out>, receiver=0x31646e0, e=0x7fffe5d7a1e0) at kernel/qapplication.cpp:4057 #17 0x00007fdcee7e1526 in KApplication::notify (this=0x7fffe5d7ae50, receiver=0x31646e0, event=0x7fffe5d7a1e0) at ../../kdeui/kernel/kapplication.cpp:302 #18 0x00007fdceddf906c in QCoreApplication::notifyInternal (this=0x7fffe5d7ae50, receiver=0x31646e0, event=0x7fffe5d7a1e0) at kernel/qcoreapplication.cpp:704 #19 0x00007fdcecfcd100 in handle_xdnd_position (w=<value optimized out>, xe=<value optimized out>, passive=<value optimized out>) at kernel/qdnd_x11.cpp:915 #20 0x00007fdcecfaef86 in QApplication::x11ClientMessage (this=<value optimized out>, w=0x2fd4630, event=0x7, passive_only=54) at kernel/qapplication_x11.cpp:3080 #21 0x00007fdcecfbdf86 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffe5d7aa70) at kernel/qapplication_x11.cpp:3633 #22 0x00007fdcecfe9882 in x11EventSourceDispatch (s=0x1f03a30, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146 #23 0x00007fdce7db08c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #24 0x00007fdce7db4748 in ?? () from /lib/libglib-2.0.so.0 #25 0x00007fdce7db48fc in g_main_context_iteration () from /lib/libglib-2.0.so.0 #26 0x00007fdcede22513 in QEventDispatcherGlib::processEvents (this=0x1eac9a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412 #27 0x00007fdcecfe946e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #28 0x00007fdceddf7992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #29 0x00007fdceddf7d6c in QEventLoop::exec (this=0x7fffe5d7ada0, flags=) at kernel/qeventloop.cpp:201 #30 0x00007fdceddfbaab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #31 0x0000000000415652 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kopete/kopete/main.cpp:105 Possible duplicates by query: bug 229992. Reported using DrKonqi
*** Bug 241549 has been marked as a duplicate of this bug. ***
*** Bug 229992 has been marked as a duplicate of this bug. ***
what about : Index: kdenetwork/kopete/kopete/chatwindow/kopetechatwindow.cpp =================================================================== --- kdenetwork/kopete/kopete/chatwindow/kopetechatwindow.cpp (révision 1104288) +++ kdenetwork/kopete/kopete/chatwindow/kopetechatwindow.cpp (copie de travail) @@ -632,7 +632,7 @@ void KopeteChatWindow::testCanDecode(const QDragMoveEvent *event, bool &accept) { - if (chatViewList[static_cast<KTabBar*>(m_tabBar->childAt( event->pos()))->selectTab( event->pos() )]->isDragEventAccepted( event )) { + if (m_tabBar && chatViewList[static_cast<KTabBar*>(m_tabBar->childAt( event->pos()))->selectTab( event->pos() )]->isDragEventAccepted( event )) { accept = true; } else { accept = false;
SVN commit 1139164 by nlecureuil: Fix check in testCanDecode() BUG: 237608 M +1 -1 kopetechatwindow.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1139164