From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#1179: Emacs on Windows hangs displaying unibyte strings Date: Fri, 17 Oct 2008 16:01:22 +0200 Message-ID: References: Reply-To: Eli Zaretskii , 1179@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1224253874 4624 80.91.229.12 (17 Oct 2008 14:31:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Oct 2008 14:31:14 +0000 (UTC) Cc: 1179@emacsbugs.donarmstrong.com To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 17 16:32:14 2008 connect(): Connection refused Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KqqMq-0005bC-KI for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Oct 2008 16:31:53 +0200 Original-Received: from localhost ([127.0.0.1]:33998 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KqqLl-0001rs-M2 for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Oct 2008 10:30:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KqqLh-0001rQ-8o for bug-gnu-emacs@gnu.org; Fri, 17 Oct 2008 10:30:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KqqLf-0001qx-UC for bug-gnu-emacs@gnu.org; Fri, 17 Oct 2008 10:30:41 -0400 Original-Received: from [199.232.76.173] (port=40363 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KqqLf-0001qo-LS for bug-gnu-emacs@gnu.org; Fri, 17 Oct 2008 10:30:39 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:47457) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KqqLf-0005l3-Ar for bug-gnu-emacs@gnu.org; Fri, 17 Oct 2008 10:30:39 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9HEU0Xk024325; Fri, 17 Oct 2008 07:30:00 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m9HEA3fe019612; Fri, 17 Oct 2008 07:10:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Fri, 17 Oct 2008 14:10:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1179 X-Emacs-PR-Package: emacs,w32 X-Emacs-PR-Keywords: Original-Received: via spool by 1179-submit@emacsbugs.donarmstrong.com id=B1179.122425216717565 (code B ref 1179); Fri, 17 Oct 2008 14:10:03 +0000 Original-Received: (at 1179) by emacsbugs.donarmstrong.com; 17 Oct 2008 14:02:47 +0000 Original-Received: from mtaout6.012.net.il (mtaout6.012.net.il [84.95.2.16]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9HE2hxR017559 for <1179@emacsbugs.donarmstrong.com>; Fri, 17 Oct 2008 07:02:45 -0700 Original-Received: from HOME-C4E4A596F7 ([77.127.24.3]) by i-mtaout6.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K8V001Z5Z0N9740@i-mtaout6.012.net.il> for 1179@emacsbugs.donarmstrong.com; Fri, 17 Oct 2008 16:02:47 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-MIME-Autoconverted: from 8bit to quoted-printable by rzlab.ucr.edu id m9HEU0Xk024325 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Fri, 17 Oct 2008 10:30:40 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:21603 Archived-At: > Date: Fri, 17 Oct 2008 15:32:47 +0200 > From: "Juanma Barranquero" > Cc: 1179 <1179@emacsbugs.donarmstrong.com> >=20 > On Fri, Oct 17, 2008 at 15:01, Eli Zaretskii wrote: >=20 > > It doesn't crash for me, with today's CVS. But the result is strange > > nonetheless, I think: the single =E1 character in the last line above > > are replaced with _two_ empty boxes about which "C-u C-x =3D" says: >=20 > Could you please try with DejaVu Sans Mono? Tried it, the results are identical to what I reported for the default font. Btw, I selected DejaVu Sans Mono via S-mouse-1, in case it matters. > I see these four different outputs: >=20 > - Non-optimized build, Courier New: same as you. > - Non-optimized build, DejaVu Sans Mono: the =E1 character is replaced > by two spaces (not empty boxes) and Emacs hangs. > - Optimized build, Courier New: =E1 is replaced by two empty boxes, Em= acs hangs. > - Optimized build, DejaVu Sans Mono: Emacs crashes at w32term.c:1279. I use an older GCC (3.4.2), perhaps that's the reason for the difference. > (gdb) disassemble 0x011f804c > Dump of assembler code for function x_draw_glyph_string_background: > [...] > 0x011f804c : cmp %esi,0x58(%eax) What's the value of the EAX register ("p/x $eax") at this point?