Closed Bug 100892 Opened 23 years ago Closed 12 years ago

Crash in gtk_moz_embed_append_data() - embedding API not back compatible?

Categories

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

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: blurk, Assigned: blizzard)

Details

(Keywords: crash)

Attachments

(2 files)

My app uses the GTK+ Mozilla embedding widget.  I've used the 0.9.1 milestone
embedding package as the baseline, and compiled and linked my app using the
header files and shared libraries from that release.  However, the app calls
gtk_moz_embed_append_data() when run against the 0.9.4 milestone release, it seg
faults.  Are there embedding APIs meant to be backwards compatible like this? 
See attachments for stack backtrace and code fragment.
Attached file Stack backtrace
Makring NEW.
Severity: normal → critical
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: crash
 gtk_moz_embed_open_stream(GTK_MOZ_EMBED(aBrowser->aMozEmbed),
                              "ant://", "text/html");

Is ant:// a valid protocol handler?
No, ant:// isn't a valid protocol handler.  I didn't want to put http://, as
that's not how the HTML got to my code to be written to the stream, so I just
invented something.  (I was worried about side-effects from the history facility
if I put http:// there.)  Under milestone 0.9.1, Mozilla didn't seem to care
what you put there, as long as you put something.  Perhaps that's an erroneous
assumption on my part.  Regardless, it shouldn't seg fault (IMO).  But it gives
me an idea for a workaround.
I tried changing the "ant://" to "http://" but the app still seg faults.
I can't reproduce this.
I am wondering if this bug is still valid,
- it has been more than a year since this bug has been touched, and much has
happend since moz 0.9.4 and in the gtk world.
- last time cb (comment #7), could not reproduce this. 

Reporter, could you please retest to see if the problem persist, and either
comment or resolve the bug.
QA Contact: pavlov → gtk-widget
Blizzard, this bug is so old, I don't know what to do with it. Do we leave it open? You couldn't reproduce it back in 2001. Do we close as invalid?
The embedding gtk widget was removed, why did it come up?
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: