$ ECORE_EVAS_ENGINE=wayland_egl gdb ./.libs/ecore_animator_example GNU gdb (GDB) Fedora (7.4.50.20120120-49.fc17) Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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 "x86_64-redhat-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /home/uartie/Work/intel/wayland/build/efl/efl/src/examples/ecore/.libs/ecore_animator_example...done. (gdb) r Starting program: /home/uartie/Work/intel/wayland/build/efl/efl/src/examples/ecore/.libs/ecore_animator_example [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". warning: the debug information found in "/usr/lib/debug/usr/lib64/libstdc++.so.6.0.17.debug" does not match "/lib64/libstdc++.so.6" (CRC mismatch). warning: the debug information found in "/usr/lib/debug//usr/lib64/libstdc++.so.6.0.17.debug" does not match "/lib64/libstdc++.so.6" (CRC mismatch). warning: the debug information found in "/usr/lib/debug/usr/lib64//libstdc++.so.6.0.17.debug" does not match "/lib64/libstdc++.so.6" (CRC mismatch). [New Thread 0x7fffed804700 (LWP 2674)] Program received signal SIGSEGV, Segmentation fault. 0x00007fffee1826d3 in XGetXCBConnection (dpy=0x602550) at x11_xcb.c:9 9 return dpy->xcb->connection; Missing separate debuginfos, use: debuginfo-install cyrus-sasl-lib-2.1.23-30.fc17.x86_64 expat-2.1.0-1.fc17.x86_64 fontconfig-2.8.0-7.fc17.x86_64 freetype-2.4.8-3.fc17.x86_64 fribidi-0.19.2-4.fc17.x86_64 glib2-2.32.4-1.fc17.x86_64 glibc-2.15-57.fc17.x86_64 keyutils-libs-1.5.5-2.fc17.x86_64 krb5-libs-1.10.2-2.fc17.x86_64 libXau-1.0.6-3.fc17.x86_64 libXdamage-1.1.3-3.fc17.x86_64 libXext-1.3.1-1.fc17.x86_64 libXfixes-5.0-2.fc17.x86_64 libXxf86vm-1.1.2-1.fc17.x86_64 libcom_err-1.42.3-2.fc17.x86_64 libcurl-7.24.0-4.fc17.x86_64 libffi-3.0.10-2.fc17.x86_64 libgcc-4.7.2-2.fc17.x86_64 libidn-1.24-1.fc17.x86_64 libjpeg-turbo-1.2.1-1.fc17.x86_64 libpng-1.5.10-1.fc17.x86_64 libselinux-2.1.10-3.fc17.x86_64 libssh2-1.4.1-2.fc17.x86_64 libstdc++-4.7.2-2.fc17.x86_64 libudev-182-3.fc17.x86_64 libxcb-1.9-1.fc17.x86_64 nspr-4.9.1-2.fc17.x86_64 nss-3.13.5-1.fc17.x86_64 nss-softokn-freebl-3.13.6-1.fc17.x86_64 nss-util-3.13.5-1.fc17.x86_64 openldap-2.4.31-3.fc17.x86_64 openssl-1.0.0j-2.fc17.x86_64 zlib-1.2.5-6.fc17.x86_64 (gdb) bt #0 0x00007fffee1826d3 in XGetXCBConnection (dpy=0x602550) at x11_xcb.c:9 #1 0x00007fffef2d0610 in dri2_initialize_x11_dri2 (drv=0x61d6c0, disp=0x61c9e0) at platform_x11.c:1102 #2 0x00007fffef2d0a39 in dri2_initialize_x11 (drv=0x61d6c0, disp=0x61c9e0) at platform_x11.c:1212 #3 0x00007fffef2cc079 in dri2_initialize (drv=0x61d6c0, disp=0x61c9e0) at egl_dri2.c:569 #4 0x00007fffef2c4f28 in _eglMatchAndInitialize (dpy=0x61c9e0) at egldriver.c:608 #5 0x00007fffef2c4fc0 in _eglMatchDriver (dpy=0x61c9e0, test_only=0) at egldriver.c:639 #6 0x00007fffef2bd635 in eglInitialize (dpy=0x61c9e0, major=0x7fffffffd55c, minor=0x7fffffffd558) at eglapi.c:317 #7 0x00007fffef4fbe1a in eng_window_new (disp=0x602550, surface=0x0, screen=0, depth=32, w=300, h=400, indirect=0, alpha=0, rot=0) at modules/evas/engines/wayland_egl/evas_wl_main.c:78 #8 0x00007fffef4f4990 in eng_setup (eo_e=0x628c90, in=0x62a480) at modules/evas/engines/wayland_egl/evas_engine.c:667 #9 0x00007ffff6f3f16d in _canvas_engine_info_set (eo_e=0x628c90, _pd=0x628d20, list=0x7fffffffd810) at lib/evas/canvas/evas_main.c:367 #10 0x00007ffff6ac89be in _eo_op_internal (obj=0x628c90, op_type=EO_OP_TYPE_REGULAR, op=29, p_list=0x7fffffffd810) at lib/eo/eo.c:363 #11 0x00007ffff6ac8b47 in _eo_dov_internal (obj=0x628c90, op_type=EO_OP_TYPE_REGULAR, p_list=0x7fffffffd810) at lib/eo/eo.c:403 #12 0x00007ffff6ac8de8 in eo_do_internal (obj=0x628c90, op_type=EO_OP_TYPE_REGULAR) at lib/eo/eo.c:434 #13 0x00007ffff6f3f058 in evas_engine_info_set (eo_e=0x628c90, info=0x62a480) at lib/evas/canvas/evas_main.c:352 #14 0x00007ffff0000e8e in ecore_evas_wayland_egl_new_internal (disp_name=0x0, parent=0, x=0, y=0, w=300, h=400, frame=1 '\001') at modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c:183 #15 0x00007ffff7def9be in ecore_evas_wayland_egl_new (disp_name=0x0, parent=0, x=0, y=0, w=300, h=400, frame=1 '\001') at lib/ecore_evas/ecore_evas.c:3240 #16 0x00007ffff7de7f2b in _ecore_evas_constructor_wayland_egl (x=0, y=0, w=300, h=400, extra_options=0x0) at lib/ecore_evas/ecore_evas.c:543 #17 0x00007ffff7de8268 in ecore_evas_new (engine_name=0x7fffffffeca6 "wayland_egl", x=0, y=0, w=300, h=400, extra_options=0x0) at lib/ecore_evas/ecore_evas.c:667 #18 0x0000000000400ec5 in main (argc=1, argv=0x7fffffffdbd8) at ecore_animator_example.c:24 (gdb) bt full #0 0x00007fffee1826d3 in XGetXCBConnection (dpy=0x602550) at x11_xcb.c:9 No locals. #1 0x00007fffef2d0610 in dri2_initialize_x11_dri2 (drv=0x61d6c0, disp=0x61c9e0) at platform_x11.c:1102 dri2_dpy = 0x61dc70 #2 0x00007fffef2d0a39 in dri2_initialize_x11 (drv=0x61d6c0, disp=0x61c9e0) at platform_x11.c:1212 initialized = 1 x11_dri2_accel = 1 #3 0x00007fffef2cc079 in dri2_initialize (drv=0x61d6c0, disp=0x61c9e0) at egl_dri2.c:569 No locals. #4 0x00007fffef2c4f28 in _eglMatchAndInitialize (dpy=0x61c9e0) at egldriver.c:608 mod = 0x62b050 drv = 0x0 i = 0 #5 0x00007fffef2c4fc0 in _eglMatchDriver (dpy=0x61c9e0, test_only=0) at egldriver.c:639 best_drv = 0x61c9e0 __PRETTY_FUNCTION__ = "_eglMatchDriver" #6 0x00007fffef2bd635 in eglInitialize (dpy=0x61c9e0, major=0x7fffffffd55c, minor=0x7fffffffd558) at eglapi.c:317 disp = 0x61c9e0 __FUNCTION__ = "eglInitialize" #7 0x00007fffef4fbe1a in eng_window_new (disp=0x602550, surface=0x0, screen=0, depth=32, w=300, h=400, indirect=0, alpha=0, rot=0) at modules/evas/engines/wayland_egl/evas_wl_main.c:78 gw = 0x62af50 context_attrs = {12440, 2, 12344} config_attrs = {12339, 4, 12352, 4, 12321, 0, 12325, 0, 12326, 0, 12344, 0, 18, 52, 91, 110, 119, 124, -10816, 32767, 1, 0, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1121650464, 53, 99920, 0, 272, 0, 6470064, 0} major_version = 32767 minor_version = -10832 num_config = 0 n = 11 vendor = 0x7fffffffdbd0 "\001" renderer = 0x400d80 "1\355I\211\321^H\211\342H\203\344\360PTI\307\300\300\024@" version = 0x7fffffffd6b0 "" __FUNCTION__ = "eng_window_new" #8 0x00007fffef4f4990 in eng_setup (eo_e=0x628c90, in=0x62a480) at modules/evas/engines/wayland_egl/evas_engine.c:667 e = 0x628d20 re = 0x62ae30 info = 0x62a480 new_win = 0x0 __FUNCTION__ = "eng_setup" #9 0x00007ffff6f3f16d in _canvas_engine_info_set (eo_e=0x628c90, _pd=0x628d20, list=0x7fffffffd810) at lib/evas/canvas/evas_main.c:367 info = 0x62a480 ret = 0x7fffffffd90f "" ---Type to continue, or q to quit--- e = 0x628d20 int_ret = 0 '\000' #10 0x00007ffff6ac89be in _eo_op_internal (obj=0x628c90, op_type=EO_OP_TYPE_REGULAR, op=29, p_list=0x7fffffffd810) at lib/eo/eo.c:363 func_data = 0x628d20 func = 0x628620 #11 0x00007ffff6ac8b47 in _eo_dov_internal (obj=0x628c90, op_type=EO_OP_TYPE_REGULAR, p_list=0x7fffffffd810) at lib/eo/eo.c:403 prev_error = 0 '\000' ret = 1 '\001' op = 29 prev_state = {kls = 0x0} __FUNCTION__ = "_eo_dov_internal" #12 0x00007ffff6ac8de8 in eo_do_internal (obj=0x628c90, op_type=EO_OP_TYPE_REGULAR) at lib/eo/eo.c:434 ret = 1 '\001' p_list = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7fffffffd8f0, reg_save_area = 0x7fffffffd830}} __FUNCTION__ = "eo_do_internal" #13 0x00007ffff6f3f058 in evas_engine_info_set (eo_e=0x628c90, info=0x62a480) at lib/evas/canvas/evas_main.c:352 ret = 0 '\000' #14 0x00007ffff0000e8e in ecore_evas_wayland_egl_new_internal (disp_name=0x0, parent=0, x=0, y=0, w=300, h=400, frame=1 '\001') at modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c:183 p = 0x0 einfo = 0x62a480 iface = 0x626fb0 wdata = 0x626de0 ee = 0x626c00 method = 3 count = 1 __FUNCTION__ = "ecore_evas_wayland_egl_new_internal" #15 0x00007ffff7def9be in ecore_evas_wayland_egl_new (disp_name=0x0, parent=0, x=0, y=0, w=300, h=400, frame=1 '\001') at lib/ecore_evas/ecore_evas.c:3240 new = 0x7ffff00009b4 m = 0x609f00 __FUNCTION__ = "ecore_evas_wayland_egl_new" #16 0x00007ffff7de7f2b in _ecore_evas_constructor_wayland_egl (x=0, y=0, w=300, h=400, extra_options=0x0) at lib/ecore_evas/ecore_evas.c:543 disp_name = 0x0 frame = 1 parent = 0 ee = 0x7ffff7ffd728 #17 0x00007ffff7de8268 in ecore_evas_new (engine_name=0x7fffffffeca6 "wayland_egl", x=0, y=0, w=300, h=400, extra_options=0x0) at lib/ecore_evas/ecore_evas.c:667 itr = 0x7ffff7ffc0c0 __FUNCTION__ = "ecore_evas_new" #18 0x0000000000400ec5 in main (argc=1, argv=0x7fffffffdbd8) at ecore_animator_example.c:24 rect = 0x401430 bg = 0x400d80 ---Type to continue, or q to quit--- rect2 = 0x0 ee = 0x0 evas = 0x7fffffffdbd0 anim = 0x7fffffffdbe8 (gdb) break eglGetDisplay Breakpoint 1 at 0x7fffef2bd5a1: file eglapi.c, line 298. (gdb) r The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /home/uartie/Work/intel/wayland/build/efl/efl/src/examples/ecore/.libs/ecore_animator_example [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". warning: the debug information found in "/usr/lib/debug/usr/lib64/libstdc++.so.6.0.17.debug" does not match "/lib64/libstdc++.so.6" (CRC mismatch). warning: the debug information found in "/usr/lib/debug//usr/lib64/libstdc++.so.6.0.17.debug" does not match "/lib64/libstdc++.so.6" (CRC mismatch). warning: the debug information found in "/usr/lib/debug/usr/lib64//libstdc++.so.6.0.17.debug" does not match "/lib64/libstdc++.so.6" (CRC mismatch). [New Thread 0x7fffed804700 (LWP 2866)] Breakpoint 1, eglGetDisplay (nativeDisplay=0x602550) at eglapi.c:298 298 _EGLPlatformType plat = _eglGetNativePlatform(nativeDisplay); (gdb) whatis nativeDisplay type = EGLNativeDisplayType (gdb) whatis EGLNativeDisplayType type = Display * (gdb) whatis Display type = struct _XDisplay