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 364959 - Critical and failure trying to show an image
Critical and failure trying to show an image
Status: RESOLVED FIXED
Product: totem
Classification: Core
Component: GStreamer backend
2.17.x
Other Linux
: Normal normal
: ---
Assigned To: Maintainer alias for GStreamer component of Totem
Maintainer alias for GStreamer component of Totem
Depends on:
Blocks:
 
 
Reported: 2006-10-25 11:00 UTC by Bastien Nocera
Modified: 2008-02-15 12:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2006-10-25 11:00:40 UTC
When trying to show that image, I get an awful lot of:

$ ./bvw-test http://pancrace.tv/picts/PANCRACE-TV.jpg
The program 'bvw-test' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 49 error_code 3 request_code 3 minor_code 0)
  (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.)

Or, more rarely:
$ ./bvw-test http://pancrace.tv/picts/PANCRACE-TV.jpg

(bvw-test:4767): GStreamer-CRITICAL **: gst_value_set_fraction: assertion `denominator != 0' failed

** (bvw-test:4767): CRITICAL **: gst_video_calculate_display_ratio: assertion `num > 0' failed
Comment 1 Tim-Philipp Müller 2008-02-15 12:49:50 UTC
The warning is fixed now:

 2008-02-15  Tim-Philipp Müller  <tim at centricular dot net>

        * src/backend/bacon-video-widget-gst-0.10.c: (get_media_size):
          Fix "gst_value_set_fraction: assertion `denominator != 0' failed"
          warning in case we don't have width/height yet (Closes: #516653)


Can't reproduce the BadWindow thing any more, so will just assume it's fixed (there have been a good bunch of possibly related fixes in the gst backend and in x*imagesink).