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 681462 - python3 attached testcase works with clutter-gtk 1.0, but not with 1.2
python3 attached testcase works with clutter-gtk 1.0, but not with 1.2
Status: RESOLVED FIXED
Product: clutter-gtk
Classification: Platform
Component: GtkClutterEmbed
1.2.x
Other Linux
: Normal major
: ---
Assigned To: clutter-gtk maintainer(s)
clutter-gtk maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-08-08 15:58 UTC by Fabian Henze
Modified: 2012-08-08 23:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
a failing python script (571 bytes, text/x-python)
2012-08-08 15:58 UTC, Fabian Henze
  Details
embed: Check for state_flags_changed vfunc (1.40 KB, patch)
2012-08-08 16:11 UTC, Emmanuele Bassi (:ebassi)
committed Details | Review

Description Fabian Henze 2012-08-08 15:58:01 UTC
Created attachment 220699 [details]
a failing python script

Hi,
I found that the attached testcase works with clutter-gtk 1.0, but not on clutter-gtk 1.2

My system is running Gentoo with:
Glib 2.32.4
GTK+ 3.2
Clutter 1.10.8
Clutter-Gtk 1.2.0 (its working with 1.0.4)


I was able to capture a partial backtrace:
  • #0 ??
  • #1 gtk_clutter_embed_state_flags_changed
    at ./gtk-clutter-embed.c line 676
  • #2 g_cclosure_marshal_VOID__FLAGSv
    from /usr/lib64/libgobject-2.0.so.0
  • #3 ??
    from /usr/lib64/libgobject-2.0.so.0
  • #4 g_signal_emit_valist
    from /usr/lib64/libgobject-2.0.so.0
  • #5 g_signal_emit
    from /usr/lib64/libgobject-2.0.so.0
  • #6 ??
    from /usr/lib64/libgtk-3.so.0
  • #7 ??
    from /usr/lib64/libgtk-3.so.0
  • #8 gtk_widget_send_focus_change
    from /usr/lib64/libgtk-3.so.0
  • #9 ??
    from /usr/lib64/libgtk-3.so.0
  • #10 ??
    from /usr/lib64/libgtk-3.so.0
  • #11 ??
    from /usr/lib64/libgtk-3.so.0
  • #12 ??
    from /usr/lib64/libgtk-3.so.0
  • #13 g_closure_invoke
    from /usr/lib64/libgobject-2.0.so.0
  • #14 ??
    from /usr/lib64/libgobject-2.0.so.0
  • #15 g_signal_emit_valist
    from /usr/lib64/libgobject-2.0.so.0
  • #16 g_signal_emit
    from /usr/lib64/libgobject-2.0.so.0
  • #17 ??
    from /usr/lib64/libgtk-3.so.0
  • #18 gtk_main_do_event
    from /usr/lib64/libgtk-3.so.0
  • #19 ??
    from /usr/lib64/libgdk-3.so.0
  • #20 g_main_context_dispatch
    from /usr/lib64/libglib-2.0.so.0
  • #21 ??
    from /usr/lib64/libglib-2.0.so.0
  • #22 g_main_loop_run
    from /usr/lib64/libglib-2.0.so.0
  • #23 gtk_main
    from /usr/lib64/libgtk-3.so.0
  • #24 ffi_call_unix64
    from /usr/lib64/libffi.so.6
  • #25 ffi_call
    from /usr/lib64/libffi.so.6
  • #26 ??
    from /usr/lib64/libgirepository-1.0.so.1
  • #27 g_function_info_invoke
    from /usr/lib64/libgirepository-1.0.so.1
  • #28 ??
    from /usr/lib64/python3.2/site-packages/gi/_gi.so
  • #29 PyEval_EvalFrameEx
    from /usr/lib64/libpython3.2.so.1.0
  • #30 PyEval_EvalCodeEx
    from /usr/lib64/libpython3.2.so.1.0
  • #31 PyEval_EvalFrameEx
    from /usr/lib64/libpython3.2.so.1.0
  • #32 PyEval_EvalCodeEx
    from /usr/lib64/libpython3.2.so.1.0
  • #33 PyEval_EvalCode
    from /usr/lib64/libpython3.2.so.1.0
  • #34 ??
    from /usr/lib64/libpython3.2.so.1.0
  • #35 PyRun_FileExFlags
    from /usr/lib64/libpython3.2.so.1.0
  • #36 PyRun_SimpleFileExFlags
    from /usr/lib64/libpython3.2.so.1.0
  • #37 Py_Main
    from /usr/lib64/libpython3.2.so.1.0
  • #38 main

I can rebuild glib and gtk with debugging enabled, if you need to see more symbols. Just drop me a line.

Best regards,
Fabian Henze
Comment 1 Fabian Henze 2012-08-08 16:02:32 UTC
clutter-gtk 1.3.2 is also broken (similar backtrace)
Comment 2 Emmanuele Bassi (:ebassi) 2012-08-08 16:11:04 UTC
Created attachment 220701 [details] [review]
embed: Check for state_flags_changed vfunc

In GTK+ 3.2, GtkWidgetClass.state_flags_changed did not have an
implementation inside GtkWidget, which means that running clutter-gtk
with an older GTK+ version will crash.
Comment 3 Emmanuele Bassi (:ebassi) 2012-08-08 23:58:13 UTC
Attachment 220701 [details] pushed as 9ec5228 - embed: Check for state_flags_changed vfunc