Bug#874275: exifprobe: Consistent segmentation fault

Karl E. Jorgensen karl at jorgensen.org.uk
Mon Sep 4 17:43:12 UTC 2017


Package: exifprobe
Version: 2.0.1+git20170416.3c2b769-1
Severity: important

Dear Maintainer,

When running "exifprobe -L" I get consistent "segmentation fault". Same occurs without the -L option.

I grabbed the debian source, and combined with a core dump I have this backtrace:

Program terminated with signal SIGSEGV, Segmentation fault.
#0  strlen () at ../sysdeps/x86_64/strlen.S:106
106	../sysdeps/x86_64/strlen.S: No such file or directory.
(gdb) bt
#0  strlen () at ../sysdeps/x86_64/strlen.S:106
#1  0x00007ff6ebef9da8 in _IO_vfprintf_internal (s=s at entry=0x7ffd7d7bcdd0, format=<optimized out>, format at entry=0x55fc212e4c6d "%s%s%s", ap=ap at entry=0x7ffd7d7bcf48) at vfprintf.c:1637
#2  0x00007ff6ebfa7aa6 in ___vsnprintf_chk (s=0x7ffd7d7bd030 "", maxlen=<optimized out>, flags=1, slen=<optimized out>, format=0x55fc212e4c6d "%s%s%s", args=args at entry=0x7ffd7d7bcf48) at vsnprintf_chk.c:63
#3  0x00007ff6ebfa7a08 in ___snprintf_chk (s=s at entry=0x7ffd7d7bd030 "", maxlen=maxlen at entry=1024, flags=flags at entry=1, slen=slen at entry=1024, format=format at entry=0x55fc212e4c6d "%s%s%s") at snprintf_chk.c:34
#4  0x000055fc212a3680 in snprintf (__fmt=0x55fc212e4c6d "%s%s%s", __n=1024, __s=0x7ffd7d7bd030 "") at /usr/include/x86_64-linux-gnu/bits/stdio2.h:64
#5  splice (string1=<optimized out>, string1 at entry=0x22509790 <error: Cannot access memory at address 0x22509790>, sep=<optimized out>, sep at entry=0x55fc212e1329 ".", string2=<optimized out>) at misc.c:1313
#6  0x000055fc21299c89 in process_tiff_ifd (inptr=inptr at entry=0x55fc22507010, byteorder=<optimized out>, ifd_offset=ifd_offset at entry=8, fileoffset_base=fileoffset_base at entry=12, max_offset=max_offset at entry=0, summary_entry=summary_entry at entry=0x55fc22509660, 
    parent_name=0x22509790 <error: Cannot access memory at address 0x22509790>, ifdtype=0, ifdnum=0, subifdnum=-1, indent=4) at process.c:183
#7  0x000055fc2129f1e8 in process_app1 (inptr=inptr at entry=0x55fc22507010, app1_offset=app1_offset at entry=2, tag=tag at entry=65505, summary_entry=summary_entry at entry=0x55fc22509660, parent_name=parent_name at entry=0x55fc212e4ad8 "JPEG", indent=indent at entry=2) at process.c:3914
#8  0x000055fc212a1620 in process_jpeg_segments (inptr=0x55fc22507010, marker_offset=2, tag=65505, data_length=0, summary_entry=<optimized out>, parent_name=0x55fc212e4ad8 "JPEG", prefix=0x55fc212e0ca2 "@", indent=0) at process.c:3103
#9  0x000055fc2128c9fe in main (argc=<optimized out>, argv=0x7ffd7d7bd848) at main.c:214


-- System Information:
Debian Release: buster/sid
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (300, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.11.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages exifprobe depends on:
ii  libc6  2.24-17

exifprobe recommends no packages.

exifprobe suggests no packages.

-- no debconf information

Downgrading exifprobe to version 2.0.1-11 makes exifprobe work normally again.



More information about the forensics-devel mailing list