Bug 342562 - kded4: Segmentation fault on startup - Crash will be caused by poilcy routing and/or a second routing table.
Summary: kded4: Segmentation fault on startup - Crash will be caused by poilcy routing...
Status: RESOLVED UPSTREAM
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: 4.13.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-06 18:23 UTC by Martin Nicholas
Modified: 2015-01-06 22:28 UTC (History)
1 user (show)

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 Martin Nicholas 2015-01-06 18:23:46 UTC
kded4 segfaults on startup.
Only occurs with a second routing table and policy routing active.

Reproducible: Always

Steps to Reproduce:
Use policy routing and second routing table before kde startup.



Application: kded4 (4.13.3)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.13.0-43-generic x86_64
Distribution: Ubuntu 14.04.1 LTS

-- Information about the crash:
KDE Startup - Crash will be caused by poilcy routing and/or a second routing table.

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Dæmon (kded4), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5852dbe7c0 (LWP 4363))]

Thread 3 (Thread 0x7f5830c1f700 (LWP 4398)):
#0  0x00007f584d70a61a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f584d70a9a9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f584d6c8ef6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f584d6c930a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f583112f336 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#5  0x00007f584d6edf05 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f584ddb0182 in start_thread (arg=0x7f5830c1f700) at pthread_create.c:312
#7  0x00007f5850612efd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f581bfff700 (LWP 4413)):
#0  0x00007f584d70a61d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f584d70a979 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f584d6c887b in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f584d6c8f52 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f584d6c90ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f5851a4a7be in QEventDispatcherGlib::processEvents (this=0x7f58100008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f5851a1c0af in QEventLoop::processEvents (this=this@entry=0x7f581bffede0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f5851a1c3a5 in QEventLoop::exec (this=this@entry=0x7f581bffede0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f5851918c5f in QThread::exec (this=this@entry=0x13dd150) at thread/qthread.cpp:537
#9  0x00007f58519fd823 in QInotifyFileSystemWatcherEngine::run (this=0x13dd150) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f585191b32f in QThreadPrivate::start (arg=0x13dd150) at thread/qthread_unix.cpp:349
#11 0x00007f584ddb0182 in start_thread (arg=0x7f581bfff700) at pthread_create.c:312
#12 0x00007f5850612efd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f5852dbe7c0 (LWP 4363)):
[KCrash Handler]
#6  0x00007f581ada1750 in rtnl_route_nh_get_ifindex () from /usr/lib/x86_64-linux-gnu/libnl-route-3.so.200
#7  0x00007f581afd9ac4 in ?? () from /usr/lib/ntrack/modules/ntrack-libnl3_x.so
#8  0x00007f581afda03f in _ntrack_arch_new () from /usr/lib/ntrack/modules/ntrack-libnl3_x.so
#9  0x00007f581b1e12ff in ?? () from /usr/lib/libntrack.so.0
#10 0x00007f581b1e1a2a in ntrack_monitor_get () from /usr/lib/libntrack.so.0
#11 0x00007f581b3e9f61 in QNtrack::QNtrack() () from /usr/lib/libntrack-qt4.so.1
#12 0x00007f581b3ea03b in QNtrack::instance() () from /usr/lib/libntrack-qt4.so.1
#13 0x00007f581b5f87ee in NtrackNetworkState::NtrackNetworkState (this=0x155d770, statusmodule=0x1572b40) at ../../../solid-networkstatus/kded/ntracknetworkstate.cpp:57
#14 0x00007f581b5f5fc9 in NetworkStatusModule::NetworkStatusModule (this=0x1572b40, parent=<optimized out>) at ../../../solid-networkstatus/kded/networkstatus.cpp:85
#15 0x00007f581b5f7028 in KPluginFactory::createInstance<NetworkStatusModule, QObject> (parentWidget=<optimized out>, parent=<optimized out>, args=...) at /usr/include/kpluginfactory.h:477
#16 0x00007f5851f86433 in KPluginFactory::create (this=0x1577ef0, iface=0x7f5851fdb500 <qt_meta_stringdata_KDEDModule> "KDEDModule", parentWidget=0x0, parent=0x110de90, args=..., keyword=...) at ../../kdecore/util/kpluginfactory.cpp:203
#17 0x00007f583c0b0d3a in create<KDEDModule> (args=..., parent=0x110de90, this=<optimized out>) at ../../kdecore/util/kpluginfactory.h:507
#18 Kded::loadModule (this=this@entry=0x110de90, s=..., onDemand=onDemand@entry=true) at ../../kded/kded.cpp:409
#19 0x00007f583c0b21e0 in Kded::loadModule (this=0x110de90, obj=..., onDemand=<optimized out>) at ../../kded/kded.cpp:361
#20 0x00007f583c0b240c in Kded::messageFilter (message=...) at ../../kded/kded.cpp:204
#21 0x00007f584ed76962 in QDBusConnectionPrivate::handleMessage (this=0x11058f0, amsg=...) at qdbusintegrator.cpp:563
#22 0x00007f584ed76c1e in qDBusSignalFilter (connection=<optimized out>, message=<optimized out>, data=0x11058f0) at qdbusintegrator.cpp:552
#23 0x00007f584c08e9d6 in dbus_connection_dispatch () from /lib/x86_64-linux-gnu/libdbus-1.so.3
#24 0x00007f584ed6b489 in q_dbus_connection_dispatch (connection=<optimized out>) at qdbus_symbols_p.h:115
#25 QDBusConnectionPrivate::doDispatch (this=this@entry=0x11058f0) at qdbusintegrator.cpp:1133
#26 0x00007f584ed6b617 in QDBusConnectionPrivate::socketRead (this=0x11058f0, fd=5) at qdbusintegrator.cpp:1153
#27 0x00007f584edaec8b in QDBusConnectionPrivate::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at .moc/release-shared/moc_qdbusconnection_p.cpp:75
#28 0x00007f5851a3187a in QMetaObject::activate (sender=sender@entry=0x12a3d40, m=m@entry=0x7f5851d81a40 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffbd5358d0) at kernel/qobject.cpp:3539
#29 0x00007f5851a7c2ae in QSocketNotifier::activated (this=this@entry=0x12a3d40, _t1=5) at .moc/release-shared/moc_qsocketnotifier.cpp:102
#30 0x00007f5851a3a64b in QSocketNotifier::event (this=0x12a3d40, e=0x7fffbd535c00) at kernel/qsocketnotifier.cpp:316
#31 0x00007f5850db1e2c in QApplicationPrivate::notify_helper (this=this@entry=0x1125af0, receiver=receiver@entry=0x12a3d40, e=e@entry=0x7fffbd535c00) at kernel/qapplication.cpp:4567
#32 0x00007f5850db84a0 in QApplication::notify (this=this@entry=0x7fffbd535f70, receiver=receiver@entry=0x12a3d40, e=e@entry=0x7fffbd535c00) at kernel/qapplication.cpp:4353
#33 0x00007f58527a9d1a in KApplication::notify (this=0x7fffbd535f70, receiver=0x12a3d40, event=0x7fffbd535c00) at ../../kdeui/kernel/kapplication.cpp:311
#34 0x00007f5851a1d4dd in QCoreApplication::notifyInternal (this=0x7fffbd535f70, receiver=0x12a3d40, event=event@entry=0x7fffbd535c00) at kernel/qcoreapplication.cpp:953
#35 0x00007f5851a4b4a8 in sendEvent (event=0x7fffbd535c00, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#36 socketNotifierSourceDispatch (source=0x1127080) at kernel/qeventdispatcher_glib.cpp:117
#37 0x00007f584d6c8e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f584d6c9048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f584d6c90ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f5851a4a7a1 in QEventDispatcherGlib::processEvents (this=0x10606d0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#41 0x00007f5850e53bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007f5851a1c0af in QEventLoop::processEvents (this=this@entry=0x7fffbd535e40, flags=...) at kernel/qeventloop.cpp:149
#43 0x00007f5851a1c3a5 in QEventLoop::exec (this=this@entry=0x7fffbd535e40, flags=...) at kernel/qeventloop.cpp:204
#44 0x00007f5851a21b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#45 0x00007f5850db037c in QApplication::exec () at kernel/qapplication.cpp:3828
#46 0x00007f583c0b2d1b in kdemain (argc=1, argv=0x10f3200) at ../../kded/kded.cpp:940
#47 0x00000000004083ee in launch (argc=argc@entry=1, _name=_name@entry=0x40afc7 "kded4", args=args@entry=0x0, cwd=cwd@entry=0x0, envc=envc@entry=0, envs=<optimized out>, envs@entry=0x0, reset_env=reset_env@entry=false, tty=tty@entry=0x0, avoid_loops=avoid_loops@entry=false, startup_id_str=startup_id_str@entry=0x40ae56 "0") at ../../kinit/kinit.cpp:738
#48 0x00000000004059a3 in main (argc=4, argv=<optimized out>, envp=0x7fffbd5366d0) at ../../kinit/kinit.cpp:1853
Comment 1 Christoph Feck 2015-01-06 22:28:18 UTC
Crash is in the ntrack library, please report this issue directly to ntrack developers via https://launchpad.net/ntrack