GNOME Bugzilla – Bug 353192
Crash on first keystroke when composing
Last modified: 2006-08-28 14:17:59 UTC
Steps to reproduce: 1. Open Evolution 2.7.91 under th_TH locale. 2. Compose a new mail message. 3. Choose "X Input Method" in mail body area. 4. Type a first character. 5. Crash. Stack trace: Distribution: Debian testing/unstable Gnome Release: 2.15.91 2006-08-15 (JHBuild) BugBuddy Version: 2.15.91 Memory status: size: 89145344 vsize: 0 resident: 89145344 share: 0 rss: 27533312 rss_rlim: 0 CPU usage: start_time: 1156750357 rtime: 0 utime: 372 stime: 0 cutime:332 cstime: 0 timeout: 40 it_real_value: 0 frequency: 0 Backtrace was generated from '/home/thep/gnomez/bin/evolution-2.8' Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1233373504 (LWP 521)] [New Thread -1279476816 (LWP 729)] [New Thread -1271084112 (LWP 727)] [New Thread -1261872208 (LWP 725)] [New Thread -1253479504 (LWP 724)] [New Thread -1244968016 (LWP 691)] 0xffffe410 in __kernel_vsyscall ()
+ Trace 71098
Other information: (Some irrelevant stack trace is truncated, so it's not longer than 65,536 characters.)
Created attachment 71752 [details] [review] A possible fix Apparently, it crashed in gtk_html_im_retrieve_surrounding_cb() in gtkhtml.c, when the text returned from get_surrounding_text() is NULL. This patch checks the return value and calls gtk_im_context_set_surrounding() properly.
This blocks Bug #270248.
Bug fixed by patch in Bug #270248.