Closed Bug 182162 Opened 22 years ago Closed 22 years ago

[gtk2] random crashing on toplevel focus in/out

Categories

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

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: tommi.komulainen, Assigned: blizzard)

References

Details

(Keywords: crash)

Attachments

(1 file, 1 obsolete file)

User-Agent: Mozilla/5.0 Galeon/1.3 (Turing 42;) Gecko Build Identifier: Quite randomly the gtkmozembed widget crashes in toplevel focus in/out events. Reproducible: Sometimes Steps to Reproduce: 1.Create new gtkmozembed 2.Generate toplevel focus in/out events 3.Repeat from 1) until crashes Actual Results: Boom! Expected Results: No boom.
The type of the parameter that is used when connecting the toplevel_focus_in/out signals is different from the type that the handler tries to use. That is obviously bad.
Keywords: crash
Comment on attachment 107575 [details] [diff] [review] Use same types for signal_connect and in the signal handler we can just fix what's passed in
Attachment #107575 - Flags: review-
Blocks: gtk2
Attached patch patchSplinter Review
Change the type passed in instead of fixing the functions.
Attachment #107575 - Attachment is obsolete: true
Comment on attachment 107620 [details] [diff] [review] patch Yeah, so how _did_ that ever work?
Attachment #107620 - Flags: superreview+
I swear I remember testing it.
Attachment #107620 - Flags: review+
Fixed.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
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: