Bug 857348 - crash when network online status changes
Summary: crash when network online status changes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: liferea
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Steven M. Parrish
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 861557 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-14 07:44 UTC by Fabrice Bellet
Modified: 2012-10-09 10:02 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-09 10:02:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Disconnect signals when finalizing htmlview (2.21 KB, patch)
2012-09-14 07:44 UTC, Fabrice Bellet
no flags Details | Diff

Description Fabrice Bellet 2012-09-14 07:44:45 UTC
Created attachment 612752 [details]
Disconnect signals when finalizing htmlview

liferea frequently crashes when manipulating htmlviews (opening/closing new tabs) while the network online status changes. This is caused because the signal notifying online status is not properly disconnected when the htmlview is removed. Suggested patch follows.

Comment 1 Yanko Kaneti 2012-09-14 09:50:27 UTC
This should probably be brought up in the upstream bug tracker.

Maybe the patch itself could be reduced to 
 static void
 liferea_htmlview_finalize (GObject *object)
 {
+       g_signal_handlers_disconnect_by_data (network_monitor_get (), object);
+
        G_OBJECT_CLASS (parent_class)->finalize (object);
 }

I don't use liferea tabs so I've not seen it crash like that. Could you test this?

Comment 2 Fabrice Bellet 2012-09-14 13:02:59 UTC
Yes. I stress tested it with your patch, and it seems it's stable too. Thanks!

Comment 3 Emmanuel Seyman 2012-09-14 13:08:12 UTC
Fabrice, have you submitted this to upstream's bug tracker?

Comment 4 Yanko Kaneti 2012-09-14 13:21:04 UTC
Thanks for testing. I've submitted this upstream.
https://sourceforge.net/tracker/?func=detail&aid=3567715&group_id=87005&atid=581686

Thinking of filing an update with this and 1.8.8

Comment 5 Fedora Update System 2012-09-14 13:55:03 UTC
liferea-1.8.8-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/liferea-1.8.8-1.fc18

Comment 6 Fedora Update System 2012-09-14 13:56:00 UTC
liferea-1.8.8-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/liferea-1.8.8-1.fc17

Comment 7 Fedora Update System 2012-09-17 17:52:37 UTC
Package liferea-1.8.8-1.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing liferea-1.8.8-1.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-14154/liferea-1.8.8-1.fc17
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2012-09-20 20:36:21 UTC
liferea-1.8.8-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2012-09-22 00:09:07 UTC
liferea-1.8.8-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Yanko Kaneti 2012-09-29 10:22:45 UTC
*** Bug 861557 has been marked as a duplicate of this bug. ***

Comment 11 Fedora Update System 2012-09-29 10:30:34 UTC
liferea-1.8.8-2.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/liferea-1.8.8-2.fc17

Comment 12 Yanko Kaneti 2012-09-29 10:32:06 UTC
I forgot to actually apply the patch in the previous update. Sorry.

Comment 13 Fedora Update System 2012-09-30 02:27:40 UTC
Package liferea-1.8.8-2.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing liferea-1.8.8-2.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-15093/liferea-1.8.8-2.fc17
then log in and leave karma (feedback).

Comment 14 Yanko Kaneti 2012-10-09 10:02:43 UTC
The update already hit stable so I am closing again.


Note You need to log in before you can comment on or make changes to this bug.