Re: GridTableBase segfault crashes on macos/windows
Vadim Zeitlin <[email protected]> Tue, 8 Apr 2025 14:11:31 +0200
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 7 Apr 2025 01:11:11 +1000 'raf' via wx-users wrote:
r> I've converted a wxPython app from
r> python-2.7/wxPython-2.8.12.1 to
r> python3.12/wxPython-4.2.2 and we're seeing lots of
r> segfault crashes when using a grid (GridTableBase, was
r> PyGridTableBase). Has anyone seen such grid crashes?
Hello,
I'm not aware of any crashes in wxGrid.
r> If someone is willing to look at it, I'll construct
r> smallish example code, but it probably won't be tiny.
I'm afraid you would need to debug this yourself. The first step would be
to build a version of wxWidgets with the debug symbols, so that you could
get some more useful information out of the stack trace.
r> My grids have extra behaviour to make cell editing very
r> automatic and keyboard-efficient.
It's possible that this somehow breaks wxGrid assumptions and results in
dereferencing an invalid pointer in DoHideCellEditControl(). But it would
be really better to just see where exactly it crashes rather than try to
guess.
r> I noticed that there was a recent release of wxWidgets.
r> Maybe it contains fixes that would help. Any idea when
r> the new version of wxWidgets will make its way into a
r> new version of wxPython?
No, sorry. This would be a question for the wxPython developers.
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
https://www.tt-solutions.com/
signature.asc
(application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQQx+vLQdOwioQqkxtoG6kHeT2wehgUCZ/UScwAKCRAG6kHeT2we hrDCAJ9O99Czm1A4iX4o/RTmx69XkeKaQQCdGyeG5qskvgctxi+8uZmBUFJEZXs= =lXyi -----END PGP SIGNATURE-----