| Summary: | Kopete crashes with --autoconnect | ||
|---|---|---|---|
| Product: | [Unmaintained] kopete | Reporter: | Josh <josh> |
| Component: | general | Assignee: | Kopete Developers <kopete-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | tejasdinkar |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Patch to fix autoconnect | ||
This is a bug in Qt (I think)
in the function KopeteApplication::slotAllPluginsLoaded()
the line (*i).split(',') causes this bug.
*i is not properly cast to a QString for some reason
Created attachment 26062 [details]
Patch to fix autoconnect
ooops, maybe it isn't a Qt bug after all
We push into a QList and keep reading from it.
Anyway, this patch fixes it.
I'd like to commit it myself If I'm allowed
PS: Thanks to Shivasharanam Rau
*** Bug has been marked as fixed ***. |
Version: 0.50.80 (using KDE 4.0.83) Installed from: SuSE RPMs OS: Linux When starting kopete specifying the --autoconnect option, Kopete crashes with the following backtrace: Application: Kopete (kopete), signal SIGSEGV [?1034h[Thread debugging using libthread_db enabled] [New Thread 0x7f3700475700 (LWP 10776)] [KCrash handler] #5 QString::indexOf (this=0x988a88, ch={ucs = 44}, from=0, cs=Qt::CaseSensitive) at ../../include/QtCore/../../src/corelib/tools/qstring.h:648 #6 0x00007f36fc009601 in QString::split (this=0x988a88, sep=@0x7fff084b75c0, behavior=QString::KeepEmptyParts, cs=Qt::CaseSensitive) at tools/qstring.cpp:5477 #7 0x000000000044767c in KopeteApplication::slotAllPluginsLoaded ( this=0x7fff084b8470) at /usr/src/debug/kdenetwork-4.0.84/kopete/kopete/kopeteapplication.cpp:227 #8 0x000000000044835d in KopeteApplication::qt_metacall (this=0x7fff084b8470, _c=QMetaObject::InvokeMetaMethod, _id=164, _a=0x7fff084b76c0) at /usr/src/debug/kdenetwork-4.0.84/build/kopete/kopete/kopeteapplication.moc:73 #9 0x00007f36fc0ac4e0 in QMetaObject::activate (sender=0x882098, from_signal_index=<value optimized out>, to_signal_index=5, argv=0x0) at kernel/qobject.cpp:3007 #10 0x00007f36ffa18f4b in Kopete::PluginManager::slotLoadNextPlugin ( this=0x882098) at /usr/src/debug/kdenetwork-4.0.84/kopete/libkopete/kopetepluginmanager.cpp:316 #11 0x00007f36ffa19930 in Kopete::PluginManager::qt_metacall (this=0x882098, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff084b77f0) at /usr/src/debug/kdenetwork-4.0.84/build/kopete/libkopete/kopetepluginmanager.moc:107 #12 0x00007f36fc0ac4e0 in QMetaObject::activate (sender=0xb3d590, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3007 #13 0x00007f36fc0b2fdf in QSingleShotTimer::timerEvent (this=0xb3d590) at kernel/qtimer.cpp:300 #14 0x00007f36fc0a86e3 in QObject::event (this=0xb3d590, e=0x2c) at kernel/qobject.cpp:1105 #15 0x00007f36f8edc92d in QApplicationPrivate::notify_helper (this=0x698650, receiver=0xb3d590, e=0x7fff084b7ec0) at kernel/qapplication.cpp:3772 #16 0x00007f36f8ee2cfa in QApplication::notify (this=0x7fff084b8470, receiver=0xb3d590, e=0x7fff084b7ec0) at kernel/qapplication.cpp:3739 #17 0x00007f36fdb9b19b in KApplication::notify (this=0x7fff084b8470, receiver=0xb3d590, event=0x7fff084b7ec0) at /usr/src/debug/kdelibs-4.0.84/kdeui/kernel/kapplication.cpp:311 #18 0x00007f36fc09ae9c in QCoreApplication::notifyInternal ( this=0x7fff084b8470, receiver=0xb3d590, event=0x7fff084b7ec0) at kernel/qcoreapplication.cpp:583 #19 0x00007f36fc0c13c6 in QTimerInfoList::activateTimers (this=0x699000) at kernel/qcoreapplication.h:215 #20 0x00007f36fc0c1678 in QEventDispatcherUNIX::processEvents (this=0x688eb0, flags={i = 139165712}) at kernel/qeventdispatcher_unix.cpp:899 #21 0x00007f36f8f5d34a in QEventDispatcherX11::processEvents (this=0x688eb0, flags={i = 139166576}) at kernel/qeventdispatcher_x11.cpp:154 #22 0x00007f36fc0997f2 in QEventLoop::processEvents ( this=<value optimized out>, flags={i = 139166624}) at kernel/qeventloop.cpp:149 #23 0x00007f36fc099985 in QEventLoop::exec (this=0x7fff084b83e0, flags= {i = 139166704}) at kernel/qeventloop.cpp:196 #24 0x00007f36fc09ba25 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845 #25 0x00000000004470ac in main (argc=3, argv=0x7fff084b9228) at /usr/src/debug/kdenetwork-4.0.84/kopete/kopete/main.cpp:102 #0 0x00007f36f7253230 in nanosleep () from /lib64/libc.so.6 Occurs on Opensuse 11.0 running KDE 4.1 beta 2. Error still occurs even when --no-plugins Thanks, Josh