<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Hi Martijn, in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/zlib-IPP-segmentation-fault/m-p/1179072#M27128</link>
    <description>&lt;P&gt;Hi Martijn,&lt;/P&gt;

&lt;P&gt;Regarding the source code, I would do&lt;/P&gt;

&lt;P&gt;do {&lt;BR /&gt;
	...&lt;BR /&gt;
	while(defstream.avail_in &amp;gt; 0)&lt;/P&gt;

&lt;P&gt;It means "do compression while there's anything to compress". And this way is recommended by Zlib documentation. May be it's not related to your issue, but it's more logical.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
	Sergey&lt;/P&gt;</description>
    <pubDate>Wed, 13 Sep 2017 16:41:11 GMT</pubDate>
    <dc:creator>Sergey_K_Intel</dc:creator>
    <dc:date>2017-09-13T16:41:11Z</dc:date>
    <item>
      <title>zlib_IPP segmentation fault</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/zlib-IPP-segmentation-fault/m-p/1179070#M27126</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have tried intel zlib_ipp patches on zlib zlib-1.2.8 using 2017 intel compilers. I made a small test program to deflate data. This small program runs correctly when I use the normal zlib-1.2.8 library. However using the intel zlib ipp patches, my test program gives a segmentation fault. I use valgrind to debug, however I don't quit understand what the problem is. To my understanding this issues comes from the libippdc.so library. Is this a known issue ? Is it possible to workaround this issue. See here below how I build the zlib patched library and the valgrint output.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Building zlib IPP patched library&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;source /opt/intel/compilers_and_libraries_2017.1.132/linux/bin/compilervars.sh intel64&lt;BR /&gt;
	export CFLAGS="-m64 -DWITH_IPP -I$IPPROOT/include"&lt;BR /&gt;
	export LDFLAGS="-L$IPPROOT/lib/intel64 -lippdc -lipps -lippcore"&lt;BR /&gt;
	export CC=icc&lt;BR /&gt;
	./configure&lt;BR /&gt;
	make shared&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;ldd libz.so&lt;/STRONG&gt;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; linux-vdso.so.1 =&amp;gt;&amp;nbsp; (0x00007fffcfdb9000)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; libc.so.6 =&amp;gt; /lib/x86_64-linux-gnu/libc.so.6 (0x00007f4443401000)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; libippdc.so =&amp;gt; /opt/intel/compilers_and_libraries_2017.1.132/linux/ipp/lib/intel64/libippdc.so (0x00007f44431fb000)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; libipps.so =&amp;gt; /opt/intel/compilers_and_libraries_2017.1.132/linux/ipp/lib/intel64/libipps.so (0x00007f4442fb5000)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; libippcore.so =&amp;gt; /opt/intel/compilers_and_libraries_2017.1.132/linux/ipp/lib/intel64/libippcore.so (0x00007f4442da8000)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; libimf.so =&amp;gt; /opt/intel/compilers_and_libraries_2017.1.132/linux/compiler/lib/intel64/libimf.so (0x00007f44428bc000)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; libsvml.so =&amp;gt; /opt/intel/compilers_and_libraries_2017.1.132/linux/compiler/lib/intel64/libsvml.so (0x00007f44419b1000)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; libirng.so =&amp;gt; /opt/intel/compilers_and_libraries_2017.1.132/linux/compiler/lib/intel64/libirng.so (0x00007f444163b000)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; libm.so.6 =&amp;gt; /lib/x86_64-linux-gnu/libm.so.6 (0x00007f4441332000)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; libgcc_s.so.1 =&amp;gt; /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f444111c000)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; libintlc.so.5 =&amp;gt; /opt/intel/compilers_and_libraries_2017.1.132/linux/compiler/lib/intel64/libintlc.so.5 (0x00007f4440eb1000)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; libdl.so.2 =&amp;gt; /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f4440cad000)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /lib64/ld-linux-x86-64.so.2 (0x0000558e8e92a000)&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Compress function in my test program&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;void compress( const char* source,&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; std::vector&amp;lt;char&amp;gt;&amp;amp; compressedData,&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int sourceSize,&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int level,&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int window_bits,&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int mem_level )&lt;BR /&gt;
	{&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; const uint32_t buffersize = 131072; // 128 * 1024&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; unsigned char buffer[buffersize];&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(unsigned int i =0; i &amp;lt; buffersize; i++)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; buffer&lt;I&gt; = 0;&lt;/I&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; compressedData.clear();&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // deflate&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; // zlib struct&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; z_stream defstream;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; defstream.zalloc = Z_NULL;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; defstream.zfree = Z_NULL;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; defstream.opaque = Z_NULL;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; deflateInit2( &amp;amp;defstream, level, Z_DEFLATED, window_bits, mem_level, Z_FIXED );&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; defstream.next_in = (Bytef *) source;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; defstream.avail_in = sourceSize;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; uint64_t have;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; do&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; defstream.avail_out = buffersize;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; defstream.next_out = buffer;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; deflate( &amp;amp;defstream, Z_FINISH );&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; have = buffersize - defstream.avail_out;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; compressedData.insert( compressedData.end(), buffer, buffer + have );&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; while (defstream.avail_out == 0);&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; deflateEnd( &amp;amp;defstream );&lt;/P&gt;

&lt;P&gt;&amp;nbsp;}&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Building my test program&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;icpc TestMain.c -g -o TestMain -I.. -L.. -lz -std=c++11&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Running the test program with valgrind output:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;valgrind -v --tool=memcheck --leak-check=full --show-leak-kinds=all --leak-resolution=high ./TestMain&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	==42487== Memcheck, a memory error detector&lt;BR /&gt;
	==42487== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.&lt;BR /&gt;
	==42487== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info&lt;BR /&gt;
	==42487== Command: ./TestMain&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	--42487-- Valgrind options:&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp;&amp;nbsp; -v&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp;&amp;nbsp; --tool=memcheck&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp;&amp;nbsp; --leak-check=full&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp;&amp;nbsp; --show-leak-kinds=all&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp;&amp;nbsp; --leak-resolution=high&lt;BR /&gt;
	--42487-- Contents of /proc/version:&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp; Linux version 4.4.0-47-generic (buildd@lcy01-03) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.2) ) #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016&lt;BR /&gt;
	--42487--&lt;BR /&gt;
	--42487-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-avx-avx2-bmi&lt;BR /&gt;
	--42487-- Page sizes: currently 4096, max supported 4096&lt;BR /&gt;
	--42487-- Valgrind library directory: /usr/lib/valgrind&lt;BR /&gt;
	--42487-- Reading syms from /home/martijn/zlib-1.2.8/TEST/TestMain&lt;BR /&gt;
	--42487-- Reading syms from /lib/x86_64-linux-gnu/ld-2.23.so&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp; Considering /lib/x86_64-linux-gnu/ld-2.23.so ..&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp; .. CRC mismatch (computed 9bc477cd wanted 3da2f12a)&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp; Considering /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.23.so ..&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp; .. CRC is valid&lt;BR /&gt;
	--42487-- Reading syms from /usr/lib/valgrind/memcheck-amd64-linux&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp; Considering /usr/lib/valgrind/memcheck-amd64-linux ..&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp; .. CRC mismatch (computed eea41ea9 wanted 2009db78)&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp;&amp;nbsp; object doesn't have a symbol table&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp;&amp;nbsp; object doesn't have a dynamic symbol table&lt;BR /&gt;
	--42487-- Scheduler: using generic scheduler lock implementation.&lt;BR /&gt;
	--42487-- Reading suppressions file: /usr/lib/valgrind/default.supp&lt;BR /&gt;
	==42487== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-42487-by-martijn-on-???&lt;BR /&gt;
	==42487== embedded gdbserver: writing to&amp;nbsp;&amp;nbsp; /tmp/vgdb-pipe-to-vgdb-from-42487-by-martijn-on-???&lt;BR /&gt;
	==42487== embedded gdbserver: shared mem&amp;nbsp;&amp;nbsp; /tmp/vgdb-pipe-shared-mem-vgdb-42487-by-martijn-on-???&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487== TO CONTROL THIS PROCESS USING vgdb (which you probably&lt;BR /&gt;
	==42487== don't want to do, unless you know exactly what you're doing,&lt;BR /&gt;
	==42487== or are doing some strange experiment):&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp; /usr/lib/valgrind/../../bin/vgdb --pid=42487 ...command...&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487== TO DEBUG THIS PROCESS USING GDB: start GDB like this&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp; /path/to/gdb ./TestMain&lt;BR /&gt;
	==42487== and then give GDB the following command&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp; target remote | /usr/lib/valgrind/../../bin/vgdb --pid=42487&lt;BR /&gt;
	==42487== --pid is optional if only one valgrind process is running&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	--42487-- REDIR: 0x401cf90 (ld-linux-x86-64.so.2:strlen) redirected to 0x3809e181 (???)&lt;BR /&gt;
	--42487-- Reading syms from /usr/lib/valgrind/vgpreload_core-amd64-linux.so&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp; Considering /usr/lib/valgrind/vgpreload_core-amd64-linux.so ..&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp; .. CRC mismatch (computed 2567ccf6 wanted 49420590)&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp;&amp;nbsp; object doesn't have a symbol table&lt;BR /&gt;
	--42487-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp; Considering /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so ..&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp; .. CRC mismatch (computed 0e27c9a8 wanted ac585421)&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp;&amp;nbsp; object doesn't have a symbol table&lt;BR /&gt;
	==42487== WARNING: new redirection conflicts with existing -- ignoring it&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; old: 0x0401cf90 (strlen&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ) R-&amp;gt; (0000.0) 0x3809e181 ???&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new: 0x0401cf90 (strlen&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ) R-&amp;gt; (2007.0) 0x04c31020 strlen&lt;BR /&gt;
	--42487-- REDIR: 0x401b8e0 (ld-linux-x86-64.so.2:index) redirected to 0x4c30bc0 (index)&lt;BR /&gt;
	--42487-- REDIR: 0x401bb00 (ld-linux-x86-64.so.2:strcmp) redirected to 0x4c320d0 (strcmp)&lt;BR /&gt;
	--42487-- REDIR: 0x401dcf0 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x4c35270 (mempcpy)&lt;BR /&gt;
	--42487-- Reading syms from /home/martijn/zlib-1.2.8/libz.so.1.2.8&lt;BR /&gt;
	--42487-- Reading syms from /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp; Considering /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21 ..&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp; .. CRC mismatch (computed 834c912e wanted c67ab13d)&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp;&amp;nbsp; object doesn't have a symbol table&lt;BR /&gt;
	--42487-- Reading syms from /lib/x86_64-linux-gnu/libm-2.23.so&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp; Considering /lib/x86_64-linux-gnu/libm-2.23.so ..&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp; .. CRC mismatch (computed 8bd88005 wanted 32b88176)&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp; Considering /usr/lib/debug/lib/x86_64-linux-gnu/libm-2.23.so ..&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp; .. CRC is valid&lt;BR /&gt;
	--42487-- Reading syms from /lib/x86_64-linux-gnu/libgcc_s.so.1&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp; Considering /lib/x86_64-linux-gnu/libgcc_s.so.1 ..&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp; .. CRC mismatch (computed b9a68419 wanted 29d51b00)&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp;&amp;nbsp; object doesn't have a symbol table&lt;BR /&gt;
	--42487-- Reading syms from /lib/x86_64-linux-gnu/libc-2.23.so&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp; Considering /lib/x86_64-linux-gnu/libc-2.23.so ..&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp; .. CRC mismatch (computed b2979fac wanted 1affc958)&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp; Considering /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.23.so ..&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp; .. CRC is valid&lt;BR /&gt;
	--42487-- Reading syms from /lib/x86_64-linux-gnu/libdl-2.23.so&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp; Considering /lib/x86_64-linux-gnu/libdl-2.23.so ..&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp; .. CRC mismatch (computed cf3e24b0 wanted fd1ac2a8)&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp; Considering /usr/lib/debug/lib/x86_64-linux-gnu/libdl-2.23.so ..&lt;BR /&gt;
	--42487--&amp;nbsp;&amp;nbsp; .. CRC is valid&lt;BR /&gt;
	--42487-- Reading syms from /opt/intel/compilers_and_libraries_2017.1.132/linux/ipp/lib/intel64_lin/libippdc.so&lt;BR /&gt;
	--42487-- Reading syms from /opt/intel/compilers_and_libraries_2017.1.132/linux/ipp/lib/intel64_lin/libipps.so&lt;BR /&gt;
	--42487-- Reading syms from /opt/intel/compilers_and_libraries_2017.1.132/linux/ipp/lib/intel64_lin/libippcore.so&lt;BR /&gt;
	--42487-- Reading syms from /opt/intel/compilers_and_libraries_2017.1.132/linux/compiler/lib/intel64_lin/libimf.so&lt;BR /&gt;
	--42487-- Reading syms from /opt/intel/compilers_and_libraries_2017.1.132/linux/compiler/lib/intel64_lin/libsvml.so&lt;BR /&gt;
	--42487-- Reading syms from /opt/intel/compilers_and_libraries_2017.1.132/linux/compiler/lib/intel64_lin/libirng.so&lt;BR /&gt;
	--42487-- Reading syms from /opt/intel/compilers_and_libraries_2017.1.132/linux/compiler/lib/intel64_lin/libintlc.so.5&lt;BR /&gt;
	--42487-- REDIR: 0x5983a00 (libc.so.6:strcasecmp) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)&lt;BR /&gt;
	--42487-- REDIR: 0x597f280 (libc.so.6:strcspn) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)&lt;BR /&gt;
	--42487-- REDIR: 0x5985cf0 (libc.so.6:strncasecmp) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)&lt;BR /&gt;
	--42487-- REDIR: 0x59816f0 (libc.so.6:strpbrk) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)&lt;BR /&gt;
	--42487-- REDIR: 0x5981a80 (libc.so.6:strspn) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)&lt;BR /&gt;
	--42487-- REDIR: 0x598314b (libc.so.6:memcpy@GLIBC_2.2.5) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)&lt;BR /&gt;
	--42487-- REDIR: 0x59831b0 (libc.so.6:memset) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)&lt;BR /&gt;
	--42487-- REDIR: 0x597fae0 (libc.so.6:strncat) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)&lt;BR /&gt;
	--42487-- REDIR: 0x5982630 (libc.so.6:strstr) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)&lt;BR /&gt;
	--42487-- REDIR: 0x597d880 (libc.so.6:strcat) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)&lt;BR /&gt;
	--42487-- REDIR: 0x597da80 (libc.so.6:index) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)&lt;BR /&gt;
	--42487-- REDIR: 0x597dcd0 (libc.so.6:strcmp) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)&lt;BR /&gt;
	--42487-- REDIR: 0x5982bb0 (libc.so.6:bcmp) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)&lt;BR /&gt;
	--42487-- REDIR: 0x59813c0 (libc.so.6:strncpy) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)&lt;BR /&gt;
	--42487-- REDIR: 0x5981400 (libc.so.6:rindex) redirected to 0x4c308a0 (rindex)&lt;BR /&gt;
	--42487-- REDIR: 0x5a0a440 (libc.so.6:__strcpy_chk) redirected to 0x4c34e10 (__strcpy_chk)&lt;BR /&gt;
	--42487-- REDIR: 0x5978130 (libc.so.6:malloc) redirected to 0x4c2db20 (malloc)&lt;BR /&gt;
	--42487-- REDIR: 0x5978d10 (libc.so.6:calloc) redirected to 0x4c2faa0 (calloc)&lt;BR /&gt;
	--42487-- Reading syms from /opt/intel/compilers_and_libraries_2017.1.132/linux/ipp/lib/intel64_lin/libippsl9.so&lt;BR /&gt;
	--42487-- Reading syms from /opt/intel/compilers_and_libraries_2017.1.132/linux/ipp/lib/intel64_lin/libippdcl9.so&lt;BR /&gt;
	--42487-- REDIR: 0x597f720 (libc.so.6:strlen) redirected to 0x4c30f60 (strlen)&lt;BR /&gt;
	--42487-- REDIR: 0x5982bf0 (libc.so.6:__GI_memcmp) redirected to 0x4c33b90 (__GI_memcmp)&lt;BR /&gt;
	--42487-- REDIR: 0x5993570 (libc.so.6:__strcmp_sse2_unaligned) redirected to 0x4c31f90 (strcmp)&lt;BR /&gt;
	--42487-- REDIR: 0x5a623f0 (libc.so.6:__memcmp_sse4_1) redirected to 0x4c33cd0 (__memcmp_sse4_1)&lt;BR /&gt;
	Start read file&lt;BR /&gt;
	--42487-- REDIR: 0x50e0e60 (libstdc++.so.6:operator new(unsigned long)) redirected to 0x4c2e080 (operator new(unsigned long))&lt;BR /&gt;
	--42487-- REDIR: 0x59883f0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x4a286f0 (_vgnU_ifunc_wrapper)&lt;BR /&gt;
	--42487-- REDIR: 0x5a41e60 (libc.so.6:__memcpy_avx_unaligned) redirected to 0x4c324a0 (memcpy@@GLIBC_2.14)&lt;BR /&gt;
	--42487-- REDIR: 0x5a66930 (libc.so.6:__memset_avx2) redirected to 0x4c344c0 (memset)&lt;BR /&gt;
	--42487-- REDIR: 0x5982060 (libc.so.6:__GI_strstr) redirected to 0x4c354d0 (__strstr_sse2)&lt;BR /&gt;
	--42487-- REDIR: 0x50e0f10 (libstdc++.so.6:operator new[](unsigned long)) redirected to 0x4c2e7a0 (operator new[](unsigned long))&lt;BR /&gt;
	==42487== Warning: set address range perms: large range [0x395d8040, 0x85211ec8) (undefined)&lt;BR /&gt;
	==42487== Warning: set address range perms: large range [0x395d8040, 0x85211ec8) (defined)&lt;BR /&gt;
	--42487-- REDIR: 0x50def40 (libstdc++.so.6:operator delete[](void*)) redirected to 0x4c2f6e0 (operator delete[](void*))&lt;BR /&gt;
	--42487-- REDIR: 0x59784f0 (libc.so.6:free) redirected to 0x4c2ed80 (free)&lt;BR /&gt;
	--42487-- REDIR: 0x50def10 (libstdc++.so.6:operator delete(void*)) redirected to 0x4c2f1e0 (operator delete(void*))&lt;BR /&gt;
	--42487-- REDIR: 0x59833b0 (libc.so.6:__GI_mempcpy) redirected to 0x4c34fa0 (__GI_mempcpy)&lt;BR /&gt;
	Finish read file&lt;BR /&gt;
	Uncompressed size: 1271111304 [bytes]&lt;BR /&gt;
	==42487== Conditional jump or move depends on uninitialised value(s)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; at 0x4E3DC39: deflate (in /home/martijn/zlib-1.2.8/libz.so.1.2.8)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x40276C: compress(char const*, std::vector&amp;lt;char, std::allocator&amp;lt;char&amp;gt; &amp;gt;&amp;amp;, int, int, int, int) (TestMain.c:62)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x402BFB: main (TestMain.c:100)&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487== Conditional jump or move depends on uninitialised value(s)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; at 0x4E3DC42: deflate (in /home/martijn/zlib-1.2.8/libz.so.1.2.8)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x40276C: compress(char const*, std::vector&amp;lt;char, std::allocator&amp;lt;char&amp;gt; &amp;gt;&amp;amp;, int, int, int, int) (TestMain.c:62)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x402BFB: main (TestMain.c:100)&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	--42487-- REDIR: 0x405ab0 (NONE:_intel_fast_memcpy) redirected to 0x4c337c0 (_intel_fast_memcpy)&lt;BR /&gt;
	==42487== Conditional jump or move depends on uninitialised value(s)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; at 0x8A21B06: l9_ippsDeflateLZ77Fast_8u (in /opt/intel/compilers_and_libraries_2017.1.132/linux/ipp/lib/intel64_lin/libippdcl9.so)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4E3F8D2: deflate_common (in /home/martijn/zlib-1.2.8/libz.so.1.2.8)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4E3DC51: deflate (in /home/martijn/zlib-1.2.8/libz.so.1.2.8)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x40276C: compress(char const*, std::vector&amp;lt;char, std::allocator&amp;lt;char&amp;gt; &amp;gt;&amp;amp;, int, int, int, int) (TestMain.c:62)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x402BFB: main (TestMain.c:100)&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	Compressed size: 59666141 [bytes]&lt;BR /&gt;
	--42487-- REDIR: 0x598a760 (libc.so.6:strchrnul) redirected to 0x4c34da0 (strchrnul)&lt;BR /&gt;
	--42487-- REDIR: 0x5988470 (libc.so.6:__GI_memcpy) redirected to 0x4c32b00 (__GI_memcpy)&lt;BR /&gt;
	--42487-- REDIR: 0x5982860 (libc.so.6:memchr) redirected to 0x4c32170 (memchr)&lt;BR /&gt;
	Duration: 42.2832&lt;BR /&gt;
	==42487== Use of uninitialised value of size 8&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; at 0x8A21A28: l9_ippsDeflateLZ77Fast_8u (in /opt/intel/compilers_and_libraries_2017.1.132/linux/ipp/lib/intel64_lin/libippdcl9.so)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4E3F8D2: deflate_common (in /home/martijn/zlib-1.2.8/libz.so.1.2.8)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4E3DC51: deflate (in /home/martijn/zlib-1.2.8/libz.so.1.2.8)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x40276C: compress(char const*, std::vector&amp;lt;char, std::allocator&amp;lt;char&amp;gt; &amp;gt;&amp;amp;, int, int, int, int) (TestMain.c:62)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x402BFB: main (TestMain.c:100)&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487== Use of uninitialised value of size 8&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; at 0x8A21A2C: l9_ippsDeflateLZ77Fast_8u (in /opt/intel/compilers_and_libraries_2017.1.132/linux/ipp/lib/intel64_lin/libippdcl9.so)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4E3F8D2: deflate_common (in /home/martijn/zlib-1.2.8/libz.so.1.2.8)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4E3DC51: deflate (in /home/martijn/zlib-1.2.8/libz.so.1.2.8)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x40276C: compress(char const*, std::vector&amp;lt;char, std::allocator&amp;lt;char&amp;gt; &amp;gt;&amp;amp;, int, int, int, int) (TestMain.c:62)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x402BFB: main (TestMain.c:100)&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487== Invalid read of size 4&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; at 0x8A21A2C: l9_ippsDeflateLZ77Fast_8u (in /opt/intel/compilers_and_libraries_2017.1.132/linux/ipp/lib/intel64_lin/libippdcl9.so)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4E3F8D2: deflate_common (in /home/martijn/zlib-1.2.8/libz.so.1.2.8)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4E3DC51: deflate (in /home/martijn/zlib-1.2.8/libz.so.1.2.8)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x40276C: compress(char const*, std::vector&amp;lt;char, std::allocator&amp;lt;char&amp;gt; &amp;gt;&amp;amp;, int, int, int, int) (TestMain.c:62)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x402BFB: main (TestMain.c:100)&lt;BR /&gt;
	==42487==&amp;nbsp; Address 0xb05be139 is not stack'd, malloc'd or (recently) free'd&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487== Process terminating with default action of signal 11 (SIGSEGV)&lt;BR /&gt;
	==42487==&amp;nbsp; Access not within mapped region at address 0xB05BE139&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; at 0x8A21A2C: l9_ippsDeflateLZ77Fast_8u (in /opt/intel/compilers_and_libraries_2017.1.132/linux/ipp/lib/intel64_lin/libippdcl9.so)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4E3F8D2: deflate_common (in /home/martijn/zlib-1.2.8/libz.so.1.2.8)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4E3DC51: deflate (in /home/martijn/zlib-1.2.8/libz.so.1.2.8)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x40276C: compress(char const*, std::vector&amp;lt;char, std::allocator&amp;lt;char&amp;gt; &amp;gt;&amp;amp;, int, int, int, int) (TestMain.c:62)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x402BFB: main (TestMain.c:100)&lt;BR /&gt;
	==42487==&amp;nbsp; If you believe this happened as a result of a stack&lt;BR /&gt;
	==42487==&amp;nbsp; overflow in your program's main thread (unlikely but&lt;BR /&gt;
	==42487==&amp;nbsp; possible), you can try to increase the size of the&lt;BR /&gt;
	==42487==&amp;nbsp; main thread stack using the --main-stacksize= flag.&lt;BR /&gt;
	==42487==&amp;nbsp; The main thread stack size used in this run was 8388608.&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487== HEAP SUMMARY:&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; in use at exit: 1,338,525,031 bytes in 14 blocks&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp; total heap usage: 31 allocs, 17 frees, 1,405,745,029 bytes allocated&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487== Searching for pointers to 14 not-freed blocks&lt;BR /&gt;
	==42487== Checked 1,331,772,208 bytes&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487== 22 bytes in 1 blocks are still reachable in loss record 1 of 14&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x404897: void std::__cxx11::basic_string&amp;lt;char, std::char_traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt;::_M_construct&amp;lt;char const*&amp;gt;(char const*, char const*, std::forward_iterator_tag) (basic_string.tcc:223)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x5174C4B: std::__cxx11::basic_string&amp;lt;char, std::char_traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt;::basic_string(char const*, std::allocator&amp;lt;char&amp;gt; const&amp;amp;) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4028DE: main (TestMain.c:80)&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487== 72 bytes in 1 blocks are still reachable in loss record 2 of 14&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; at 0x4C2FB55: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x40120BD: _dl_check_map_versions (dl-version.c:293)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4015B18: dl_open_worker (dl-open.c:286)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4010563: _dl_catch_error (dl-error.c:187)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4014DA8: _dl_open (dl-open.c:660)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x5CBEF08: dlopen_doit (dlopen.c:66)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4010563: _dl_catch_error (dl-error.c:187)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x5CBF570: _dlerror_run (dlerror.c:163)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x5CBEFA0: dlopen@@GLIBC_2.2.5 (dlopen.c:87)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x60F92E4: _init (in /opt/intel/compilers_and_libraries_2017.1.132/linux/ipp/lib/intel64_lin/libipps.so)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4010679: call_init.part.0 (dl-init.c:58)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x40107CA: call_init (dl-init.c:30)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x40107CA: _dl_init (dl-init.c:120)&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487== 72 bytes in 1 blocks are still reachable in loss record 3 of 14&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; at 0x4C2FB55: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x40120BD: _dl_check_map_versions (dl-version.c:293)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4015B18: dl_open_worker (dl-open.c:286)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4010563: _dl_catch_error (dl-error.c:187)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4014DA8: _dl_open (dl-open.c:660)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x5CBEF08: dlopen_doit (dlopen.c:66)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4010563: _dl_catch_error (dl-error.c:187)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x5CBF570: _dlerror_run (dlerror.c:163)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x5CBEFA0: dlopen@@GLIBC_2.2.5 (dlopen.c:87)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x5EC4E24: _init (in /opt/intel/compilers_and_libraries_2017.1.132/linux/ipp/lib/intel64_lin/libippdc.so)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4010679: call_init.part.0 (dl-init.c:58)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x40107CA: call_init (dl-init.c:30)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x40107CA: _dl_init (dl-init.c:120)&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487== 81 bytes in 1 blocks are still reachable in loss record 4 of 14&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x401CF59: strdup (strdup.c:42)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4008BA3: expand_dynamic_string_token (dl-load.c:376)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4008BA3: _dl_map_object (dl-load.c:2409)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4015576: dl_open_worker (dl-open.c:237)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4010563: _dl_catch_error (dl-error.c:187)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4014DA8: _dl_open (dl-open.c:660)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x5CBEF08: dlopen_doit (dlopen.c:66)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4010563: _dl_catch_error (dl-error.c:187)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x5CBF570: _dlerror_run (dlerror.c:163)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x5CBEFA0: dlopen@@GLIBC_2.2.5 (dlopen.c:87)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x60F92E4: _init (in /opt/intel/compilers_and_libraries_2017.1.132/linux/ipp/lib/intel64_lin/libipps.so)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4010679: call_init.part.0 (dl-init.c:58)&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487== 81 bytes in 1 blocks are still reachable in loss record 5 of 14&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x400BEF3: _dl_new_object (dl-object.c:165)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x400650C: _dl_map_object_from_fd (dl-load.c:1006)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4008C26: _dl_map_object (dl-load.c:2476)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4015576: dl_open_worker (dl-open.c:237)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4010563: _dl_catch_error (dl-error.c:187)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4014DA8: _dl_open (dl-open.c:660)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x5CBEF08: dlopen_doit (dlopen.c:66)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4010563: _dl_catch_error (dl-error.c:187)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x5CBF570: _dlerror_run (dlerror.c:163)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x5CBEFA0: dlopen@@GLIBC_2.2.5 (dlopen.c:87)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x60F92E4: _init (in /opt/intel/compilers_and_libraries_2017.1.132/linux/ipp/lib/intel64_lin/libipps.so)&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487== 82 bytes in 1 blocks are still reachable in loss record 6 of 14&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x401CF59: strdup (strdup.c:42)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4008BA3: expand_dynamic_string_token (dl-load.c:376)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4008BA3: _dl_map_object (dl-load.c:2409)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4015576: dl_open_worker (dl-open.c:237)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4010563: _dl_catch_error (dl-error.c:187)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4014DA8: _dl_open (dl-open.c:660)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x5CBEF08: dlopen_doit (dlopen.c:66)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4010563: _dl_catch_error (dl-error.c:187)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x5CBF570: _dlerror_run (dlerror.c:163)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x5CBEFA0: dlopen@@GLIBC_2.2.5 (dlopen.c:87)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x5EC4E24: _init (in /opt/intel/compilers_and_libraries_2017.1.132/linux/ipp/lib/intel64_lin/libippdc.so)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4010679: call_init.part.0 (dl-init.c:58)&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487== 82 bytes in 1 blocks are still reachable in loss record 7 of 14&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x400BEF3: _dl_new_object (dl-object.c:165)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x400650C: _dl_map_object_from_fd (dl-load.c:1006)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4008C26: _dl_map_object (dl-load.c:2476)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4015576: dl_open_worker (dl-open.c:237)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4010563: _dl_catch_error (dl-error.c:187)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4014DA8: _dl_open (dl-open.c:660)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x5CBEF08: dlopen_doit (dlopen.c:66)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4010563: _dl_catch_error (dl-error.c:187)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x5CBF570: _dlerror_run (dlerror.c:163)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x5CBEFA0: dlopen@@GLIBC_2.2.5 (dlopen.c:87)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x5EC4E24: _init (in /opt/intel/compilers_and_libraries_2017.1.132/linux/ipp/lib/intel64_lin/libippdc.so)&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487== 1,249 bytes in 1 blocks are still reachable in loss record 8 of 14&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; at 0x4C2FB55: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x400BBF5: _dl_new_object (dl-object.c:75)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x400650C: _dl_map_object_from_fd (dl-load.c:1006)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4008C26: _dl_map_object (dl-load.c:2476)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4015576: dl_open_worker (dl-open.c:237)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4010563: _dl_catch_error (dl-error.c:187)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4014DA8: _dl_open (dl-open.c:660)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x5CBEF08: dlopen_doit (dlopen.c:66)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4010563: _dl_catch_error (dl-error.c:187)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x5CBF570: _dlerror_run (dlerror.c:163)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x5CBEFA0: dlopen@@GLIBC_2.2.5 (dlopen.c:87)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x60F92E4: _init (in /opt/intel/compilers_and_libraries_2017.1.132/linux/ipp/lib/intel64_lin/libipps.so)&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487== 1,250 bytes in 1 blocks are still reachable in loss record 9 of 14&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; at 0x4C2FB55: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x400BBF5: _dl_new_object (dl-object.c:75)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x400650C: _dl_map_object_from_fd (dl-load.c:1006)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4008C26: _dl_map_object (dl-load.c:2476)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4015576: dl_open_worker (dl-open.c:237)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4010563: _dl_catch_error (dl-error.c:187)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4014DA8: _dl_open (dl-open.c:660)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x5CBEF08: dlopen_doit (dlopen.c:66)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4010563: _dl_catch_error (dl-error.c:187)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x5CBF570: _dlerror_run (dlerror.c:163)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x5CBEFA0: dlopen@@GLIBC_2.2.5 (dlopen.c:87)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x5EC4E24: _init (in /opt/intel/compilers_and_libraries_2017.1.132/linux/ipp/lib/intel64_lin/libippdc.so)&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487== 5,936 bytes in 1 blocks are still reachable in loss record 10 of 14&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4E41000: deflateInit2_ (in /home/martijn/zlib-1.2.8/libz.so.1.2.8)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x40271A: compress(char const*, std::vector&amp;lt;char, std::allocator&amp;lt;char&amp;gt; &amp;gt;&amp;amp;, int, int, int, int) (TestMain.c:52)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x402BFB: main (TestMain.c:100)&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487== 72,704 bytes in 1 blocks are still reachable in loss record 11 of 14&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x50DCEFF: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x40106B9: call_init.part.0 (dl-init.c:72)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x40107CA: call_init (dl-init.c:30)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x40107CA: _dl_init (dl-init.c:120)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4000C69: ??? (in /lib/x86_64-linux-gnu/ld-2.23.so)&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487== 223,232 bytes in 1 blocks are still reachable in loss record 12 of 14&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4E410BA: deflateInit2_ (in /home/martijn/zlib-1.2.8/libz.so.1.2.8)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x40271A: compress(char const*, std::vector&amp;lt;char, std::allocator&amp;lt;char&amp;gt; &amp;gt;&amp;amp;, int, int, int, int) (TestMain.c:52)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x402BFB: main (TestMain.c:100)&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487== 67,108,864 bytes in 1 blocks are still reachable in loss record 13 of 14&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x404AE5: __gnu_cxx::new_allocator&amp;lt;char&amp;gt;::allocate(unsigned long, void const*) (new_allocator.h:104)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x40302E: std::allocator_traits&amp;lt;std::allocator&amp;lt;char&amp;gt; &amp;gt;::allocate(std::allocator&amp;lt;char&amp;gt;&amp;amp;, unsigned long) (alloc_traits.h:491)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x403365: std::_Vector_base&amp;lt;char, std::allocator&amp;lt;char&amp;gt; &amp;gt;::_M_allocate(unsigned long) (stl_vector.h:170)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x40409D: void std::vector&amp;lt;char, std::allocator&amp;lt;char&amp;gt; &amp;gt;::_M_range_insert&amp;lt;unsigned char*&amp;gt;(__gnu_cxx::__normal_iterator&amp;lt;char*, std::vector&amp;lt;char, std::allocator&amp;lt;char&amp;gt; &amp;gt; &amp;gt;, unsigned char*, unsigned char*, std::forward_iterator_tag) (vector.tcc:659)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x403D01: void std::vector&amp;lt;char, std::allocator&amp;lt;char&amp;gt; &amp;gt;::_M_insert_dispatch&amp;lt;unsigned char*&amp;gt;(__gnu_cxx::__normal_iterator&amp;lt;char*, std::vector&amp;lt;char, std::allocator&amp;lt;char&amp;gt; &amp;gt; &amp;gt;, unsigned char*, unsigned char*, std::__false_type) (stl_vector.h:1377)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x403C56: __gnu_cxx::__normal_iterator&amp;lt;char*, std::vector&amp;lt;char, std::allocator&amp;lt;char&amp;gt; &amp;gt; &amp;gt; std::vector&amp;lt;char, std::allocator&amp;lt;char&amp;gt; &amp;gt;::insert&amp;lt;unsigned char*, void&amp;gt;(__gnu_cxx::__normal_iterator&amp;lt;char const*, std::vector&amp;lt;char, std::allocator&amp;lt;char&amp;gt; &amp;gt; &amp;gt;, unsigned char*, unsigned char*) (stl_vector.h:1099)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4027D7: compress(char const*, std::vector&amp;lt;char, std::allocator&amp;lt;char&amp;gt; &amp;gt;&amp;amp;, int, int, int, int) (TestMain.c:64)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x402BFB: main (TestMain.c:100)&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487== 1,271,111,304 bytes in 1 blocks are still reachable in loss record 14 of 14&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x404AE5: __gnu_cxx::new_allocator&amp;lt;char&amp;gt;::allocate(unsigned long, void const*) (new_allocator.h:104)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x40302E: std::allocator_traits&amp;lt;std::allocator&amp;lt;char&amp;gt; &amp;gt;::allocate(std::allocator&amp;lt;char&amp;gt;&amp;amp;, unsigned long) (alloc_traits.h:491)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x403365: std::_Vector_base&amp;lt;char, std::allocator&amp;lt;char&amp;gt; &amp;gt;::_M_allocate(unsigned long) (stl_vector.h:170)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x403821: std::vector&amp;lt;char, std::allocator&amp;lt;char&amp;gt; &amp;gt;::_M_default_append(unsigned long) (vector.tcc:557)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x403672: std::vector&amp;lt;char, std::allocator&amp;lt;char&amp;gt; &amp;gt;::resize(unsigned long) (stl_vector.h:676)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4024B8: readFile(std::__cxx11::basic_string&amp;lt;char, std::char_traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt;, std::vector&amp;lt;char, std::allocator&amp;lt;char&amp;gt; &amp;gt;&amp;amp;) (TestMain.c:17)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x40299D: main (TestMain.c:82)&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487== LEAK SUMMARY:&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; definitely lost: 0 bytes in 0 blocks&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; indirectly lost: 0 bytes in 0 blocks&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; possibly lost: 0 bytes in 0 blocks&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; still reachable: 1,338,525,031 bytes in 14 blocks&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; suppressed: 0 bytes in 0 blocks&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487== Use --track-origins=yes to see where uninitialised values come from&lt;BR /&gt;
	==42487== ERROR SUMMARY: 1153 errors from 6 contexts (suppressed: 16722 from 2)&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487== 1 errors in context 1 of 6:&lt;BR /&gt;
	==42487== Invalid read of size 4&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; at 0x8A21A2C: l9_ippsDeflateLZ77Fast_8u (in /opt/intel/compilers_and_libraries_2017.1.132/linux/ipp/lib/intel64_lin/libippdcl9.so)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4E3F8D2: deflate_common (in /home/martijn/zlib-1.2.8/libz.so.1.2.8)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4E3DC51: deflate (in /home/martijn/zlib-1.2.8/libz.so.1.2.8)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x40276C: compress(char const*, std::vector&amp;lt;char, std::allocator&amp;lt;char&amp;gt; &amp;gt;&amp;amp;, int, int, int, int) (TestMain.c:62)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x402BFB: main (TestMain.c:100)&lt;BR /&gt;
	==42487==&amp;nbsp; Address 0xb05be139 is not stack'd, malloc'd or (recently) free'd&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487== 6 errors in context 2 of 6:&lt;BR /&gt;
	==42487== Use of uninitialised value of size 8&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; at 0x8A21A2C: l9_ippsDeflateLZ77Fast_8u (in /opt/intel/compilers_and_libraries_2017.1.132/linux/ipp/lib/intel64_lin/libippdcl9.so)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4E3F8D2: deflate_common (in /home/martijn/zlib-1.2.8/libz.so.1.2.8)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4E3DC51: deflate (in /home/martijn/zlib-1.2.8/libz.so.1.2.8)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x40276C: compress(char const*, std::vector&amp;lt;char, std::allocator&amp;lt;char&amp;gt; &amp;gt;&amp;amp;, int, int, int, int) (TestMain.c:62)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x402BFB: main (TestMain.c:100)&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487== 6 errors in context 3 of 6:&lt;BR /&gt;
	==42487== Use of uninitialised value of size 8&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; at 0x8A21A28: l9_ippsDeflateLZ77Fast_8u (in /opt/intel/compilers_and_libraries_2017.1.132/linux/ipp/lib/intel64_lin/libippdcl9.so)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4E3F8D2: deflate_common (in /home/martijn/zlib-1.2.8/libz.so.1.2.8)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4E3DC51: deflate (in /home/martijn/zlib-1.2.8/libz.so.1.2.8)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x40276C: compress(char const*, std::vector&amp;lt;char, std::allocator&amp;lt;char&amp;gt; &amp;gt;&amp;amp;, int, int, int, int) (TestMain.c:62)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x402BFB: main (TestMain.c:100)&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487== 226 errors in context 4 of 6:&lt;BR /&gt;
	==42487== Conditional jump or move depends on uninitialised value(s)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; at 0x8A21B06: l9_ippsDeflateLZ77Fast_8u (in /opt/intel/compilers_and_libraries_2017.1.132/linux/ipp/lib/intel64_lin/libippdcl9.so)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4E3F8D2: deflate_common (in /home/martijn/zlib-1.2.8/libz.so.1.2.8)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x4E3DC51: deflate (in /home/martijn/zlib-1.2.8/libz.so.1.2.8)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x40276C: compress(char const*, std::vector&amp;lt;char, std::allocator&amp;lt;char&amp;gt; &amp;gt;&amp;amp;, int, int, int, int) (TestMain.c:62)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x402BFB: main (TestMain.c:100)&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487== 457 errors in context 5 of 6:&lt;BR /&gt;
	==42487== Conditional jump or move depends on uninitialised value(s)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; at 0x4E3DC42: deflate (in /home/martijn/zlib-1.2.8/libz.so.1.2.8)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x40276C: compress(char const*, std::vector&amp;lt;char, std::allocator&amp;lt;char&amp;gt; &amp;gt;&amp;amp;, int, int, int, int) (TestMain.c:62)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x402BFB: main (TestMain.c:100)&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487== 457 errors in context 6 of 6:&lt;BR /&gt;
	==42487== Conditional jump or move depends on uninitialised value(s)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; at 0x4E3DC39: deflate (in /home/martijn/zlib-1.2.8/libz.so.1.2.8)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x40276C: compress(char const*, std::vector&amp;lt;char, std::allocator&amp;lt;char&amp;gt; &amp;gt;&amp;amp;, int, int, int, int) (TestMain.c:62)&lt;BR /&gt;
	==42487==&amp;nbsp;&amp;nbsp;&amp;nbsp; by 0x402BFB: main (TestMain.c:100)&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	--42487--&lt;BR /&gt;
	--42487-- used_suppression:&amp;nbsp; 16722 zlib-1.2.x trickyness (1a): See &lt;A href="http://www.zlib.net/zlib_faq.html#faq36" target="_blank"&gt;http://www.zlib.net/zlib_faq.html#faq36&lt;/A&gt; /usr/lib/valgrind/default.supp:508&lt;BR /&gt;
	==42487==&lt;BR /&gt;
	==42487== ERROR SUMMARY: 1153 errors from 6 contexts (suppressed: 16722 from 2)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2017 06:52:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/zlib-IPP-segmentation-fault/m-p/1179070#M27126</guid>
      <dc:creator>MSand23</dc:creator>
      <dc:date>2017-09-07T06:52:48Z</dc:date>
    </item>
    <item>
      <title>Hi Martjin,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/zlib-IPP-segmentation-fault/m-p/1179071#M27127</link>
      <description>&lt;P&gt;Hi Martjin,&lt;/P&gt;

&lt;P&gt;Seems the problem is caused by memory problem. If you ever allocate memory for source? If the size of source file is correct? And what about other arguments (window_bit, mem_level, compression_level)? I create a quick sample according to your snippet code (win_bit=15, mem_level=MAX_MEM_LEVEL, level=default), but could not reproduce your problem. Could you please use it test with your file. If you still meet problem, please send me your source file.&lt;/P&gt;

&lt;P&gt;Best regards,&lt;BR /&gt;
	Fiona&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2017 08:13:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/zlib-IPP-segmentation-fault/m-p/1179071#M27127</guid>
      <dc:creator>Zhen_Z_Intel</dc:creator>
      <dc:date>2017-09-11T08:13:27Z</dc:date>
    </item>
    <item>
      <title>Hi Martijn,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/zlib-IPP-segmentation-fault/m-p/1179072#M27128</link>
      <description>&lt;P&gt;Hi Martijn,&lt;/P&gt;

&lt;P&gt;Regarding the source code, I would do&lt;/P&gt;

&lt;P&gt;do {&lt;BR /&gt;
	...&lt;BR /&gt;
	while(defstream.avail_in &amp;gt; 0)&lt;/P&gt;

&lt;P&gt;It means "do compression while there's anything to compress". And this way is recommended by Zlib documentation. May be it's not related to your issue, but it's more logical.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
	Sergey&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 16:41:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/zlib-IPP-segmentation-fault/m-p/1179072#M27128</guid>
      <dc:creator>Sergey_K_Intel</dc:creator>
      <dc:date>2017-09-13T16:41:11Z</dc:date>
    </item>
  </channel>
</rss>

