Hi Tomeu, Thanks for your reply. I installed the debugging symbols and the culprit was libEMGDOGL.so. After reverting to an earlier version of EMGD I managed to bypass the segfaults, but now when I execute the sample application it exits cleanly, but some clutter assertions fail. Have you seen these before?
[root@localhost clock]# cat clutter-error Starting program: /home/meego/dev/clock/arc-clock [Thread debugging using libthread_db enabled] (arc-clock:17574): Clutter-WARNING **: Unable to create a new stage: the glx backend does not support multiple stages. (arc-clock:17574): Clutter-CRITICAL **: clutter_stage_set_title: assertion `CLUTTER_IS_STAGE (stage)' failed (arc-clock:17574): Clutter-CRITICAL **: clutter_stage_set_user_resizable: assertion `CLUTTER_IS_STAGE (stage)' failed (arc-clock:17574): Clutter-CRITICAL **: clutter_stage_set_use_alpha: assertion `CLUTTER_IS_STAGE (stage)' failed (arc-clock:17574): Clutter-CRITICAL **: clutter_actor_set_opacity: assertion `CLUTTER_IS_ACTOR (self)' failed (arc-clock:17574): GLib-GObject-WARNING **: invalid (NULL) pointer instance (arc-clock:17574): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed (arc-clock:17574): GLib-GObject-WARNING **: invalid (NULL) pointer instance (arc-clock:17574): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed (arc-clock:17574): GLib-GObject-WARNING **: invalid (NULL) pointer instance (arc-clock:17574): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed (arc-clock:17574): Clutter-CRITICAL **: clutter_container_add_actor: assertion `CLUTTER_IS_CONTAINER (container)' failed (arc-clock:17574): Clutter-CRITICAL **: clutter_container_add_actor: assertion `CLUTTER_IS_CONTAINER (container)' failed (arc-clock:17574): Clutter-CRITICAL **: clutter_container_add_actor: assertion `CLUTTER_IS_CONTAINER (container)' failed (arc-clock:17574): Clutter-CRITICAL **: clutter_container_add_actor: assertion `CLUTTER_IS_CONTAINER (container)' failed (arc-clock:17574): Clutter-CRITICAL **: clutter_container_add_actor: assertion `CLUTTER_IS_CONTAINER (container)' failed (arc-clock:17574): Clutter-CRITICAL **: clutter_actor_show: assertion `CLUTTER_IS_ACTOR (self)' failed (arc-clock:17574): Clutter-WARNING **: Called clutter_main() but Clutter wasn't initialised. You must call clutter_init() first. Program exited normally. Thanks a lot. Todor -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Tomeu Vizoso Sent: Monday, November 28, 2011 3:03 PM To: [email protected] Subject: Fwd: Clutter Example On Mon, Nov 28, 2011 at 13:58, Minchev, Todor <[email protected]> wrote: > I am trying to run one of the clutter examples > (https://github.com/clutter-project/toys/tree/master/arc-clock) , but > unfortunately the linker segfaults when it tries to load some of the > shared libraries. The GDB call stack is below. Hi Todor, I would install the debug symbols for /lib/ld-linux.so.2 and /lib/libdl.so.2 to get a more meaningful backtrace. Regards, Tomeu > I have also attached list of the > dependent shared libraries. Any help to identify the shared library > that causes the segfault (or the correct version of the lib that I > need to use) will be much appreciated. > > > > Thanks for your help in advance. > > > > GDB Call Stack > > #0 0xb7ff2ace in ?? () from /lib/ld-linux.so.2 > > #1 0xb7b97cf5 in ?? () from /lib/libdl.so.2 > > #2 0xb7fecc67 in ?? () from /lib/ld-linux.so.2 > > #3 0xb7b983ad in ?? () from /lib/libdl.so.2 > > #4 0xb7b97d2b in dlclose () from /lib/libdl.so.2 > > #5 0xb72477ad in ?? () from /usr/lib/libEMGDOGL.so > > #6 0xb724209d in ?? () from /usr/lib/libEMGDOGL.so > > #7 0xb729ffaf in ?? () from /usr/lib/libEMGDOGL.so > > #8 0xb74848dd in ?? () from /usr/lib/libEMGDOGL.so > > #9 0xb72305a0 in _init () from /usr/lib/libEMGDOGL.so > > #10 0xb7fecdd6 in ?? () from /lib/ld-linux.so.2 > > #11 0xb7fecee9 in ?? () from /lib/ld-linux.so.2 > > #12 0xb7ff1277 in ?? () from /lib/ld-linux.so.2 > > #13 0xb7fecc67 in ?? () from /lib/ld-linux.so.2 > > #14 0xb7ff18d7 in ?? () from /lib/ld-linux.so.2 > > #15 0xb7b97bec in ?? () from /lib/libdl.so.2 > > #16 0xb7fecc67 in ?? () from /lib/ld-linux.so.2 > > #17 0xb7b983ad in ?? () from /lib/libdl.so.2 > > #18 0xb7b97ca2 in dlopen () from /lib/libdl.so.2 > > #19 0x474edebb in ?? () from /usr/lib/libGL.so.1 > > #20 0x474f17c4 in ?? () from /usr/lib/libGL.so.1 > > #21 0x474ccafa in ?? () from /usr/lib/libGL.so.1 > > #22 0x474c8cfc in glXQueryVersion () from /usr/lib/libGL.so.1 > > #23 0x476fea1f in ?? () from /usr/lib/libcogl.so.5 > > #24 0x476be176 in cogl_renderer_connect_EXP () > > from /usr/lib/libcogl.so.5 > > #25 0xb7ee0b79 in clutter_backend_cogl_create_context ( > > backend=0x8053050, error=0xbffff6d4) > > at ./cogl/clutter-backend-cogl.c:308 > > #26 0xb7f040c4 in _clutter_backend_create_context ( > > backend=0x8053050, error=0xbffff6d4) > > at ./clutter-backend.c:437 > > #27 0xb7f23698 in _clutter_feature_init (error=0xbffff6d4) > > at ./clutter-feature.c:107 > > #28 0xb7f30feb in clutter_init_real (error=0xbffff6d4) > > at ./clutter-main.c:1283 > > #29 0xb7f31262 in post_parse_hook (context=0x8052390, > > group=0x804f868, data=0x0, error=0xbffff6d4) > > at ./clutter-main.c:1484 > > #30 0xb7da0fc0 in g_option_context_parse (context=0x8052390, > > argc=0xbffff700, argv=0xbffff704, error=0xbffff6d4) > > at goption.c:1951 > > #31 0xb7f3282c in clutter_init_with_args (argc=0xbffff700, > > argv=0xbffff704, parameter_string=0x8049967 "Arc Clock", > > entries=0x804ad20, translation_domain=0x0, error=0xbffff6d4) > > at ./clutter-main.c:1661 > > #32 0x080494b3 in main (argc=1, argv=0xbffff7a4) > > at arc-clock.c:141 > > > > > > List of dependent libs > > > > linux-gate.so.1 => (0xb77ec000) > > libm.so.6 => /lib/libm.so.6 (0xb77b0000) > > libclutter-glx-1.0.so.0 => > /usr/local/lib/libclutter-glx-1.0.so.0 (0xb76c6000) > > libcairo-gobject.so.2 => /usr/lib/libcairo-gobject.so.2 > (0x46ff8000) > > libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x47a1e000) > > libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 > (0x47a40000) > > libcogl-pango.so.0 => /usr/lib/libcogl-pango.so.0 > (0x4700a000) > > libjson-glib-1.0.so.0 => /usr/lib/libjson-glib-1.0.so.0 > (0x47014000) > > libGL.so.1 => /usr/lib/libGL.so.1 (0x474b2000) > > libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 > (0x479ef000) > > libXi.so.6 => /usr/lib/libXi.so.6 (0x4749a000) > > libcairo.so.2 => /usr/lib/libcairo.so.2 (0x47baf000) > > libcogl.so.5 => /usr/lib/libcogl.so.5 (0x476a5000) > > libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 > (0x4756d000) > > libdrm.so.2 => /usr/lib/libdrm.so.2 (0x47418000) > > libEGL.so => /usr/lib/libEGL.so (0xb76c1000) > > libX11.so.6 => /usr/lib/libX11.so.6 (0x4706a000) > > libXext.so.6 => /usr/lib/libXext.so.6 (0x471e7000) > > libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x47495000) > > libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 > (0x47baa000) > > libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 > (0x47521000) > > libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x4737d000) > > libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 > (0x47426000) > > libgobject-2.0.so.0 => /usr/local/lib/libgobject-2.0.so.0 > (0xb7678000) > > libgmodule-2.0.so.0 => /usr/local/lib/libgmodule-2.0.so.0 > (0xb7674000) > > libgthread-2.0.so.0 => /usr/local/lib/libgthread-2.0.so.0 > (0xb766f000) > > librt.so.1 => /lib/librt.so.1 (0xb7665000) > > libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 > (0xb7563000) > > libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x474ab000) > > libpthread.so.0 => /lib/libpthread.so.0 (0xb7547000) > > libc.so.6 => /lib/libc.so.6 (0xb73ad000) > > /lib/ld-linux.so.2 (0xb77ed000) > > libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x47a75000) > > libpng12.so.0 => /usr/lib/libpng12.so.0 (0x47468000) > > libXrender.so.1 => /usr/lib/libXrender.so.1 (0x4745d000) > > libz.so.1 => /lib/libz.so.1 (0x46f89000) > > libdl.so.2 => /lib/libdl.so.2 (0xb73a7000) > > libEGL.so.1 => /usr/lib/libEGL.so.1 (0x47feb000) > > libgio-2.0.so.0 => /usr/local/lib/libgio-2.0.so.0 > (0xb729c000) > > libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0x4751a000) > > libIMGegl.so => /usr/lib/libIMGegl.so (0xb7289000) > > libxcb.so.1 => /usr/lib/libxcb.so.1 (0x47045000) > > libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x46e54000) > > libexpat.so.1 => /lib/libexpat.so.1 (0x4734c000) > > libEMGDegl.so => /usr/lib/libEMGDegl.so (0x47ff0000) > > libresolv.so.2 => /lib/libresolv.so.2 (0xb726e000) > > libsrv_um.so => /usr/lib/libsrv_um.so (0xb7243000) > > libXau.so.6 => /usr/lib/libXau.so.6 (0x47065000) > > libemgdsrv_um.so => /usr/lib/libemgdsrv_um.so (0x47fc7000) > > > > > > --------------------------------------------------------------------- > Intel Corporation (UK) Limited > Registered No. 1134945 (England) > Registered Office: Pipers Way, Swindon SN3 1RJ VAT No: 860 2173 47 > > This e-mail and any attachments may contain confidential material for > the sole use of the intended recipient(s). Any review or distribution > by others is strictly prohibited. If you are not the intended > recipient, please contact the sender and delete all copies. > _______________________________________________ > clutter-app-devel-list mailing list > [email protected] > http://lists.clutter-project.org/listinfo/clutter-app-devel-list > > _______________________________________________ clutter-app-devel-list mailing list [email protected] http://lists.clutter-project.org/listinfo/clutter-app-devel-list --------------------------------------------------------------------- Intel Corporation (UK) Limited Registered No. 1134945 (England) Registered Office: Pipers Way, Swindon SN3 1RJ VAT No: 860 2173 47 This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. _______________________________________________ clutter-app-devel-list mailing list [email protected] http://lists.clutter-project.org/listinfo/clutter-app-devel-list
