ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] strace hangs
Date: Thu, 31 Aug 2006 23:52:09 +0400
Message-ID: <20060831195209.GV11420@localhost.localdomain> (raw)
In-Reply-To: <20060831103741.GD30630@basalt.office.altlinux.org>

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

On Thu, Aug 31, 2006 at 02:37:41PM +0400, Dmitry V. Levin wrote:
> On Thu, Aug 31, 2006 at 02:25:08PM +0400, Alexey Tourbin wrote:
> > У меня вот так вот strace висит:
> > $ strace -kqfF -e trace=file -o "|/bin/sh -c false" /bin/true

То есть ясно, что buildreq на самом деле виснет.  Как я дошел до такой
жизни, сейчас пытаюсь выяснить.  Предположение: если в
/etc/buildreqs/files/ignore.d/ положить левый файл, то фильтр ломается
и будет зависон.

Похоже, что так и есть:

$ buildreq ~specs/perl-Gtk2.spec
Executing(%prep): /bin/sh -e /tmp/.private/at/rpm-tmp.85334
+ umask 022
...
$ sudo touch /etc/buildreqs/files/ignore.d/asdf
$ buildreq ~specs/perl-Gtk2.spec
[ зависон ]

> > И убивается только по
> > $ killall -9 strace
> > 
> > У кого-нибудь ещё это воспроизводится?  На два-четвертых ядрах
> > вроде бы не виснет.
> 
> Это сильно зависит от версии strace и версии ядра.
> Впрочем, у меня воспроизводится, этого достаточно.
> 
> Кстати, мне так и не удалось сделать работу strace приемлемо стабильной, см.
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=105351
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=173050

Жаль, но нужно чтобы хотя бы на два-шестых ядрах в нативном режиме
хорошо работало.  То есть чтобы с buildreq'ом проблем не было.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2006-08-31 19:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-31 10:25 Alexey Tourbin
2006-08-31 10:29 ` Damir Shayhutdinov
2006-08-31 10:37 ` Dmitry V. Levin
2006-08-31 19:52   ` Alexey Tourbin [this message]
2006-08-31 20:17     ` Dmitry V. Levin
2006-09-01 17:05   ` Dmitry V. Levin
2006-09-01 15:36 ` Dmitry V. Levin

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=20060831195209.GV11420@localhost.localdomain \
    --to=at@altlinux.ru \
    --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