Package: libjasper-runtime
Version: 1.701.0-2
Severity: important

I cannot open the following jpc image:

http://jpeg.sourceforge.net/jpeg2000/D_CLUNIE_CT1_J2KI.j2k

Using jiv I get the following:

$ gdbrun /tmp/jasper/bin/jiv bla.j2k                                            
                                                                                
                              ~/Projects/gdcm/debug-gcc43
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...

Program received signal SIGABRT, Aborted.
0x00002ac711cf71d5 in raise () from /lib/libc.so.6
(gdb) bt
#0  0x00002ac711cf71d5 in raise () from /lib/libc.so.6
#1  0x00002ac711cf8680 in abort () from /lib/libc.so.6
#2  0x000000000040b190 in getint (in=0x88c430, sgnd=1, prec=16, 
val=0x7fff9a1b2178) at jas_image.c:1218
#3  0x000000000040a421 in jas_image_readcmpt2 (image=0x8882d0, cmptno=0, x=0, 
y=0, width=512, height=1, buf=0x8948f0) at jas_image.c:991
#4  0x000000000040bb03 in jas_image_chclrspc (image=0x0, outprof=0x885c00, 
intent=0) at jas_image.c:1416
#5  0x0000000000403cfe in loadimage () at jiv.c:746
#6  0x0000000000403a81 in nextimage () at jiv.c:664
#7  0x00000000004027c0 in main (argc=2, argv=0x7fff9a1b2478) at jiv.c:279
(gdb) up
#1  0x00002ac711cf8680 in abort () from /lib/libc.so.6
(gdb)
#2  0x000000000040b190 in getint (in=0x88c430, sgnd=1, prec=16, 
val=0x7fff9a1b2178) at jas_image.c:1218
1218                    abort();
(gdb) list
1213                    v = (v << 8) | c;
1214            }
1215            v &= ((1 << prec) - 1);
1216            if (sgnd) {
1217                    /* XXX - Do something here. */
1218                    abort();
1219            } else {
1220                    *val = v;
1221            }
1222            return 0;
(gdb) p sgnd
$1 = 1
(gdb) quit
The program is running.  Exit anyway? (y or n) y


It would be nice if the code would nicely handle the image instead of just 
aborting.

thanks

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable'), (50, 'testing'), (40, 'unstable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-amd64
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages libjasper-runtime depends on:
ii  freeglut3                     2.4.0-5    OpenGL Utility Toolkit
ii  libc6                         2.7-10     GNU C Library: Shared libraries
ii  libgl1-mesa-glx [libgl1]      6.5.1-0.6  A free implementation of the OpenG
ii  libglu1-mesa [libglu1]        6.5.1-0.6  The OpenGL utility library (GLU)
ii  libice6                       1:1.0.1-2  X11 Inter-Client Exchange library
ii  libjasper-1.701-1             1.701.0-2  The JasPer JPEG-2000 runtime libra
ii  libjpeg62                     6b-13      The Independent JPEG Group's JPEG 
ii  libsm6                        1:1.0.1-3  X11 Session Management library
ii  libx11-6                      2:1.0.3-7  X11 client-side library
ii  libxext6                      1:1.0.1-2  X11 miscellaneous extension librar
ii  libxi6                        1:1.0.1-4  X11 Input extension library
ii  libxmu6                       1:1.0.2-2  X11 miscellaneous utility library
ii  libxt6                        1:1.0.2-2  X11 toolkit intrinsics library

libjasper-runtime recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to