Bug 242537 - KnetworkManager crashes when starting a VPN (OpenVPN server)
Summary: KnetworkManager crashes when starting a VPN (OpenVPN server)
Status: RESOLVED DUPLICATE of bug 242368
Alias: None
Product: knetworkmanager
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: 2010-06-22 23:58 UTC by Maral Afris
Modified: 2010-06-23 14:35 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 Maral Afris 2010-06-22 23:58:41 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
==4255== Memcheck, a memory error detector
==4255== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==4255== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info
==4255== Command: knetworkmanager
==4255== 
knetworkmanager(4258)/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
==4255== 
==4255== HEAP SUMMARY:
==4255==     in use at exit: 105,628 bytes in 700 blocks
==4255==   total heap usage: 9,022 allocs, 8,322 frees, 693,889 bytes allocated
==4255== 
==4255== LEAK SUMMARY:
==4255==    definitely lost: 0 bytes in 0 blocks
==4255==    indirectly lost: 0 bytes in 0 blocks
==4255==      possibly lost: 11,559 bytes in 327 blocks
==4255==    still reachable: 94,069 bytes in 373 blocks
==4255==         suppressed: 0 bytes in 0 blocks
==4255== Rerun with --leak-check=full to see details of leaked memory
==4255== 
==4255== For counts of detected and suppressed errors, rerun with: -v
==4255== 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
==4258== Conditional jump or move depends on uninitialised value(s)
==4258==    at 0x4C7D750: QX11PaintEngine::updateMatrix(QTransform const&) (qpaintengine_x11.cpp:2035)
==4258==    by 0x4C8956A: QX11PaintEngine::updateState(QPaintEngineState const&) (qpaintengine_x11.cpp:1077)
==4258==    by 0x4BC56F3: QPainterPrivate::updateStateImpl(QPainterState*) (qpainter.cpp:892)
==4258==    by 0x4BC57BB: QPainterPrivate::updateState(QPainterState*) (qpainter.cpp:920)
==4258==    by 0x4BD10EE: QPainter::drawEllipse(QRect const&) (qpainter.cpp:4276)
==4258==    by 0x69E292F: OxygenStyleHelper::drawHole(QPainter&, QColor const&, double, int) const (qpainter.h:685)
==4258==    by 0x69E46DF: OxygenStyleHelper::holeFlat(QColor const&, double, int) (helper.cpp:804)
==4258==    by 0x6A1F4EC: OxygenStyle::renderCheckBox(QPainter*, QRect const&, QPalette const&, bool, bool, bool, int, bool, double, Oxygen::AnimationMode) const (oxygen.cpp:4395)
==4258==    by 0x6A2892B: OxygenStyle::drawMenuItemPrimitive(int, QStyleOption const*, QRect const&, QPalette const&, QFlags<QStyle::StateFlag>, QPainter*, QWidget const*, KStyle::Option*) const (oxygen.cpp:1255)
==4258==    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)
==4258==    by 0x447F73E: KStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const (kstyle.cpp:1953)
==4258==    by 0x6A1C004: OxygenStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const (oxygen.cpp:632)
==4258== 
==4258== Invalid read of size 4
==4258==    at 0x4EF8A85: QMenuPrivate::actionAt(QPoint) const (qmenu.moc:80)
==4258==    by 0x4F005E6: QMenu::mouseMoveEvent(QMouseEvent*) (qmenu.cpp:2798)
==4258==    by 0x4AB8699: QWidget::event(QEvent*) (qwidget.cpp:7983)
==4258==    by 0x4F020CB: QMenu::event(QEvent*) (qmenu.cpp:2414)
==4258==    by 0x69F0F3E: Oxygen::MenuBarDataV1::eventFilter(QObject*, QEvent*) (oxygenmenubardata.cpp:85)
==4258==    by 0x5581CD9: QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (qcoreapplication.cpp:819)
==4258==    by 0x4A5A4B8: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:4296)
==4258==    by 0x4A619F6: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3865)
==4258==    by 0x4466F29: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:302)
==4258==    by 0x5582A3A: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:704)
==4258==    by 0x4A60951: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (qcoreapplication.h:215)
==4258==    by 0x4A60E99: QApplicationPrivate::sendSyntheticEnterLeave(QWidget*) (qapplication.cpp:3051)
==4258==  Address 0x64b16f0 is 0 bytes after a block of size 48 alloc'd
==4258==    at 0x4024F20: malloc (vg_replace_malloc.c:236)
==4258==    by 0x547AB8C: qMalloc(unsigned int) (qmalloc.cpp:55)
==4258==    by 0x54A0470: QListData::detach3() (qlist.cpp:137)
==4258==    by 0x4A595C0: QList<QAction*>::detach_helper() (qlist.h:604)
==4258==    by 0x4AAD8ED: QWidget::removeAction(QAction*) (qlist.h:128)
==4258==    by 0x80565EE: ??? (in /usr/bin/knetworkmanager)
==4258==    by 0x47B667A: ActivatableList::activatableChanged() (in /usr/lib/libknmservice.so.4.4.0)
==4258==    by 0x47B1A70: ActivatableList::qt_metacall(QMetaObject::Call, int, void**) (in /usr/lib/libknmservice.so.4.4.0)
==4258==    by 0x47B2039: SortedActivatableList::qt_metacall(QMetaObject::Call, int, void**) (in /usr/lib/libknmservice.so.4.4.0)
==4258==    by 0x5587C99: QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) (qmetaobject.cpp:237)
==4258==    by 0x55963D4: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3293)
==4258==    by 0x4773DC6: Knm::Activatable::changed() (in /usr/lib/libknminternals.so.4.4.0)
==4258== 
==4258== Invalid read of size 4
==4258==    at 0x4A53947: QAction::isSeparator() const (qaction.cpp:793)
==4258==    by 0x4F00667: QMenu::mouseMoveEvent(QMouseEvent*) (qmenu.cpp:2810)
==4258==    by 0x4AB8699: QWidget::event(QEvent*) (qwidget.cpp:7983)
==4258==    by 0x4F020CB: QMenu::event(QEvent*) (qmenu.cpp:2414)
==4258==    by 0x69F0F3E: Oxygen::MenuBarDataV1::eventFilter(QObject*, QEvent*) (oxygenmenubardata.cpp:85)
==4258==    by 0x5581CD9: QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (qcoreapplication.cpp:819)
==4258==    by 0x4A5A4B8: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:4296)
==4258==    by 0x4A619F6: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3865)
==4258==    by 0x4466F29: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:302)
==4258==    by 0x5582A3A: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:704)
==4258==    by 0x4A60951: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (qcoreapplication.h:215)
==4258==    by 0x4A60E99: QApplicationPrivate::sendSyntheticEnterLeave(QWidget*) (qapplication.cpp:3051)
==4258==  Address 0x4d is not stack'd, malloc'd or (recently) free'd
==4258== 
KCrash: Application 'knetworkmanager' crashing...
sock_file=/home/lex/.kde/socket-Lex-DELL/kdeinit4__0
==4258== 
==4258== HEAP SUMMARY:
==4258==     in use at exit: 2,550,316 bytes in 23,938 blocks
==4258==   total heap usage: 144,460 allocs, 120,522 frees, 48,683,459 bytes allocated
==4258== 
==4258== LEAK SUMMARY:
==4258==    definitely lost: 1,876 bytes in 19 blocks
==4258==    indirectly lost: 10,332 bytes in 514 blocks
==4258==      possibly lost: 1,808,603 bytes in 11,387 blocks
==4258==    still reachable: 729,505 bytes in 12,018 blocks
==4258==         suppressed: 0 bytes in 0 blocks
==4258== Rerun with --leak-check=full to see details of leaked memory
==4258== 
==4258== For counts of detected and suppressed errors, rerun with: -v
==4258== Use --track-origins=yes to see where uninitialised values come from
==4258== ERROR SUMMARY: 4 errors from 3 contexts (suppressed: 192 from 11)


 -- Backtrace:
Application: KNetworkManager (knetworkmanager), signal: Segmentation fault
[KCrash Handler]
#6  0x00eb094a in QAction::isSeparator (this=0x905b8c8) at kernel/qaction.cpp:793
#7  0x0135d668 in QMenu::mouseMoveEvent (this=0x905b8c8, e=0xbfb71030) at widgets/qmenu.cpp:2810
#8  0x00f1569a in QWidget::event (this=0x905b348, event=0xbfb71030) at kernel/qwidget.cpp:7983
#9  0x0135f0cc in QMenu::event (this=0x905b348, e=0xbfb71030) at widgets/qmenu.cpp:2414
#10 0x01a5ff3f in Oxygen::MenuBarDataV1::eventFilter (this=0x91cc5c8, object=0x905b348, event=0xbfb71030) at ../../../kstyles/oxygen/animations/oxygenmenubardata.cpp:85
#11 0x05c4dcda in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8f87a90, receiver=0x905b348, event=0xbfb71030) at kernel/qcoreapplication.cpp:819
#12 0x00eb74b9 in QApplicationPrivate::notify_helper (this=0x8f87a90, receiver=0x905b348, e=0xbfb71030) at kernel/qapplication.cpp:4296
#13 0x00ebe9f7 in QApplication::notify (this=0xbfb72d60, receiver=0x905b348, e=0xbfb71030) at kernel/qapplication.cpp:3865
#14 0x005b4f2a in KApplication::notify (this=0xbfb72d60, receiver=0x905b348, event=0xbfb71030) at ../../kdeui/kernel/kapplication.cpp:302
#15 0x05c4ea3b in QCoreApplication::notifyInternal (this=0xbfb72d60, receiver=0x905b348, event=0xbfb71030) at kernel/qcoreapplication.cpp:704
#16 0x00ebd952 in QCoreApplication::sendEvent (receiver=0x905b348, event=0xbfb71030, alienWidget=0x0, nativeWidget=0x905b348, buttonDown=0x17fb058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#17 QApplicationPrivate::sendMouseEvent (receiver=0x905b348, event=0xbfb71030, alienWidget=0x0, nativeWidget=0x905b348, buttonDown=0x17fb058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#18 0x00ebde9a in QApplicationPrivate::sendSyntheticEnterLeave (this=0x8f87a90, widget=0x900f1f0) at kernel/qapplication.cpp:3051
#19 0x00f14236 in QWidgetPrivate::hideChildren (this=0x9044998, spontaneous=false) at kernel/qwidget.cpp:7536
#20 0x00f143ea in QWidgetPrivate::hide_helper (this=0x9044998) at kernel/qwidget.cpp:7283
#21 0x00f1db40 in QWidget::setVisible (this=0x916cd08, visible=false) at kernel/qwidget.cpp:7455
#22 0x00f220d0 in QWidget::hide (this=0x9172380, widget=0x916cd08) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:489
#23 QWidgetAction::releaseWidget (this=0x9172380, widget=0x916cd08) at kernel/qwidgetaction.cpp:206
#24 0x01359212 in QMenu::actionEvent (this=0x905b348, e=0xbfb71818) at widgets/qmenu.cpp:2883
#25 0x00f1597d in QWidget::event (this=0x905b348, event=0xbfb71818) at kernel/qwidget.cpp:8373
#26 0x0135f0cc in QMenu::event (this=0x905b348, e=0xbfb71818) at widgets/qmenu.cpp:2414
#27 0x00eb74dc in QApplicationPrivate::notify_helper (this=0x8f87a90, receiver=0x905b348, e=0xbfb71818) at kernel/qapplication.cpp:4300
#28 0x00ebe0f9 in QApplication::notify (this=0xbfb72d60, receiver=0x905b348, e=0xbfb71818) at kernel/qapplication.cpp:4265
#29 0x005b4f2a in KApplication::notify (this=0xbfb72d60, receiver=0x905b348, event=0xbfb71818) at ../../kdeui/kernel/kapplication.cpp:302
#30 0x05c4ea3b in QCoreApplication::notifyInternal (this=0xbfb72d60, receiver=0x905b348, event=0xbfb71818) at kernel/qcoreapplication.cpp:704
#31 0x00f0a9a2 in QCoreApplication::sendEvent (this=0x905b348, action=0x9172380) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QWidget::removeAction (this=0x905b348, action=0x9172380) at kernel/qwidget.cpp:3018
#33 0x080565ef in _start ()

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

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

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

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