Bug 286857 - Multiple applications including knotify, krunner, kmix crash due to UPnP-related problems
Summary: Multiple applications including knotify, krunner, kmix crash due to UPnP-rela...
Status: RESOLVED DUPLICATE of bug 259472
Alias: None
Product: solid
Classification: Frameworks and Libraries
Component: libsolid-upnp (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Paulo Romulo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-17 15:53 UTC by Bartosz Brachaczek
Modified: 2011-11-23 19:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bartosz Brachaczek 2011-11-17 15:53:17 UTC
Version:           unspecified (using KDE 4.7.3) 
OS:                Linux

I use KDE SC 4.7.3, kdelibs are compiled with UPNP support through Herqq. FWIW, I have also kio-upnp-ms and Cagibi installed. My laptop is in a network with several dozen UPnP servers (most are Windows Media Player, some are foobar2000) and a couple of foobar2000 UPnP renderers. Sometimes, usually once in a couple hours, multiple KDE-related applications, for example knotify and krunner, crash at the same moment. I don't need to do anything to achieve that - it's probably caused by network traffic.

Example backtrace:

Application: Interfejs do uruchamiania poleceń (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fc6e7364760 (LWP 1667))]

Thread 1 (Thread 0x7fc6e7364760 (LWP 1667)):
[KCrash Handler]
#6  Herqq::Upnp::HServiceInfo::eventSubUrl (this=0x28) at src/dataelements/hserviceinfo.cpp:150
#7  0x00007fc6ddaca5cb in Herqq::Upnp::HEventSubscription::renewSubscription (this=0x7fc6b40edb40) at src/devicehosting/controlpoint/hevent_subscription_p.cpp:329
#8  0x00007fc6ddacb140 in Herqq::Upnp::HEventSubscription::runNextOp (this=0x7fc6b40edb40) at src/devicehosting/controlpoint/hevent_subscription_p.cpp:173
#9  0x00007fc6ddacb1bb in Herqq::Upnp::HEventSubscription::connected (this=0x7fc6b40edb40) at src/devicehosting/controlpoint/hevent_subscription_p.cpp:193
#10 0x00007fc6ddaf256c in Herqq::Upnp::HEventSubscription::qt_metacall (this=0x7fc6b40edb40, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffa9cc3530) at obj/moc_hevent_subscription_p.cpp:92
#11 0x00007fc6e5f55c43 in QMetaObject::activate (sender=0x7fc6b40edc30, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#12 0x00007fc6e3b9bc2e in QAbstractSocketPrivate::fetchConnectionParameters (this=0x7fc6b41b1180) at socket/qabstractsocket.cpp:1211
#13 0x00007fc6e3b9d0ee in QAbstractSocketPrivate::_q_testConnection (this=0x7fc6b41b1180) at socket/qabstractsocket.cpp:1066
#14 0x00007fc6e3b8cee9 in QWriteNotifier::event (this=0x7fc6b40eee50, e=<optimized out>) at socket/qnativesocketengine.cpp:1133
#15 0x00007fc6e4f761cd in QApplicationPrivate::notify_helper (this=0x1afc820, receiver=0x7fc6b40eee50, e=0x7fffa9cc3b00) at kernel/qapplication.cpp:4481
#16 0x00007fc6e4f7b930 in QApplication::notify (this=<optimized out>, receiver=0x7fc6b40eee50, e=0x7fffa9cc3b00) at kernel/qapplication.cpp:4360
#17 0x00007fc6e6d39a66 in KApplication::notify (this=0x1af84c0, receiver=0x7fc6b40eee50, event=0x7fffa9cc3b00) at /var/tmp/portage/kde-base/kdelibs-4.7.3/work/kdelibs-4.7.3/kdeui/kernel/kapplication.cpp:311
#18 0x00007fc6e5f3db9c in QCoreApplication::notifyInternal (this=0x1af84c0, receiver=0x7fc6b40eee50, event=0x7fffa9cc3b00) at kernel/qcoreapplication.cpp:787
#19 0x00007fc6e5f6df60 in sendEvent (event=0x7fffa9cc3b00, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#20 socketNotifierSourceDispatch (source=0x1aff620) at kernel/qeventdispatcher_glib.cpp:110
#21 0x00007fc6e15b89bf in g_main_dispatch (context=0x1aff4b0) at gmain.c:2441
#22 g_main_context_dispatch (context=0x1aff4b0) at gmain.c:3011
#23 0x00007fc6e15b91c8 in g_main_context_iterate (context=0x1aff4b0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3089
#24 0x00007fc6e15b93a1 in g_main_context_iteration (context=0x1aff4b0, may_block=1) at gmain.c:3152
#25 0x00007fc6e5f6e58b in QEventDispatcherGlib::processEvents (this=0x1af8c30, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#26 0x00007fc6e503292e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#27 0x00007fc6e5f3c4d0 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#28 0x00007fc6e5f3c734 in QEventLoop::exec (this=0x7fffa9cc3d40, flags=...) at kernel/qeventloop.cpp:201
#29 0x00007fc6e5f4247b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#30 0x00007fc6d5d4c457 in kdemain () from /usr/lib64/libkdeinit4_krunner.so
#31 0x0000000000407069 in launch (argc=1, _name=0x1aac948 "/usr/bin/krunner", args=<optimized out>, cwd=0x0, envc=<optimized out>, envs=<optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x40b1ce "0") at /var/tmp/portage/kde-base/kdelibs-4.7.3/work/kdelibs-4.7.3/kinit/kinit.cpp:734
#32 0x0000000000407c58 in handle_launcher_request (sock=<optimized out>, who=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.7.3/work/kdelibs-4.7.3/kinit/kinit.cpp:1226
#33 0x0000000000408405 in handle_requests (waitForPid=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.7.3/work/kdelibs-4.7.3/kinit/kinit.cpp:1419
#34 0x0000000000408ff5 in main (argc=2, argv=<optimized out>, envp=0x7fffa9cc4e78) at /var/tmp/portage/kde-base/kdelibs-4.7.3/work/kdelibs-4.7.3/kinit/kinit.cpp:1907

Reproducible: Sometimes

Steps to Reproduce:
Uknown.


Expected Results:  
No application should crash because of UPnP network traffic or anything like that.

Gentoo ~amd64.
KDE SC 4.7.3.
Herqq 1.0.0.
kio-upnp-ms Git 3001958c.
Cagibi 2.0.0.
Comment 1 Christoph Feck 2011-11-18 00:09:26 UTC

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