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 18:49:01 +0300
Message-ID: <4C8E47ED.7030108@diyaorg.dp.ua> (raw)
In-Reply-To: <AANLkTimgP-gA74Vn5XL=SxCdxb1EJsGt6TxWF-zrz+_s@mail.gmail.com>

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

13.09.2010 09:34, Alexander Bokovoy пишет:
> Запустите приложение с
> LD_DEBUG=all LD_DEBUG_OUTPUT=/path/to/file /path/to/executable
> ld.so в получившемся отчете расскажет все, что происходило с
> динамической загрузкой и выгрузкой.
>    
Запустил и получил три файла, по одному на поток. Файл потока, который 
падает, получился 45Мб.
При поверхностном просмотре всё выглядит нормально. Но если не знать 
чего искать то копаться там можно долго.

Однако, чётко разглядел запросы на поиск после первого dlopen, как 
процесс relocation (lazy). Так вот чисто QT-шные там отсутствуют. Но 
зато полно иксовых и ещё ряда библиотек:
/lib/libpcre.so.3 -> _pcre_ucd_stage1, pcre_free, _pcre_OP_lengths, ... 
- короче своих переликовует, хотя зачем?
/usr/lib/libXext.so.6 -> _XExtensionErrorFunction, 
_XLockMutex_fn(/usr/lib/libX11.so.6)
/usr/lib/libXcursor.so.1
/usr/lib/libICE.so.6 -> много своих
/usr/lib/libQtGui.so.4 -> куча своих
/usr/lib/libQtCore.so.4 -> тоже куча своих
Мои там тоже есть.

В общем мне он ни о чём новом не рассказал.

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

[-- 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 15:49 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
2010-09-13 15:49           ` Roman Savochenko [this message]
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=4C8E47ED.7030108@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