On 07/10/2011 02:51 AM, Naruto TAKAHASHI wrote: > Hi Mike. > > Thanks, feedback. I merged it to xim/Makefile.am. > > I attach a source code for using XIM module debug. > This program can check a below behaviors. > > - toggle enable and disable XIM > - commit string from XIM > > Another test, by using Desktop Entry Editor's text field. > (Enlightenment Main->Settings->Settings Panel->New Application) > > When executing test program, set ECORE_IMF_MODULE=xim.
Hi Naruto, I tried running the test program, but it crashes as below. My XIM is Nabi. Pressing a key in New application also crashes E (but only with ECORE_IMF_MODULE=xim). thanks, Mike mike@mike-desktop:~/git/e/ecore$ cat /etc/issue Ubuntu 10.04.1 LTS \n \l mike@mike-desktop:~/git/e/ecore$ set | grep XIM XIM=nabi XIM_PROGRAM=/usr/bin/nabi mike@mike-desktop:~/git/e/ecore$ grep ENABLE_XIM config.h #define ENABLE_XIM 1 mike@mike-desktop:~/git/e/ecore$ echo $LANG en_US.utf8 mike@mike-desktop:~/git/e/ecore$ ECORE_IMF_MODULE=xim gdb ./ecore_imf_test GNU gdb (GDB) 7.1-ubuntu Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 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 "i486-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /home/mike/git/e/ecore/ecore_imf_test...(no debugging symbols found)...done. (gdb) run Starting program: /home/mike/git/e/ecore/ecore_imf_test [Thread debugging using libthread_db enabled] ** initializing ecore ** initializing ecore_evas ** initializing ecore_imf ** retrieving ecore_imf_context_available_ids_get ** available input methods: xim ** creating context Program received signal SIGSEGV, Segmentation fault. 0x00632b2a in XCreateIC () from /usr/lib/libX11.so.6 (gdb) bt #0 0x00632b2a in XCreateIC () from /usr/lib/libX11.so.6 #1 0x0094591f in get_ic (ctx=0x8092980, type=ECORE_IMF_EVENT_KEY_DOWN, event=0xbfffeec0) at ecore_imf_xim.c:893 #2 _ecore_imf_context_xim_filter_event (ctx=0x8092980, type=ECORE_IMF_EVENT_KEY_DOWN, event=0xbfffeec0) at ecore_imf_xim.c:406 #3 0x003db79f in ecore_imf_context_filter_event (ctx=0xbfffecb4, type=ECORE_IMF_EVENT_KEY_DOWN, event=0xbfffeec0) at ecore_imf_context.c:735 #4 0x080490f8 in _e_entry_key_down_cb () #5 0x00147099 in evas_object_event_callback_call (obj=0xb7f77038, type=EVAS_CALLBACK_KEY_DOWN, event_info=0xbfffefa8) at evas_callbacks.c:224 #6 0x001498d6 in evas_event_feed_key_down (e=0x806bcd0, keyname=0x805c040 "b", key=0x805c042 "b", string=0x805c044 "b", compose=0x805c044 "b", timestamp=3267878762, data=0x0) at evas_events.c:1249 #7 0x00723cb4 in _ecore_event_evas_key (e=0x805c018, press=ECORE_DOWN) at ecore_input_evas.c:149 #8 0x002046e9 in _ecore_event_call () at ecore_events.c:693 #9 0x002089fb in _ecore_main_gsource_dispatch (source=0x804ef70, callback=0, user_data=0x0) at ecore_main.c:656 #10 0x005275e5 in g_main_dispatch (context=0x804fe80) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:1960 #11 IA__g_main_context_dispatch (context=0x804fe80) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2513 #12 0x0052b2d8 in g_main_context_iterate (context=0x804fe80, block=<value optimized out>, dispatch=1, self=0x806bf78) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2591 #13 0x0052b817 in IA__g_main_loop_run (loop=0x80819b0) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2799 #14 0x002085d2 in ecore_main_loop_begin () at ecore_main.c:835 #15 0x080495db in main () (gdb) quit A debugging session is active. Inferior 1 [process 16010] will be killed. Quit anyway? (y or n) y ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel