Summary: | Crash when trying to change the Akregator backend settings if the module is not loaded. | ||
---|---|---|---|
Product: | [Applications] kontact | Reporter: | Ron Katzir <ophilar> |
Component: | akregator | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | bruno, daltinn.pbl, dawid.vanwyngaard, lists, sinozzuke |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi |
Description
Ron Katzir
2010-10-06 09:01:21 UTC
Created attachment 52926 [details]
New crash information added by DrKonqi
kontact (4.4.6) on KDE Platform 4.5.2 (KDE 4.5.2) using Qt 4.7.0
- What I was doing when the application crashed:
Kontact crashes when trying to change Akregator settings
-- Backtrace (Reduced):
#9 0x00007f0723ed00c2 in QAbstractButton::clicked (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#10 0x00007f0723c1484b in QAbstractButtonPrivate::emitClicked (this=<value optimized out>) at widgets/qabstractbutton.cpp:546
#11 0x00007f0723c15e1b in QAbstractButtonPrivate::click (this=0x142f050) at widgets/qabstractbutton.cpp:539
#12 0x00007f0723c1608c in QAbstractButton::mouseReleaseEvent (this=0x142d1b0, e=0x7fffb374b2a0) at widgets/qabstractbutton.cpp:1121
#13 0x00007f07238af678 in QWidget::event (this=0x142d1b0, event=0x7fffb374b2a0) at kernel/qwidget.cpp:8187
Created attachment 54511 [details]
New crash information added by DrKonqi
kontact (4.6 beta2) on KDE Platform 4.5.85 (4.6 Beta2) using Qt 4.7.1
- What I was doing when the application crashed: try to change the archive engine in akregator with kontact configuration.
Happen on new build kde4.6b2
-- Backtrace (Reduced):
#6 Akregator::SettingsAdvanced::slotConfigureStorage (this=0x4df60e0) at /usr/src/debug/kdepim-4.5.85/akregator/configuration/settings_advanced.cpp:85
#7 0x00007f54d3245138 in Akregator::SettingsAdvanced::qt_metacall (this=0x4df60e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffc7ce6020) at /usr/src/debug/kdepim-4.5.85/build/akregator/configuration/settings_advanced.moc:76
[...]
#9 0x00007f54fa0db512 in QAbstractButton::clicked (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#10 0x00007f54f9e23adb in QAbstractButtonPrivate::emitClicked (this=0x4df73f0) at widgets/qabstractbutton.cpp:546
#11 0x00007f54f9e250ab in QAbstractButtonPrivate::click (this=0x4df73f0) at widgets/qabstractbutton.cpp:539
Created attachment 55219 [details]
New crash information added by DrKonqi
kontact (4.4.6) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0
- What I was doing when the application crashed: Chaning Archive settings in Feeds in Kontact
-- Backtrace (Reduced):
#6 Akregator::SettingsAdvanced::slotConfigureStorage (this=0x3b68460) at ../../../akregator/configuration/settings_advanced.cpp:83
#7 0x00007f6a5ac60018 in Akregator::SettingsAdvanced::qt_metacall (this=0x3b68460, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff0f9d1b30) at ./settings_advanced.moc:76
[...]
#9 0x00007f6a8e60c402 in QAbstractButton::clicked (this=0x0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#10 0x00007f6a8e306eeb in QAbstractButtonPrivate::emitClicked (this=0x308e090) at widgets/qabstractbutton.cpp:546
#11 0x00007f6a8e3085bb in QAbstractButtonPrivate::click (this=0x308e090) at widgets/qabstractbutton.cpp:539
Created attachment 55276 [details]
New crash information added by DrKonqi
kontact (4.4.6) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0
- What I was doing when the application crashed:
Opened the advanced settings in akregator and pressed the "Configure..." button for Archive backend. No option was selected (or available) in the dropdown list.
- Custom settings of the application:
This only happened when Akregator was newly installed, and before I had ever started it. After starting and downloading some feeds, the dropdown list is populated with Metakit, and the Settings... button is disabled when selecting Metakit or the No Archive option. In other words, this only seems to happen if accessing the settings through Kontact before running Akregator.
-- Backtrace (Reduced):
#6 Akregator::SettingsAdvanced::slotConfigureStorage (this=0x409f160) at ../../../akregator/configuration/settings_advanced.cpp:83
#7 0x00007fe097e6d018 in Akregator::SettingsAdvanced::qt_metacall (this=0x409f160, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe148bd20) at ./settings_advanced.moc:76
[...]
#9 0x00007fe0c5d5c402 in QAbstractButton::clicked (this=0x0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#10 0x00007fe0c5a56eeb in QAbstractButtonPrivate::emitClicked (this=0x40a5af0) at widgets/qabstractbutton.cpp:546
#11 0x00007fe0c5a585bb in QAbstractButtonPrivate::click (this=0x40a5af0) at widgets/qabstractbutton.cpp:539
Created attachment 55279 [details]
New crash information added by DrKonqi
kontact (4.6 beta3) on KDE Platform 4.5.90 (4.6 RC1) using Qt 4.7.1
- What I was doing when the application crashed: To confirm, I've start kontact and use akregator shortcut. when all rss are shown, I open configure akregator, and it works.
After that, I put the résumé view, close kontact. Reopen it, and then click on configure akregator before it was launch, then I get the crash.
Even with lastest build available.
-- Backtrace (Reduced):
#6 size (this=0x18) at /usr/include/QtCore/qhash.h:291
#7 QHash<QString, MessageList::Core::Aggregation*>::values (this=0x18) at /usr/include/QtCore/qhash.h:694
#8 0x00007f014df1196e in MessageList::Utils::AggregationComboBoxPrivate::slotLoadAggregations (this=0x26fcc10) at /usr/src/debug/kdepim-4.5.90.git20101225/messagelist/utils/aggregationcombobox.cpp:114
#9 0x00007f014df11be9 in MessageList::Utils::AggregationComboBox::AggregationComboBox (this=0x43a3a20, parent=<value optimized out>) at /usr/src/debug/kdepim-4.5.90.git20101225/messagelist/utils/aggregationcombobox.cpp:35
#10 0x00007f014e409a04 in AppearancePageHeadersTab::AppearancePageHeadersTab (this=<value optimized out>, parent=<value optimized out>) at /usr/src/debug/kdepim-4.5.90.git20101225/kmail/configuredialog.cpp:1222
(In reply to comment #5) > Created an attachment (id=55279) [details] > New crash information added by DrKonqi > > kontact (4.6 beta3) on KDE Platform 4.5.90 (4.6 RC1) using Qt 4.7.1 > > - What I was doing when the application crashed: To confirm, I've start kontact > and use akregator shortcut. when all rss are shown, I open configure akregator, > and it works. > After that, I put the résumé view, close kontact. Reopen it, and then click on > configure akregator before it was launch, then I get the crash. > Please don't mix the reports. commit 9107d12d0e1e7292c51867368afdedc2cf65fd78 branch master Author: Christophe Giboudeaux <cgiboudeaux@gmail.com> Date: Sat Jan 15 15:06:37 2011 +0100 Prevent Kontact from crashing when the backends list is not populated yet. BUG: 253363 MERGE: 4.4 diff --git a/akregator/configuration/settings_advanced.cpp b/akregator/configuration/settings_advanced.cpp index 7d58031..dda043a 100644 --- a/akregator/configuration/settings_advanced.cpp +++ b/akregator/configuration/settings_advanced.cpp @@ -80,9 +80,11 @@ void SettingsAdvanced::selectFactory( const QString& key ) void SettingsAdvanced::slotConfigureStorage() { const QString key = cbBackend->itemData( cbBackend->currentIndex() ).toString(); - Backend::StorageFactory* const factory = m_factories.value( key ); - assert( factory ); - factory->configure(); + if( !key.isEmpty() ) { + Backend::StorageFactory* const factory = m_factories.value( key ); + assert( factory ); + factory->configure(); + } } void SettingsAdvanced::slotFactorySelected( int pos ) commit b5afbb67ffaed58557e42e62c045f735ba091ad6 branch 4.4 Author: Christophe Giboudeaux <cgiboudeaux@gmail.com> Date: Sat Jan 15 15:06:37 2011 +0100 Prevent Kontact from crashing when the backends list is not populated yet. BUG: 253363 MERGE: 4.4 diff --git a/akregator/configuration/settings_advanced.cpp b/akregator/configuration/settings_advanced.cpp index 2eccd37..03d5922 100644 --- a/akregator/configuration/settings_advanced.cpp +++ b/akregator/configuration/settings_advanced.cpp @@ -78,9 +78,11 @@ void SettingsAdvanced::selectFactory( const QString& key ) void SettingsAdvanced::slotConfigureStorage() { const QString key = cbBackend->itemData( cbBackend->currentIndex() ).toString(); - Backend::StorageFactory* const factory = m_factories.value( key ); - assert( factory ); - factory->configure(); + if( !key.isEmpty() ) { + Backend::StorageFactory* const factory = m_factories.value( key ); + assert( factory ); + factory->configure(); + } } void SettingsAdvanced::slotFactorySelected( int pos ) *** Bug 265542 has been marked as a duplicate of this bug. *** |