[Freewx-maint] Bug#746526: python-wxgtk2.8: python segfaults on wx/_html.so

Martijn martijnb at gmx.com
Wed Apr 30 22:49:53 UTC 2014

Package: python-wxgtk2.8
Severity: important

Dear Maintainer,

I encountered segfaults of python2.7 when using wikidpad. Running it through
gdb revealed that the problem was wx/_html.so:
At the moment of  the crash I had the wikidpad internal html rendere switched
on en was browsing the wiki.
After I disabled html rendering or swithed to the webkit renderer, which is
offered in addition to the wxwidget html widget, wikidpad ran without problems.
This pinpoints the problem to the wxwidget html engine or underlying modules.

The gdb listing prior after the segfault is:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff4b02b07 in wxArrayString::Index(wchar_t const*, bool, bool) const ()
from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
(gdb) pyframe
No symbol "PyStringObject" in current context.
(gdb) up
#1  0x00007ffff5b2ff74 in wxHtmlTag::HasParam(wxString const&) const () from
(gdb) up
#2  0x00007ffff5b3eff7 in wxHTML_Handler_IMG::HandleTag(wxHtmlTag const&) ()
from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_html-2.8.so.0
(gdb) up
#3  0x00007ffff5b2eb4e in wxHtmlParser::AddTag(wxHtmlTag const&) () from
(gdb) up
#4  0x00007ffff5b2ea09 in wxHtmlParser::DoParsing(int, int) () from
(gdb) up
#5  0x00007ffff5b2ea09 in wxHtmlParser::DoParsing(int, int) () from
(gdb) up
#6  0x00007ffff5b2ea09 in wxHtmlParser::DoParsing(int, int) () from
(gdb) up
#7  0x00007ffff5b2ea97 in wxHtmlParser::Parse(wxString const&) () from
(gdb) up
#8  0x00007ffff5b3405d in wxHtmlWindow::DoSetPage(wxString const&) () from
(gdb) up
#9  0x00007fffe5625f08 in ?? () from /usr/lib/python2.7/dist-

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

Kernel: Linux 3.13-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

Versions of packages python-wxgtk2.8 depends on:
ii  libc6             2.18-4
ii  libgcc1           1:4.8.2-16
ii  libstdc++6        4.8.2-16
ii  libwxbase2.8-0
ii  libwxgtk2.8-0
ii  python            2.7.5-5
ii  python-wxversion

python-wxgtk2.8 recommends no packages.

Versions of packages python-wxgtk2.8 suggests:
pn  editra          <none>
pn  wx2.8-doc       <none>
pn  wx2.8-examples  <none>

-- no debconf information

More information about the Freewx-maint mailing list