ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Уже не вопрос, а проблема с ImageMagick(к разработчикам)
@ 2003-07-21  9:59 Support(planetashop)
  0 siblings, 0 replies; only message in thread
From: Support(planetashop) @ 2003-07-21  9:59 UTC (permalink / raw)
  To: community

> 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 из исходников собрать, поможет решить
проблему?????



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-07-21  9:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-21  9:59 [Comm] Уже не вопрос, а проблема с ImageMagick(к разработчикам) Support(planetashop)

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