From owner-freebsd-eclipse@FreeBSD.ORG Sat Apr 15 18:40:26 2006 Return-Path: X-Original-To: freebsd-eclipse@freebsd.org Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5765C16A402 for ; Sat, 15 Apr 2006 18:40:26 +0000 (UTC) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [83.171.239.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61AF743D45 for ; Sat, 15 Apr 2006 18:40:24 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id k3FIeHwE046812; Sat, 15 Apr 2006 21:40:17 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.200] (pptp.ebs.gr [10.1.1.200]) by ebs.gr (8.13.3/8.13.3) with ESMTP id k3FIeRsf023730; Sat, 15 Apr 2006 21:40:30 +0300 (EEST) (envelope-from past@ebs.gr) Received: from 127.0.0.1 (AVG SMTP 7.1.385 [268.4.1/312]); Sat, 15 Apr 2006 21:40:10 +0300 Message-ID: <44413E09.5090209@ebs.gr> Date: Sat, 15 Apr 2006 21:40:09 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: "Georg-W. Koltermann" References: <1145086672.1336.0.camel@localhost.eu.mscsoftware.com> In-Reply-To: <1145086672.1336.0.camel@localhost.eu.mscsoftware.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-eclipse@freebsd.org Subject: Re: segfault from HTML renderer when build "WITH_MOZILLA=firefox" / firefox 1.5.0.1 X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Apr 2006 18:40:26 -0000 Georg-W. Koltermann wrote: > Hi, > > I can build "WITH_MOZILLA=firefox" from ports just fine, but at runtime > when I open a HTML file, Eclipse aborts > with: /libexec/ld-elf.so.1: /home/hunter/gwk/.eclipse/org.eclipse.platform_3.1.2/configuration/org.eclipse.osgi/bundles/67/1/.cp/libswt-mozilla-gtk-3139.so: Undefined symbol "NS_InitEmbedding" > > Setting MOZILLA_FIVE_HOME in /usr/local/bin/eclipse back to the regular > mozilla is of not much help, now I > get: /libexec/ld-elf.so.1: /home/hunter/gwk/.eclipse/org.eclipse.platform_3.1.2/configuration/org.eclipse.osgi/bundles/68/1/.cp/libswt-mozilla-gtk-3139.so: Undefined symbol "NS_StringContainerInit2" > > I've finally rebuilt without "WITH_MOZILLA=xxx", and now it works (using > regular mozilla). > > I think we should get a message at build time if there is a missing > external. Why are we not getting that? Do we, maybe, forget to rebuild > libswt-mozilla-gtk-3139.so at all? It's a known issue, but I'm pretty sure this is not the problem. I haven't found the time to track this down (I've been mostly researching the cairo issue), but perhaps it could be attributed to the following (from http://www.eclipse.org/swt/faq.php#browserlinux): Q: What do I need to run the SWT Browser inside Eclipse on Linux/GTK or Linux/Motif? A: You need one of the following: * Mozilla version 1.4 GTK2 - Mozilla 1.6 GTK2 can be used with SWT 3.0. * Mozilla version 1.4 GTK2 - Mozilla 1.7.8 GTK2 can be used with SWT 3.1. * Firefox can be used with SWT 3.1 (Linux only), provided that it has been compiled with linkable Gecko libraries. It is important to note that Firefox downloads from mozilla.org currently do not satisfy this criteria, but Firefox installations that are included in major Linux distributions typically do. Attempting to use a statically-linked Firefox install will display the error message "No more handles [NS_InitEmbedding...error -2147221164]". If you could find out if we can overcome this by building firefox differently, that would be great. Cheers, Panagiotis