Package: libdjvulibre21
Version: 3.5.27-0pre1
Usertags: afl

DjVuLibre crashes while trying to decode the attached file:

$ ddjvu crash.djvu
Segmentation fault


Backtrace:

#0  0xf7f2f69d in get_direct_context (column=0, up0=0x810ced7e <error: Cannot access memory at address 
0x810ced7e>, up1=0xf6d2eb14 "", up2=0xf6d2eb14 "") at JB2Image.h:742
#1  DJVU::JB2Dict::JB2Codec::Decode::code_bitmap_directly (this=0xf7606300, bm=..., dw=63294, dy=34205, 
up2=0xf6d2eb14 "", up1=0xf6d2eb14 "", up0=0x810ced7e <error: Cannot access memory 
at address 0x810ced7e>) at JB2Image.cpp:827
#2  0xf7f31fde in DJVU::JB2Dict::JB2Codec::code_bitmap_directly 
(this=0xf7606300, bm=...) at JB2Image.cpp:815
#3  0xf7f347df in DJVU::JB2Dict::JB2Codec::code_record (this=0xf7606300, 
rectype=@0xf7606294: 2, gjim=..., xjshp=0xf76062a0, jblt=0xf7606298) at 
JB2Image.cpp:1150
#4  0xf7f35446 in DJVU::JB2Dict::JB2Codec::Decode::code (this=0xf7606300, 
gjim=...) at JB2Image.cpp:1353
#5  0xf7f3562d in code (jim=0xf6d00d38, this=0xf7606300) at JB2Image.cpp:100
#6  DJVU::JB2Image::decode (this=0xf6d00d38, gbs=..., cb=0xf7ea9b30 
<DJVU::DjVuFile::static_get_fgjd(void*)>, arg=0x80c5838) at JB2Image.cpp:336
#7  0xf7eaae11 in DJVU::DjVuFile::decode_chunk (this=0x80c5838, id=..., 
gbs=..., djvi=false, djvu=true, iw44=false) at DjVuFile.cpp:932
#8  0xf7ead24e in DJVU::DjVuFile::decode (this=0x80c5838, gbs=...) at 
DjVuFile.cpp:1255
#9  0xf7eada50 in DJVU::DjVuFile::decode_func (this=0x80c5838) at 
DjVuFile.cpp:484
#10 0xf7eae1ba in DJVU::DjVuFile::static_decode_func (cl_data=0x80c5838) at 
DjVuFile.cpp:464
#11 0xf7f10a3e in DJVU::GThread::start (arg=0x80be6e0) at GThreads.cpp:392
#12 0xf7d7defb in start_thread (arg=0xf7607b40) at pthread_create.c:309
#13 0xf7ae862e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129


-- System Information:
Debian Release: 8.0
 APT prefers unstable
 APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages libdjvulibre21 depends on:
ii  libc6              2.19-17
ii  libdjvulibre-text  3.5.27-0pre1
ii  libgcc1            1:5-20150321-1
ii  libjpeg62-turbo    1:1.3.1-12
ii  libstdc++6         5-20150321-1
ii  multiarch-support  2.19-17

--
Jakub Wilk

Reply via email to