Closed Bug 188855 Opened 23 years ago Closed 23 years ago

GtkMozEmbed/Mozilla segfaults when called from different threads

Categories

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

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: theril, Assigned: blizzard)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U;) Gecko/20021208 Debian/1.2.7-5 Build Identifier: Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U;) Gecko/20021208 Debian/1.2.7-5 I'm not sure if GtkMozEmbed/mozilla embedding should even be thread safe, but it would simplify my work a lot. When I call gtk_moz_embed_load_url from another thread than one that created it, Mozilla gives segfault in NSGetModule () from libnecko.so. I don't have debugging symbols so the trace wouldn't be very helpful, but if you can't reproduce this behavior, I'll compile it with the symbols and give the backtrace. Reproducible: Always Steps to Reproduce: See the testcase.
Compiled with: gcc -Wall -ansi -pedantic `pkg-config --cflags --libs gthread-2.0 gtk+-2.0` -lgtkembedmoz -o test testcase.c
It's not designed to be thread safe. Please proxy to the UI thread for something like this.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → WONTFIX
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: