Closed Bug 481621 Opened 11 years ago Closed 11 years ago

protoLayout should set to NULL in moz_gtk_shutdown() [Crash @g_type_check_instance_cast @setup_widget_prototype @ensure_menu_popup_widget]

Categories

(Core :: Widget: Gtk, defect)

All
Linux
defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: ginnchen+exoracle, Assigned: ginnchen+exoracle)

Details

(Keywords: crash, fixed1.9.1)

Attachments

(1 file)

We have
gtk_container_add(GTK_CONTAINER(gProtoWindow), protoLayout);

So, if gProtoWindow is destroyed and recreated, we should recreate protoLayout.

I think we'd better use gProtoLayout.

I found this crash because I have set "general.config.filename" in all.js, but I missed the file in firefox directory.
Firefox is shutting down while another thread is still running. (maybe another bug.)
Attached patch patchSplinter Review
Assignee: nobody → ginn.chen
Attachment #365638 - Flags: review?(roc)
http://hg.mozilla.org/mozilla-central/rev/89d78f1d6ecf
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Attachment #365638 - Flags: approval1.9.1?
Comment on attachment 365638 [details] [diff] [review]
patch

a191=beltzner
Attachment #365638 - Flags: approval1.9.1? → approval1.9.1+
You need to log in before you can comment on or make changes to this bug.