[magick-users] Is this the correct list?: was Help: Java Result: 139
chris at chrishull.com
chris at chrishull.com
Thu Nov 9 17:50:59 CST 2006
Or is this more a development question?
Help: Java Result: 139 on upgrade to IM 6.3.0-3
> The JVM exists when I make a call to JMagick after an upgrade to 6.2.9-8
> or 6.3.0-3. This exact same build and code works under IM 6.2.9-1. The
> version of ImageMagick is the only change.
>
> I'm wondering if I have an unsatisfied link, or something else. I'm
> building my own libjpeg, perhaps I no longer need to do that.
>
> Here are the relevant versions
>
> ImageMagick-6.3.0-3.tar.gz
> JMagick-6.2.6-0.tar.gz
> ImageMagick-6.2.9-1.tar.gz
> jasper-1.701.0.tar.gz
> jpegsrc.v6b.tar.gz
> pcre-5.0.tar.gz
> ImageMagick-6.2.9-8.tar.gz
> jasper-1.701.0.zip
>
> CPPFLAGS et all are not set, I leave it to configure.
>
> Make fragment for Magick
>
> cd $(DEPS_ROOT)/ImageMagick-6.3.0; \
> CPPFLAGS="-I$(DEPS_TARGET)/libjpeg/include" \
> LDFLAGS="-L$(DEPS_TARGET)/libjpeg/lib" \
> ./configure --without-perl --disable-installed \
> --without-magick-plus-plus --prefix=$(IMAGICK_ROOT); \
> make clean; \
> make install
>
> Make fragment for jpeg
>
> cd $(DEPS_ROOT)/jpeg-6b; \
> CFLAGS=" $(DEPS_CFLAGS) " \flawlessly
> CPPFLAGS=" $(DEPS_CPPFLAGS) " \
> ./configure --enable-shared --prefix=$(LIBJPEG_ROOT); \
> make clean; \
> make install
>
>
> The offending block of Java code. Am not sure where exit takes place yet.
>
> ImageInfo img = new ImageInfo();
> img.setFileName(inputFile);
> image = new MagickImage(img);
> Dimension dim = image.getDimension();
>
> And the run.
>
> [java] System library path:
> LD_LIBRARY_PATH=/u/chull/devtools/jdk1.5.0_06/jre/lib/i386/server:/u/chull/devtools/jdk1.5.0_06/jre/lib/i386:/u/chull/devtools/jdk1.5.0_06/jre/../lib/i386:/u/chull/devtools/jdk1.5.0_06/jre/lib/i386/client:/u/chull/devtools/jdk1.5.0_06/jre/lib/i386:/u/chull/devtools/jdk1.5.0_06/jre/../lib/i386:/u/chull/p4ws/chullMerchantJavaMain/ImageResizer/libjpeg/lib:/u/chull/p4ws/chullMerchantJavaMain/ImageResizer/jmagick/lib:/u/chull/p4ws/chullMerchantJavaMain/ImageResizer/imagemagick/lib:/u/chull/p4ws/chullMerchantJavaMain/ImageResizer/fcgilib/lib:/u/chull/p4ws/chullMerchantJavaMain/ImageResizer/libpcre/lib:/usr/openwin/lib/64:/u/chull/p4ws/chullMerchantJavaMain/ImageResizer/libcurl/lib:/u/chull/p4ws/chullMerchantJavaMain/ImageResizer/jasper/lib
> [java] ImageMagick home:
> MAGICK_HOME=/u/chull/p4ws/chullMerchantJavaMain/ImageResizer/imagemagick
> [java] Set the file name in ImageInfo to
> /tmp/images/6b/56/61/746b6652514d4334712d2d5a67375a49594467.unknown
> [java] Attempting to read from file
> /tmp/images/6b/56/61/746b6652514d4334712d2d5a67375a49594467.unknown
> [java] Java Result: 139
>
> Hope someone notices something. And thanks for looking;
> -Chris
>
> _______________________________________________
> Magick-users mailing list
> Magick-users at imagemagick.org
> http://studio.imagemagick.org/mailman/listinfo/magick-users
>
More information about the Magick-users
mailing list