Bug 271408 - Systemsettings crashes when I try to set networksettings
Summary: Systemsettings crashes when I try to set networksettings
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 1.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: System Settings Bugs
URL:
Keywords:
: 269072 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-04-21 10:11 UTC by Andreas Hencke
Modified: 2011-05-08 04:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.6.3
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Hencke 2011-04-21 10:11:25 UTC
Application: systemsettings (1.0)
KDE Platform Version: 4.5.3 (KDE 4.5.3)
Qt Version: 4.7.0
Operating System: Linux 2.6.32-31-generic i686
Distribution: Ubuntu 10.04.2 LTS

-- Information about the crash:
- What I was doing when the application crashed:
When I go to systemsettings> networksettings> networkconnections and try to add or  to edit the networkconnections (wired and wireless), systemsettings crashes immediately when I click on the add- or edit button.Beneath the networkmanager I'm running wicd.

The crash can be reproduced every time.

-- Backtrace:
Application: Systemeinstellungen (systemsettings), signal: Segmentation fault
[Current thread is 1 (Thread 0xb787f710 (LWP 3209))]

Thread 2 (Thread 0xb4504b70 (LWP 3210)):
#0  0x0051a422 in __kernel_vsyscall ()
#1  0x00af6b86 in *__GI___poll (fds=0xb8cff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x0990c4eb in g_poll () from /lib/libglib-2.0.so.0
#3  0x098ff0ac in ?? () from /lib/libglib-2.0.so.0
#4  0x098ff4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x08c7182f in QEventDispatcherGlib::processEvents (this=0x9c29848, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#6  0x08c41a99 in QEventLoop::processEvents (this=0xb4504290, flags=) at kernel/qeventloop.cpp:149
#7  0x08c41f1a in QEventLoop::exec (this=0xb4504290, flags=...) at kernel/qeventloop.cpp:201
#8  0x08b3ec5e in QThread::exec (this=0x9c2b4e0) at thread/qthread.cpp:490
#9  0x08c209ab in QInotifyFileSystemWatcherEngine::run (this=0x9c2b4e0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x08b41f39 in QThreadPrivate::start (arg=0x9c2b4e0) at thread/qthread_unix.cpp:266
#11 0x004e196e in start_thread (arg=0xb4504b70) at pthread_create.c:300
#12 0x00b04a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb787f710 (LWP 3209)):
[KCrash Handler]
#7  QBasicAtomicInt::ref (this=0x9cb7148) at /usr/include/qt4/QtCore/qatomic_i386.h:120
#8  QString (this=0x9cb7148) at /usr/include/qt4/QtCore/qstring.h:728
#9  WicdWiredNetworkInterface::hardwareAddress (this=0x9cb7148) at ../../../solid/wicd/wirednetworkinterface.cpp:156
#10 0x059bde1a in Solid::Control::WiredNetworkInterface::hardwareAddress (this=0x9cad2e0) at ../../../../libs/solid/control/wirednetworkinterface.cpp:64
#11 0x07e62ff1 in WiredWidget (this=0x9d51008, connection=0x9d4da90, parent=0x9d4dc48) at ../../../libs/ui/wiredwidget.cpp:59
#12 0x07e82489 in WiredPreferences (this=0x9d4dc48, args=..., parent=0xbfa47374) at ../../../libs/ui/wiredpreferences.cpp:48
#13 0x07e83b81 in ConnectionEditor::editorForConnectionType (this=0x9c3bd28, setDefaults=false, parent=0xbfa47374, type=Knm::Connection::Wired, args=...) at ../../../libs/ui/connectioneditor.cpp:147
#14 0x07e8517d in ConnectionEditor::addConnection (this=0x9c3bd28, useDefaults=255, type=Knm::Connection::Wired, otherArgs=...) at ../../../libs/ui/connectioneditor.cpp:97
#15 0x03acdb69 in ManageConnectionWidget::addClicked (this=0x9c55008) at ../../../settings/config/manageconnectionwidget.cpp:258
#16 0x03accb3b in ManageConnectionWidget::qt_metacall (this=0x9c55008, _c=QMetaObject::InvokeMetaMethod, _id=39, _a=0xbfa47568) at moc_manageconnectionwidget.cpp:92
#17 0x08c48d4a in QMetaObject::metacall (object=0x9c55008, cl=3215225388, idx=39, argv=0xbfa47568) at kernel/qmetaobject.cpp:237
#18 0x08c5bab5 in QMetaObject::activate (sender=0x9c5f4f8, m=0x1749704, local_signal_index=2, argv=0xbfa47568) at kernel/qobject.cpp:3280
#19 0x01527bc9 in QAbstractButton::clicked (this=0x9c5f4f8, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#20 0x011e87d9 in QAbstractButtonPrivate::emitClicked (this=0x9c5f538) at widgets/qabstractbutton.cpp:546
#21 0x011e9ee4 in QAbstractButtonPrivate::click (this=0x9c5f538) at widgets/qabstractbutton.cpp:539
#22 0x011ea19e in QAbstractButton::mouseReleaseEvent (this=0x9c5f4f8, e=0xbfa47ca0) at widgets/qabstractbutton.cpp:1121
#23 0x00e1a628 in QWidget::event (this=0x9c5f4f8, event=0xbfa47ca0) at kernel/qwidget.cpp:8187
#24 0x011e867e in QAbstractButton::event (this=0x9c5f4f8, e=0x0) at widgets/qabstractbutton.cpp:1080
#25 0x012961f2 in QPushButton::event (this=0x9c5f4f8, e=0xbfa47ca0) at widgets/qpushbutton.cpp:683
#26 0x00dbc72c in QApplicationPrivate::notify_helper (this=0x9a01598, receiver=0x9c5f4f8, e=0xbfa47ca0) at kernel/qapplication.cpp:4396
#27 0x00dc3117 in QApplication::notify (this=0xbfa4855c, receiver=0x9c5f4f8, e=0xbfa47ca0) at kernel/qapplication.cpp:3959
#28 0x002fc63a in KApplication::notify (this=0xbfa4855c, receiver=0x9c5f4f8, event=0xbfa47ca0) at ../../kdeui/kernel/kapplication.cpp:310
#29 0x08c42feb in QCoreApplication::notifyInternal (this=0xbfa4855c, receiver=0x9c5f4f8, event=0xbfa47ca0) at kernel/qcoreapplication.cpp:732
#30 0x00dc17c2 in QCoreApplication::sendEvent (receiver=0x9c5f4f8, event=0xbfa47ca0, alienWidget=0x9c5f4f8, nativeWidget=0x9ac0320, buttonDown=0x17523c0, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QApplicationPrivate::sendMouseEvent (receiver=0x9c5f4f8, event=0xbfa47ca0, alienWidget=0x9c5f4f8, nativeWidget=0x9ac0320, buttonDown=0x17523c0, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:3058
#32 0x00e50288 in QETWidget::translateMouseEvent (this=0x9ac0320, event=0xbfa481bc) at kernel/qapplication_x11.cpp:4403
#33 0x00e4f719 in QApplication::x11ProcessEvent (this=0xbfa4855c, event=0xbfa481bc) at kernel/qapplication_x11.cpp:3414
#34 0x00e7e70a in x11EventSourceDispatch (s=0x9a043e8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#35 0x098fb5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#36 0x098ff2d8 in ?? () from /lib/libglib-2.0.so.0
#37 0x098ff4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#38 0x08c717f5 in QEventDispatcherGlib::processEvents (this=0x99e2250, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#39 0x00e7df85 in QGuiEventDispatcherGlib::processEvents (this=0x99e2250, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x08c41a99 in QEventLoop::processEvents (this=0xbfa484b4, flags=) at kernel/qeventloop.cpp:149
#41 0x08c41f1a in QEventLoop::exec (this=0xbfa484b4, flags=...) at kernel/qeventloop.cpp:201
#42 0x08c464cf in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#43 0x00dbb557 in QApplication::exec () at kernel/qapplication.cpp:3672
#44 0x08057dfe in main (argc=1, argv=0xbfa486a4) at ../../../systemsettings/app/main.cpp:49

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

Possible duplicates by query: bug 269072.

Reported using DrKonqi
Comment 1 Lamarque V. Souza 2011-04-22 07:37:45 UTC
Git commit a789bceeb1a62fb4d1b6ec9246f1e98fd96e6921 by Lamarque V. Souza.
Committed on 22/04/2011 at 07:44.
Pushed by lvsouza into branch 'KDE/4.6'.

Add some checks to Solid's Wicd backend to prevent crash.

BUG: 271408
FIXED-IN: 4.6.3
(cherry picked from commit fc7011b1d8454c6378d88ea870c341d1a3d96374)

M  +23   -4    solid/wicd/wirednetworkinterface.cpp     

http://commits.kde.org/kde-workspace/a789bceeb1a62fb4d1b6ec9246f1e98fd96e6921
Comment 2 Lamarque V. Souza 2011-04-22 07:37:45 UTC
Git commit fc7011b1d8454c6378d88ea870c341d1a3d96374 by Lamarque V. Souza.
Committed on 22/04/2011 at 07:44.
Pushed by lvsouza into branch 'master'.

Add some checks to Solid's Wicd backend to prevent crash.

BUG: 271408
FIXED-IN: 4.6.3

M  +23   -4    solid/wicd/wirednetworkinterface.cpp     

http://commits.kde.org/kde-workspace/fc7011b1d8454c6378d88ea870c341d1a3d96374
Comment 3 Lamarque V. Souza 2011-05-08 04:19:19 UTC
*** Bug 269072 has been marked as a duplicate of this bug. ***