python crash using wx.ListCtrl

Bug #107588 reported by linroot
2
Affects Status Importance Assigned to Milestone
wxwidgets2.8 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

the following code seems to crash:

...
self.cliautlc = wx.ListCtrl(self.notebook_1_pane_2, -1, style=wx.LC_LIST|wx.LC_REPORT|wx.LC_EDIT_LABELS|wx.SUNKEN_BORDER)
.....
    def OncliautButton(self, event): # wxGlade: MyFrameCli.<event_handler>
        autnumero=self.cliauttxNumero.GetValue()
        autente=self.cliauttxEnte.GetValue()
        autcamini=self.cliauttxCamini.GetValue()
        autdata=self.cliautData.GetValue()
        auttipo=self.cliautTipo.GetValue()
        print autnumero,autdata,auttipo,autente,autcamini
        autlista=(autnumero,auttipo,autente,autcamini)
        indice=self.cliautlc.InsertStringItem(sys.maxint, autlista[0])
        self.cliautlc.SetStringItem(indice,1,autnumero)
        self.cliautlc.SetStringItem(indice,2,auttipo)

Ok I tryied twice... it crashes!

Revision history for this message
linroot (linroot-alice) wrote :

uhmm the dump file

Revision history for this message
Matthias Klose (doko) wrote :

please provide a smaller test case, or retry with a newer/older wxwidgets version; it's likely you are hitting a problem in wxwidgets.

Changed in wxwidgets2.8:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for wxwidgets2.8 (Ubuntu) because there has been no activity for 60 days.]

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.