Bug 202690 - KNetworkManager crashed in Knm::Activatable::deviceUni() while configuring 3G connection
Summary: KNetworkManager crashed in Knm::Activatable::deviceUni() while configuring 3G...
Status: RESOLVED FIXED
Alias: None
Product: Network Management
Classification: Miscellaneous
Component: knetworkmanager (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Will Stephenson
URL:
Keywords:
: 204829 205270 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-05 21:21 UTC by Jonathan Thomas
Modified: 2009-08-28 22:12 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-08-05 21:21:24 UTC
Version:           svn r1002781 (using KDE 4.3.0)
OS:                Linux
Installed from:    Ubuntu Packages

Originally reported August 3rd at https://launchpad.net/bugs/408508
The user is using KDE 4.2.98, Qt 4.5.2 and the monolithic client at svn revision 1002781
The svn snapshot is a couple of days old, but the code that this is crashing in looks untouched for about a week.

Anyway, the crash was reported as happening while configuring a 3G connection. Here's the stacktrace:

#0  Knm::Activatable::deviceUni (this=0x0)
    at /usr/include/qt4/QtCore/qstring.h:711
No locals.
#1  0x00143c48 in ConfigurationLauncher::handleAdd (this=0x9aded58, 
    added=0x9b38eb8)
    at /build/buildd/plasma-widget-networkmanagement-0.1~svn1002781/libs/service/configurationlauncher.cpp:73
	d = (ConfigurationLauncherPrivate * const) 0x9ae1dc0
	ic = (class Knm::InterfaceConnection *) 0x9b38eb8
	wic = <value optimized out>
	__PRETTY_FUNCTION__ = "virtual void ConfigurationLauncher::handleAdd(Knm::Activatable*)"
#2  0x0013d173 in ActivatableList::addActivatableInternal (this=0x9ae0f98, 
    activatable=0x9b38eb8)
    at /build/buildd/plasma-widget-networkmanagement-0.1~svn1002781/libs/service/activatablelist.cpp:94
	observer = (class ActivatableObserver *) 0xbfae1e00
	_container_ = {c = {{p = {static shared_null = {ref = {
            _q_value = 1713}, alloc = 0, begin = 0, end = 0, sharable = 1, 
          array = {0x0}}, d = 0x9b55c50}, d = 0x9b55c50}}, brk = 0, i = {
    i = 0x9b55c6c}, e = {i = 0x9b55c8c}}
	d = <value optimized out>
#3  0x0013d20c in ActivatableList::addActivatable (this=0x9ae0f98, 
    activatable=0x0)
    at /build/buildd/plasma-widget-networkmanagement-0.1~svn1002781/libs/service/activatablelist.cpp:82
No locals.
#4  0x0013f7ef in NetworkInterfaceActivatableProvider::handleAdd (
    this=0x9b72750, addedConnection=0x9aeafb8)
    at /build/buildd/plasma-widget-networkmanagement-0.1~svn1002781/libs/service/networkinterfaceactivatableprovider.cpp:162
	d = (NetworkInterfaceActivatableProviderPrivate * const) 0x9c61320
	__PRETTY_FUNCTION__ = "virtual void NetworkInterfaceActivatableProvider::handleAdd(Knm::Connection*)"
#5  0x001382eb in ConnectionList::addConnection (this=0x9b03e30, 
    connection=0x9aeafb8)
    at /build/buildd/plasma-widget-networkmanagement-0.1~svn1002781/libs/service/connectionlist.cpp:91
	connHandler = (class ConnectionHandler *) 0xbfae1e00
	_container_ = {c = {{p = {static shared_null = {ref = {
            _q_value = 1713}, alloc = 0, begin = 0, end = 0, sharable = 1, 
          array = {0x0}}, d = 0x9b37510}, d = 0x9b37510}}, brk = 0, i = {
    i = 0x9b3753c}, e = {i = 0x9b37540}}
	d = <value optimized out>
	__PRETTY_FUNCTION__ = "void ConnectionList::addConnection(Knm::Connection*)"
#6  0x0013bcdb in ConnectionListPersistence::configure (this=0x9b14408, 
    changedConnections=@0x9b6df48)
    at /build/buildd/plasma-widget-networkmanagement-0.1~svn1002781/libs/service/connectionlistpersistence.cpp:212
	connectionId = {static null = {<No data fields>}, 
  static shared_null = {ref = {_q_value = 3293}, alloc = 0, size = 0, 
    data = 0x8066712, clean = 0, simpletext = 0, righttoleft = 0, 
    asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, 
  static shared_empty = {ref = {_q_value = 62}, alloc = 0, size = 0, 
    data = 0xbb646e, clean = 0, simpletext = 0, righttoleft = 0, 
    asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x9aeaf08, 
  static codecForCStrings = 0x0}
	_container_ = {c = {<QList<QString>> = {{p = {static shared_null = {
            ref = {_q_value = 1713}, alloc = 0, begin = 0, end = 0, 
            sharable = 1, array = {0x0}}, d = 0x9b76658}, 
        d = 0x9b76658}}, <No data fields>}, brk = 0, i = {i = 0x9b7666c}, 
  e = {i = 0x9b76670}}
	deletedConnections = {<QList<QString>> = {{p = {static shared_null = {
          ref = {_q_value = 1713}, alloc = 0, begin = 0, end = 0, 
          sharable = 1, array = {0x0}}, d = 0x8066738}, 
      d = 0x8066738}}, <No data fields>}
	allConnections = {<QList<QString>> = {{p = {static shared_null = {
          ref = {_q_value = 1713}, alloc = 0, begin = 0, end = 0, 
          sharable = 1, array = {0x0}}, d = 0x9aeafe8}, 
      d = 0x9aeafe8}}, <No data fields>}
	localConnections = {<QList<QString>> = {{p = {static shared_null = {
          ref = {_q_value = 1713}, alloc = 0, begin = 0, end = 0, 
          sharable = 1, array = {0x0}}, d = 0x8066738}, 
      d = 0x8066738}}, <No data fields>}
	onDiskConnections = {<QList<QString>> = {{p = {static shared_null = {
          ref = {_q_value = 1713}, alloc = 0, begin = 0, end = 0, 
          sharable = 1, array = {0x0}}, d = 0x9b74bc0}, 
      d = 0x9b74bc0}}, <No data fields>}
	__PRETTY_FUNCTION__ = "void ConnectionListPersistence::configure(const QStringList&)"
	d = (ConnectionListPersistencePrivate * const) 0x9b03a28
	addedConnections = {<QList<QString>> = {{p = {static shared_null = {
          ref = {_q_value = 1713}, alloc = 0, begin = 0, end = 0, 
          sharable = 1, array = {0x0}}, d = 0x9b76658}, 
      d = 0x9b76658}}, <No data fields>}
#7  0x001375eb in ConnectionListPersistence::qt_metacall (this=0x9b14408, 
    _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfae234c)
    at /build/buildd/plasma-widget-networkmanagement-0.1~svn1002781/obj-i486-linux-gnu/libs/service/moc_connectionlistpersistence.cpp:73
No locals.
#8  0x0088a7b4 in QDBusConnectionPrivate::deliverCall (this=0x9a37920, 
    object=0x9b14408, msg=@0x9b6dce8, metaTypes=@0xbfae240c, slotIdx=4)
    at qdbusintegrator.cpp:891
	context = {connection = {static staticMetaObject = {d = {
        superdata = 0x0, stringdata = 0x8c7ea0 "QDBusConnection", 
        data = 0x8c8080, extradata = 0x0}}, d = 0x9a37920}, 
  message = @0x9b6dce8}
	old = (QDBusContextPrivate *) 0x0
	ptr = {o = 0x9b14408}
	params = {a = 10, s = 2, ptr = 0xbfae234c, {
    array = "\000\000\000\000H??\t?#?\tx#???\031?\000HG?\000\000\000\000\000?\000\004\000?\231?\t?r?\t?\231?\t?r?\t", 
    q_for_alignment_1 = 699992292433330176, 
    q_for_alignment_2 = 7.2635942525299068e-262}}
	i = <value optimized out>
	outputArgs = {{p = {static shared_null = {ref = {_q_value = 1713}, 
        alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, 
      d = 0x8066738}, d = 0x8066738}}
	fail = true
	auxParameters = {{p = {static shared_null = {ref = {_q_value = 1713}, 
        alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, 
      d = 0x8066738}, d = 0x8066738}}
	pCount = 1
#9  0x0088b95d in QDBusConnectionPrivate::activateCall (this=0x9a37920, 
    object=0x9b14408, flags=16, msg=@0x9b6dce8) at qdbusintegrator.cpp:796
	mo = (const QMetaObject *) 0x3851d63
	memberName = {static shared_null = {ref = {_q_value = 1663}, 
    alloc = 0, size = 0, data = 0x8066724 "", array = ""}, 
  static shared_empty = {ref = {_q_value = 12}, alloc = 0, size = 0, 
    data = 0xbb6398 "", array = ""}, d = 0x9b52ae8}
	slotData = {flags = 16, slotIdx = 4, metaTypes = {{p = {
        static shared_null = {ref = {_q_value = 1713}, alloc = 0, begin = 0, 
          end = 0, sharable = 1, array = {0x0}}, d = 0x9b57f38}, 
      d = 0x9b57f38}}}
	cachePropertyName = "_qdbus_slotCache"
	slotCache = {hash = {<QHash<QString, QDBusSlotCache::Data>> = {{
        d = 0x9b6c5d0, e = 0x9b6c5d0}}, <No data fields>}}
	cacheKey = {static null = {<No data fields>}, static shared_null = {
    ref = {_q_value = 3293}, alloc = 0, size = 0, data = 0x8066712, 
    clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, 
    reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 62}, 
    alloc = 0, size = 0, data = 0xbb646e, clean = 0, simpletext = 0, 
    righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {
      0}}, d = 0x9b57500, static codecForCStrings = 0x0}
	signature = {static null = {<No data fields>}, static shared_null = {
    ref = {_q_value = 3293}, alloc = 0, size = 0, data = 0x8066712, 
    clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, 
    reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 62}, 
    alloc = 0, size = 0, data = 0xbb646e, clean = 0, simpletext = 0, 
    righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {
      0}}, d = 0x9b46388, static codecForCStrings = 0x0}
#10 0x0088bfc3 in QDBusConnectionPrivate::activateObject (this=0x9a37920, 
    node=@0x9b6dcd4, msg=@0x9b6dce8, pathStartPos=12)
    at qdbusintegrator.cpp:1370
	connector = (class QDBusAdaptorConnector *) 0x9a37954
#11 0x0088c4da in QDBusActivateObjectEvent::placeMetaCall (this=0x9b6dca8)
    at qdbusintegrator.cpp:1464
No locals.
#12 0x00ad471e in QObject::event (this=0x9b14408, e=0x9b6dca8)
    at kernel/qobject.cpp:1111
	currentSender = {sender = 0x9a37920, signal = -1, ref = 1}
	previousSender = (QObjectPrivate::Sender * const) 0x0
#13 0x0111cc74 in QApplicationPrivate::notify_helper (this=0x9a301a8, 
    receiver=0x9b14408, e=0x9b6dca8) at kernel/qapplication.cpp:4056
	consumed = <value optimized out>
#14 0x0112439c in QApplication::notify (this=0xbfae2cb0, receiver=0x9b14408, 
    e=0x9b6dca8) at kernel/qapplication.cpp:3603
	res = true
#15 0x0065eada in KApplication::notify (this=0xbfae2cb0, receiver=0x9b14408, 
    event=0x9b6dca8) at ../../kdeui/kernel/kapplication.cpp:302
No locals.
#16 0x00ac47eb in QCoreApplication::notifyInternal (this=0xbfae2cb0, 
    receiver=0x9b14408, event=0x9b6dca8) at kernel/qcoreapplication.cpp:610
	result = false
	cbdata = {0x9b14408, 0x9b6dca8, 0xbfae28af}
	threadData = (QThreadData *) 0x9a16128
	returnValue = <value optimized out>
#17 0x00ac53d2 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, 
    event_type=0, data=0x9a16128)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
	pe = (const QPostEvent &) @0x9ab2e78: {receiver = 0x9b14408, 
  event = 0x0, priority = 0}
	e = (class QEvent *) 0x9b6dca8
	r = (class QObject *) 0x9b14408
	locker = {{mtx = 0x9a16150, val = 161571152}}
	startOffset = 0
	i = (int &) @0x9a16148: 2
#18 0x00ac559d in QCoreApplication::sendPostedEvents (receiver=0x0, 
    event_type=0) at kernel/qcoreapplication.cpp:1140
	data = <value optimized out>
#19 0x00aef51f in postEventSourceDispatch (s=0x9a32310)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
No locals.
#20 0x03758c48 in IA__g_main_context_dispatch (context=0x9a32290)
    at /build/buildd/glib2.0-2.21.4/glib/gmain.c:1960
No locals.
#21 0x0375c4f0 in g_main_context_iterate (context=0x9a32290, 
    block=<value optimized out>, dispatch=1, self=0x9a2fc18)
    at /build/buildd/glib2.0-2.21.4/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"
#22 0x0375c623 in IA__g_main_context_iteration (context=0x9a32290, 
    may_block=1) at /build/buildd/glib2.0-2.21.4/glib/gmain.c:2654
	retval = <value optimized out>
#23 0x00aef14c in QEventDispatcherGlib::processEvents (this=0x9a15d10, flags=
      {i = 36}) at kernel/qeventdispatcher_glib.cpp:327
	d = (QEventDispatcherGlibPrivate * const) 0x9a30268
	canWait = true
	result = <value optimized out>
#24 0x011bd7e5 in QGuiEventDispatcherGlib::processEvents (this=0x9a15d10, 
    flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:202
	d = (QGuiEventDispatcherGlibPrivate * const) 0x9a30268
	returnValue = false
#25 0x00ac2d99 in QEventLoop::processEvents (this=0xbfae2bf4, flags=)
    at kernel/qeventloop.cpp:149
	d = (QEventLoopPrivate * const) 0x9b3c038
#26 0x00ac31ea in QEventLoop::exec (this=0xbfae2bf4, flags={i = 0})
    at kernel/qeventloop.cpp:201
	d = (QEventLoopPrivate * const) 0x9b3c038
	app = <value optimized out>
#27 0x00ac565f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
	threadData = (QThreadData *) 0x9a16128
	eventLoop = {<QObject> = {_vptr.QObject = 0xbb57a8, 
    static staticMetaObject = {d = {superdata = 0x0, 
        stringdata = 0xb5dcc0 "QObject", data = 0xb5dd60, 
        extradata = 0xbb11b8}}, d_ptr = 0x9b3c038, 
    static staticQtMetaObject = {d = {superdata = 0x0, 
        stringdata = 0xb674a0 "Qt", data = 0xb6a380, extradata = 0x0}}}, 
  static staticMetaObject = {d = {superdata = 0x8066610, 
      stringdata = 0xb6f140 "QEventLoop", data = 0xb6f160, extradata = 0x0}}}
	returnCode = -1
#28 0x0111caf7 in QApplication::exec () at kernel/qapplication.cpp:3525
No locals.
#29 0x08050a2b in main (argc=1, argv=0xbfae2e04)
    at /build/buildd/plasma-widget-networkmanagement-0.1~svn1002781/monolithic/monolithic.cpp:175
	about = {d = 0x9a18460}
	app = {<KApplication> = {<QApplication> = {<QCoreApplication> = {<QObject> = {_vptr.QObject = 0x858d28, static staticMetaObject = {d = {
              superdata = 0x0, stringdata = 0xb5dcc0 "QObject", 
              data = 0xb5dd60, extradata = 0xbb11b8}}, d_ptr = 0x9a301a8, 
          static staticQtMetaObject = {d = {superdata = 0x0, 
              stringdata = 0xb674a0 "Qt", data = 0xb6a380, 
              extradata = 0x0}}}, static staticMetaObject = {d = {
            superdata = 0x8066610, stringdata = 0xb6f1c0 "QCoreApplication", 
            data = 0xb6f260, extradata = 0x0}}, static self = 0xbfae2cb0}, 
      static staticMetaObject = {d = {superdata = 0xbb57e4, 
          stringdata = 0x17b4fa0 "QApplication", data = 0x17b51a0, 
          extradata = 0x0}}}, static staticMetaObject = {d = {
        superdata = 0x197df48, stringdata = 0x7e4d60 "KApplication", 
        data = 0x7e4f00, extradata = 0x0}}, static loadedByKdeinit = false, 
    static KApp = 0xbfae2cb0, d = 0x9a6fad8}, static staticMetaObject = {d = {
      superdata = 0x858bc0, stringdata = 0x7e5620 "KUniqueApplication", 
      data = 0x7e5720, extradata = 0x0}}, d = 0x9b0a178}
	debug = {<QObject> = {_vptr.QObject = 0x15b728, 
    static staticMetaObject = {d = {superdata = 0x0, 
        stringdata = 0xb5dcc0 "QObject", data = 0xb5dd60, 
        extradata = 0xbb11b8}}, d_ptr = 0x9b3ec38, 
    static staticQtMetaObject = {d = {superdata = 0x0, 
        stringdata = 0xb674a0 "Qt", data = 0xb6a380, 
        extradata = 0x0}}}, <ActivatableObserver> = {
    _vptr.ActivatableObserver = 0x15b76c}, static staticMetaObject = {d = {
      superdata = 0x8066610, stringdata = 0x151a23 "ActivatableDebug", 
      data = 0x1520c0, extradata = 0x0}}}
	simpleUi = {<Experimental::KNotificationItem> = {<QObject> = {
      _vptr.QObject = 0x80602a8, static staticMetaObject = {d = {
          superdata = 0x0, stringdata = 0xb5dcc0 "QObject", data = 0xb5dd60, 
          extradata = 0xbb11b8}}, d_ptr = 0x9b37250, 
      static staticQtMetaObject = {d = {superdata = 0x0, 
          stringdata = 0xb674a0 "Qt", data = 0xb6a380, extradata = 0x0}}}, 
    static staticMetaObject = {d = {superdata = 0x8066610, 
        stringdata = 0x1213a0 "Experimental::KNotificationItem", 
        data = 0x121780, extradata = 0x0}}, 
    d = 0x9b55f28}, <ActivatableObserver> = {
    _vptr.ActivatableObserver = 0x80602f0}, static staticMetaObject = {d = {
      superdata = 0x8066620, 
      stringdata = 0x805fa20 "KNetworkManagerTrayIcon", data = 0x805fd60, 
      extradata = 0x0}}, d_ptr = 0x9b5d478}
	i = <value optimized out>
	options = {d = 0x9a2b190}
Comment 1 Will Stephenson 2009-08-11 13:17:22 UTC
SVN commit 1009981 by wstephens:

Fix stupid crash bug
BUG:202690


 M  +1 -0      configurationlauncher.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1009981
Comment 2 Dario Andres 2009-08-23 16:07:02 UTC
*** Bug 204829 has been marked as a duplicate of this bug. ***
Comment 3 Dario Andres 2009-08-28 22:12:25 UTC
*** Bug 205270 has been marked as a duplicate of this bug. ***