After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 738224 - GNOME-Subtitle crashes upon loading videos
GNOME-Subtitle crashes upon loading videos
Status: RESOLVED DUPLICATE of bug 623646
Product: gnome-subtitles
Classification: Other
Component: general
1.3
Other Linux
: Normal normal
: ---
Assigned To: Maintainers of GNOME subtitles
Maintainers of GNOME subtitles
Depends on:
Blocks:
 
 
Reported: 2014-10-09 11:54 UTC by Osama Khalid
Modified: 2015-01-18 22:42 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Osama Khalid 2014-10-09 11:54:39 UTC
On my Fedora 20 setup, I cannot load any video into gnome-subtitles.  I tried the following:
1) Install the official package using: # yum install gnome-subtitles
2) $ gnome-subtitles
3) Video -> Open
4) The program suddenly crashes.
5) In the terminal, I see the following:

----------
$ gnome-subtitles 
Got 7 languages.
Got video duration: 00:05:45.3120000

(gnome-subtitles:1522): Gdk-ERROR **: 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 32 error_code 8 request_code 148 minor_code 13)
  (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.)
Trace/breakpoint trap (core dumped)
----------

I tried XVid4, WebM and OGG videos, but none worked.

I also tried reinstalling gnome-subtitles and gstreamer, but this didn't solve the issue.

Please also note that totem works just fine.
Comment 1 Pedro Castro 2015-01-15 20:48:25 UTC
Osama, there were reports before on crashes like these when RGBA was enabled. Do you know if you have RGBA enabled?

Even if you don't, you can try disabling it for Gnome Subtitles to see if it solves your problem. This is done by adding the following 2 lines to ~/.profile:

export GTK_MODULES=rgba
export GTK_RGBA_APPS=allbut:gnome-subtitles
Comment 2 Osama Khalid 2015-01-18 09:22:30 UTC
Oh,nice. Adding theses two lines did solve the issue.  It no longer crashes.  Is this already reported?
Comment 3 Pedro Castro 2015-01-18 22:42:29 UTC
That's great, thanks for the feedback. This has been reported before in bug #623646, so I'm marking this one as a duplicate.

*** This bug has been marked as a duplicate of bug 623646 ***