ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexander Bokovoy <ab@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Коллизия символов разных динамических библиотек
Date: Mon, 13 Sep 2010 09:34:05 +0300
Message-ID: <AANLkTimgP-gA74Vn5XL=SxCdxb1EJsGt6TxWF-zrz+_s@mail.gmail.com> (raw)
In-Reply-To: <4C8DBF23.1030803@diyaorg.dp.ua>

2010/9/13 Roman Savochenko <rom_as@diyaorg.dp.ua>:
>>     Не оно. В моём случае нет ни статических объектов в модуле ни кода
>> выполняющегося в момент dlopen() и dlclose(). И подключение подразумевает
>> только разрешение зависимостей внешних библиотек линкером, опять же в моём
>> случае это QTCore, QTGui и всё что они тянут. Возможно, конечно, что-то есть
>> из статики в этих библиотеках, но независимый тест на прототипчике этой
>> проблемы в QTCore, QTGui не выявил. Эта проблема воспроизводится только в
>> рабочем окружении программы.
>
> Кроме всего прочего dlopen вызывается с флагами RTLD_LAZY|RTLD_LOCAL, что по
> идеи исключает немедленный резолвинг всех символов, а так-же то, что на
> ранних версиях дистрибутива это прекрасно работает.
Запустите приложение с
LD_DEBUG=all LD_DEBUG_OUTPUT=/path/to/file /path/to/executable
ld.so в получившемся отчете расскажет все, что происходило с
динамической загрузкой и выгрузкой.

-- 
/ Alexander Bokovoy

  reply	other threads:[~2010-09-13  6:34 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-11 19:02 Roman Savochenko
2010-09-12 15:42 ` Roman Savochenko
2010-09-12 16:13   ` Денис Смирнов
2010-09-13  7:35     ` Roman Savochenko
2010-09-12 19:47   ` Alexander Bokovoy
2010-09-13  5:59     ` Roman Savochenko
2010-09-13  6:05       ` Roman Savochenko
2010-09-13  6:34         ` Alexander Bokovoy [this message]
2010-09-13 15:49           ` Roman Savochenko
2010-09-22 10:13       ` Roman Savochenko
2010-09-22 11:10         ` Alexander Bokovoy
2010-09-22 12:31           ` Roman Savochenko
2010-09-13 15:50 ` Dmitry V. Levin
2010-09-13 16:12   ` Roman Savochenko
2010-09-13 16:15     ` Dmitry V. Levin
2010-09-14  5:29       ` Roman Savochenko

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='AANLkTimgP-gA74Vn5XL=SxCdxb1EJsGt6TxWF-zrz+_s@mail.gmail.com' \
    --to=ab@altlinux.org \
    --cc=devel@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