[ wxwindows-Bugs-1725207 ] wx.ToolBar.ClearTools() crashes OS X app
in wxPython 2.8.4
SourceForge.net
noreply at sourceforge.net
Wed Jan 2 12:30:49 PST 2008
Bugs item #1725207, was opened at 2007-05-24 14:15
Message generated for change (Comment added) made by sbrew
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1725207&group_id=9863
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: wxMac specific
Group: Fatal
Status: Open
Resolution: None
Priority: 3
Private: No
Submitted By: Scot Brew (sbrew)
Assigned to: Stefan Csomor (csomor)
Summary: wx.ToolBar.ClearTools() crashes OS X app in wxPython 2.8.4
Initial Comment:
This is a new bug for wxPython 2.8.4. It is not present in wxPython 2.8.3. It has been confirmed at two sites running OS X and using python 2.5. It may exist on other platforms as well.
STEPS TO REPRODUCE:
1) Run the attached .py script. It was derived from the ToolBar demo with the following lines added to TestToolBar.__init__():
# ADDED TO TEST CRASH ISSUE WITH wxPython 2.8.4
tb.ClearTools()
tb.Realize()
Here is some info on the crash seen on OSX.
Thread 0 Crashed:
0 <<00000000>> 0x000000ff 0 + 255
1 libwx_macud-2.8.0.dylib 0x021f1f47 wxToolBarBase::DeleteToolByPos(unsigned long) + 139
2 libwx_macud-2.8.0.dylib 0x021f1945 wxToolBarBase::ClearTools() + 45
----------------------------------------------------------------------
>Comment By: Scot Brew (sbrew)
Date: 2008-01-02 12:30
Message:
Logged In: YES
user_id=1749731
Originator: YES
Hi all,
Any updates on a timeframe for when this fatal crash bug should be fixed?
We are frozen on using the 2.8.3 version (last good version) until this
recently introduced issue is addressed.
Many thanks,
Scot
----------------------------------------------------------------------
Comment By: Stefan Csomor (csomor)
Date: 2007-06-27 14:22
Message:
Logged In: YES
user_id=81467
Originator: NO
ok, thanks for checking
Stefan
----------------------------------------------------------------------
Comment By: Robin Dunn (robind)
Date: 2007-06-27 11:15
Message:
Logged In: YES
user_id=53955
Originator: NO
No, it still crashes when ClearTools is called, and it looks like the
crash happens when it gets to a tool that is a wxControl. I think that
what you fixed before was a different problem having to do with the
reference counting of control tools. Here is the top of the stack:
0 <<00000000>> 0x00000000 0 + 0
1 libwx_macud-2.8.0.dylib 0x02123a90 wxToolBar::DoDeleteTool(unsigned
long, wxToolBarToolBase*) + 406 (toolbar.cpp:1683)
2 libwx_macud-2.8.0.dylib 0x021d5d55
wxToolBarBase::DeleteToolByPos(unsigned long) + 189 (tbarbase.cpp:317)
3 libwx_macud-2.8.0.dylib 0x021d62cc wxToolBarBase::ClearTools() + 36
(tbarbase.cpp:417)
4 _controls_.so 0x10482a6f _wrap_ToolBarBase_ClearTools + 187
(_controls_wrap.cpp:24532)
5 org.python.python 0x0020e278 PyObject_Call + 45
(abstract.c:1860)
----------------------------------------------------------------------
Comment By: Stefan Csomor (csomor)
Date: 2007-06-27 09:03
Message:
Logged In: YES
user_id=81467
Originator: NO
I think this one is already solved on WX_2_BRANCH, isn't it Robin ?
Best,
Stefan
----------------------------------------------------------------------
Comment By: Scot Brew (sbrew)
Date: 2007-06-27 07:40
Message:
Logged In: YES
user_id=1749731
Originator: YES
Would it be possible to bump up the priority on this one?
We have an application that crashes with the 2.8.4 (latest version) so
cannot let people download the latest version of wxPython. Preferably we
can keep everyone moving forward and on the latest wxPython version --
seems better for all.
Thank you,
Scot
----------------------------------------------------------------------
Comment By: Scot Brew (sbrew)
Date: 2007-06-08 13:00
Message:
Logged In: YES
user_id=1749731
Originator: YES
Hi Robin,
Can you reproduce this on your side with the attached script?
Please let me know how I can assist.
Thanks,
Scot
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1725207&group_id=9863
More information about the wx-dev
mailing list