Adrian M wrote:

Hi...
I build mozilla 1.7 on my linux machine (x86) Red Hat 9.0.

TestGtkEmbed crashes when I click on any link:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1079709088 (LWP 20037)]
0x402cbf30 in gtk_signal_remove_emission_hook () from /usr/lib/libgtk-1.2.so.0
(gdb) back
#0 0x402cbf30 in gtk_signal_remove_emission_hook () from /usr/lib/libgtk-1.2.so.0
#1 0x402cc0a8 in gtk_signal_remove_emission_hook () from /usr/lib/libgtk-1.2.so.0
#2 0x402cb16d in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
#3 0x402c8ab2 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#4 0x40035f39 in EmbedEventListener::MouseClick () from /usr/lib/libgtkembedmoz.so
#5 0x40a405f4 in NSGetModule () from /usr/lib/mozilla-1.2.1/components/libgkcontent.so


Any idea how to fix this?
Thanks.
_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding


Your stack trace indicates that the libraries from Mozilla 1.2.1 are being used. If you compiled TestGtkEmbed against Mozilla 1.7, then you need to be sure to use the libraries from Mozilla 1.7. Try setting these environment variables first before running your program:

$ export MOZILLA_FIVE_HOME=/path/to/mozilla-1.7
$ export LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$LD_LIBRARY_PATH

Then it should work.

-Darin
_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to