Bug 242427

Summary: KnetworkManager crashes when starting a OpenVPN
Product: [Unmaintained] knetworkmanager Reporter: Maral Afris <maral.afris>
Component: generalAssignee: Will Stephenson <wstephenson>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Maral Afris 2010-06-22 00:23:36 UTC
Application: knetworkmanager (v0.9)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Here is the valgrind report:
valgrind knetworkmanager
==9253== Memcheck, a memory error detector
==9253== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==9253== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info
==9253== Command: knetworkmanager
==9253== 
knetworkmanager(9257)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/solid_networkmanager07.so" does not offer a qt_plugin_instance function.

Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)




QLayout: Attempting to add QLayout "" to InterfaceConnectionItem "", which already has a layout
Object::disconnect: Unexpected null parameter
==9253== 
==9253== HEAP SUMMARY:
==9253==     in use at exit: 105,443 bytes in 698 blocks
==9253==   total heap usage: 9,020 allocs, 8,322 frees, 693,449 bytes allocated
==9253== 
==9253== LEAK SUMMARY:
==9253==    definitely lost: 0 bytes in 0 blocks
==9253==    indirectly lost: 0 bytes in 0 blocks
==9253==      possibly lost: 11,474 bytes in 327 blocks
==9253==    still reachable: 93,969 bytes in 371 blocks
==9253==         suppressed: 0 bytes in 0 blocks
==9253== Rerun with --leak-check=full to see details of leaked memory
==9253== 
==9253== For counts of detected and suppressed errors, rerun with: -v
==9253== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 131 from 10)
lex@Lex-DELL:~$ QLayout: Attempting to add QLayout "" to InterfaceConnectionItem "", which already has a layout
==9257== Conditional jump or move depends on uninitialised value(s)
==9257==    at 0x4C7D750: QX11PaintEngine::updateMatrix(QTransform const&) (qpaintengine_x11.cpp:2035)
==9257==    by 0x4C8956A: QX11PaintEngine::updateState(QPaintEngineState const&) (qpaintengine_x11.cpp:1077)
==9257==    by 0x4BC56F3: QPainterPrivate::updateStateImpl(QPainterState*) (qpainter.cpp:892)
==9257==    by 0x4BC57BB: QPainterPrivate::updateState(QPainterState*) (qpainter.cpp:920)
==9257==    by 0x4BD10EE: QPainter::drawEllipse(QRect const&) (qpainter.cpp:4276)
==9257==    by 0x69E292F: OxygenStyleHelper::drawHole(QPainter&, QColor const&, double, int) const (qpainter.h:685)
==9257==    by 0x69E46DF: OxygenStyleHelper::holeFlat(QColor const&, double, int) (helper.cpp:804)
==9257==    by 0x6A1F4EC: OxygenStyle::renderCheckBox(QPainter*, QRect const&, QPalette const&, bool, bool, bool, int, bool, double, Oxygen::AnimationMode) const (oxygen.cpp:4395)
==9257==    by 0x6A2892B: OxygenStyle::drawMenuItemPrimitive(int, QStyleOption const*, QRect const&, QPalette const&, QFlags<QStyle::StateFlag>, QPainter*, QWidget const*, KStyle::Option*) const (oxygen.cpp:1255)
==9257==    by 0x6A13599: OxygenStyle::drawKStylePrimitive(KStyle::WidgetType, int, QStyleOption const*, QRect const&, QPalette const&, QFlags<QStyle::StateFlag>, QPainter*, QWidget const*, KStyle::Option*) const (oxygen.cpp:753)
==9257==    by 0x447F73E: KStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const (kstyle.cpp:1953)
==9257==    by 0x6A1C004: OxygenStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const (oxygen.cpp:632)
==9257== 
==9257== Invalid read of size 4
==9257==    at 0x4EF8A85: QMenuPrivate::actionAt(QPoint) const (qmenu.moc:80)
==9257==    by 0x4F005E6: QMenu::mouseMoveEvent(QMouseEvent*) (qmenu.cpp:2798)
==9257==    by 0x4AB8699: QWidget::event(QEvent*) (qwidget.cpp:7983)
==9257==    by 0x4F020CB: QMenu::event(QEvent*) (qmenu.cpp:2414)
==9257==    by 0x69F0F3E: Oxygen::MenuBarDataV1::eventFilter(QObject*, QEvent*) (oxygenmenubardata.cpp:85)
==9257==    by 0x5581CD9: QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (qcoreapplication.cpp:819)
==9257==    by 0x4A5A4B8: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:4296)
==9257==    by 0x4A619F6: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3865)
==9257==    by 0x4466F29: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:302)
==9257==    by 0x5582A3A: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:704)
==9257==    by 0x4A60951: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (qcoreapplication.h:215)
==9257==    by 0x4A60E99: QApplicationPrivate::sendSyntheticEnterLeave(QWidget*) (qapplication.cpp:3051)
==9257==  Address 0x7454078 is 0 bytes after a block of size 48 alloc'd
==9257==    at 0x4024F20: malloc (vg_replace_malloc.c:236)
==9257==    by 0x547AB8C: qMalloc(unsigned int) (qmalloc.cpp:55)
==9257==    by 0x54A0470: QListData::detach3() (qlist.cpp:137)
==9257==    by 0x4A595C0: QList<QAction*>::detach_helper() (qlist.h:604)
==9257==    by 0x4AAD8ED: QWidget::removeAction(QAction*) (qlist.h:128)
==9257==    by 0x80565EE: ??? (in /usr/bin/knetworkmanager)
==9257==    by 0x47B667A: ActivatableList::activatableChanged() (in /usr/lib/libknmservice.so.4.4.0)
==9257==    by 0x47B1A70: ActivatableList::qt_metacall(QMetaObject::Call, int, void**) (in /usr/lib/libknmservice.so.4.4.0)
==9257==    by 0x47B2039: SortedActivatableList::qt_metacall(QMetaObject::Call, int, void**) (in /usr/lib/libknmservice.so.4.4.0)
==9257==    by 0x5587C99: QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) (qmetaobject.cpp:237)
==9257==    by 0x55963D4: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3293)
==9257==    by 0x4773DC6: Knm::Activatable::changed() (in /usr/lib/libknminternals.so.4.4.0)
==9257== 
==9257== Invalid read of size 4
==9257==    at 0x4A53947: QAction::isSeparator() const (qaction.cpp:793)
==9257==    by 0x4F00667: QMenu::mouseMoveEvent(QMouseEvent*) (qmenu.cpp:2810)
==9257==    by 0x4AB8699: QWidget::event(QEvent*) (qwidget.cpp:7983)
==9257==    by 0x4F020CB: QMenu::event(QEvent*) (qmenu.cpp:2414)
==9257==    by 0x69F0F3E: Oxygen::MenuBarDataV1::eventFilter(QObject*, QEvent*) (oxygenmenubardata.cpp:85)
==9257==    by 0x5581CD9: QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (qcoreapplication.cpp:819)
==9257==    by 0x4A5A4B8: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:4296)
==9257==    by 0x4A619F6: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3865)
==9257==    by 0x4466F29: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:302)
==9257==    by 0x5582A3A: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:704)
==9257==    by 0x4A60951: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (qcoreapplication.h:215)
==9257==    by 0x4A60E99: QApplicationPrivate::sendSyntheticEnterLeave(QWidget*) (qapplication.cpp:3051)
==9257==  Address 0x5 is not stack'd, malloc'd or (recently) free'd
==9257== 
KCrash: Application 'knetworkmanager' crashing...
sock_file=/home/lex/.kde/socket-Lex-DELL/kdeinit4__0
==9257== 
==9257== HEAP SUMMARY:
==9257==     in use at exit: 2,971,368 bytes in 25,150 blocks
==9257==   total heap usage: 252,307 allocs, 227,157 frees, 81,118,593 bytes allocated
==9257== 
==9257== LEAK SUMMARY:
==9257==    definitely lost: 1,876 bytes in 19 blocks
==9257==    indirectly lost: 10,332 bytes in 514 blocks
==9257==      possibly lost: 2,232,191 bytes in 13,271 blocks
==9257==    still reachable: 726,969 bytes in 11,346 blocks
==9257==         suppressed: 0 bytes in 0 blocks
==9257== Rerun with --leak-check=full to see details of leaked memory
==9257== 
==9257== For counts of detected and suppressed errors, rerun with: -v
==9257== Use --track-origins=yes to see where uninitialised values come from
==9257== ERROR SUMMARY: 25 errors from 3 contexts (suppressed: 200 from 11)


 -- Backtrace:
Application: KNetworkManager (knetworkmanager), signal: Segmentation fault
[KCrash Handler]
#6  QAction::isSeparator (this=0x81b5620) at kernel/qaction.cpp:793
#7  0x013ce668 in QMenu::mouseMoveEvent (this=0x81b5620, e=0xbf92d290) at widgets/qmenu.cpp:2810
#8  0x00f8669a in QWidget::event (this=0x81b51b0, event=0xbf92d290) at kernel/qwidget.cpp:7983
#9  0x013d00cc in QMenu::event (this=0x81b51b0, e=0xbf92d290) at widgets/qmenu.cpp:2414
#10 0x041d0f3f in Oxygen::MenuBarDataV1::eventFilter (this=0x8327e88, object=0x81b51b0, event=0xbf92d290) at ../../../kstyles/oxygen/animations/oxygenmenubardata.cpp:85
#11 0x06b36cda in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x80dfa70, receiver=0x81b51b0, event=0xbf92d290) at kernel/qcoreapplication.cpp:819
#12 0x00f284b9 in QApplicationPrivate::notify_helper (this=0x80dfa70, receiver=0x81b51b0, e=0xbf92d290) at kernel/qapplication.cpp:4296
#13 0x00f2f9f7 in QApplication::notify (this=0xbf92efc0, receiver=0x81b51b0, e=0xbf92d290) at kernel/qapplication.cpp:3865
#14 0x005c5f2a in KApplication::notify (this=0xbf92efc0, receiver=0x81b51b0, event=0xbf92d290) at ../../kdeui/kernel/kapplication.cpp:302
#15 0x06b37a3b in QCoreApplication::notifyInternal (this=0xbf92efc0, receiver=0x81b51b0, event=0xbf92d290) at kernel/qcoreapplication.cpp:704
#16 0x00f2e952 in QCoreApplication::sendEvent (receiver=0x81b51b0, event=0xbf92d290, alienWidget=0x0, nativeWidget=0x81b51b0, buttonDown=0x186c058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#17 QApplicationPrivate::sendMouseEvent (receiver=0x81b51b0, event=0xbf92d290, alienWidget=0x0, nativeWidget=0x81b51b0, buttonDown=0x186c058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#18 0x00f2ee9a in QApplicationPrivate::sendSyntheticEnterLeave (this=0x80dfa70, widget=0x8357078) at kernel/qapplication.cpp:3051
#19 0x00f85236 in QWidgetPrivate::hideChildren (this=0x835eb28, spontaneous=false) at kernel/qwidget.cpp:7536
#20 0x00f853ea in QWidgetPrivate::hide_helper (this=0x835eb28) at kernel/qwidget.cpp:7283
#21 0x00f8eb40 in QWidget::setVisible (this=0x836e610, visible=false) at kernel/qwidget.cpp:7455
#22 0x00f930d0 in QWidget::hide (this=0x835c2a0, widget=0x836e610) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:489
#23 QWidgetAction::releaseWidget (this=0x835c2a0, widget=0x836e610) at kernel/qwidgetaction.cpp:206
#24 0x013ca212 in QMenu::actionEvent (this=0x81b51b0, e=0xbf92da78) at widgets/qmenu.cpp:2883
#25 0x00f8697d in QWidget::event (this=0x81b51b0, event=0xbf92da78) at kernel/qwidget.cpp:8373
#26 0x013d00cc in QMenu::event (this=0x81b51b0, e=0xbf92da78) at widgets/qmenu.cpp:2414
#27 0x00f284dc in QApplicationPrivate::notify_helper (this=0x80dfa70, receiver=0x81b51b0, e=0xbf92da78) at kernel/qapplication.cpp:4300
#28 0x00f2f0f9 in QApplication::notify (this=0xbf92efc0, receiver=0x81b51b0, e=0xbf92da78) at kernel/qapplication.cpp:4265
#29 0x005c5f2a in KApplication::notify (this=0xbf92efc0, receiver=0x81b51b0, event=0xbf92da78) at ../../kdeui/kernel/kapplication.cpp:302
#30 0x06b37a3b in QCoreApplication::notifyInternal (this=0xbf92efc0, receiver=0x81b51b0, event=0xbf92da78) at kernel/qcoreapplication.cpp:704
#31 0x00f7b9a2 in QCoreApplication::sendEvent (this=0x81b51b0, action=0x835c2a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QWidget::removeAction (this=0x81b51b0, action=0x835c2a0) at kernel/qwidget.cpp:3018
#33 0x080565ef in _start ()

This bug may be a duplicate of or related to bug 237211.

Possible duplicates by query: bug 242385, bug 242368, bug 241667, bug 241614, bug 241543.

Reported using DrKonqi
Comment 1 Nicolas L. 2010-06-23 14:35:43 UTC

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