Hi!

I had a look at bug 1119: double-clicking on citation reference causes crash (Qt).

Of course you shouldn't double-click on those insets, once is enough.
Still, a LyX crash is a severe punishment for this user-misbehaviour ;-)

So I have a theory what causes this bug:
        frontends/Dialogs::show(...) is not threadsafe.

Why do I think LyX is multithreaded? Well, not strictly, but the method
sync_events() can cause similar effects. What I haven't figured out yet is the
exact sequence which could cause this crash, but the following micro-patch repairs
this bug for me.
Could someone else verify this?

Thanks
/Andreas

Attachment: dialog-sync.diff
Description: Binary data





Reply via email to