Opened 3 years ago
Closed 3 years ago
Last modified 3 years ago
mythbrowser and mythnews crash when interrupted
|Reported by:||jkt@…||Owned by:||natanojl|
|Component:||Plugin - MythBrowser||Version:||0.25-fixes|
when a page load is interrupted before completion mythfrontend crashes in QObject::disconnect() at sender->metaObject(). after much debugging i found removing a portion of [1399a9c136] sidesteps the problem; it seems mixing delete QWebPage, delete QNetworkAccessManager and pending replies is an explosive combination.
the attached patch lets mythbrowser and mythnews survive interruption, but doing so most likely reinstates #9802.
crashes using branches fixes/0.25, fixes/0.26 and master against libqt4 versions 4.7.4 and 4.8.3, though i did not test all permutations.
Change History (6)
Changed 3 years ago by jkt@…
comment:1 Changed 3 years ago by natanojl
- Owner set to natanojl
- Status changed from new to assigned
comment:2 Changed 3 years ago by Jonatan Lindblad <jlindblad@…>
- Resolution set to fixed
- Status changed from assigned to closed
comment:3 Changed 3 years ago by Jonatan Lindblad <jlindblad@…>
comment:4 Changed 3 years ago by Jonatan Lindblad <jlindblad@…>
comment:5 Changed 3 years ago by natanojl
- Milestone changed from unknown to 0.26.1