[ wxwindows-Bugs-1570171 ] wx.SpinCtrl causes segfault

SourceForge.net noreply at sourceforge.net
Tue Oct 3 11:51:31 PDT 2006


Bugs item #1570171, was opened at 2006-10-03 19:51
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1570171&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: wxGTK specific
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: M. Negovanovic (milosn)
Assigned to: Nobody/Anonymous (nobody)
Summary: wx.SpinCtrl causes segfault

Initial Comment:
Segfault happens on NetBSD with UNICODE builds of
wxGTK-2.6.3 and wxPython-2.6.3.3. For some reason it
doesn't happen with ANSI builds on the same system.

Offending line:

self.spinSize = wx.SpinCtrl(self, -1, "0", min=0,
max=10000)

GDB backtrace:

Program received signal SIGSEGV, Segmentation fault.
0xbba33324 in __fgetwc_unlock () from /usr/lib/libc.so.12
(gdb) bt
#0  0xbba33324 in __fgetwc_unlock () from
/usr/lib/libc.so.12
#1  0xbba2e30d in __vfwscanf_unlocked () from
/usr/lib/libc.so.12
#2  0xbba2df95 in vswscanf () from /usr/lib/libc.so.12
#3  0xbb3edd17 in wxSscanf(wchar_t const*, wchar_t
const*, ...) ()
   from /usr/pkg/lib/libwx_baseu-2.6.so.0
#4  0xbb607275 in wxSpinCtrl::SetValue(wxString const&) ()
   from /usr/pkg/lib/libwx_gtk2u_core-2.6.so.0
#5  0xbb607469 in wxSpinCtrl::Create(wxWindow*, int,
wxString const&, wxPoint const&, wxSize const&, long,
int, int, int, wxString const&) ()
   from /usr/pkg/lib/libwx_gtk2u_core-2.6.so.0
#6  0xba919c0b in _wrap_new_SpinCtrl ()
   from
/usr/pkg/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_controls_.so
#7  0xbbb40f5a in PyCFunction_Call () from
/usr/pkg/lib/libpython2.4.so.1.0
#8  0xbbb19d67 in PyObject_Call () from
/usr/pkg/lib/libpython2.4.so.1.0
#9  0xbbb77655 in PyEval_EvalFrame () from
/usr/pkg/lib/libpython2.4.so.1.0
#10 0xbbb79b89 in PyEval_EvalCodeEx () from
/usr/pkg/lib/libpython2.4.so.1.0

Regards
Milos

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1570171&group_id=9863




More information about the wx-dev mailing list