Package: swish++ Version: 6.1.5-4 Followup-For: Bug #716238 (gdb) bt #0 0x000055b262658592 in index_segment::set_index_file(PJL::mmap_file const&, index_segment::segment_id) (this=0x55b262690c60 <stop_words>, file=..., id=index_segment::isi_stop_word) at index_segment.c:58 #1 0x000055b26266b4e1 in main(int, char**) (argc=1, argv=0x7ffc958b7340) at search.c:296
(gdb) info locals i = 1 c = 0xa0a89246e06ca10 <error: Cannot access memory at address 0xa0a89246e06ca10> p = 0xa0a89246e06ca10 Crash occurs in this code: 51 { 52 register mmap_file::const_iterator c = begin_ = file.begin(); 53 register size_type const *p = reinterpret_cast<size_type const*>( c ); 54 num_entries_ = p[ 0 ]; 55 for ( int i = id; i > 0; --i ) { 56 c += sizeof( num_entries_ ) + num_entries_ * sizeof( off_t ); 57 p = reinterpret_cast<size_type const*>( c ); 58 num_entries_ = p[ 0 ]; // <-- here 59 } 60 offset_ = reinterpret_cast<off_t const*>( &p[ 1 ] ); 61 } 62 /* vim:set et sw=4 ts=4: */ -- System Information: Debian Release: 9.5 APT prefers stable-updates APT policy: (540, 'stable-updates'), (540, 'stable'), (520, 'testing'), (510, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 4.9.0-6-686-pae (SMP w/1 CPU core) 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 swish++ depends on: ii libc6 2.24-11+deb9u3 ii libstdc++6 6.3.0-18+deb9u1 ii perl 5.24.1-3+deb9u4 ii zlib1g 1:1.2.8.dfsg-5 swish++ recommends no packages. Versions of packages swish++ suggests: pn antiword <none> pn xpdf-utils <none>