Bug 857348

Summary: crash when network online status changes
Product: [Fedora] Fedora Reporter: Fabrice Bellet <fabrice>
Component: lifereaAssignee: Steven M. Parrish <smparrish>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: emmanuel, ondra.pelech, scorpy_sk, smparrish, yaneti
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-09 10:02:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Disconnect signals when finalizing htmlview none

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.