Hi,
I'm debugging a very odd bug where our application and Google Chrome
somehow end in to a deadlock when running in 64bit Windows 7..
Our application trace indicates that the problem is in wx (trace when
in deadlock):
File: src\robotide\recentfiles\recentfiles.py, line 134, in OnOpenRecent
self.plugin.open_suite(self.path)
File: src\robotide\pluginapi\plugin.py, line 262, in open_suite
self.__frame.open_suite(path)
File: src\robotide\ui\mainframe.py, line 176, in open_suite
self._populate_tree()
File: src\robotide\ui\mainframe.py, line 136, in _populate_tree
self.tree.populate(self._controller)
File: src\robotide\ui\tree.py, line 154, in populate
self._clear_tree_data()
File: src\robotide\ui\tree.py, line 160, in _clear_tree_data
self.DeleteAllItems()
File: C:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\_controls.py, line 548
9, in DeleteAllItems
return _controls_.TreeCtrl_DeleteAllItems(*args, **kwargs)
File: src\robotide\utils\eventhandler.py, line 23, in wrapped
method(self, event)
File: src\robotide\ui\tree.py, line 543, in OnSelChanged
RideTreeSelection(node=node, item=handler.controller, silent=self._silent_mode
).publish()
File: src\robotide\publish\messages.py, line 65, in publish
self._publish(self)
File: src\robotide\publish\messages.py, line 71, in _publish
WxPublisher().sendMessage(msg.topic, msg)
File: C:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\lib\pubsub\pubsub1\pub
.py, line 750, in sendMessage
self.__topicTree.sendMessage(aTopic, message, onTopicNeverCreated)
File: C:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\lib\pubsub\pubsub1\pub
.py, line 423, in sendMessage
deliveryCount += node.sendMessage(message)
File: C:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\lib\pubsub\pubsub1\pub
.py, line 261, in sendMessage
listener(message)
File: src\robotide\publish\publisher.py, line 84, in __call__
self.listener(event.data)
File: src\robotide\editor\__init__.py, line 118, in OnTreeItemSelected
self._show_editor()
File: src\robotide\editor\__init__.py, line 111, in _show_editor
self._editor = self._create_editor()
File: src\robotide\editor\__init__.py, line 115, in _create_editor
return self._creator.editor_for(self, self._tab, self.tree)
File: src\robotide\editor\editorcreator.py, line 66, in editor_for
self._editor = editor_class(plugin, editor_panel, controller, tree)
File: src\robotide\editor\editors.py, line 252, in __init__
_RobotTableEditor.__init__(self, *args)
File: src\robotide\editor\editors.py, line 80, in __init__
self._populate()
File: src\robotide\editor\editors.py, line 346, in _populate
TestCaseFileEditor._populate(self)
File: src\robotide\editor\editors.py, line 332, in _populate
_FileEditor._populate(self)
File: src\robotide\editor\editors.py, line 271, in _populate
self._add_settings()
File: src\robotide\editor\editors.py, line 131, in _add_settings
self._settings = self._create_settings()
File: src\robotide\editor\editors.py, line 140, in _create_settings
editor = settings.create_editor_for(setting)
File: src\robotide\editor\editors.py, line 211, in create_editor_for
return editor_cls(self.GetPane(), controller, self._plugin, self._tree)
File: src\robotide\editor\settingeditors.py, line 41, in __init__
self._create_controls()
File: src\robotide\editor\settingeditors.py, line 54, in _create_controls
self._tooltip = self._get_tooltip()
File: src\robotide\editor\settingeditors.py, line 78, in _get_tooltip
return Tooltip(self, (500, 350))
File: src\robotide\editor\popupwindow.py, line 50, in __init__
self._create_ui(size, detachable, autohide)
File: src\robotide\editor\popupwindow.py, line 58, in _create_ui
handler=self._detach))
File: src\robotide\widgets\button.py, line 23, in __init__
size=(width, height))
File: C:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\_controls.py, line 87,
in __init__
_controls_.Button_swiginit(self,_controls_.new_Button(*args, **kwargs))
Could someone help me where I should look next? And how to debug the
problem from this point on.
Our application is a rather large creature .. thus I think that making
a miniapplication is not the way to go.
RIDE source code is located at https://github.com/robotframework/RIDE
And the issue in our issue tracker ( verified by a large set of users
) : http://code.google.com/p/robotframework-ride/issues/detail?id=714
Kind Regads,
Mikko Korpela