troosh / openjpeg

Automatically exported from code.google.com/p/openjpeg
Other
0 stars 0 forks source link

Out of memory: Kill process 11204 (opj_server) score 917 or sacrifice child #123

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I cannot get openjpip server to serve an image:

$ ./j2k_dump -i t9.jp2 
[INFO] Verbose mode = OFF => no other info/warning output.

Image info {
     x0=0, y0=0
     x1=46000, y1=32914
     numcomps=3
         component 0 {
         dx=1, dy=1
         prec=8
         sgnd=0
    }
         component 1 {
         dx=1, dy=1
         prec=8
         sgnd=0
    }
         component 2 {
         dx=1, dy=1
         prec=8
         sgnd=0
    }
}
Codestream info from main header: {
     tx0=0, ty0=0
     tdx=640, tdy=480
     tw=72, th=69
     default tile {
         csty=0
         prg=0x2
         numlayers=1
         mct=1
         comp 0 {
             csty=0
             numresolutions=6
             cblkw=2^6
             cblkh=2^6
             cblksty=0
             qmfbid=0
             preccintsize (w,h)=(15,15) (15,15) (15,15) (15,15) (15,15) (15,15) 
             qntsty=2
             numgbits=1
             stepsizes (m,e)=(1822,14) (1770,14) (1770,14) (1724,14) (1792,13) (1792,13) (1762,13) (1868,12) (1868,12) (1892,12) (3,10) (3,10) (69,10) (2002,10) (2002,10) (1889,10) 
             roishift=0
         }
         comp 1 {
             csty=0
             numresolutions=6
             cblkw=2^6
             cblkh=2^6
             cblksty=0
             qmfbid=0
             preccintsize (w,h)=(15,15) (15,15) (15,15) (15,15) (15,15) (15,15) 
             qntsty=2
             numgbits=1
             stepsizes (m,e)=(1822,14) (1770,14) (1770,14) (1724,14) (1792,13) (1792,13) (1762,13) (1868,12) (1868,12) (1892,12) (3,10) (3,10) (69,10) (2002,10) (2002,10) (1889,10) 
             roishift=0
         }
         comp 2 {
             csty=0
             numresolutions=6
             cblkw=2^6
             cblkh=2^6
             cblksty=0
             qmfbid=0
             preccintsize (w,h)=(15,15) (15,15) (15,15) (15,15) (15,15) (15,15) 
             qntsty=2
             numgbits=1
             stepsizes (m,e)=(1822,14) (1770,14) (1770,14) (1724,14) (1792,13) (1792,13) (1762,13) (1868,12) (1868,12) (1892,12) (3,10) (3,10) (69,10) (2002,10) (2002,10) (1889,10) 
             roishift=0
         }
     }
}
Codestream index from main header: {
     Main header start position=111
     Main header end position=323
     Marker list: {
         type=0xff4f, pos=111, len=2
         type=0xff51, pos=113, len=49
         type=0xff52, pos=162, len=14
         type=0xff5c, pos=176, len=37
         type=0xff64, pos=213, len=19
         type=0xff64, pos=232, len=91
     }
}

Original issue reported on code.google.com by mathieu.malaterre on 16 Feb 2012 at 6:54

GoogleCodeExporter commented 9 years ago
Looks like openjpip requires something very particular. Eg:

$ kdu_compress -i 16.tif -o 16.jp2 Creversible=yes Corder=RPCL 
Stiles="{480,640}" ORGgen_plt=yes ORGtparts=R

leads to openjpip segfault

Original comment by mathieu.malaterre on 16 Feb 2012 at 9:21

GoogleCodeExporter commented 9 years ago
I can't get openjpip release 1.0 to serve either 16.jp2 or copenhague1.jp2
using a openjpip 1.5 client

Original comment by mathieu.malaterre on 16 Feb 2012 at 9:40

GoogleCodeExporter commented 9 years ago
openjpip requires valid JPIP files (cidx/fidx superbox):

http://code.google.com/p/openjpeg/wiki/JPIP#JP2_encoding_instructions

Original comment by mathieu.malaterre on 21 May 2012 at 2:11

GoogleCodeExporter commented 9 years ago

Original comment by mathieu.malaterre on 29 May 2012 at 3:13