ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Slava Semushin" <slava.semushin@gmail.com>
To: "ALT Linux Sisyphus discussions" <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] Q: segfault при использовании ф-ции savetty()
Date: Sun, 14 Oct 2007 12:34:51 +0700
Message-ID: <75e139a00710132234u3a7d0aeau8e1a80df0f304d7d@mail.gmail.com> (raw)
In-Reply-To: <200710132230.41724.lav@altlinux.ru>

2007/10/14, Vitaly Lipatov <lav / altlinux.ru>:
> On 13 октября 2007, Slava Semushin wrote:
> > Здравствуйте!
> >
> > Вчера обнаружил, что игрушка clines, мэйнтейнером которой я
> > являюсь, падает с segmentation fault сразу после запуска.
> Всё работает:
> [lav@lav RPM]$ rpm -q clines
> clines-1.0.4-alt1
> [lav@lav RPM]$ rpm -q libtinfo
> libtinfo-5.6-alt4

Спасибо!

[c0der@rock ~]$ rpm -q clines libtinfo
clines-1.0.4-alt1
libtinfo-5.6-alt3
[c0der@rock ~]$ clines
zsh: segmentation fault  clines
[c139der@rock ~]$ ltrace clines
__libc_start_main(0x804a442, 1, 0xbfd95dc4, 0x804bf51, 0x804bf4c
<unfinished ...>
getopt(1, 0xbfd95dc4, "hlvw:t:c:i:C:f:F:m:n:N:o:")                   = -1
malloc(24)                                                           = 0x804e008
getuid()                                                             = 1000
getpwuid(1000, 0, 0xbfd95d28, 0x804a6fe, 24)                         =
0xb7f489f8
strchr("coder", '/')                                                 = NULL
opendir("/var/tmp")                                                  = 0x804ef08
readdir(0x804ef08)                                                   = 0x804ef24
readdir(0x804ef08)                                                   = 0x804ef34
readdir(0x804ef08)                                                   = 0x804ef44
readdir(0x804ef08)                                                   = 0x804ef60
readdir(0x804ef08)                                                   = NULL
closedir(0x804ef08)                                                  = 0
savetty(0x804ef08, 0xbfd95dc4, 0x804cacb, 0, 0 <unfinished ...>
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
[c0der@rock ~]$

После обновления libtinfo до 5.6-alt4 падать перестало.

-- 
+ Slava Semushin | slava.semushin @ gmail.com
+ ALT Linux Team | php-coder @ altlinux.ru

  reply	other threads:[~2007-10-14  5:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-13  7:20 Slava Semushin
2007-10-13 18:30 ` Vitaly Lipatov
2007-10-14  5:34   ` Slava Semushin [this message]
2007-10-14 15:38     ` Dmitry V. Levin
2007-10-15  6:07       ` Slava Semushin
2007-10-15  6:10         ` Slava Semushin

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=75e139a00710132234u3a7d0aeau8e1a80df0f304d7d@mail.gmail.com \
    --to=slava.semushin@gmail.com \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git