Bug 1785233

Summary: Clutter-Conform:ERROR:actor-shader-effect.c:233:paint_cb: assertion failed (get_pixel (50, 50) == 0xff0000): (0 == 16711680)
Product: Red Hat Enterprise Linux 8 Reporter: Bruno Goncalves <bgoncalv>
Component: clutterAssignee: Owen Taylor <otaylor>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.2CC: otaylor, tpelka, tpopela
Target Milestone: rc   
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: clutter-1.26.2-8.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-28 16:10:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bruno Goncalves 2019-12-19 13:17:52 UTC
Description of problem:

Running clutter regression test fails with:
Clutter-Conform:ERROR:actor-shader-effect.c:233:paint_cb: assertion failed (get_pixel (50, 50) == 0xff0000): (0 == 16711680)


Version-Release number of selected component (if applicable):
clutter-1.26.2-6.el8.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Install gnome-desktop-testing framework
dnf install -y git make gcc diffutils autoconf automake libtool glib2-devel systemd-devel xorg-x11-server-Xvfb
git clone https://gitlab.gnome.org/GNOME/gnome-desktop-testing.git
cd gnome-desktop-testing/
./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make
make install

2.install clutter-tests (available in buildroot)
dnf install -y --enablerepo rhel-buildroot clutter-tests

3. run the test
dbus-run-session xvfb-run -a -s '-screen 0 1024x768x24'  gnome-desktop-testing-runner 'clutter'

Actual results:

SUMMARY: total=26; passed=25; skipped=0; failed=1; user=3.3s; system=0.5s; maxrss=92516
FAIL: clutter/actor-shader-effect.test (Child process killed by signal 6)

Comment 1 Bruno Goncalves 2019-12-19 13:23:49 UTC
journalctl -xe show:

systemd-coredump[10816]: Process 10814 (actor-shader-ef) of user 0 dumped core.
    
    Stack trace of thread 10814:
    #0  0x00007f76ff65270f raise (libc.so.6)
    #1  0x00007f76ff63cb25 abort (libc.so.6)
    #2  0x00007f76fff9b003 g_assertion_message.cold.15 (libglib-2.0.so.0)
    #3  0x00007f76ffff431a g_assertion_message_cmpnum (libglib-2.0.so.0)
    #4  0x000055f3b13b1b38 paint_cb (actor-shader-effect)
    #5  0x00007f77006ae616 _g_closure_invoke_va (libgobject-2.0.so.0)
    #6  0x00007f77006caa4c g_signal_emit_valist (libgobject-2.0.so.0)
    #7  0x00007f77006cb043 g_signal_emit (libgobject-2.0.so.0)
    #8  0x00007f77053409cf _clutter_stage_do_paint (libclutter-1.0.so.0)
    #9  0x00007f770534136f _clutter_stage_do_pick (libclutter-1.0.so.0)
    #10 0x00007f770531cfd9 _clutter_input_device_update (libclutter-1.0.so.0)
    #11 0x00007f7705325eec _clutter_process_event (libclutter-1.0.so.0)
    #12 0x00007f770533d2c8 _clutter_stage_process_queued_events (libclutter-1.0.so.0)
    #13 0x00007f77052d1944 clutter_master_clock_gdk_update (libclutter-1.0.so.0)
    #14 0x00007f77006ae3bd g_closure_invoke (libgobject-2.0.so.0)
    #15 0x00007f77006c1945 signal_emit_unlocked_R (libgobject-2.0.so.0)
    #16 0x00007f77006caa06 g_signal_emit_valist (libgobject-2.0.so.0)
    #17 0x00007f77006cb043 g_signal_emit (libgobject-2.0.so.0)
    #18 0x00007f7703a611ad gdk_frame_clock_paint_idle (libgdk-3.so.0)
    #19 0x00007f7703a4b8bc gdk_threads_dispatch (libgdk-3.so.0)
    #20 0x00007f76fffcd141 g_timeout_dispatch (libglib-2.0.so.0)
    #21 0x00007f76fffcc67d g_main_context_dispatch (libglib-2.0.so.0)
    #22 0x00007f76fffcca48 g_main_context_iterate.isra.21 (libglib-2.0.so.0)
    #23 0x00007f76fffccae0 g_main_context_iteration (libglib-2.0.so.0)
    #24 0x000055f3b13b1fd9 actor_shader_effect (actor-shader-effect)
    #25 0x00007f7705342cda clutter_test_func_wrapper (libclutter-1.0.so.0)
    #26 0x00007f76ffff3aba g_test_run_suite_internal (libglib-2.0.so.0)
    #27 0x00007f76ffff3974 g_test_run_suite_internal (libglib-2.0.so.0)
    #28 0x00007f76ffff3d72 g_test_run_suite (libglib-2.0.so.0)
    #29 0x00007f76ffff3d95 g_test_run (libglib-2.0.so.0)
    #30 0x00007f7705343064 clutter_test_run (libclutter-1.0.so.0)
    #31 0x000055f3b13b16a5 main (actor-shader-effect)
    #32 0x00007f76ff63e6a3 __libc_start_main (libc.so.6)
    #33 0x000055f3b13b16de _start (actor-shader-effect)

Comment 3 Bruno Goncalves 2020-02-18 08:48:46 UTC
It seems this issue is fixed with clutter-1.26.2-7.el8.

Is there any reason why this build is part of RHEL-8 composes?

https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=818081

Comment 4 Tomas Pelka 2020-02-18 10:12:38 UTC
(In reply to Bruno Goncalves from comment #3)
> It seems this issue is fixed with clutter-1.26.2-7.el8.
> 
> Is there any reason why this build is part of RHEL-8 composes?
> 
> https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=818081

That is weird, the build has correct tag(s).

Comment 5 Bruno Goncalves 2020-02-19 08:45:13 UTC
My guess is clutter-1.26.2-7.el8 was built after rhel-8.0.0 compose was released, and then it didn't make to any other RHEL-8 release.

If the intention was to ship clutter-1.26.2-7.el8 it probably needs to be added to an errata.

Comment 6 Tomas Pelka 2020-02-19 10:22:41 UTC
(In reply to Bruno Goncalves from comment #5)
> My guess is clutter-1.26.2-7.el8 was built after rhel-8.0.0 compose was
> released, and then it didn't make to any other RHEL-8 release.
> 
> If the intention was to ship clutter-1.26.2-7.el8 it probably needs to be
> added to an errata.

Can you just tag it with rhel-8.2.0-candidate? So I can add it to erratum?

Comment 7 Bruno Goncalves 2020-02-19 13:06:43 UTC
(In reply to Tomas Pelka from comment #6)
> (In reply to Bruno Goncalves from comment #5)
> > My guess is clutter-1.26.2-7.el8 was built after rhel-8.0.0 compose was
> > released, and then it didn't make to any other RHEL-8 release.
> > 
> > If the intention was to ship clutter-1.26.2-7.el8 it probably needs to be
> > added to an errata.
> 
> Can you just tag it with rhel-8.2.0-candidate? So I can add it to erratum?

It seems this is not possible, you would need to have an acked BZ for rhel-8.2.0 (for example get this BZ acked) and create a new build just to bunp the nvr.

Comment 8 Tomas Pelka 2020-02-19 13:10:19 UTC
OK lets bump version and rebuild so gating can pick up and we can add to erratum.

Comment 14 errata-xmlrpc 2020-04-28 16:10:14 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:1766