http://bugzilla.real-time.com/show_bug.cgi?id=392 *** shadow/392 Sat Feb 23 05:20:05 2002 --- shadow/392.tmp.14235 Sat Feb 23 05:20:05 2002 *************** *** 0 **** --- 1,68 ---- + +============================================================================+ + | gtk-client dies when pressing the 'wrong button' | + +----------------------------------------------------------------------------+ + | Bug #: 392 Product: Crossfire | + | Status: NEW Version: 0.95.6 | + | Resolution: Platform: PC | + | Severity: major OS/Version: Linux | + | Priority: P2 Component: GTK client | + +----------------------------------------------------------------------------+ + | Assigned To: crossfire-devel at lists.real-time.com | + | Reported By: jukkaho at mail.student.oulu.fi | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + Gdk-ERROR **: file gdkfont.c: line 504 (gdk_char_width_wc): assertion failed: + (wctomb(&c,character) == 1) + aborting... + Abort (core dumped) + + gdb tells the following: + #0 0x4034c801 in __kill () from /lib/i686/libc.so.6 + (gdb) bt + #0 0x4034c801 in __kill () from /lib/i686/libc.so.6 + #1 0x4034c5da in raise (sig=6) at ../sysdeps/posix/raise.c:27 + #2 0x4034dd82 in abort () at ../sysdeps/generic/abort.c:88 + #3 0x4021415c in g_logv () at eval.c:41 + #4 0x40214207 in g_log () at eval.c:41 + #5 0x401dedf3 in gdk_char_width_wc () at eval.c:41 + #6 0x400fbffe in gtk_entry_insert_text () at eval.c:41 + #7 0x401273e0 in gtk_marshal_NONE__POINTER_INT_POINTER () at eval.c:41 + #8 0x40159c7d in gtk_signal_real_emit () at eval.c:41 + #9 0x401579f5 in gtk_signal_emit () at eval.c:41 + #10 0x400f73b8 in gtk_editable_insert_text () at eval.c:41 + #11 0x400fabff in gtk_entry_key_press () at eval.c:41 + #12 0x40126fbc in gtk_marshal_BOOL__POINTER () at eval.c:41 + #13 0x40159c7d in gtk_signal_real_emit () at eval.c:41 + #14 0x401579f5 in gtk_signal_emit () at eval.c:41 + #15 0x401920e9 in gtk_widget_event () at eval.c:41 + #16 0x4019a6df in gtk_window_key_press_event () at eval.c:41 + #17 0x40126fbc in gtk_marshal_BOOL__POINTER () at eval.c:41 + #18 0x40159c7d in gtk_signal_real_emit () at eval.c:41 + #19 0x401579f5 in gtk_signal_emit () at eval.c:41 + #20 0x401920e9 in gtk_widget_event () at eval.c:41 + #21 0x40126e98 in gtk_propagate_event () at eval.c:41 + #22 0x40125f3f in gtk_main_do_event () at eval.c:41 + #23 0x401dde4f in gdk_event_dispatch () at eval.c:41 + #24 0x402117f3 in g_main_dispatch () at eval.c:41 + #25 0x40211dd9 in g_main_iterate () at eval.c:41 + #26 0x40211f8c in g_main_run () at eval.c:41 + #27 0x40125803 in gtk_main () at eval.c:41 + #28 0x0805ec61 in get_metaserver () at gx11.c:6014 + #29 0x0805f9a5 in main (argc=1, argv=0xbffff9f4) at gx11.c:6306 + #30 0x4033b177 in __libc_start_main (main=0x805f8c0 <main>, argc=1, + ubp_av=0xbffff9f4, init=0x804e5b4 <_init>, fini=0x80692f0 <_fini>, + rtld_fini=0x4000e184 <_dl_fini>, stack_end=0xbffff9ec) at + ../sysdeps/generic/libc-start.c:129 + + Perhaps this is just a gtk-problem. But it is annoying as hell. When pressing + any of the keys: ö,ä,å which are located right from p and l in Finnish keyboard + layout, crossfire client dies a horrible death. Ö and ä characters are also very + commonly used in Finnish language. + + Client is 1.1.0 + + $ gtk-config --version + 1.2.9 \ No newline at end of file