ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Dorogov Nikolay" <admin@mics.ru>
To: <community@altlinux.ru>
Subject: [Comm] Fw: Уже не вопрос, а проблема с ImageMagick(к разработчикам)
Date: Mon, 21 Jul 2003 11:20:26 +0400
Message-ID: <003a01c34f58$8f4a8d90$0200a8c0@admin> (raw)

> ----- Original Message -----
> From: "Dmitry Ivanov" <dimss@bigiron.solutions.lv>
> To: <community@altlinux.ru>
> Sent: Thursday, July 17, 2003 11:32 AM
> Subject: Re: [Comm] Вопрос про ImageMagick
>
>
> > On Thu, Jul 17, 2003 at 10:02:24AM +0400, Dorogov Nikolay wrote:
> > > > > #!/usr/bin/perl
> > > > > use Image::Magick;
> > > > > $image = Image::Magick->new;
> > > > > open(DATA1, '10018.gif');
> > > > > $image->Read(file=>DATA1);
> > > > > close(DATA1);
> > > > >
> > > > > Результат -
> > > > > Segmentation fault
> > > >
> > > > Для начала сделайте strace/ltrace скрипта,
> > > > чтобы посмотреть, кто из библиотек виноват.
> > > > Потому что у меня на свежем M2.2 такого не было.
> > >
> > > starсe выдает кучу текста  в котором пробегают иногда вот такие
> > > подозрительные строки:
> > >
> > > stat64("/usr/lib/perl5/i386-linux/strict.pmc", 0xbfffebe0) = -1 ENOENT
> (No
> > > such file or directory)
> >
> > Ничего подозрительного. Что пишется в самом конце?
>
> fstat64(4, {st_mode=S_IFREG|0644, st_size=2707, ...}) = 0
> mmap2(NULL, 2707, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40012000
> munmap(0x40012000, 2707)                = 0
> close(4)                                = 0
> brk(0x8100000)                          = 0x8100000
> brk(0x8101000)                          = 0x8101000
> fstat64(-1, 0xbfffacc0)                 = -1 EBADF (Bad file descriptor)
> stat64("/root/tmp", {st_mode=S_IFDIR|0700, st_size=1216, ...}) = 0
> gettimeofday({1058426950, 87759}, NULL) = 0
> getpid()                                = 22406
> lstat64("/root/tmp/magick7B0Mg", 0xbfffb4e0) = -1 ENOENT (No such file or
> direct
> ory)
> open("/root/tmp/magick7B0Mg", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666)
=
> 4
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> +++ killed by SIGSEGV +++


 Поставил Master 2.2 на другой комп по новой, в чистом виде, с сюдюков.
 ВСЕ ТОЖЕ САМОЕ!!! падает скрипт после установки perl-Magik
 на строке $image->Read(file=>DATA1); если ее закоментировать
 то проходит без ошибок.
 Как думаете если ImageMagik из исходников собрать, поможет решить
 проблему?????




                 reply	other threads:[~2003-07-21  7:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='003a01c34f58$8f4a8d90$0200a8c0@admin' \
    --to=admin@mics.ru \
    --cc=community@altlinux.ru \
    /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 Community general discussions

This inbox may be cloned and mirrored by anyone:

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

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


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