The default bug view has changed. See this FAQ.

crash [@ EmbedPrivate::Realize]



Core Graveyard
Embedding: GTK Widget
11 years ago
5 years ago


(Reporter: Chris Lahey, Assigned: timeless)




Firefox Tracking Flags

(Not tracked)


(crash signature)


(1 attachment)



11 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20060419 Fedora/ Firefox/ pango-text
Build Identifier: firefox package as shipped with Fedora Core 6

I've looked into it and mWindow->Init(this) is returning NS_ERROR_FAILURE, which is being ignored.  mWindow->Init(this) is failing because do_CreateInstance(NS_WEBBROWSER_CONTRACTID); is returning a null pointer.  It looks as if this is because NS_WEBBROWSER_CONTRACTID (";1") isn't in the component registry.  Is there some change to the way I need to initialize gtkmozembed?

Reproducible: Always

Steps to Reproduce:
1. Install FC6
2. Download and run democracyplayer as described at
Actual Results:  
App crashes.  After debugging, have traced problem to do_CreateInstance.

Comment 1

11 years ago
Maybe you should report this to the democracy guys, too?
Keywords: crash
Summary: EmbedPrivate::Realize crashes → crash [@ EmbedPrivate::Realize]

Comment 2

11 years ago
I am one of the democracy guys.  I'm trying to figure out how to change democracy to fix it.

Comment 3

11 years ago
Looks like this is the same bug as reported here:

Comment 4

11 years ago
It is the same thing, I think.  It's explored further here, I think.

I've explored it some more.  On FC6, we fixed it by calling set_comp_path.  However, with newer gtks like on ubuntu or gentoo, a very similar crash occurs unless you set LD_LIBRARY_PATH to the mozilla path.

Comment 5

11 years ago
i'll gladly r+ the patch to add the null check, please post it, or wait for me to do all the other work i have to do to catch up.

but the null check won't solve your problem. gecko embedding requirements include someone telling gecko where to find the libraries they want used. classically this is handled by
What are you trying to embed, and what linkage strategy are you using?

Comment 7

11 years ago
Created attachment 246659 [details] [diff] [review]
look before leaping
Assignee: nobody → timeless
Attachment #246659 - Flags: review?(cbiesinger)

Comment 8

10 years ago
Comment on attachment 246659 [details] [diff] [review]
look before leaping

this is nuts. I'm something of a module owner, and even I can't get reviews.

I'm not going to try again.
Attachment #246659 - Flags: superreview?(bzbarsky)
Attachment #246659 - Flags: review?(cbiesinger) → review+
Comment on attachment 246659 [details] [diff] [review]
look before leaping

Attachment #246659 - Flags: superreview?(bzbarsky) → superreview+


10 years ago
Attachment #246659 - Flags: approval1.9?
Comment on attachment 246659 [details] [diff] [review]
look before leaping

Attachment #246659 - Flags: approval1.9? → approval1.9+

Comment 11

10 years ago
mozilla/embedding/browser/gtk/src/EmbedPrivate.cpp 	1.65 <> 2006-12-03 20:06

joke's on me. sorry all.
Last Resolved: 10 years ago
Resolution: --- → FIXED
Crash Signature: [@ EmbedPrivate::Realize]
Component: Embedding: GTK Widget → Embedding: GTK Widget
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.