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

Yaroslav Halchenko debian at onerussian.com
Fri Mar 26 16:49:46 UTC 2010

Package: libwxgtk2.8-0
Severity: important
File: /usr/lib/libwx_gtk2u_core-2.8.so.0

First of all I must confess that my setup is somewhat ... untypical -- squeeze
chroot (under lenny), and X is VNC on that box.

Ran into the problem of segfault while trying to start mayavi2.  To give you
better information I've rebuilt wx with debug support and noopt.  Segfault happens at:

% LD_LIBRARY_PATH=/usr/lib/debug gdb --args /usr/bin/python2.5 /usr/bin/mayavi2
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
Reading symbols from /usr/bin/python2.5...Reading symbols from /usr/lib/debug/usr/bin/python2.5...done.
(no debugging symbols found)...done.
(gdb) r
Starting program: /usr/bin/python2.5 /usr/bin/mayavi2
[Thread debugging using libthread_db enabled]
Xlib:  extension "RANDR" missing on display "head1:1.0".
[New Thread 0x7fffd7fe3910 (LWP 21085)]
[New Thread 0x7fffd77e2910 (LWP 21086)]

Program received signal SIGSEGV, Segmentation fault.
0x00007fffe5551319 in wxWindow::DoSetSize (this=0x52f3c20, x=0, y=30, width=0, height=0, sizeFlags=4) at ../src/gtk/window.cpp:2763
2763        if (m_parent->m_wxwindow == NULL) // i.e. wxNotebook
Current language:  auto
The current source language is "auto; currently c++".
(gdb) bt full 2
#0  0x00007fffe5551319 in wxWindow::DoSetSize (this=0x52f3c20, x=0, y=30, width=0, height=0, sizeFlags=4) at ../src/gtk/window.cpp:2763
        currentX = -1
        currentY = -1
        minWidth = 0
        minHeight = 86981664
        maxWidth = -1
        maxHeight = -1
#1  0x00007fffe653bee0 in wxWindowBase::SetSize (this=0x52f3c20, x=0, y=30, width=0, height=0, sizeFlags=4) at ../include/wx/window.h:225
No locals.
(More stack frames follow...)
(gdb) l
2758           GtkWidget  *widget = GTK_WIDGET(m_widget);
2759           gtk_widget_set_size_request (widget, m_width, m_height);
2760        }
2761        else
2762    #endif
2763        if (m_parent->m_wxwindow == NULL) // i.e. wxNotebook
2764        {
2765            // don't set the size for children of wxNotebook, just take the values.
2766            m_x = x;
2767            m_y = y;

I am attaching a complete script log file for that session so  you could
see an entire traceback and possibly other useful information.

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

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

Versions of packages libwxgtk2.8-0 depends on:
ii  libatk1.0-0           1.28.0-1           The ATK accessibility toolkit
ii  libc6                 2.10.2-6           Embedded GNU C Library: Shared lib
ii  libexpat1             2.0.1-7            XML parsing C library - runtime li
ii  libfontconfig1        2.8.0-2            generic font configuration library
ii  libfreetype6          2.3.11-1           FreeType 2 font engine, shared lib
ii  libgcc1               1:4.4.2-9          GCC support library
ii  libgl1-mesa-glx [libg 7.7-4              A free implementation of the OpenG
ii  libglib2.0-0          2.22.4-1           The GLib library of C routines
ii  libglu1-mesa [libglu1 7.7-4              The OpenGL utility library (GLU)
ii  libgtk2.0-0           2.18.9-2           The GTK+ graphical user interface 
ii  libjpeg62             6b-16.1            The Independent JPEG Group's JPEG 
ii  libpango1.0-0         1.26.2-2           Layout and rendering of internatio
ii  libpng12-0            1.2.43-1           PNG library - runtime
ii  libsm6                2:1.1.1-1          X11 Session Management library
ii  libstdc++6            4.4.2-9            The GNU Standard C++ Library v3
ii  libtiff4              3.9.2-3+b1         Tag Image File Format (TIFF) libra
ii  libwxbase2.8-0 wxBase library (runtime) - non-GUI
ii  libxinerama1          2:1.1-3            X11 Xinerama extension library
ii  zlib1g                1:   compression library - runtime

libwxgtk2.8-0 recommends no packages.

Versions of packages libwxgtk2.8-0 suggests:
ii  libgnomeprintui2.2-0          2.18.4-1   GNOME 2.2 print architecture User 

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: script.yoh.14452.20100326.1546
Type: application/octet-stream
Size: 89821 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/freewx-maint/attachments/20100326/94858375/attachment-0001.obj>

More information about the Freewx-maint mailing list