Page 1 of 1

Bus error (core dumped). Solaris 9

Posted: 2009-05-18T03:05:30-07:00
by Gio
Hello,
I try to use convert on my Server, but I recive a core dump.

imdas@paros/usr/local/imdas/ImdasImport/bin $convert test.tif test.jpg
Busfehler (core dumped)

I have read this topic, but this don't help me.

viewtopic.php?f=3&t=13654&start=0

I'm a new user. I don't know ImageMagick good.

I have a core file, but I don't know, how I can uploaded it.

Can you help me?

Thank you
Gio





imdas@paros/usr/local/imdas/ImdasImport/bin $identify -version
Version: ImageMagick 6.5.1-0 2009-04-09 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC

imdas@paros/usr/local/imdas/ImdasImport/bin $identify -list configure

Path: /usr/local/lib/ImageMagick-6.5.1/config/configure.xml

Name Value
-------------------------------------------------------------------------------
CC gcc -std=gnu99
CFLAGS -O2 -I/usr/local/rrdtool-1.2.19/include -Wall -W -D_REENTRANT -pthreads
CONFIGURE ./configure 'CC=gcc' 'CFLAGS=-O2 -I/usr/local/rrdtool-1.2.19/include' 'LDFLAGS=-L/usr/local/lib -R/usr/local/lib -R/usr/lib -L/usr/lib -L/usr/openwin/lib -R/usr/openwin/lib -L/usr/local/ssl/lib -R/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.2/lib -R/usr/local/BerkeleyDB.4.2/lib' 'LIBS=-liconv' 'CPPFLAGS=-DNDEBUG -I/usr/local/ssl/include -I/usr/local/BerkeleyDB.4.2/include -I/usr/local/include/ncurses -I/usr/openwin/include -I/usr/local/rrdtool-1.2.19/include' 'CXX=g++' 'CXXFLAGS=-fpermissive -felide-constructors'
COPYRIGHT Copyright (C) 1999-2009 ImageMagick Studio LLC
CPPFLAGS -I/usr/local/include/ImageMagick
CXX g++
CXXFLAGS -fpermissive -felide-constructors -Wall -W -D_REENTRANT -pthreads
DEFS -DHAVE_CONFIG_H
DELEGATES bzlib fontconfig freetype jpeg lcms png rsvg tiff x11 xml zlib
DISTCHECK_CONFIG_FLAGS 'CC=gcc' 'CFLAGS=-O2 -I/usr/local/rrdtool-1.2.19/include' 'CPPFLAGS=-DNDEBUG -I/usr/local/ssl/include -I/usr/local/BerkeleyDB.4.2/include -I/usr/local/include/ncurses -I/usr/openwin/include -I/usr/local/rrdtool-1.2.19/include' 'CXX=g++' 'LDFLAGS=-L/usr/local/lib -R/usr/local/lib -R/usr/lib -L/usr/lib -L/usr/openwin/lib -R/usr/openwin/lib -L/usr/local/ssl/lib -R/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.2/lib -R/usr/local/BerkeleyDB.4.2/lib' 'LIBS=-liconv' --disable-deprecated --with-quantum-depth=16 --with-umem=no --with-autotrace=no --with-gslib=no --with-fontpath=
EXEC-PREFIX /usr/local
HOST sparc-sun-solaris2.9
LDFLAGS -L/usr/local/lib -L/usr/local/lib -R/usr/local/lib -R/usr/lib -L/usr/lib -L/usr/openwin/lib -R/usr/openwin/lib -L/usr/local/ssl/lib -R/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.2/lib -R/usr/local/BerkeleyDB.4.2/lib -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib -R/usr/local/lib -lfreetype -lz -L/usr/local/lib
LIB_VERSION 0x651
LIB_VERSION_NUMBER 6,5,1,0
LIBS -lMagickCore -llcms -ltiff -lfreetype -ljpeg -L/usr/local/lib -lfontconfig -lXext -lSM -lICE -lX11 -lsocket -lnsl -lXt -lbz2 -lz -lm -lpthread
NAME ImageMagick
PCFLAGS
PREFIX /usr/local
QuantumDepth 16
RELEASE_DATE 2009-04-09
VERSION 6.5.1
WEBSITE http://www.imagemagick.org



imdas@paros/usr/local/imdas/ImdasImport/bin $convert logo: logo.miff
imdas@paros/usr/local/imdas/ImdasImport/bin $convert logo: logo.jpg
imdas@paros/usr/local/imdas/ImdasImport/bin $convert logo: logo.png
imdas@paros/usr/local/imdas/ImdasImport/bin $convert logo: logo.tif
imdas@paros/usr/local/imdas/ImdasImport/bin $identify logo.*
logo.jpg JPEG 640x480 640x480+0+0 8-bit DirectClass 42.7kb
logo.miff[1] MIFF 640x480 640x480+0+0 8-bit Palette PseudoClass 256c 43.4kb
logo.png[2] PNG 640x480 640x480+0+0 8-bit PseudoClass 256c 36.2kb
logo.tif[3] TIFF 640x480 640x480+0+0 8-bit PseudoClass 256c 44.2kb




-- Package

libpng-1.2.36-sol9-sparc-local
freetype-2.3.1-sol9-sparc-local
lcms-1.17-sol9-sparc-local
jpeg-6b-sol9-sparc-local
tiff-3.8.2-sol9-sparc-local
imagemagick-6.5.1-sol9-sparc-local

Re: Bus error (core dumped). Solaris 9

Posted: 2009-05-18T05:46:09-07:00
by magick
Does the convert command fail for other image formats? Try
  • convert logo: logo.png
    convert logo.png logo.miff
    convert logo.miff logo.jpg
    convert logo.jpg logo.tif
Does it only fail with TIFF? To investigate further we will need a stack trace. Do you have gdb on your system?
  • gdb convert
    run test.tif test.jpg
    where

Re: Bus error (core dumped). Solaris 9

Posted: 2009-05-18T06:38:40-07:00
by Gio
Hello :),
I try this
imdas@paros/usr/local/imdas/ImdasImport/bin $convert logo: logo.png
imdas@paros/usr/local/imdas/ImdasImport/bin $convert logo.png logo.miff
imdas@paros/usr/local/imdas/ImdasImport/bin $convert logo.miff logo.jpg
imdas@paros/usr/local/imdas/ImdasImport/bin $convert logo.jpg logo.tif

and too $convert logo.tif logo.jpg

I have no Error.
but my
imdas@paros/usr/local/imdas/ImdasImport/bin $convert test.tiff logo.jpg
Busfehler (core dumped)
I don't have a gdb.
waht can I do?
Thank you
Gio

Re: Bus error (core dumped). Solaris 9

Posted: 2009-05-18T06:46:31-07:00
by Gio
Hello,
I try with small photo and it works.
I try with my (60mb) photo and it failed.

I use truss
open64("/usr/local/share/ImageMagick-6.5.1/config/locale.xml", O_RDONLY) Err#2 ENOENT
open64("/usr/local/lib/ImageMagick-6.5.1/config/locale.xml", O_RDONLY) = 4
llseek(4, 0, SEEK_END) = 2403
mmap64(0x00000000, 2403, PROT_READ, MAP_PRIVATE, 4, 0) = 0xFE600000
munmap(0xFE600000, 2403) = 0
close(4) = 0
open64("/usr/local/share/doc/ImageMagick-6.5.1/locale.xml", O_RDONLY) Err#2 ENOENT
open64("/usr/local/share/ImageMagick-6.5.1/locale.xml", O_RDONLY) Err#2 ENOENT
open64("/usr/local/imdas/.magick/locale.xml", O_RDONLY) Err#2 ENOENT
open64("locale.xml", O_RDONLY) Err#2 ENOENT
open64("/usr/local/lib/ImageMagick-6.5.1/config/english.xml", O_RDONLY) = 4
llseek(4, 0, SEEK_END) = 45603
mmap64(0x00000000, 45603, PROT_READ, MAP_PRIVATE, 4, 0) = 0xFE600000
munmap(0xFE600000, 45603) = 0
close(4) = 0
brk(0x00060020) = 0
brk(0x00066020) = 0
brk(0x00066020) = 0
brk(0x00068020) = 0
brk(0x00068020) = 0
brk(0x0006A020) = 0
brk(0x0006A020) = 0
brk(0x0006C020) = 0
brk(0x0006C020) = 0
brk(0x0006E020) = 0
brk(0x0006E020) = 0
brk(0x00070020) = 0
brk(0x00070020) = 0
brk(0x00072020) = 0
brk(0x00072020) = 0
brk(0x00074020) = 0
brk(0x00074020) = 0
brk(0x00076020) = 0
brk(0x00076020) = 0
brk(0x00078020) = 0
brk(0x00078020) = 0
brk(0x0007A020) = 0
brk(0x0007A020) = 0
brk(0x0007C020) = 0
Incurred fault #5, FLTACCESS %pc = 0xFEECA9DC
siginfo: SIGBUS BUS_ADRALN addr=0xFFBF8796
Received signal #10, SIGBUS [default]
siginfo: SIGBUS BUS_ADRALN addr=0xFFBF8796

I have a core dump,
where can I upload it?
Thanks
Gio

Re: Bus error (core dumped). Solaris 9

Posted: 2009-05-18T07:11:13-07:00
by magick
We cannot read a Solaris core dump. Try the following command (assumes your 60mb file is test.tif):
  • convert -debug cache -limit memory 1mb -limit map 1mb test.tif test.jpg
Does the command still fail?

Re: Bus error (core dumped). Solaris 9

Posted: 2009-05-18T07:46:03-07:00
by Gio
Hello thank you for answer.

I try
imdas@paros/usr/local/imdas/ImdasImport/bin $convert -debug cache -limit memory 1mb -limit map 1mb test.tif test.jpg
2009-05-18T16:44:18+02:00 0:01 0.010u 6.5.1 Cache convert[20295]: cache.c/DestroyPixelCacheInfo/1513/Cache
destroy
2009-05-18T16:44:18+02:00 0:01 0.020u 6.5.1 Cache convert[20295]: cache.c/DestroyPixelCacheInfo/1513/Cache
destroy
Busfehler (core dumped)

Can you understand this?

Tnks
Gio

Re: Bus error (core dumped). Solaris 9

Posted: 2009-05-18T09:16:48-07:00
by Gio
Hello,
I try with another little .tif and it does not work.
Maybe that can help you


my little photo
II*^H^Xþ^D^A^A^C^Aô^A^A^A^C^A\206^A^B^A^C^C.^A^C^A^C^A^A^F^A^C^A^B^N^A^B&4^A^Q^A^D^A^Hx^R^A^C
^A^A^U^A^C^A^C^V^A^C^A\206^A^W^A^D^A(í^H^Z^A^E^AZ^A^[^A^E^Ab^A^\^A^C^A^A(^A^C^A^B1^A^B^\j^A2^
A^B^T\206^A¼^B^A&M\232^A\230\202^B^XÀN»\203^D!ØNI\206^A`&\Oi\207^D^A0e s\207^GL^B¼u^H^H^HNot
iz zu Amigoni 3351 (Gesamtansicht)ÀÆ-^P'ÀÆ-^P'Adobe Photoshop CS2 Windows2008:06:30 11:44:24<
?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="3.1.1-111">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about=""
......


yours logo.tif
MM*^A­¢ÿØÿÀ^Q^H^P^B\200^C^Q^A^Q^B^QÿÚ^L^C^A^B?ýS¯Õ:ýS¢\212(¢\212(¢\212(¢\212(¢\212(¢\212(¢\21
2(¢\212(¢\212(¢\212(¢\212(¢\212(¢\212(¢\212(¢\212(¢\212(¢\212(¢\212(¢\212(¢\212(¤8ÁÏJh^Gæ^MÒ\
232Ê^X«w^U^Z\225L*^Aµ³¶³Zä@íjé^R¬j^YArC«^\^F^?\227åä^?:á<Uâ\237^Qé^#¶µ´¶\200B£v^ZBUÑÎÕi0>L^P^
?Zø\217ö\222ý§¾2ü1øé£x[DðH}^^Ú@^YÖbéy^\¤*¼\230_Ým þµ¤¹
^A}:Ws \220Æ\236fÝÅFí§#>ÞÕö\206\213,×^Z}­ÌÈ^Qå\205^]Â\234\200ÄdãÚ\203Ö¤­^FéÅ.}i:téLÈmÊN^Xc'^
T\233TöÍ&N9Z^X¶ü+\200qÀÅ:\235RQE^TQE^TQE^TQE^TQE^TQE^TQE^TQE^TQE^TQE^TQE^TQE^TQE^TQE^TQE^TQE^
TQE^TQE^TQE^TQE^TQE^TQE^TQE^TQE^TQE^TQE^TQE^TQE^TQE^TQE^TQE^TQE^TQE^TQE^TQE^TQE^TQE^TQE^TQE^T
QE^TQE^TQE^TQE^TQE^TQE^TQE^TQE%^TRÑE^TRdzÑE-^TQE^TSC+t`~\206\232^Y[î°?CMVWåX^_¡§S©r=h¢\226\21
2(¢\212)^K^AÁïM ãåê*^B³yêÁ±^[^O\231}^M7^Q\202T^E^EºñÖ£ò^Q\211\221âRÄa¸^Y#ÐúÕ94^]^M¯&¾¸Ó­d\236
ç^A\235â^LH^C§"\237SV\222ª¨Â\214
(¥¤ëÅ7 Î*^YvH|\231zuÏ­Wi-â¸\212ÕÜ\211g^LÈ=Bã?Ω\ê¶\226÷1ZM:Ç$ÊÌ\212Ç^[\202ã<öë\^?\211~+ü>ð\20
7\213´^?^Fëúí½¾±®¬¦Ò6aÈ\214^LäçåëüêpsÈÁ^^Ýêê°`^YH \214\214w®Î9RUY#`ÊÃr\220z\212u:\237HN^Fi
ÀÍ#^]£5Ìø/â'\203þ!^]kþ^Q^Mj^]@ø{V¹Ðõ!^_[{È^[^RFÃÛ#^G¡^G#5Ìø/â'\203þ!^]kþ^Q^Mj^]@ø{V¹Ðõ!^_[
{È^[^RFÃÛ#^G¡^G#5Ìø/â/\203þ!^]gþ^Q^Mn^]Dø{V¹Ðõ!^_[{È^[^RFÃÛ#^G¡^G#5Ó×O]=^TQE^TQE^TQI\221ëE^Td
uÍ^TRÑE ò^Nh¢\226\212(¢\212(¢\212(¢\212(¢\212(¢\212(¢\212(¢\212(¢\212(¢\212(¢\212(¢\212(¢\21
2(¢\212(¢\212(¢\212(¢\212(¢\212(¢\212(¢\212(¢\212(¢\212(¢\212(¢\212(¢\212(¯ÿÙÿØÿÀ^Q^H^P^B\200
^C^Q^A^Q^B^QÿÚ^L^C^A^B?ýS¯Õ:ýS¢\212(¢\212(¢\212(¢\212(¢\212(¢\212(¢\212(¢\212(¢\212(¢\212(¢\2
12(¤=8¦ãh^AE7^C©¨³#!\214|¬1Ï­&ØÔ^Wà^Aß4Ö\221W!\210P;\223\212eåÜ60\213\233«¨ \2058y$ ^AéÉ¥ù\q\
220iK\205äôõ©^Ai

Regards,
Gio

Re: Bus error (core dumped). Solaris 9

Posted: 2009-05-20T04:20:58-07:00
by Gio
Hello,
I solved, I installed a old Version and it works :).
Thank you
Gio