Closed Bug 114563 Opened 24 years ago Closed 12 years ago

window.close() crash in TestGtkEmbed

Categories

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

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: yaneti, Assigned: blizzard)

References

()

Details

(Keywords: regression, Whiteboard: [driver:blizzard])

Attachments

(1 file)

In Alex Barnes' word from galeon-devel "If you go to http://www.tesco.com/register/ and click the "need some help registering" link (need popups enabled), galeon displays the popup, but then segfaults when you press the close button on the page." it crashes in the visibilty callback after its been called zillion times
here is another url that exhibits the behavior directly http://www.it-vikar.no/web_nyheter_detalj.lasso?Nyhetsnr=n611id both links in it are window.close()
Summary: TestGtkEmbed crash (mozilla 0.9.6) → window.close() crash in TestGtkEmbed (with 0.9.6)
this bug is still absolutely reproducable for me with both 0.9.7 and recent cvs
Severity: normal → major
Summary: window.close() crash in TestGtkEmbed (with 0.9.6) → window.close() crash in TestGtkEmbed
Sounds the same. duping. *** This bug has been marked as a duplicate of 121279 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Ahh, it's not the same.
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
This only happens if it's the last window that's up. I think it's because XPCOM is being accessed after it has been shut down. Looks like a window destruction ordering issue.
Blocks: 115520
Keywords: regression
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
This is a reocurring problem. There are two right ways to fix this: o Require all callers to hold a reference to the embedding layer until _after_ all of the widgets have been destroyed. Essentially require them to use push_startup() and pop_startup(). o Require that any event that might cause the last window to be destroyed will unwind its stack in such a way that it won't need anything from the XPCOM library. I'm starting to think that the previous one is the proper solution. I could put code in the embedding library that would make it so that this would be tracked and a warning would be spewed if XPCOM was shut down during the last widget destruction.
Dan might have some ideas on this.
I need some feedback. I need to get this issue taken care of (fix the test case or the issue) before I can feel comfortable seeing 0.9.8 go out the door.
Whiteboard: [driver:blizzard]
This fixes the test case.
Taking this off the 0.9.8 radar since it's really a bug with the test case, not in the product.
No longer blocks: 115520
Can we close this bug at this point? Fixed? obsolete? wontfix?
QA Contact: pavlov → gtk-widget
Product: Core → Core Graveyard
Flash from the past. Closing. Sorry if it was waiting on me.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago12 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: