<div dir="ltr">Hi all, I wanted to share this small example program that will segfault.<div><br></div><div style>The newest PyQt I have been able to test it with PyQt 4.10 / Qt 4.8.4, so I don't know if it has been fixed already.</div>

<div style><br></div><div style>In boils down to trying to add a new action to a submenu of a menu attached to a widget that has been deleted. We're having this problem due to some asynchronous RPC and getting results back after a user has caused the widget to go away.</div>

<div style><br></div><div style>If anyone can try this in a newer PyQt to see if it still crashes, I would appreciate it.</div><div style><br></div><div style>Thanks,</div><div style><br></div><div style>Robert</div></div>