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 550667 - Cheese assert failure: GStreamer-CRITICAL **: gst_util_uint64_scale_int: assertion `denom > 0' failed
Cheese assert failure: GStreamer-CRITICAL **: gst_util_uint64_scale_int: asse...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.8
Other All
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-09-03 13:53 UTC by Andre Robatino
Modified: 2009-01-09 22:59 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Andre Robatino 2008-09-03 13:53:12 UTC
Please describe the problem:
When running cheese in 32-bit Fedora 9 from the Fedora repo, the above mentioned assert error appears.  I reported this earlier in

 https://bugzilla.redhat.com/show_bug.cgi?id=459759

Steps to reproduce:
1. Run cheese from the command line.


Actual results:
Above-mentioned assert error appears, multiple times.

Expected results:


Does this happen every time?
yes

Other information:
Comment 1 Tim-Philipp Müller 2008-09-03 19:31:43 UTC
Could you run this in a terminal:

 $ G_DEBUG=fatal_warnings gdb python --args /usr/bin/cheese
 ... wait for first warning ...
 (gdb) bt
 ... output ...
 (gdb) kill
 (gdb) quit

and show us the output (preferably all of it)? This is probably a lot more informative if you have debugging symbols for gstreamer installed

Also, the latest version of gst-plugins-good is 0.10.10, any chance you could try with that (if it's available in a fedora-updates repo somewhere)?
Comment 2 Andre Robatino 2008-09-03 20:13:01 UTC
[andre@localhost ~]$ G_DEBUG=fatal_warnings gdb python --args /usr/bin/cheese
GNU gdb Fedora (6.8-17.fc9)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
(no debugging symbols found)
Missing separate debuginfos, use: debuginfo-install cheese.i386
(gdb) quit
[andre@localhost ~]$

After running "debuginfo-install cheese.i386" to install a bunch of debuginfo packages and trying again, I got

[andre@localhost ~]$ G_DEBUG=fatal_warnings gdb python --args /usr/bin/cheese
GNU gdb Fedora (6.8-17.fc9)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
(gdb) run
Starting program: /usr/bin/cheese 
[Thread debugging using libthread_db enabled]
[New Thread 0xb7ee0760 (LWP 29258)]
Detaching after fork from child process 29261.
[New Thread 0xb63c5b90 (LWP 29262)]
[New Thread 0xb59c4b90 (LWP 29263)]

GStreamer-CRITICAL **: gst_value_set_fraction: assertion `denominator != 0' failed
aborting...

Program received signal SIGABRT, Aborted.

Thread 3057408912 (LWP 29262)

  • #0 __kernel_vsyscall
  • #1 raise
    at ../nptl/sysdeps/unix/sysv/linux/raise.c line 64
  • #2 abort
    at abort.c line 88
  • #3 IA__g_logv
    at gmessages.c line 497
  • #4 IA__g_log
    at gmessages.c line 517
  • #5 IA__g_return_if_fail_warning
    at gmessages.c line 532
  • #6 gst_value_set_fraction
    at gstvalue.c line 3433
  • #7 gst_color_balance_channel_get_type
    at colorbalancechannel.c line 45
  • #8 gst_color_balance_channel_get_type
    at colorbalancechannel.c line 45
  • #9 gst_base_src_setcaps
    at gstbasesrc.c line 653
  • #10 gst_pad_set_caps
    at gstpad.c line 2383
  • #11 gst_base_src_default_negotiate
    at gstbasesrc.c line 2238
  • #12 gst_base_src_start
  • #13 gst_base_src_activate_push
    at gstbasesrc.c line 2505
  • #14 gst_pad_activate_push
    at gstpad.c line 896
  • #15 gst_pad_activate_default
    at gstpad.c line 569
  • #16 gst_pad_set_active
    at gstpad.c line 658
  • #17 activate_pads
    at gstelement.c line 2509
  • #18 gst_iterator_fold
    at gstiterator.c line 503
  • #19 iterator_activate_fold_with_resync
    at gstelement.c line 2541
  • #20 gst_element_pads_activate
    at gstelement.c line 2577
  • #21 gst_element_change_state_func
    at gstelement.c line 2651
  • #22 gst_base_src_change_state
    at gstbasesrc.c line 2642
  • #23 gst_element_change_state
    at gstelement.c line 2425
  • #24 gst_element_set_state_func
    at gstelement.c line 2375
  • #25 gst_element_set_state
    at gstelement.c line 2278
  • #26 gst_bin_change_state_func
    at gstbin.c line 1933
  • #27 gst_pipeline_change_state
    at gstpipeline.c line 463
  • #28 gst_element_change_state
    at gstelement.c line 2425
  • #29 gst_element_continue_state
    at gstelement.c line 2132
  • #30 gst_element_change_state
    at gstelement.c line 2462
  • #31 gst_element_set_state_func
    at gstelement.c line 2375
  • #32 gst_element_set_state
    at gstelement.c line 2278
  • #33 cheese_webcam_setup
    at cheese-webcam.c line 487
  • #34 setup_camera
    at cheese-window.c line 1185
  • #35 g_thread_create_proxy
    at gthread.c line 635
  • #36 start_thread
    at pthread_create.c line 297
  • #37 clone
    from /lib/libc.so.6
Kill the program being debugged? (y or n) y
(gdb) quit
[andre@localhost ~]$

There's no easy way to update gstreamer-plugins-good - it's not in the updates-testing repo, and I don't want to update the whole OS to Rawhide.
Comment 3 Andre Robatino 2008-12-17 16:29:27 UTC
Cheese seems to work normally, without any assert messages, in 64-bit F10 (with gstreamer-plugins-good-0.10.11-1.fc10.x86_64).  Haven't checked i386. Closing.