ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Roman Savochenko <rom_as@diyaorg.dp.ua>
To: devel@lists.altlinux.org
Subject: Re: [devel] Коллизия символов разных динамических библиотек
Date: Mon, 13 Sep 2010 08:59:30 +0300
Message-ID: <4C8DBDC2.2000204@diyaorg.dp.ua> (raw)
In-Reply-To: <AANLkTin+zE-VkWA8pw1PmukgR_Z60p5W-vnsgd3O_qug@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1193 bytes --]

12.09.2010 22:47, Alexander Bokovoy пишет:
>> Думаю для программ, единоразово подключающих свои модули, это не проблема.
>> Однако есть программы, которые могут отбрасывать модули во время работы и
>> подключать новые, например для горячего их обновления. Так вот для них это
>> может оказаться проблемой, правда только для модулей с собственными,
>> достаточно тяжёлыми, зависимостями.
>>      
> Порядок вызова динамических конструкторов глобальных объектов в C++
> определен только внутри одной единицы компиляции. Порядок выполнения
> инициализации между единицами компиляции неопределен, он может быть
> разным для разных запусков одной и той же программы. То же самое с
> деструкторами.
>    
Не оно. В моём случае нет ни статических объектов в модуле ни кода 
выполняющегося в момент dlopen() и dlclose(). И подключение 
подразумевает только разрешение зависимостей внешних библиотек линкером, 
опять же в моём случае это QTCore, QTGui и всё что они тянут. Возможно, 
конечно, что-то есть из статики в этих библиотеках, но независимый тест 
на прототипчике этой проблемы в QTCore, QTGui не выявил. Эта проблема 
воспроизводится только в рабочем окружении программы.

С уважением, Роман

[-- Attachment #2: rom_as.vcf --]
[-- Type: text/x-vcard, Size: 301 bytes --]

begin:vcard
fn:Roman Savochenko
n:Savochenko;Roman
org:DIYA Ltd
adr:;;;Dneprodzerzinsk;Dnepropetrovsk;51925;Ukraine
email;internet:rom_as@diyaorg.dp.ua
title:Leading engineer-programer
tel;work:+380569262025
tel;fax:+380569262025
tel;cell:+380679859815
url:http://diyaorg.dp.ua
version:2.1
end:vcard


  reply	other threads:[~2010-09-13  5:59 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 [this message]
2010-09-13  6:05       ` Roman Savochenko
2010-09-13  6:34         ` Alexander Bokovoy
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=4C8DBDC2.2000204@diyaorg.dp.ua \
    --to=rom_as@diyaorg.dp.ua \
    --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