[Debian-med-packaging] Bug#751255: Bug#751255: Bug#751255: treeviewx: Please update to use wxwidgets3.0

Olly Betts olly at survex.com
Sat Jun 28 05:24:01 UTC 2014


On Sat, Jun 21, 2014 at 04:13:21PM +0900, Charles Plessy wrote:
> Now the program starts, but it freezes with the following error when
> opening the test data /usr/share/doc/treeviewx/examples/tree.phb.
> 
> ../src/common/strconv.cpp(1208): assert "Assert failure" failed in FromWChar(): trying to encode undefined Unicode character
> 
> Is that something trivial that you or somebody else reading us can solve ?

Well, there are two possibilities here.

In wx2.8, these "WXDEBUG" assertions were silently ignored, whereas
wx3.0 enables them by default, so it's quite possible that the
underlying issue also affects the current package.  If that's the case,
you can make wx3.0 behave like 2.8 by defining NDEBUG (e.g.  put
-DNDEBUG in CPPFLAGS) when you build treeviewx.

It may also be that the problem itself is new (particularly as wx3
contains significant Unicode-related changes).

Even if the underlying problem isn't new, fixing it wouldn't be a bad
thing to do.  Sadly the backtraces you get from the wx assertion dialog
don't seem very useful, but you could try running under gdb and setting
a breakpoint on ../src/common/strconv.cpp:1208 (you'll probably want to
install the wx -dbg packages first).

Cheers,
    Olly



More information about the Debian-med-packaging mailing list