Uh, thanks for the detailed stack trace. This might be caused by a bug in your gtk2 version, you have 2.22.0. Is there any possibility to upgrade to a newer version of gtk2, like gtk-2.22.1 (released on 15-Nov-2010)? We haven't heard of problems in this area of gnucash for quite some time, so I agree with Akhil this is very probable not caused by gnucash program code.
Uh, thanks for the detailed stack trace. This might be caused by a bug in your gtk2 version, you have 2.22.0. Is there any possibility to upgrade to a newer version of gtk2, like gtk-2.22.1 (released on 15-Nov-2010)? We haven't heard of problems in this area of gnucash for quite some time, so I agree with Akhil this is very probable not caused by gnucash program code.