crash when pushing with mercurial_keyring
Created originally on Bitbucket by Gurce (Gurce Isikyildiz)
Hi,
I'm on OpenSuse11.4+KDE, using thg-2.4.2. I managed to install the mercurial_keyring add-on, and it pushes fine from the command-line via kde-wallet, but when I try pushing from within thg, it crashes.
It reminds me of a similar issue mentioned at: https://bitbucket.org/tortoisehg/hgtk/issue/1437/gui-freeze-on-suse-linux-after-using
I pondered grafting the patch mentioned there into "backend.py", but it seems as though code similar to that suggested is already in there in the latest keyring code.
There is similar looking error output at the console as was mentioned in that thread too:
{{{ #!python
QPixmap: It is not safe to use pixmaps outside the GUI thread QPixmap: It is not safe to use pixmaps outside the GUI thread QPixmap: It is not safe to use pixmaps outside the GUI thread QPixmap: It is not safe to use pixmaps outside the GUI thread QPixmap: It is not safe to use pixmaps outside the GUI thread QPixmap: It is not safe to use pixmaps outside the GUI thread QPixmap: It is not safe to use pixmaps outside the GUI thread }}}
I don't know a great deal about python, but I did my best to google around for how to get some sort of trace info.
Via the method mentioned here (which seems to produce a lot of output!): http://stackoverflow.com/questions/2663841/python-tracing-a-segmentation-fault
I managed to capture the activity towards the point of the crash:
line, /home/gurce/tortoisehg-2.4.2/tortoisehg/hgqt/repoview.py:330 line, /home/gurce/tortoisehg-2.4.2/tortoisehg/hgqt/repoview.py:337 QPixmap: It is not safe to use pixmaps outside the GUI thread QPixmap: It is not safe to use pixmaps outside the GUI thread return, /home/gurce/tortoisehg-2.4.2/tortoisehg/hgqt/repoview.py:337
Thanks for any help on this.