Bug#687683: libjmagick6-jni: jmagick crashes with assertion failure on XEN virtual host
Benjamin Habegger
benjamin at 109lab.com
Sat Sep 15 04:58:41 UTC 2012
Package: libjmagick6-jni
Version: 6.2.6-0-8+b2
Severity: important
Dear Maintainer,
The follinwg error occurs on our XEN virtualized hosts when trying to rotate
certain pcitures:
java: magick/cache-view.c:729: GetCacheViewVirtualPixels: Assertion `id <
(int) cache_view->number_threads' failed.
I reduced the program to the very least:
----------------------------------------------------------
import java.io.File;
import magick.ImageInfo;
import magick.MagickException;
import magick.MagickImage;
public class MagickPb {
public static void main(String[] args) {
File origFile = new File(args[0]);
try {
ImageInfo sourceInfo = new ImageInfo(origFile.getAbsolutePath());
MagickImage image = new MagickImage(sourceInfo);
image.rotateImage(270);
} catch (MagickException e) {
e.printStackTrace();
}
}
}
----------------------------------------------------------
We tested 2 different JVM (openjdk6 and sun6) without any difference on the
result.
Running the same tests on the host environment (physcal machine) did not generate any error.
Downgrading to stable 6.2.6-0-6+b1 version corrected the problem.
I'll be happy to provide a test package including an image generating
systematically the problem (but don't know how to do it through
reportbug).
The problem is very bothersome for us as we use jmagick inside a java server
and this bug makes the whole server crash.
Cheers,
Benjamin
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.23-xxxx-std-ipv6-64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages libjmagick6-jni depends on:
ii libc6 2.13-35
ii libmagickcore5 8:6.7.7.10-3
libjmagick6-jni recommends no packages.
libjmagick6-jni suggests no packages.
-- no debconf information
More information about the pkg-java-maintainers
mailing list