ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Igor Vlasenko <vlasenko@imath.kiev.ua>
To: devel@lists.altlinux.org
Cc: sisyphus@lists.altlinux.org
Subject: [devel] current eclipse state and firefox problem
Date: Tue, 27 Nov 2007 20:47:14 +0200
Message-ID: <20071127184714.GA13201@dad.imath.kiev.ua> (raw)

Уважаемые коллеги, 

Хочу рассказать о текущем статусе eclipse
и о проблеме с embedded firefox.

Поскольку пакет тяжелый, то я стараюсь экпериментальные сборки 
выкладывать в /incoming/Daedalus/. Текущая сейчас
eclipse-3.3.0-alt1.2_5jpp5.0.src.rpm.
В Сизиф буду выкладывать только по нужде, чтобы не напрягать с
трафиком.
Пока это все первоначальные сборки, 

Для знакомства можно поставить минимум:
eclipse-platform, eclipse-rcp, libswt3.
для пробы можно также eclipse-jdt
Сборки могут еще быть с автоматическими requires/provides,
которые помешают устанвке из apt, тогда придется ставить rpm.
Можно ставить и другие пакеты, кроме eclipse-sdk.
eclipse-sdk-3.3.0-altх.х_5jpp5.0.src.rpm ставить не надо, 
так как эклипс с ней не запустится.

после того когда я с помощью текущей 'bootstrap' сборки(серии сборок) 
eclipse-sdk-3.3.0-altх.х_5jpp5.0 
соберу дополнительную java инфраструктуру
начнутся последующие сборки, в которых сборка будет организована 
по-другому и эти проблемы с опакечиванием уйдут.

Однако кроме этих проблем есть и другая, которую можно вызвать прямо с
Welcome page. Это падение эклипса при использовании embedded firefox.
Чтобы предотвратить это, нужно выбрать
"Use External Web Browser" в Preferences > General > Web Browser.

имеем
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x8e9f3522, pid=4382, tid=3084372880
#
# Java VM: OpenJDK Tiered VM (1.7.0-internal-builder_10_jul_2007_12_36-b00 mixed mode linux-x86)
# Problematic frame:
# C  [libdocshell.so+0x2e522]
#
# An error report file with more information is saved as:
# /tmp/hs_err_pid4382.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#


В деталях, что происходит. Наша, а так же FC8/Mandiriva сборки
линкуются и работают с firefox с помощью xpcom. Соответственно
если их сборки установить в Альт, то они падают точно так же.
При этом "родная" сборка эклипса работает нормально.

Возможны конечно проблемы с нашим firefox, но у меня большое 
подозрение, что виновата sun-jаva. Я уже сталкивался, что она
через JNI некорректно загружала плагины к библиотекам.

FC8/Mandiriva могли не выявить у себя эту проблему, 
так как там эклипс штатно собран gcj и все что честно линкуется, 
честно и загружается.

При этом "родная" сборка эклипса отличается от нашей и указанных
сборок дополнительной библиотекой, которая для загрузки 
embedded browser использует GRE.
http://developer.mozilla.org/en/docs/GRE#Dependent_libraries_and_environment_variables

К сожалению я не могу собрать эту библиотеку, так как в наших
сборках ни xulrunner'a ни firefox'a нет нужной библиотеки xpcomglue.

У меня большое подозрение, что ld-loader sun-jаva что-то недолинковывает,
и в этом случае надо работать через xpcomglue, которая берет задачу по 
загрузке подходящей мозиллы на себя.

-- 

Dr. Igor Vlasenko
--------------------
Topology Department
Institute of Math
Kiev, Ukraine



             reply	other threads:[~2007-11-27 18:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-27 18:47 Igor Vlasenko [this message]
2007-11-27 19:45 ` [devel] [sisyphus] " Aleksey Novodvorsky
2007-11-28 22:30 ` [devel] " Igor Vlasenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071127184714.GA13201@dad.imath.kiev.ua \
    --to=vlasenko@imath.kiev.ua \
    --cc=devel@lists.altlinux.org \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git