Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2025-08-26 20:52:51



Reply to topic  [ 52 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
sporadic crash on file dialogue 
Author Message

Joined: 2012-06-01 15:38:17
Posts: 29
Reply with quote
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
Profile

Joined: 2009-03-17 18:42:51
Posts: 6043
Reply with quote
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
Profile WWW

Joined: 2012-06-01 15:38:17
Posts: 29
Reply with quote
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
Profile

Joined: 2009-03-18 09:32:02
Posts: 246
Reply with quote
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
Profile YIM WWW

Joined: 2009-03-18 09:32:02
Posts: 246
Reply with quote
here's a log file of such a freeze...


Attachments:
SecondLife.log.zip [9.96 KiB]
Downloaded 153 times
2013-01-07 15:20:26
Profile YIM WWW

Joined: 2009-03-17 18:42:51
Posts: 6043
Reply with quote
@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
Profile WWW

Joined: 2009-03-18 09:32:02
Posts: 246
Reply with quote
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
Profile YIM WWW

Joined: 2009-03-17 18:42:51
Posts: 6043
Reply with quote
Lance Corrimal wrote:
actually, that workaround does not help 0.o
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
Profile WWW

Joined: 2009-03-18 09:32:02
Posts: 246
Reply with quote
i have oxygen-gtk 1.3.1 here... and none of those variables help.


2013-01-07 17:59:52
Profile YIM WWW

Joined: 2009-03-17 18:42:51
Posts: 6043
Reply with quote
Lance Corrimal wrote:
i have oxygen-gtk 1.3.1 here... and none of those variables help.
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
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 52 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

Who is online

Users browsing this forum: No registered users and 247 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.