GNOME Bugzilla – Bug 623646
Crash when RGBA is enabled
Last modified: 2018-09-21 16:07:34 UTC
(this bug was first reported on Launchpad : https://bugs.launchpad.net/ubuntu/+sour … bug/602094) Binary package hint: gnome-subtitles - I launch 'gnome-subtitles' in a terminal - if I modify a .srt file, I have no problem - but when I select a sub-title located in a folder with a video, this video having the same name as my sub-tittle (which allows me to launch the video and the sub-title at the same time, without changing the subtitle), then gnome-subtitles crashes with the following log : tony@tony-laptop:~$ gnome-subtitles progname=gnome-subtitles; RGBA=on Got 12 languages. (gnome-subtitles:7548): Gtk-WARNING **: Attempting to read the recently used resources file at `/home/tony/.recently-used.xbel', but the parser failed: Erreur de lecture du fichier « /home/tony/.recently-used.xbel » : est un dossier. Detected encodings: windows-1252 Trying the encoding Windows-1252 Trying to autodetect the subtitle format. [*] opened /home/tony/Bureau/Lost/Saison 2/Episode 16/Lost - S02E16 - The Whole Truth.srt with encoding I18N.West.CP1252 and format SubRip Got video info: width=608, height=336, aspect_Ratio=1,809524, frame_rate=23,97602, has_audio=True, has_video=True Got video duration: 00:42:12.2880000 The program 'gnome-subtitles' received an X Window System error. This probably reflects a bug in the program. The error was 'BadMatch (invalid parameter attributes)'. (Details: serial 53 error_code 8 request_code 132 minor_code 19) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) Same log if I launch with the following command-line: $ gnome-subtitles --sync Remark : this crash happens only recently, as before i could do this operation without any problem. I did not install anything that could do this bug. ProblemType: Bug DistroRelease: Ubuntu 10.04 Package: gnome-subtitles 0.9.1-2 ProcVersionSignature: Ubuntu 2.6.32-23.37-generic 2.6.32.15+drm33.5 Uname: Linux 2.6.32-23-generic i686 Architecture: i386 Date: Tue Jul 6 03:50:44 2010 InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429) ProcEnviron: LANG=fr_FR.utf8 SHELL=/bin/bash SourcePackage: gnome-subtitles
original bug report on Launchpad : https://bugs.launchpad.net/gnome-subtitles/+bug/602094
Hi, and thanks for the bug report. I have some questions: 1) Are you opening the file directly from nautilus or using File->Open? 2) If you open just the subtitle file, and then open the video separately, will it crash opening the video? 3) Does the error occur if you disable the "Automatically Choose Video to Open" option in the Preferences?
1) File -> Open 2) Yes 3)If I desable this option and then open the video : crash
Ok, very good. Is Totem Movie Player working correctly? Please try reinstalling the gnome-subtitles package. If that doesn't work, try reinstalling libgstreamer-plugins-base0.10 and libgstreamer0.10. This really looks like an installation issue.
Totem works correctly. After reinstalling ... always broken ...
Googling a bit found this link which may be the same problem: http://ohioloco.ubuntuforums.org/showthread.php?p=9307478 Please try running gnome-subtitles as root to see if it works. If yes, this "RGBA" thing needs to be investigated, and why it's not working with gnome-subtitles+gstreamer.
As root, it works !! What do I do now ? Waiting ? ^^
According to this page (https://wiki.ubuntu.com/DesktopTeam/RgbaGtkWithPPA/), it seems RGBA in Gnome isn't stable yet, as many applications are crashing. Also: Q: Why doesn't Totem run with RGBA? A: Because it has an embedded (gstreamer) window. Most applications with embedded windows don't seem to work well with RGBA. There seems to be a fix implemented in Totem though, in bug #618597. On the meanwhile, the best will be to either disable RGBA or add gnome-subtitles to its blacklist, as mentioned in the thread I posted before.
Hi, sorry, Cakekong and i don't understand this RBA thing. Is it installed by default in Lucid ? If not, then I suppose that Cakekong does not have to disable or blacklist it. If yes, how to disable or blacklist it ? I found "add it to your RGBA blacklist in ~/.profile" (in this post: http://ohioloco.ubuntuforums.org/showpost.php?p=9307583&postcount=16), but I could not find any .profile file in my home or system.
RGBA isn't installed by default in lucid, have you checked for any installed packages containing "rgba" on their names?
I just checked with Synaptic, there is no Lucid package with "rgba" in its name.
Do you have gnome-color-chooser installed? If affirmative, according to https://wiki.ubuntu.com/DesktopTeam/LucidRgbaGtk there should be an option under the theme Preferences to enable or disable RGBA.
Don't work ...
Try taking a look at the "/etc/profile.d/gtkrgba.sh" file, in case you have it. Other than that, I suggest you try the Ubuntu forums, they should have knowledge on RGBA.
According to a comment on bug #738224, adding the following lines to ~/.profile prevents Gnome Subtitles from crashing when the crash is due to RGBA: export GTK_MODULES=rgba export GTK_RGBA_APPS=allbut:gnome-subtitles
*** Bug 738224 has been marked as a duplicate of this bug. ***
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-subtitles/issues/46.