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)
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.
Reporter | ||
Comment 1•23 years ago
|
||
Reporter | ||
Comment 2•23 years ago
|
||
Comment 3•23 years ago
|
||
Makring NEW.
Assignee | ||
Comment 4•23 years ago
|
||
gtk_moz_embed_open_stream(GTK_MOZ_EMBED(aBrowser->aMozEmbed), "ant://", "text/html"); Is ant:// a valid protocol handler?
Reporter | ||
Comment 5•23 years ago
|
||
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.
Reporter | ||
Comment 6•23 years ago
|
||
I tried changing the "ant://" to "http://" but the app still seg faults.
Assignee | ||
Comment 7•23 years ago
|
||
I can't reproduce this.
Comment 8•22 years ago
|
||
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.
Updated•15 years ago
|
QA Contact: pavlov → gtk-widget
Comment 9•12 years ago
|
||
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?
Comment 10•12 years ago
|
||
The embedding gtk widget was removed, why did it come up?
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INCOMPLETE
Updated•12 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•