After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 130789 - HtmlDocument isn't unreferenced correctly
HtmlDocument isn't unreferenced correctly
Status: RESOLVED FIXED
Product: gtkhtml2
Classification: Deprecated
Component: General
2.5.x
Other Linux
: Normal normal
: ---
Assigned To: padraig.obriain
padraig.obriain
Depends on:
Blocks:
 
 
Reported: 2004-01-07 17:09 UTC by Libor Nenadál
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.3/2.4


Attachments
testcase: press buttons load, first, second, third, unload and move mouse to the HtmlView (59.81 KB, application/x-tar)
2004-01-07 17:14 UTC, Libor Nenadál
  Details
Proposed patch (611 bytes, patch)
2004-01-07 17:21 UTC, padraig.obriain
none Details | Review
testcase: press load, first, second, third, unload (189.18 KB, application/x-tar)
2004-01-27 15:14 UTC, Libor Nenadál
  Details

Description Libor Nenadál 2004-01-07 17:09:38 UTC
When I use several HtmlDocuments with one HtmlView and try to free them
with g_object_unref(), it ends with SIGSEGV.
Comment 1 Libor Nenadál 2004-01-07 17:14:31 UTC
Created attachment 23073 [details]
testcase: press buttons load, first, second, third, unload and move mouse to the HtmlView
Comment 2 padraig.obriain 2004-01-07 17:21:08 UTC
Created attachment 23075 [details] [review]
Proposed patch
Comment 3 padraig.obriain 2004-01-08 08:57:51 UTC
Patch committed to CVS HEAD.
Comment 4 Libor Nenadál 2004-01-27 15:14:16 UTC
Created attachment 23811 [details]
testcase: press load, first, second, third, unload
Comment 5 Libor Nenadál 2004-01-27 15:17:23 UTC
The attachment (id=23811) works with large HTML documents and has
unref problems so I reopened this bug.
Comment 6 padraig.obriain 2004-01-27 15:43:02 UTC
What problems are you seeing?
Comment 7 Libor Nenadál 2004-01-27 15:54:12 UTC
When I click buttons load, first, second, third and unload, then it
sigsegv on the second g_object_unref in function on_unload_clicked.
Comment 8 padraig.obriain 2004-01-27 16:02:33 UTC
Can you send me a stack trace as I am not seeing a crash.
Comment 9 Libor Nenadál 2004-01-28 11:10:27 UTC
It was my fault, I forgot that I don't have the newest version of
library linked as default, I'm deeply sorry for confusion.