Bug 207372 - KNetworkManager crashed in NMDBusActiveConnectionMonitor::interfaceConnectionForConnectionActive() after removing ath5k module
Summary: KNetworkManager crashed in NMDBusActiveConnectionMonitor::interfaceConnection...
Status: RESOLVED UPSTREAM
Alias: None
Product: Network Management
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Will Stephenson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-14 19:15 UTC by Jonathan Thomas
Modified: 2011-03-21 17:25 UTC (History)
3 users (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 Jonathan Thomas 2009-09-14 19:15:55 UTC
Version:           0.8 svn 1017841 (using KDE 4.3.1)
OS:                Linux
Installed from:    Ubuntu Packages

Originally reported at https://launchpad.net/bugs/427737

The user reported a crash that occurred when disabling the ath5k kernel module while a wireless connection was active.

The crash produced the following backtrace:


#0  0x01144517 in QMetaObject::cast (this=0x806a7c0, obj=0x8bc2320)
    at kernel/qmetaobject.cpp:299
	m = <value optimized out>
#1  0x00fef0b4 in NMDBusActiveConnectionMonitor::interfaceConnectionForConnectionActive (this=0x8bb8ae8, connectionActive=0x8cf2660)
    at /usr/include/qt4/QtCore/qobject.h:443
	candidate = (class Knm::InterfaceConnection *) 0xbfcd1c90
	_container_ = {c = {{p = {static shared_null = {ref = {
            _q_value = 2532}, alloc = 0, begin = 0, end = 0, sharable = 1, 
          array = {0x0}}, d = 0x8bbb618}, d = 0x8bbb618}}, brk = 0, i = {
    i = 0x8bbb634}, e = {i = 0x8bbb654}}
	ic = (class Knm::InterfaceConnection *) 0x0
	activatables = {{p = {static shared_null = {ref = {_q_value = 2532}, 
        alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, 
      d = 0x8bbb618}, d = 0x8bbb618}}
#2  0x00fef5bc in NMDBusActiveConnectionMonitor::activeConnectionChangedInternal (this=0x8bb8ae8, iface=0x8cf2660, state=1)
    at /build/buildd/plasma-widget-networkmanagement-0.1~svn1017841/backends/NetworkManager/nmdbusactiveconnectionmonitor.cpp:210
	interfaceConnection = <value optimized out>
#3  0x00ff05a0 in NMDBusActiveConnectionMonitor::activeConnectionListChanged (
    this=0x8bb8ae8)
    at /build/buildd/plasma-widget-networkmanagement-0.1~svn1017841/backends/NetworkManager/nmdbusactiveconnectionmonitor.cpp:99
	activeConnectionPath = {static null = {<No data fields>}, 
  static shared_null = {ref = {_q_value = 3585}, alloc = 0, size = 0, 
    data = 0x806a882, clean = 0, simpletext = 0, righttoleft = 0, 
    asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, 
  static shared_empty = {ref = {_q_value = 56}, alloc = 0, size = 0, 
    data = 0x123246e, clean = 0, simpletext = 0, righttoleft = 0, 
    asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x8e55df0, 
  static codecForCStrings = 0x0}
	_container_ = {c = {<QList<QString>> = {{p = {static shared_null = {
            ref = {_q_value = 2532}, alloc = 0, begin = 0, end = 0, 
            sharable = 1, array = {0x0}}, d = 0x8bce588}, 
        d = 0x8bce588}}, <No data fields>}, brk = 0, i = {i = 0x8bce59c}, 
  e = {i = 0x8bce5a0}}
	d = (NMDBusActiveConnectionMonitorPrivate * const) 0x8bb8b48
	currentActiveConnections = {<QList<QString>> = {{p = {
        static shared_null = {ref = {_q_value = 2532}, alloc = 0, begin = 0, 
          end = 0, sharable = 1, array = {0x0}}, d = 0x8bce588}, 
      d = 0x8bce588}}, <No data fields>}
	activatables = {{p = {static shared_null = {ref = {_q_value = 2532}, 
        alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, 
      d = 0x1231ff4}, d = 0x1231ff4}}
#4  0x00fb9d6d in NMDBusActiveConnectionMonitor::qt_metacall (this=0x8bb8ae8, 
    _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfcd1d7c)
    at /build/buildd/plasma-widget-networkmanagement-0.1~svn1017841/obj-i486-linux-gnu/backends/NetworkManager/moc_nmdbusactiveconnectionmonitor.cpp:73
No locals.
#5  0x01155253 in QMetaObject::activate (sender=0x8b8b890, 
    from_signal_index=9, to_signal_index=9, argv=0x0)
    at kernel/qobject.cpp:3113
	c = <value optimized out>
	method = 4
	currentSender = {sender = 0x8b8b890, signal = 9, ref = 1}
	previousSender = (QObjectPrivate::Sender *) 0x0
	i = 0
	count = 1
	signal = 9
	empty_argv = {0x0}
	locker = {{mtx = 0x8ab3e7c, val = 145440380}}
	currentThreadData = <value optimized out>
	connectionLists = (QObjectConnectionListVector *) 0x8bb25b8
#6  0x01155eb2 in QMetaObject::activate (sender=0x8b8b890, m=0x1426e0, 
    local_signal_index=5, argv=0x0) at kernel/qobject.cpp:3187
	signal_index = 10
#7  0x00125287 in Solid::Control::NetworkManager::Notifier::activeConnectionsChanged () from /usr/lib/libsolidcontrol.so.4
No symbol table info available.
#8  0x00125483 in Solid::Control::NetworkManager::Notifier::qt_metacall ()
   from /usr/lib/libsolidcontrol.so.4
No symbol table info available.
#9  0x00125eaa in ?? () from /usr/lib/libsolidcontrol.so.4
No symbol table info available.
#10 0x01155253 in QMetaObject::activate (sender=0x8b93bd8, 
    from_signal_index=17, to_signal_index=17, argv=0x0)
    at kernel/qobject.cpp:3113
	c = <value optimized out>
	method = 9
	currentSender = {sender = 0x8b93bd8, signal = 17, ref = 1}
	previousSender = (QObjectPrivate::Sender *) 0x0
	i = 0
	count = 1
	signal = 17
	empty_argv = {0x0}
	locker = {{mtx = 0x8ab3e7c, val = 145440380}}
	currentThreadData = <value optimized out>
	connectionLists = (QObjectConnectionListVector *) 0x8bb16d8
#11 0x01155eb2 in QMetaObject::activate (sender=0x8b93bd8, m=0x12cda70, 
    local_signal_index=5, argv=0x0) at kernel/qobject.cpp:3187
	signal_index = 10
#12 0x012b10e7 in NMNetworkManager::activeConnectionsChanged ()
   from /usr/lib/kde4/solid_networkmanager07.so
No symbol table info available.
#13 0x012b4d53 in NMNetworkManager::propertiesChanged ()
   from /usr/lib/kde4/solid_networkmanager07.so
No symbol table info available.
#14 0x012b5845 in NMNetworkManager::qt_metacall ()
   from /usr/lib/kde4/solid_networkmanager07.so
No symbol table info available.
#15 0x01155253 in QMetaObject::activate (sender=0x8b6cd00, 
    from_signal_index=7, to_signal_index=7, argv=0xbfcd2148)
    at kernel/qobject.cpp:3113
	c = <value optimized out>
	method = 23
	currentSender = {sender = 0x8b6cd00, signal = 7, ref = 1}
	previousSender = (QObjectPrivate::Sender *) 0x0
	i = 0
	count = 1
	signal = 7
	empty_argv = {0x0}
	locker = {{mtx = 0x8ab3e7c, val = 145440380}}
	currentThreadData = <value optimized out>
	connectionLists = (QObjectConnectionListVector *) 0x8bb0f98
#16 0x01155eb2 in QMetaObject::activate (sender=0x8b6cd00, m=0x12cea80, 
    local_signal_index=2, argv=0xbfcd2148) at kernel/qobject.cpp:3187
	signal_index = 10
#17 0x012c1e93 in ?? () from /usr/lib/kde4/solid_networkmanager07.so
No symbol table info available.
#18 0x012c2855 in ?? () from /usr/lib/kde4/solid_networkmanager07.so
No symbol table info available.
#19 0x005507b4 in QDBusConnectionPrivate::deliverCall (this=0x8b754d8, 
    object=0x8b6cd00, msg=@0x8de49ac, metaTypes=@0x8de49b0, slotIdx=7)
    at qdbusintegrator.cpp:891
	context = {connection = {static staticMetaObject = {d = {
        superdata = 0x0, stringdata = 0x58dea0 "QDBusConnection", 
        data = 0x58e080, extradata = 0x0}}, d = 0x8b754d8}, 
  message = @0x8de49ac}
	old = (QDBusContextPrivate *) 0x0
	ptr = {o = 0x8b6cd00}
	params = {a = 10, s = 2, ptr = 0xbfcd23ac, {
    array = "\000\000\000\0000²¿\b0²¿\b\b$Í¿f\235X\000ØT·\b\000\000\000\000\a\000\000\0000²¿\bÈO±\bP(Í¿Xðµ", q_for_alignment_1 = 630418392083333120, 
    q_for_alignment_2 = 1.5359211617347386e-266}}
	i = <value optimized out>
	outputArgs = {{p = {static shared_null = {ref = {_q_value = 2532}, 
        alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, 
      d = 0x806a8e8}, d = 0x806a8e8}}
	fail = true
	auxParameters = {{p = {static shared_null = {ref = {_q_value = 2532}, 
        alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, 
      d = 0x8bb7fd8}, d = 0x8bb7fd8}}
	pCount = 1
warning: (Internal error: pc 0x558197 in read in psymtab, but not in symtab.)
.
warning: (Internal error: pc 0x558196 in read in psymtab, but not in symtab.)
.
warning: (Internal error: pc 0x558196 in read in psymtab, but not in symtab.)
.
#20 0x00558197 in QDBusCallDeliveryEvent::placeMetaCall (this=warning: (Internal error: pc 0x558196 in read in psymtab, but not in symtab.)
.
warning: (Internal error: pc 0x558160 in read in psymtab, but not in symtab.)
.
warning: (Internal error: pc 0x558196 in read in psymtab, but not in symtab.)
.
0x8de4980, 
    object=warning: (Internal error: pc 0x558196 in read in psymtab, but not in symtab.)
.
0x8b6cd00) at qdbusintegrator_p.h:101
warning: (Internal error: pc 0x558196 in read in psymtab, but not in symtab.)
.
No locals.
#21 0x0114f5ee in QObject::event (this=0x8b6cd00, e=0x8de4980)
    at kernel/qobject.cpp:1111
	currentSender = {sender = 0x8b754d8, signal = -1, ref = 1}
	previousSender = (QObjectPrivate::Sender * const) 0x0
#22 0x01ea2f44 in QApplicationPrivate::notify_helper (this=0x8acea80, 
    receiver=0x8b6cd00, e=0x8de4980) at kernel/qapplication.cpp:4056
	consumed = <value optimized out>
#23 0x01eaa66c in QApplication::notify (this=0xbfcd2bb0, receiver=0x8b6cd00, 
    e=0x8de4980) at kernel/qapplication.cpp:3603
	res = true
#24 0x00324f7a in KApplication::notify (this=0xbfcd2bb0, receiver=0x8b6cd00, 
    event=0x8de4980) at ../../kdeui/kernel/kapplication.cpp:302
No locals.
#25 0x0113f6bb in QCoreApplication::notifyInternal (this=0xbfcd2bb0, 
    receiver=0x8b6cd00, event=0x8de4980) at kernel/qcoreapplication.cpp:610
	result = false
	cbdata = {0x8b6cd00, 0x8de4980, 0xbfcd27cf}
	threadData = (QThreadData *) 0x8ab3e48
	returnValue = <value optimized out>
#26 0x011402a2 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, 
    event_type=0, data=0x8ab3e48)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
	pe = (const QPostEvent &) @0x8bb65e8: {receiver = 0x8b6cd00, 
  event = 0x0, priority = 0}
	e = (class QEvent *) 0x8de4980
	r = (class QObject *) 0x8b6cd00
	locker = {{mtx = 0x8ab3e70, val = 145440368}}
	startOffset = 0
	i = (int &) @0x8ab3e68: 2
#27 0x0114046d in QCoreApplication::sendPostedEvents (receiver=0x0, 
    event_type=0) at kernel/qcoreapplication.cpp:1140
	data = <value optimized out>
#28 0x0116a3ef in postEventSourceDispatch (s=0x8ad5318)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
No locals.
#29 0x03724e58 in IA__g_main_context_dispatch (context=0x8ad0600)
    at /build/buildd/glib2.0-2.21.6/glib/gmain.c:1960
No locals.
#30 0x03728700 in g_main_context_iterate (context=0x8ad0600, 
    block=<value optimized out>, dispatch=1, self=0x8ace5c8)
    at /build/buildd/glib2.0-2.21.6/glib/gmain.c:2591
	max_priority = 0
	timeout = 0
	some_ready = 1
	nfds = <value optimized out>
	allocated_nfds = <value optimized out>
	fds = <value optimized out>
	__PRETTY_FUNCTION__ = "g_main_context_iterate"
#31 0x03728833 in IA__g_main_context_iteration (context=0x8ad0600, 
    may_block=1) at /build/buildd/glib2.0-2.21.6/glib/gmain.c:2654
	retval = <value optimized out>
#32 0x0116a01c in QEventDispatcherGlib::processEvents (this=0x8ab3a30, flags=
      {i = 36}) at kernel/qeventdispatcher_glib.cpp:327
	d = (QEventDispatcherGlibPrivate * const) 0x8aceb40
	canWait = true
	result = <value optimized out>
#33 0x01f43ad5 in QGuiEventDispatcherGlib::processEvents (this=0x8ab3a30, 
    flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:202
	d = (QGuiEventDispatcherGlibPrivate * const) 0x8aceb40
	returnValue = 116
#34 0x0113dc69 in QEventLoop::processEvents (this=0xbfcd2b14, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
)
    at kernel/qeventloop.cpp:149
	d = (QEventLoopPrivate * const) 0x8be16f0
#35 0x0113e0ba in QEventLoop::exec (this=0xbfcd2b14, flags={i = 0})
    at kernel/qeventloop.cpp:201
	d = (QEventLoopPrivate * const) 0x8be16f0
	app = <value optimized out>
#36 0x0114052f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
	threadData = (QThreadData *) 0x8ab3e48
	eventLoop = {<QObject> = {_vptr.QObject = 0x12317a8, 
    static staticMetaObject = {d = {superdata = 0x0, 
        stringdata = 0x11d8b20 "QObject", data = 0x11d8bc0, 
        extradata = 0x122d1b8}}, d_ptr = 0x8be16f0, 
    static staticQtMetaObject = {d = {superdata = 0x0, 
        stringdata = 0x11e2300 "Qt", data = 0x11e5680, extradata = 0x0}}}, 
  static staticMetaObject = {d = {superdata = 0x806a770, 
      stringdata = 0x11ea720 "QEventLoop", data = 0x11ea740, 
      extradata = 0x0}}}
	returnCode = -1
#37 0x01ea2dc7 in QApplication::exec () at kernel/qapplication.cpp:3525
No locals.
#38 0x080526b1 in main (argc=1, argv=0xbfcd2ce4)
    at /build/buildd/plasma-widget-networkmanagement-0.1~svn1017841/monolithic/main.cpp:43
	about = {d = 0x8ab6180}
	options = {d = 0x8ac8ec0}
	app = {<KUniqueApplication> = {<KApplication> = {<QApplication> = {<QCoreApplication> = {<QObject> = {_vptr.QObject = 0x80637c8, 
            static staticMetaObject = {d = {superdata = 0x0, 
                stringdata = 0x11d8b20 "QObject", data = 0x11d8bc0, 
                extradata = 0x122d1b8}}, d_ptr = 0x8acea80, 
            static staticQtMetaObject = {d = {superdata = 0x0, 
                stringdata = 0x11e2300 "Qt", data = 0x11e5680, 
                extradata = 0x0}}}, static staticMetaObject = {d = {
              superdata = 0x806a770, 
              stringdata = 0x11ea7a0 "QCoreApplication", data = 0x11ea840, 
              extradata = 0x0}}, static self = 0xbfcd2bb0}, 
        static staticMetaObject = {d = {superdata = 0x12317e4, 
            stringdata = 0x253b4c0 "QApplication", data = 0x253b6c0, 
            extradata = 0x0}}}, static staticMetaObject = {d = {
          superdata = 0x2704f48, stringdata = 0x4ab860 "KApplication", 
          data = 0x4aba00, extradata = 0x0}}, static loadedByKdeinit = false, 
      static KApp = 0xbfcd2bb0, d = 0x8b04950}, static staticMetaObject = {
      d = {superdata = 0x51ebc0, stringdata = 0x4ac120 "KUniqueApplication", 
        data = 0x4ac220, extradata = 0x0}}, d = 0x8b6a758}, 
  static staticMetaObject = {d = {superdata = 0x806a8d8, 
      stringdata = 0x8063140 "Monolithic", data = 0x8063600, 
      extradata = 0x0}}, d_ptr = 0x8b69958}
	i = 1852795252
Comment 1 Will Stephenson 2009-09-27 21:41:24 UTC
I can't reproduce this when removing iwl3945 and the reason that NMDBusActiveConnectionMonitor is deleted is not obvious.

Can you get the original reporter to reproduce the crash in valgrind?
Comment 2 Jonathan Thomas 2009-09-27 22:25:15 UTC
Downstream bug pinged. If the downstream bug becomes inactive for 30 days I will close it.
Comment 3 Børre Gaup 2009-10-10 21:29:11 UTC
I am the one that issued the bug in launchpad.
I repeatedly issued the command sudo modprobe -vr ath9k (which is my network driver), waited for a while and then activated the driver again with sudo modprobe -v ath9k without any crashes.

plasma-widget-networkmanagement      0.9~svn1029786-0ubuntu1
linux-image-2.6.31-13-generic        2.6.31-13.42
Comment 4 Lamarque V. Souza 2011-03-17 04:18:55 UTC
Is this problem still happening?
Comment 5 Børre Gaup 2011-03-17 10:37:31 UTC
I haven't used the machine with ath5k for a long time (haven't linux on it anymore), so I don't know if that particular crash occurs anymore.
As I noted in comment 3, my current driver, ath9k doesn't have this problem.
Comment 6 Lamarque V. Souza 2011-03-17 17:45:12 UTC
I will close this bug then since it is a driver problem.
Comment 7 nowardev 2011-03-21 17:25:09 UTC
i am the "user"

i am on natty with 4.6.1 , no problem removing ath5k