Both zotero and oxygen-gtk2 are installed from the repos. Zotero crashes when trying to display a menu. Output to stderr: ###!!! ABORT: X_CreatePixmap: BadAlloc (insufficient resources for operation); 4 requests ago: file /builds/slave/rel-m-rel-xr_l64_bld-000000000/build/toolkit/xre/nsX11ErrorHandler.cpp, line 157 ###!!! ABORT: X_CreatePixmap: BadAlloc (insufficient resources for operation); 4 requests ago: file /builds/slave/rel-m-rel-xr_l64_bld-000000000/build/toolkit/xre/nsX11ErrorHandler.cpp, line 157 Segmentation fault (core dumped) Reproducible: Always Steps to Reproduce: 1. Use the oxygen-gtk theme 2. Launch zotero-standalone 3. Click on any item in the main menu bar, or any tool button in the tool bar which shall show a pop up menu, or right-click on any bibliography entry to show the context menu Actual Results: The background and shadow of the menu is drawn, but before any menu item texts and icons are drawn, zotero crashes. Expected Results: Menu displays properly, no crashes.
Not sure if it's a bug in oxygen-gtk2 or in zotero. But when using other gtk2 themes (e.g. QtCurve), everything works, no crashes.
Could you post a backtrace of the crash?
Created attachment 82093 [details] patch
Patch fixes it. (as expected: just XULify zotero) @Ruslan, would be awesome if we could find a way to automatically detect XUL applications. not sure how though. I'll try to think about it. @Yang Su: any chance you can test the patch on oxygen-gtk (either from master or 1.4.0 version), before I push it ?
Git commit fff7da1eca2b41f2190a848122fc5f8a3c9fef91 by Hugo Pereira Da Costa. Committed on 01/09/2013 at 19:17. Pushed by hpereiradacosta into branch '1.4'. Mark zotero as an XUL application. M +1 -0 src/oxygenapplicationname.cpp http://commits.kde.org/oxygen-gtk/fff7da1eca2b41f2190a848122fc5f8a3c9fef91
Git commit 89bb8f44ae4591e4d1e89ab50cab103cff0b43ef by Hugo Pereira Da Costa. Committed on 01/09/2013 at 19:17. Pushed by hpereiradacosta into branch 'master'. Mark zotero as an XUL application. M +1 -0 src/oxygenapplicationname.cpp http://commits.kde.org/oxygen-gtk/89bb8f44ae4591e4d1e89ab50cab103cff0b43ef
ok. In fact I pushed already to both master and 1.4 branch change will be available in next release (1.4.1)
Tested the master version, worked fine. Thanks for the fix.
ok. So closing.