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 652036 - crash in clutter_actor_get_stage_interna at clutter-actor.c line 9743
crash in clutter_actor_get_stage_interna at clutter-actor.c line 9743
Status: RESOLVED FIXED
Product: clutter
Classification: Platform
Component: ClutterStage
1.6.x
Other Linux
: Normal critical
: ---
Assigned To: clutter-maint
clutter-maint
: 652031 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-06-07 10:55 UTC by Sachin
Modified: 2011-08-22 15:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sachin 2011-06-07 10:55:03 UTC
Program received signal SIGSEGV, Segmentation fault.
0x009ed0b3 in _clutter_actor_get_stage_internal (actor=<value optimized out>) at ./clutter-actor.c:9743
9743	    actor = actor->priv->parent_actor;
(gdb) bt
  • #0 _clutter_actor_get_stage_internal
    at ./clutter-actor.c line 9743
  • #1 clutter_actor_queue_redraw
    at ./clutter-actor.c line 5131
  • #2 clutter_actor_queue_relayout
    at ./clutter-actor.c line 5312
  • #3 clutter_actor_set_min_height_set
    at ./clutter-actor.c line 6132
  • #4 clutter_actor_set_min_height
    at ./clutter-actor.c line 6016
  • #5 clutter_actor_set_height_internal
    at ./clutter-actor.c line 6269
  • #6 clutter_actor_set_height
    at ./clutter-actor.c line 6663

Comment 1 Emmanuele Bassi (:ebassi) 2011-07-01 14:03:32 UTC
the stack trace is sadly not very useful.

can you provide a small, self-contained test case exhibiting the same issue?
Comment 2 Fabio Durán Verdugo 2011-08-16 02:08:12 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!
Comment 3 Emmanuele Bassi (:ebassi) 2011-08-16 08:15:36 UTC
reopening, as the bug is being followed on out of Bugzilla.
Comment 4 Emmanuele Bassi (:ebassi) 2011-08-22 15:39:17 UTC
looking at the various backtraces, I found that this is a duplicate of this bug:

http://bugzilla.clutter-project.org/show_bug.cgi?id=2621

which was fixed in master, but not backported.

I just pushed the following commit:


commit f3532c3335d963402c5dc38d388c41e2491b0be4
Author: Chris Lord <chris@linux.intel.com>
Date:   Mon Mar 28 16:10:59 2011 +0100

    actor: Ensure the validity of the queue_redraw_entry pointer
    
    In _clutter_actor_queue_redraw_with_clip, there was the possibility that
    the actor will add itself to the stage's redraw queue without keeping track
    of the allocated list member.
    
    In clutter_actor_unparent, the redraw queue entry was being invalidated
    before the mapped notify signal was being fired, meaning that queueing a
    redraw of an unmapped actor in the mapped notification callback could
    cause a crash.
    
    http://bugzilla.clutter-project.org/show_bug.cgi?id=2621
    (cherry picked from commit f9d7650b97c3788763e14ce3b39f21f19edc41bb)
    
    Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>

to the clutter-1.6 branch, and that should hopefully fix the issue.
Comment 5 Emmanuele Bassi (:ebassi) 2011-08-22 15:39:57 UTC
*** Bug 652031 has been marked as a duplicate of this bug. ***