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.
Severity: normal → critical
Status: UNCONFIRMED → NEW
Ever confirmed: true
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.
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
Last Resolved: 6 years ago
Resolution: --- → INCOMPLETE
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.