Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tree View] Segmentation fault (core dumped) after pressing the ESC key while editing names of test suite/case/keyword #2838

Open
ZDabrowski opened this issue Aug 1, 2024 · 2 comments
Labels
CURRENT DEVELOPMENT duplicate Duplicated issue ThirdParty Not RIDE's fault, but wxPython, Python, other libraries...

Comments

@ZDabrowski
Copy link
Collaborator

After pressing the ESC key to cancel editng names of test suites/cases/keywords in a Tree View, RIDE closed with the segmentation fault.

Environment
Python 3.10.12
wxPython 4.2.1
robotframework 6.0.2
robotframework-ride 2.1.dev61
Ubuntu 22.04.4 LTS

Steps

  1. Edit keyword name in a Tree View (F2)
    obraz
  2. Press ESC key to cancel editing:
    [1]+ Segmentation fault (core dumped) ride.py
@HelioGuilherme66
Copy link
Member

@ZDabrowski This seems to be a problem with wxPython/wxWidgets library.

It did not crash on my system but the error is visible:

(__init__.py:8040): GLib-GObject-CRITICAL **: 19:11:24.153: ../gobject/gsignal.c:2585: instance '0x556068ee4ef0' has no handler with id '65536'
Traceback (most recent call last):
  File "/usr/lib64/python3.12/site-packages/wx/lib/agw/customtreectrl.py", line 1496, in OnChar
    self.StopEditing()
  File "/usr/lib64/python3.12/site-packages/wx/lib/agw/customtreectrl.py", line 1554, in StopEditing
    self.Finish()
  File "/usr/lib64/python3.12/site-packages/wx/lib/agw/customtreectrl.py", line 1471, in Finish
    self._owner.ResetEditControl()
  File "/usr/lib64/python3.12/site-packages/wx/lib/agw/customtreectrl.py", line 4975, in ResetEditControl
    self._editCtrl.Destroy()
wx._core.wxAssertionError: C++ assertion "m_inKeyPress" failed at ../src/gtk/textentry.cpp(77) in EndHandlingKeyPressAndCheckIfPending(): 

Environment
Python 3.12.4
wxPython 4.2.1
robotframework 7.0.1
robotframework-ride 2.1.dev61
Fedora 40

@HelioGuilherme66 HelioGuilherme66 added ThirdParty Not RIDE's fault, but wxPython, Python, other libraries... CURRENT DEVELOPMENT labels Aug 3, 2024
@ZDabrowski
Copy link
Collaborator Author

@HelioGuilherme66, noticed that this bug was already reported in the #2718

@HelioGuilherme66 HelioGuilherme66 added the duplicate Duplicated issue label Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CURRENT DEVELOPMENT duplicate Duplicated issue ThirdParty Not RIDE's fault, but wxPython, Python, other libraries...
Projects
None yet
Development

No branches or pull requests

2 participants