[Freewx-maint] Bug#575536: /usr/lib/libwx_gtk2u_core-2.8.so.0: segfaults in wxWindow::DoSetSize due to m_parent being NULL

Ryan Niebur ryan at debian.org
Mon Mar 29 08:13:29 UTC 2010


reassign 575536 mayavi2 3.3.1-1
severity 575536 serious
tag 575536 confirmed
quit

On Fri, Mar 26, 2010 at 04:49:46PM +0000, Yaroslav Halchenko wrote:
> Package: libwxgtk2.8-0
> Version: 2.8.10.1-3.1~debug
> Severity: important
> File: /usr/lib/libwx_gtk2u_core-2.8.so.0
> 

at the beginning of wxWindowGTK::DoSetSize there is this check:
wxASSERT_MSG( (m_parent != NULL), wxT("wxWindowGTK::SetSize requires parent.\n") );

[I think wxASSERT_MSG is a noop in our build, so that line doesn't
actually do anything in this situation..]

and looking at the gdb output, it seems that m_parent is NULL.

so mayavi2 is doing something that it shouldn't.

it seems that the problem is that somewhere the python code is calling
Layout on a sizer that doesn't have a parent, and that's not allowed.

and I have reproduced the segfault in mayavi2 as well.

in the next few days I may look into making a patch to fix this,
however for now I am reassigning it to mayavi2.

Cheers,
Ryan

-- 
_________________________
Ryan Niebur
ryanryan52 at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/freewx-maint/attachments/20100329/1481e7f4/attachment.pgp>


More information about the Freewx-maint mailing list