Bug 232188

Summary: kopete crashes after receiving a file
Product: [Unmaintained] kopete Reporter: Thomas Sauer <ToSa65>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, jbrouault
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Thomas Sauer 2010-03-26 08:55:39 UTC
Version:            (using KDE 4.4.1)
Compiler:          gcc-4.4.3 
OS:                Linux
Installed from:    Compiled From Sources

Kopete`s file-transfer crashes kopete after receiving a file.
The Download works well but directly after downloading kopete crashes.
I tried out kopete from kdenetwork-4.4.1 and the latest branch-sources.

My OS: LFS-based, glibc-2.11.1, gcc-4.4.3, x86_64, qt-4.6.2 (unpatched)

Searching in the web I found this:
http://lists.kde.org/?l=kopete-devel&m=122162576007121&w=2
It seems to be exactly this bug but the patch from there is in kdenetwork-4.4.1.

If you need more Informations please let me know.

Greets
Comment 1 Dario Andres 2010-03-26 13:30:19 UTC
According to the thread, the patch on http://lists.kde.org/?l=kopete-devel&m=122206973604773&w=2 should have fix this...
It is also said it was commited already by now (http://lists.kde.org/?l=kopete-devel&m=122210906310182&w=2) 
- Could you check it ?
Regards
Comment 2 Thomas Sauer 2010-03-28 12:32:35 UTC
Hi,
as far I can see the crashfix.diff from the thread is inserted in current 
kdenetwork-releases (4.4.1-stable and 4.4.2 from tag), so it seems that the 
problem is something else.

Greetings

Am Freitag 26 März 2010 13:30:34 schrieb Dario Andres:
> https://bugs.kde.org/show_bug.cgi?id=232188
> 
> 
> Dario Andres <andresbajotierra@gmail.com> changed:
> 
>            What    |Removed                     |Added
> ---------------------------------------------------------------------------
> - CC|                            |andresbajotierra@gmail.com
> 
> 
> 
> 
> --- Comment #1 from Dario Andres <andresbajotierra gmail com>  2010-03-26
> 13:30:19 --- According to the thread, the patch on
> http://lists.kde.org/?l=kopete-devel&m=122206973604773&w=2 should have fix
> this...
> It is also said it was commited already by now
> (http://lists.kde.org/?l=kopete-devel&m=122210906310182&w=2)
> - Could you check it ?
> Regards
Comment 3 Roman Jarosz 2010-03-28 13:35:05 UTC
Please paste here backtrace of the crash
Comment 4 Thomas Sauer 2010-04-03 08:14:35 UTC
Hi,
O.K., a little bit late but here is the Backtrace.

Application: Kopete (kopete), signal: Segmentation fault
[KCrash Handler]
#5  0x00007ffff41eb223 in QMetaObject::activate(QObject*, QMetaObject const*, 
int, void**) () from /usr/lib/libQtCore.so.4
#6  0x00007fffe2a924e2 in XMPP::NameResolver::resultsReady (this=0x2, 
_t1=<value optimized out>) at 
/tmp/kdenetwork-4.4.2/build/kopete/protocols/jabber/libiris/moc_netnames.cpp:88
#7  0x00007fffe2b1f437 in XMPP::NameManager::provider_resolve_resultsReady 
(this=0xe89a50, id=11, results=...)
    at 
/tmp/kdenetwork-4.4.2/kopete/protocols/jabber/libiris/iris/irisnet/corelib/netnames.cpp:661
#8  0x00007fffe2b1c696 in XMPP::NameManager::qt_metacall (this=0xe89a50, 
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x1adc760)
    at 
/tmp/kdenetwork-4.4.2/build/kopete/protocols/jabber/libiris/netnames.moc:152
#9  0x00007ffff41e7f19 in QObject::event(QEvent*) () from 
/usr/lib/libQtCore.so.4
#10 0x00007ffff31063ac in QApplicationPrivate::notify_helper(QObject*, 
QEvent*) () from /usr/lib/libQtGui.so.4
#11 0x00007ffff310c9eb in QApplication::notify(QObject*, QEvent*) () from 
/usr/lib/libQtGui.so.4
#12 0x00007ffff4ba8396 in KApplication::notify(QObject*, QEvent*) () from 
/usr/lib/libkdeui.so.5
#13 0x00007ffff41d82cb in QCoreApplication::notifyInternal(QObject*, QEvent*) 
() from /usr/lib/libQtCore.so.4
#14 0x00007ffff41daa16 in QCoreApplicationPrivate::sendPostedEvents(QObject*, 
int, QThreadData*) () from /usr/lib/libQtCore.so.4
#15 0x00007ffff4201b93 in ?? () from /usr/lib/libQtCore.so.4
#16 0x00007fffed68666f in g_main_context_dispatch () from 
/usr/lib/libglib-2.0.so.0
#17 0x00007fffed68a4a8 in ?? () from /usr/lib/libglib-2.0.so.0
#18 0x00007fffed68a65c in g_main_context_iteration () from 
/usr/lib/libglib-2.0.so.0
#19 0x00007ffff42016d3 in 
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () 
from /usr/lib/libQtCore.so.4
#20 0x00007ffff31b467e in ?? () from /usr/lib/libQtGui.so.4
#21 0x00007ffff41d6c22 in 
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from 
/usr/lib/libQtCore.so.4
#22 0x00007ffff41d6ff4 in 
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from 
/usr/lib/libQtCore.so.4
#23 0x00007ffff41dacdb in QCoreApplication::exec() () from 
/usr/lib/libQtCore.so.4
#24 0x0000000000414aa6 in main (argc=<value optimized out>, argv=<value 
optimized out>) at /tmp/kdenetwork-4.4.2/kopete/kopete/main.cpp:105

I`ve found out something interesting (for me).
If I start 2 different Clients (kopete and gajim) on the local machine, I can 
transfer Files without this crash, everything is working fine.
Kopete crashes only after receiving files from outside. So maybe it is a 
network-error?

Greetings
Comment 5 Jean-Baptiste Rouault 2010-04-29 16:10:45 UTC
Exactly the same crash and backtrace here, using kopete trunk.
Comment 6 Christoph Feck 2010-09-28 23:43:47 UTC

*** This bug has been marked as a duplicate of bug 196410 ***