Package: xchm
Version: 2:1.23-2+b1
Severity: normal
When I open file with non-ascii name I get error message widget and xchm exited
with core dump.

Widget has stack trace text:

  ../src/common/unichar.cpp(65): assert "Assert failure" failed in ToHi8bit(): 
character cannot be converted to single byte

  [1] wxUniChar::ToHi8bit(unsigned int)
  [2] wxURI::Unescape(wxString const&)
  [3] wxFileSystem::URLToFileName(wxString const&)
  [4] wxNavigationEnabled<wxWindow>::AcceptsFocusRecursively() const
  [5] wxFileSystem::OpenFile(wxString const&, int)
  [6] void std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, 
std::allocator<wchar_t> >::_M_construct<wchar_t const*>(wchar_t const*, wchar_t 
const*, std::forward_iterator_tag)
  [7] wxEntry(int&, wchar_t**)
  [8] __libc_start_main

If I rename file to ASCII only symbols problem doesn't occur.

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (400, 'testing'), (200, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages xchm depends on:
ii  libc6             2.19-18
ii  libchm1           2:0.40a-3+b1
ii  libgcc1           1:4.9.2-10
ii  libstdc++6        5.2.1-16
ii  libwxbase3.0-0v5  3.0.2+dfsg-1.2
ii  libwxgtk3.0-0v5   3.0.2+dfsg-1.2

-- no debconf information

Best regards!

Reply via email to