segmentation fault with TextCtrl child of StaticBox

Bug #1266157 reported by Andrew Schulman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wxWidgets
Unknown
Unknown
wxwidgets2.8 (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

I have a short program that creates a TextCtrl as the child of a StaticBox:

#!/usr/bin/env python

import wx

class Bug(wx.Frame):

    def __init__(self):
        wx.Frame.__init__(self, None)
        box = wx.StaticBox(self, label='Box')
        wx.TextCtrl(box)

app = wx.App()
Bug()
app.MainLoop()

Whenever I run it, I get a segmentation fault. I'm attaching the program and gdb backtrace; please let me know if I can provide anything else.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: python-wxgtk2.8 2.8.12.1-6ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-58.88-generic 3.2.53
Uname: Linux 3.2.0-58-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
Date: Sun Jan 5 01:01:55 2014
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
MarkForUpload: True
SourcePackage: wxwidgets2.8
UpgradeStatus: Upgraded to precise on 2013-01-13 (356 days ago)

Revision history for this message
Andrew Schulman (andrex) wrote :
Revision history for this message
Andrew Schulman (andrex) wrote :
Revision history for this message
Andrew Schulman (andrex) wrote :
Revision history for this message
Rolf Leggewie (r0lf) wrote :

the ticket was rejected upstream as wontfix, so we will follow suit here. It should be clear from reading the upstream ticket how a user can deal with this ticket.

Changed in wxwidgets2.8 (Ubuntu):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.