From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christopher Monsanto Newsgroups: gmane.emacs.bugs Subject: bug#10159: auto-complete causes crash in emacs HEAD Date: Sat, 22 Sep 2012 09:13:59 -0400 Message-ID: References: <83ipb6l15y.fsf@gnu.org> <83haqqkz80.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1348319736 27257 80.91.229.3 (22 Sep 2012 13:15:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Sep 2012 13:15:36 +0000 (UTC) Cc: 10159@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 22 15:15:37 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TFPYX-0001z5-0n for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Sep 2012 15:15:37 +0200 Original-Received: from localhost ([::1]:54618 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFPYS-00064X-4R for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Sep 2012 09:15:32 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFPYM-00060V-IP for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 09:15:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TFPYG-0001j0-8N for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 09:15:26 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38781) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFPYG-0001iL-4r for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 09:15:20 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TFPZu-0003Yk-5w for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 09:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Christopher Monsanto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Sep 2012 13:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10159 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10159-submit@debbugs.gnu.org id=B10159.134831979513643 (code B ref 10159); Sat, 22 Sep 2012 13:17:02 +0000 Original-Received: (at 10159) by debbugs.gnu.org; 22 Sep 2012 13:16:35 +0000 Original-Received: from localhost ([127.0.0.1]:48327 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TFPZO-0003Xw-Pi for submit@debbugs.gnu.org; Sat, 22 Sep 2012 09:16:35 -0400 Original-Received: from mail-vb0-f44.google.com ([209.85.212.44]:52915) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TFPZH-0003Xj-Qv for 10159@debbugs.gnu.org; Sat, 22 Sep 2012 09:16:29 -0400 Original-Received: by vbbfc26 with SMTP id fc26so5604915vbb.3 for <10159@debbugs.gnu.org>; Sat, 22 Sep 2012 06:14:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=2glf03Sbx4kChTGLUrpv5EDT+eng2m74glCFYOJuuj0=; b=B44ZVZPZ3Z7oLy4qYwy9XtHuhK8pO98g1mvaWJssdK3dluTQuD0o//RoAd8RuuRjDY y2q6aiVDY6/6v7Ez2jF6Ho1JC3SHZ6Fneo1tUbONdV64LPKYgXyYnMiiJ2NfBV3EZI7z nKc2YkwNxlyN0yKSS4oxRrlwtS8NotSBDEOd37widNicfZbHcWbpY33W5zxEK1JhRMsS qfaaxgKhoWv1cYu1/anXFeuUEUL1GQpovAhTcgP+C8a412enloJA+m2Z2/3qxSAmCiUO TIKgPGCUPwsZ0izhOlp59CV5EVNgx80junGun8YHdCCrAIpcgnjSodhnQSiCiPwh4Ltq Nn7g== Original-Received: by 10.220.221.18 with SMTP id ia18mr4512484vcb.62.1348319680474; Sat, 22 Sep 2012 06:14:40 -0700 (PDT) Original-Received: by 10.220.235.132 with HTTP; Sat, 22 Sep 2012 06:13:59 -0700 (PDT) In-Reply-To: <83haqqkz80.fsf@gnu.org> X-Gm-Message-State: ALoCoQnlbDuqW44vkGu2j/Tw8FS+UEQv2bNZs9hPqb0F97mgaY7LMhkWHsM+uCVCauzYb8g7oU0P X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:64737 Archived-At: So far so good. I'll ask the AC community to also test and get back to you in a bit. Christopher Monsanto chris@monsan.to -- http://monsan.to/ On Sat, Sep 22, 2012 at 8:40 AM, Eli Zaretskii wrote: >> From: Christopher Monsanto >> Date: Sat, 22 Sep 2012 08:19:11 -0400 >> Cc: 10159@debbugs.gnu.org >> >> Same here. >> >> (gdb) pp string >> #(" " 0 36 (face popup-tip-face >> keymap nil popup-item "")) > > That's good to know, thanks. > >> Thanks. Seems to me that this value is coming from xdisp.c, >> display_line, var n_glyphs_before, derived from row->used[TEXT_AREA] >> (line 19425). > > No, it comes from it->end_charpos, the length of the previous overlay > string, because when the next overlay string is loaded, its length was > not reflected in the value of it->end_charpos. Should be fixed now in > revision 110135 on the trunk. > >> (I wish I knew what a "struct it" is, not the most >> descriptive name! :-)) > > "it" stands for "iterator". 'struct it' is an object used by the > display engine to iterate over buffers or strings to be displayed, one > character at a time, with the purpose of generating the information > required by the display back-end (X, TTY, etc.) to update the screen. > See dispextern.h around line 1925, for more about that. > > Please test revision 110135 thoroughly with auto-complete, and if you > find no problems, I will close this bug.