[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#836011: akregator: Akregator keep crashing at exit, sometimes do not save recent feeds



Control: tag -1 + pending

¡Hola Sandro!

El 2016-09-02 a las 08:51 +0200, Sandro Knauß escribió:
Control: tags -1 +patch

thanks, for the backtrace. This helps to track this down.

I can reproduce this, but currently I can't test the patch for it. But this only happens if akregator is started as single application. My normal way to use akregator is via kontact and this way it does not crash.

I looks that we have to test the partenNode if this is a valid pointer.Akregator::SubscriptionListModel::index

Akregator::SubscriptionListModel::index

add this add line 248:
if (!parentNode) { return QModelIndex(); }

Oh, I had came up with the same patch. :)
I could finally test this, and the patch fixes the segfault. Could you push this upstream (for 16.08.1, I guess)?

Happy hacking
--
"There are only two things wrong with C++: The initial concept and the
implementation."
-- Bertrand Meyer
Saludos /\/\ /\ >< `/

Attachment: signature.asc
Description: PGP signature


Reply to: