> I did try setAutoDelete (both False and True) it didn't seem to make a
> difference unfortunately. I have a test program based on demos/CEGUI/
> If you comment/uncomment line 118, you should see the crash. I haven't
> tested the program in Windows, but I was definitely seeing the same
> crash there. I put everything in the init code for simplicity, but the
> same error occurs when resetList is called later.
> Uncommenting that line, when I quit the app, I get a stack trace from
> somewhere. It could be that the Python reference to the ListBoxItem is
> being freed, and then the CEGUI C++ pointer gets freed later as well--
> though I'd expect a 'double free' type error from glibc instead of
> invalid pointer free in that case.
> Reset List after Add... Ok
> *** glibc detected *** python: free(): invalid pointer: 0x0a9b2f20 ***
> ======= Backtrace: =========
> On Feb 4, 9:02 pm, "Andy Miller" <nzmill...@gmail.com> wrote:
> > You could also look to use the *setAutoDelete* function on the list
> items -
> > perhaps set this to False which will stop the list from trying to delete
> > item and instead rely on the user code to do so.
> > Cheers
> > Andy
> > On 05/02/07, Mike Handverger <mike.handver...@gmail.com> wrote:
> > > I seem to be having one more CEGUI problem. I can't remove items from
> > > a Listbox, Combobox or MultiColumnList without a crash. I get a crash
> > > in Windows as well, but here's what happens in Linux when trying
> > > either Listbox.resetList or Listbox.removeItem:
> > > *** glibc detected *** /usr/bin/python: free(): invalid pointer:
> > > 0x0b65d590 ***
> > > This code worked fine under PyOgre.
> > > If resetList is called and the Listbox is empty, there is no crash.
> > > This happens whether I let go of my reference to the Listbox items or
> > > not.
> > > Any ideas?
> > > Thanks,
> > > Mike
> > > On Feb 4, 12:21 pm, "Mike Handverger" <mike.handver...@gmail.com>
> > > wrote:
> > > > Hi guys,
> > > > Things are working very well over here. I noticed that there is no
> > > > custom event subscription code for MultiColumnList in CEGUI. Here's
> > > > patch that provides it (tested on Linux):
> > > > Thanks,
> > > > Mike