To: bcpierce at cis.upenn.edu Cc: lablgtk at kaba.or.jp Subject: Re: Locale-related Gdk crash -- anybody seen this? In-Reply-To: <4387.1013361163 at saul.cis.upenn.edu> References: <4387.1013361163 at saul.cis.upenn.edu> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20020214121042E.garrigue at kurims.kyoto-u.ac.jp> Date: Thu, 14 Feb 2002 12:10:42 +0900 From: Jacques Garrigue Lines: 26 From: "Benjamin C. Pierce" > [yan@oberon yan]$ ./unison > > Gdk-WARNING **: locale not supported by C library > Neoprávněný přístup do paměti (SIGSEGV) (core dumped) > [yan@oberon yan]$ > > Whassup? The system is a RedHat 7.0J (for Japanese), running my user > login which uses the Czech locale. I've never seen this before with any > other app... If it does not speak Czech, it typically uses the default > English menus. And I've never seen a SIGSEGV because of locale.... What version of unison is this ? Since lablgtk 1.2.1, released last summer, setlocale is not called by default, so there should not be any such problem. Before that, setlocale was called, and could have strange effects on the caml runtime. The best known problem was wrong parsing of floating point values with French locale, but there may be other pitfalls. Upgrading lablgtk, or setting the locale to C, should solve the problem. Regards, Jacques