Summary: | [System Settings] System Settings crashes when "Information sources" is about to be opened | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | Panos <panosfilip> |
Component: | general | Assignee: | Kevin Ottens <ervin> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | alexxy, arvidjaar, balcaen.john, dvratil, johannesobermayr, smal.root |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | New crash information added by DrKonqi |
Description
Panos
2010-08-17 16:17:41 UTC
*** Bug 248332 has been marked as a duplicate of this bug. *** *** Bug 248635 has been marked as a duplicate of this bug. *** *** Bug 250464 has been marked as a duplicate of this bug. *** *** Bug 251957 has been marked as a duplicate of this bug. *** Created attachment 52054 [details]
New crash information added by DrKonqi
systemsettings (1.0) on KDE Platform 4.5.68 (4.6 >= 20100912) using Qt 4.7.0
- What I was doing when the application crashed:
Simply click on the « information sources » icon.
-- Backtrace (Reduced):
#11 0x00007f4484b4ede4 in KSharedPtr<KServiceType>::operator-> (this=0x7fff78b73c40) at /usr/include/ksharedptr.h:126
#12 0x00007f4484b4cb8e in BackendChooser::BackendChooser (this=0x1e386f0, parent=<value optimized out>, backendType=...)
at /usr/src/debug/kdebase-workspace-4.5.68svn1174542/solid/kcm/backendchooser.cpp:67
#13 0x00007f4484b4c1ce in KcmSolid::KcmSolid (this=0x1e28830, parent=<value optimized out>, args=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.5.68svn1174542/solid/kcm/kcmsolid.cpp:58
#14 0x00007f4484b4c8c3 in KPluginFactory::createInstance<KcmSolid, QWidget> (parentWidget=<value optimized out>, parent=<value optimized out>, args=...) at /usr/include/kpluginfactory.h:461
#15 0x00007f4496ca85ae in KPluginFactory::create (this=0x1e254b0, iface=0x7f4497fab380 "KCModule", parentWidget=0x0, parent=0x1b0b3e0, args=..., keyword=<value optimized out>)
at /usr/src/debug/kdelibs-4.5.68svn1174542/kdecore/util/kpluginfactory.cpp:191
kcmshell4 kcm_solid doesn't crash anymore with this: maybe because the fakebluetoothbackend is not built anymore ? Index: kcmsolid.cpp =================================================================== --- kcmsolid.cpp (révision 1181533) +++ kcmsolid.cpp (copie de travail) @@ -55,13 +55,13 @@ m_powerChooser = new BackendChooser(this, "SolidPowerManager"); m_networkChooser = new BackendChooser(this, "SolidNetworkManager"); - m_bluetoothChooser = new BackendChooser(this, "SolidBluetoothManager"); + //m_bluetoothChooser = new BackendChooser(this, "SolidBluetoothManager"); m_remoteControlChooser = new BackendChooser(this, "SolidRemoteControlManager"); m_modemChooser = new BackendChooser(this, "SolidNetworkManager"); layout()->addWidget(m_powerChooser); layout()->addWidget(m_networkChooser); - layout()->addWidget(m_bluetoothChooser); + //layout()->addWidget(m_bluetoothChooser); layout()->addWidget(m_remoteControlChooser); layout()->addWidget(m_modemChooser); @@ -71,8 +71,8 @@ this, SLOT(slotChooserChanged(bool))); connect(m_networkChooser, SIGNAL(changed(bool)), this, SLOT(slotChooserChanged(bool))); - connect(m_bluetoothChooser, SIGNAL(changed(bool)), - this, SLOT(slotChooserChanged(bool))); +// connect(m_bluetoothChooser, SIGNAL(changed(bool)), +// this, SLOT(slotChooserChanged(bool))); connect(m_modemChooser, SIGNAL(changed(bool)), this, SLOT(slotChooserChanged(bool))); @@ -82,7 +82,7 @@ { m_powerChooser->load(); m_networkChooser->load(); - m_bluetoothChooser->load(); +// m_bluetoothChooser->load(); m_remoteControlChooser->load(); m_modemChooser->load(); } @@ -91,7 +91,7 @@ { m_powerChooser->save(); m_networkChooser->save(); - m_bluetoothChooser->save(); +// m_bluetoothChooser->save(); m_modemChooser->save(); } @@ -99,7 +99,7 @@ { m_powerChooser->defaults(); m_networkChooser->defaults(); - m_bluetoothChooser->defaults(); +// m_bluetoothChooser->defaults(); m_modemChooser->defaults(); } Maybe this help file: kdebase/workspace/solid/kcm/backendchooser.cpp function: BackendChooser::BackendChooser(QWidget *parent, const QString &backendType) : QWidget(parent), m_backendType(backendType) { m_ui.setupUi(this); connect(m_ui.listView, SIGNAL(itemSelectionChanged()), this, SLOT(slotSelectionChanged())); connect(m_ui.upButton, SIGNAL(clicked()), this, SLOT(slotUpClicked())); connect(m_ui.downButton, SIGNAL(clicked()), this, SLOT(slotDownClicked())); qDebug() << "BackendChooser::BackendChooser. parent = " << parent << ", backendType = " << backendType; KServiceType::Ptr service_type = KServiceType::serviceType(backendType); qDebug() << "service_type = " << service_type; QString title = service_type->comment(); qDebug() << "title = " << title; if (title.isEmpty()) { title = backendType; } m_ui.groupBox->setTitle(title); qDebug() << "Exit"; } output: service_type = true title = "Програма керування живленням" Exit BackendChooser::BackendChooser. parent = KcmSolid(0x9adfd0) , backendType = "SolidNetworkManager" service_type = true title = "Програма керування мережею" Exit BackendChooser::BackendChooser. parent = KcmSolid(0x9adfd0) , backendType = "SolidBluetoothManager" service_type = false KCrash: Application 'systemsettings' crashing... SVN commit 1182104 by ervin: We were lacking a check for a missing service type which is the case now that the bluetooth backend stack is gone. Since I was at it I removed the bluetooth backend chooser since it's obviously useless now. BUG: 248156 M +4 -1 backendchooser.cpp M +0 -7 kcmsolid.cpp M +0 -1 kcmsolid.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1182104 |