From: Konstantin Pavlov <thresh@altlinux.ru>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] microdc2 + ovz = segmentation fault
Date: Tue, 2 Feb 2010 12:39:56 +0300
Message-ID: <20100202093956.GH19966@snowwhite.immo> (raw)
In-Reply-To: <19501265102827@webmail101.yandex.ru>
[-- Attachment #1: Type: text/plain, Size: 1384 bytes --]
On Tue, Feb 02, 2010 at 12:27:07PM +0300, Караваев Павел wrote:
> Приветствую сообщество!
> Собрал vz на базе 4.0/branch x86_64, сделал apt-get install microdc2. При запуске microdc2 -n (без чтения конфига) работает нормально, а вот с чтением конфига получаем:
>
> [dc@pereliv ~]$ strace microdc2
> execve("/usr/bin/microdc2", ["microdc2"], [/* 28 vars */]) = 0
> brk(0)
> ..
> open("/etc/localtime", O_RDONLY) = 18
> fstat(18, {st_mode=S_IFREG|0644, st_size=2032, ...}) = 0
> fstat(18, {st_mode=S_IFREG|0644, st_size=2032, ...}) = 0
> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb336aa5000
> read(18, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\16\0\0\0\16\0\0\0\0"..., 4096) = 2032
> lseek(18, -1265, SEEK_CUR) = 767
> read(18, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\16\0\0\0\16\0\0\0\0"..., 4096) = 1265
> close(18) = 0
> munmap(0x7fb336aa5000, 4096) = 0
> stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2032, ...}) = 0
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> +++ killed by SIGSEGV +++
> Process 8056 detached
> [dc@pereliv ~]$
Пересоберите с дебагом и запустите под gdb.
--
Очевидно, что с этим изменением [обновление ldap] бинарная совместимость
текущего Сизифа с ALM2.4 в серверной части несколько уменьшается.
-- ldv in devel@
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2010-02-02 9:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-02 9:27 Караваев Павел
2010-02-02 9:31 ` Караваев Павел
2010-02-02 9:39 ` Konstantin Pavlov [this message]
2010-02-02 10:47 ` pppd
2010-02-02 12:00 ` Timur Batyrshin
2010-02-02 12:34 ` pppd
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=20100202093956.GH19966@snowwhite.immo \
--to=thresh@altlinux.ru \
--cc=sysadmins@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 sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git