Package: sdcv
Version: 0.4.2-16
Severity: normal

Dear Maintainer,

When performing a full-text search using a frequent word (e.g. "the"), sdcv
crashes way before the main memory is exhausted:

   % sdcv
   Enter word or phrase: |the
   terminate called after throwing an instance of 'std::out_of_range'
     what():  basic_string::basic_string
   zsh: abort      sdcv

Interestingly enough, I could not reproduce this crash with the upstream
version (http://sdcv.sourceforge.net/).

gdb's backtrace:

   Program received signal SIGABRT, Aborted.
   0x00007ffff6b94475 in *__GI_raise (sig=<optimized out>)
       at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
   64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.

   (gdb) bt
   #0  0x00007ffff6b94475 in *__GI_raise (sig=<optimized out>)
       at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
   #1  0x00007ffff6b976f0 in *__GI_abort () at abort.c:92
   #2  0x00007ffff73e668d in __gnu_cxx::__verbose_terminate_handler() ()
      from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
   #3  0x00007ffff73e4796 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
   #4  0x00007ffff73e47c3 in std::terminate() () from 
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
   #5  0x00007ffff73e49ee in __cxa_throw () from 
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
   #6  0x00007ffff743666d in std::__throw_out_of_range(char const*) ()
      from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
   #7  0x00007ffff74423be in std::basic_string<char, std::char_traits<char>, 
std::allocator<char> >::basic_string(std::string const&, unsigned long, 
unsigned long) ()
      from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
   #8  0x0000000000406a55 in ?? ()
   #9  0x0000000000406f18 in ?? ()
   #10 0x0000000000407ab2 in ?? ()
   #11 0x00000000004041ac in ?? ()
   #12 0x00007ffff6b80ead in __libc_start_main (main=<optimized out>, 
argc=<optimized out>, 
       ubp_av=<optimized out>, init=<optimized out>, fini=<optimized out>, 
rtld_fini=<optimized out>, 
       stack_end=0x7fffffffe2d8) at libc-start.c:228
   #13 0x00000000004044c1 in ?? ()
   #14 0x00007fffffffe2d8 in ?? ()
   #15 0x000000000000001c in ?? ()
   #16 0x0000000000000001 in ?? ()
   #17 0x00007fffffffe52a in ?? ()
   #18 0x0000000000000000 in ?? ()


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages sdcv depends on:
ii  libc6         2.13-33
ii  libgcc1       1:4.7.1-2
ii  libglib2.0-0  2.32.3-1
ii  libreadline6  6.2-8
ii  libstdc++6    4.7.1-2
ii  zlib1g        1:1.2.7.dfsg-13

-- 
Douglas A. Augusto



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to