Repository navigation
Description
On my linux machine:
in grid editor click on empty cell (only select without activate editing)
hit ctrl + space (or ctrl + shift + space) to invoke keyword suggests
without start typing enything click on another cell (other that the one you have selected)
An recursive function call occure leading Ride to crash (stack overflow).
File "/home/marian/Projects/RIDE/src/robotide/editor/kweditor.py", line 238 in _execute
File "/home/marian/Projects/RIDE/src/robotide/editor/kweditor.py", line 428 in cell_value_edited
File "/home/marian/Projects/RIDE/src/robotide/editor/kweditor.py", line 993 in ApplyEdit
File "/home/marian/Projects/RIDE/src/robotide/editor/kweditor.py", line 379 in _write_steps
File "/home/marian/Projects/RIDE/src/robotide/editor/kweditor.py", line 372 in _data_changed
File "/home/marian/Projects/RIDE/src/robotide/publish/publisher.py", line 103 in call
File "/home/marian/Projects/RIDE/src/robotide/publish/publisher.py", line 56 in _sendMessage
File "/home/marian/Projects/RIDE/src/robotide/publish/publisher.py", line 34 in publish
File "/home/marian/Projects/RIDE/src/robotide/publish/messages3.py", line 77 in _publish
File "/home/marian/Projects/RIDE/src/robotide/publish/messages3.py", line 69 in publish
File "/home/marian/Projects/RIDE/src/robotide/controller/macrocontrollers.py", line 309 in _notify
File "/home/marian/Projects/RIDE/src/robotide/controller/macrocontrollers.py", line 305 in notify_steps_changed
File "/home/marian/Projects/RIDE/src/robotide/controller/ctrlcommands.py", line 260 in _execute
File "/home/marian/Projects/RIDE/src/robotide/controller/ctrlcommands.py", line 195 in _execute_without_redo_clear
File "/home/marian/Projects/RIDE/src/robotide/controller/ctrlcommands.py", line 190 in execute
File "/home/marian/Projects/RIDE/src/robotide/controller/basecontroller.py", line 27 in execute
File "/home/marian/Projects/RIDE/src/robotide/editor/kweditor.py", line 238 in _execute
File "/home/marian/Projects/RIDE/src/robotide/editor/kweditor.py", line 428 in cell_value_edited
File "/home/marian/Projects/RIDE/src/robotide/editor/kweditor.py", line 993 in ApplyEdit
File "/home/marian/Projects/RIDE/src/robotide/editor/kweditor.py", line 379 in _write_steps
File "/home/marian/Projects/RIDE/src/robotide/editor/kweditor.py", line 372 in _data_changed
File "/home/marian/Projects/RIDE/src/robotide/publish/publisher.py", line 103 in call
File "/home/marian/Projects/RIDE/src/robotide/publish/publisher.py", line 56 in _sendMessage
File "/home/marian/Projects/RIDE/src/robotide/publish/publisher.py", line 34 in publish
File "/home/marian/Projects/RIDE/src/robotide/publish/messages3.py", line 77 in _publish
File "/home/marian/Projects/RIDE/src/robotide/publish/messages3.py", line 69 in publish
File "/home/marian/Projects/RIDE/src/robotide/controller/macrocontrollers.py", line 309 in _notify
File "/home/marian/Projects/RIDE/src/robotide/controller/macrocontrollers.py", line 305 in notify_steps_changed
File "/home/marian/Projects/RIDE/src/robotide/controller/ctrlcommands.py", line 260 in _execute
File "/home/marian/Projects/RIDE/src/robotide/controller/ctrlcommands.py", line 195 in _execute_without_redo_clear
File "/home/marian/Projects/RIDE/src/robotide/controller/ctrlcommands.py", line 190 in execute
File "/home/marian/Projects/RIDE/src/robotide/controller/basecontroller.py", line 27 in execute
File "/home/marian/Projects/RIDE/src/robotide/editor/kweditor.py", line 238 in _execute
File "/home/marian/Projects/RIDE/src/robotide/editor/kweditor.py", line 428 in cell_value_edited
File "/home/marian/Projects/RIDE/src/robotide/editor/kweditor.py", line 993 in ApplyEdit
File "/home/marian/Projects/RIDE/src/robotide/editor/kweditor.py", line 379 in _write_steps
File "/home/marian/Projects/RIDE/src/robotide/editor/kweditor.py", line 372 in _data_changed
File "/home/marian/Projects/RIDE/src/robotide/publish/publisher.py", line 103 in call
...
Process finished with exit code 134 (interrupted by signal 6: SIGABRT)
Activity
2Eagle2 commentedon Jul 9, 2019
confirm that it affect windows version too, but not always lead to Ride crash (but stack overflow occur always)
HelioGuilherme66 commentedon Jul 20, 2019
I reproduced on Windows 7, crash with python 3.7.1 but not with python 2.7.13 (there is some flickering on the cell). We can see in RIDE log:
Nyral commentedon Jul 28, 2019
This crash has been introduced by this PR: https://github.com/robotframework/RIDE/pull/1901/files (to fix a windows 10 issue).
If
self._tc.SetFocus()is not called, then crash occurs. I suggest rolling back the changes for the next release.