Author |
Message |
Andabata Thor
Joined: 2012-06-01 15:38:17 Posts: 29
|
After an impressive serie of crashes trying to take snapshots by CoolVLViewer-1.26.4.38-Linux as soon as i gave "save" on the dialog window button, I erased the rpm "oxygen-gtk2," a package to ensure visual consistency between gtk-based and qt-based applications running under KDE, and so I resolved the nasty problem. Since recompiling oxygen-gtk2 from sources doesn't help, now I have to understand because this happens with the last versions of CoolVLViewer and not with other, gtk-based applications as Gimp, Firefox, Emacs...
|
2012-11-12 18:30:35 |
|
 |
Henri Beauchamp
Joined: 2009-03-17 18:42:51 Posts: 6043
|
I don't know anything about oxygen-gtk2, but if it's a GTK theme module, then you must ensure that the corresponding icon files are loaded. Searching for "oxygen-gtk2 crashes", I stumbled upon this page (search for "crash" in it); apparently, the viewer is not the only affected program... See also this page, for example. As for the reason why viewers using tcmalloc are (apparently) not affected by the crash, it's just because the GTK+ bug that causes bad allocations (or, more likely, bad free() calls) with non existent icons is "hidden" (trapped) by tcmalloc's memory allocation routines.
|
2012-11-12 19:52:25 |
|
 |
Andabata Thor
Joined: 2012-06-01 15:38:17 Posts: 29
|
Perfect explanation. I have filed the bug for oxygen-gtk2 rpm and a quick workaround is to set the enviroment variable "export OXYGEN_ARGB_DEBUG" before launching Cool Vl Viewer.
|
2012-11-13 10:55:52 |
|
 |
Lance Corrimal
Joined: 2009-03-18 09:32:02 Posts: 246
|

Whenever the Cool VL Viewer tries to open a file requester (uploads, snapshot to disk), it freezes up completely.
on the console, it prints:
2013-01-07T14:46:27Z INFO: beforeDialog: LLWindowSDL::beforeDialog()
(cool_vl_viewer-bin:22910): GdkPixbuf-WARNING **: Bug! gdk-pixbuf loader 'png' didn't set an error on failure.
(cool_vl_viewer-bin:22910): Gtk-WARNING **: Error loading icon: Failed to load image '/usr/share/icons//oxygen/16x16/actions/edit-find.png': reason not known, probably a corrupt image file
(cool_vl_viewer-bin:22910): GdkPixbuf-WARNING **: Bug! gdk-pixbuf loader 'png' didn't set an error on failure.
(cool_vl_viewer-bin:22910): Gtk-WARNING **: Error loading icon: Failed to load image '/usr/share/icons//oxygen/16x16/actions/edit-find.png': reason not known, probably a corrupt image file
(cool_vl_viewer-bin:22910): GdkPixbuf-WARNING **: Bug! gdk-pixbuf loader 'png' didn't set an error on failure.
(cool_vl_viewer-bin:22910): Gtk-WARNING **: Error loading icon: Failed to load image '/usr/share/icons//oxygen/16x16/actions/document-properties.png': reason not known, probably a corrupt image file
(cool_vl_viewer-bin:22910): GdkPixbuf-WARNING **: Bug! gdk-pixbuf loader 'png' didn't set an error on failure.
(cool_vl_viewer-bin:22910): Gtk-WARNING **: Error loading icon: Failed to load image '/usr/share/icons//oxygen/16x16/actions/document-properties.png': reason not known, probably a corrupt image file
(cool_vl_viewer-bin:22910): GdkPixbuf-WARNING **: Bug! gdk-pixbuf loader 'png' didn't set an error on failure.
(cool_vl_viewer-bin:22910): Gtk-WARNING **: Error loading icon: Failed to load image '/usr/share/icons//oxygen/16x16/places/folder.png': reason not known, probably a corrupt image file
(cool_vl_viewer-bin:22910): GdkPixbuf-WARNING **: Bug! gdk-pixbuf loader 'png' didn't set an error on failure.
(cool_vl_viewer-bin:22910): Gtk-WARNING **: Error loading icon: Failed to load image '/usr/share/icons//oxygen/16x16/places/folder.png': reason not known, probably a corrupt image file
(cool_vl_viewer-bin:22910): GLib-CRITICAL **: PCRE library is compiled without UTF8 support
any hints?
|
2013-01-07 14:49:23 |
|
 |
Lance Corrimal
Joined: 2009-03-18 09:32:02 Posts: 246
|
here's a log file of such a freeze...
|
2013-01-07 15:20:26 |
|
 |
Henri Beauchamp
Joined: 2009-03-17 18:42:51 Posts: 6043
|
@Lance. It's a known bug of GTK2 "Oxygen" module. It's *not* a Cool VL Viewer bug. I merged your bug report with the existing one (please, check for existing reports before opening a new one). The workaround is described above.
|
2013-01-07 16:01:54 |
|
 |
Lance Corrimal
Joined: 2009-03-18 09:32:02 Posts: 246
|
actually, that workaround does not help here...
Last edited by Lance Corrimal on 2013-01-07 16:41:14, edited 1 time in total.
|
2013-01-07 16:37:43 |
|
 |
Henri Beauchamp
Joined: 2009-03-17 18:42:51 Posts: 6043
|
Add "export OXYGEN_ARGB_DEBUG=1" in the cool_vl_viewer wrapper script, and make sure that you got a recent version of oxygen-gtk2 (old versions may not have that OXYGEN_ARGB_DEBUG switch implemented). Other, potentially helpful environment variables are: OXYGEN_DISABLE_ARGB_HACK and OXYGEN_DEBUG. See this commit. If all these fail, simply uninstall the buggy oxygen-gtk2 module !
|
2013-01-07 16:40:42 |
|
 |
Lance Corrimal
Joined: 2009-03-18 09:32:02 Posts: 246
|
i have oxygen-gtk 1.3.1 here... and none of those variables help.
|
2013-01-07 17:59:52 |
|
 |
Henri Beauchamp
Joined: 2009-03-17 18:42:51 Posts: 6043
|
Like I already wrote: "If all these fail, simply uninstall the buggy oxygen-gtk2 module !" If you are not convinced about how problematic is this utterly buggy module, then just try a search for oxygen gtk crash...
|
2013-01-07 19:36:42 |
|
|