Closed Bug 255649 Opened 20 years ago Closed 20 years ago

GtkMozEmbed crashes if its ref_count reaches 0 [@ EmbedPrivate::Destroy ]

Categories

(Core Graveyard :: Embedding: GTK Widget, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 249520

People

(Reporter: kaffeetisch, Assigned: blizzard)

Details

(Keywords: crash)

Crash Data

Attachments

(2 files)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040621 Galeon/1.3.16 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040621 Galeon/1.3.16 If its ref_count drops to 0 and the GtkMozEmbed widget is being finalized, something goes wrong and a segfault occurs. A sample program exhibiting the problem and a backtrace are attached. Reproducible: Always Steps to Reproduce:
Attached file Sample program
Attached file Backtrace
Severity: normal → critical
Keywords: crash
Yes, looks like it is. Showing the widget before destroying it does indeed prevent it from segfaulting.
can you either test the patch or 1.7.2 and report back if working fine ?
Summary: GtkMozEmbed crashes if its ref_count reaches 0 → GtkMozEmbed crashes if its ref_count reaches 0 [@ EmbedPrivate::Destroy ]
The bug is still present in 1.7.2 (and the patch doesn't seem to be in it either), but applying the patch from bug 249520 to 1.7.2 did indeed fix the problem.
Thanks for the update, the patch was checked in after 1.7.2, it's fixed in 1.7.3, the 1.7 branch shows it: http://lxr.mozilla.org/mozilla1.7/source/embedding/browser/gtk/src/gtkmozembed2.cpp#524 *** This bug has been marked as a duplicate of 249520 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Crash Signature: [@ EmbedPrivate::Destroy ]
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: