From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#9087: Crash reading from minibuffer with icomplete-mode Date: Fri, 15 Jul 2011 00:54:00 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1310684125 6800 80.91.229.12 (14 Jul 2011 22:55:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 14 Jul 2011 22:55:25 +0000 (UTC) To: 9087@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 15 00:55:21 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QhUoT-0001Ht-M5 for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jul 2011 00:55:21 +0200 Original-Received: from localhost ([::1]:57641 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhUoS-0000gx-Tk for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jul 2011 18:55:20 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54103) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhUoC-0000g9-1X for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 18:55:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhUoB-0002px-1I for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 18:55:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41678) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhUoA-0002pr-US for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 18:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QhUoA-0004AQ-Is; Thu, 14 Jul 2011 18:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Jul 2011 22:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 9087 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Bug-Gnu-Emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.131068409215998 (code B ref -1); Thu, 14 Jul 2011 22:55:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Jul 2011 22:54:52 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhUnz-00049z-6I for submit@debbugs.gnu.org; Thu, 14 Jul 2011 18:54:51 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhUny-00049o-2c for submit@debbugs.gnu.org; Thu, 14 Jul 2011 18:54:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhUns-0002oo-62 for submit@debbugs.gnu.org; Thu, 14 Jul 2011 18:54:45 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:33566) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhUns-0002oh-4H for submit@debbugs.gnu.org; Thu, 14 Jul 2011 18:54:44 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhUnq-0000eX-MA for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 18:54:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhUnp-0002oU-KJ for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 18:54:42 -0400 Original-Received: from mail-pv0-f169.google.com ([74.125.83.169]:56224) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhUnp-0002oL-CZ for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 18:54:41 -0400 Original-Received: by pvc12 with SMTP id 12so788649pvc.0 for ; Thu, 14 Jul 2011 15:54:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=RERjK9+PkQWp1Mk1USi+iN1gxjBbmcbV+TtJSS7WNSg=; b=jn+om8XSGjWbjA7b6XUALg3SOP1F7INRVSmaHQ3bJFFts/yS0ARq8cMTK5B4dtw/h9 AlLJCmSWf1wuU+uiQhzE7mJ0YbN5sV07mrbCyMUwX1lStuZEbao9WijgjnctF+lJFTFN mF4VGTB4A1NislEdCs9J2CE208BJBBVM+9MlI= Original-Received: by 10.142.249.42 with SMTP id w42mr1277772wfh.195.1310684080163; Thu, 14 Jul 2011 15:54:40 -0700 (PDT) Original-Received: by 10.142.144.4 with HTTP; Thu, 14 Jul 2011 15:54:00 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 14 Jul 2011 18:55:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:49097 Archived-At: The backtraces below are from today's trunk, but I can also reproduce the bug with the emacs-23 branch (Windows build in both cases). This is sort of a recipe for the bug: - Start emacs with "emacs -Q -f icomplete-mode". - Run M-x set-face-font and set a font for a face; in my examples, I try to set font-lock-comment-face. - Choose a font, for example I set -outline-Consolas-bold-normal-normal-mono-13-*-*-*-c-*-iso10646-1 - Then run again "M-x set-face-font M-p M-p", to select the same face and the same font, and then modify the completion for the face. In my tests, I go to the family name "Consolas", remove it with M-d and start fiddling with completions of "Droid Sans Mono" (which I have installed), typing for example just "Droid S" , then , etc. Sooner or later it crashes every time. Crashes are not always identical, but all of them happen in a call to `byte-code' from inside `icomplete-exhibit'. After the signature there are two examples. I can repeat the crash easily, so if no one can reproduce it, pointers to debugging this are welcome. =C2=A0 =C2=A0 Juanma =3D=3D=3D Backtrace from trunk (1) =3D=3D=3D gdb: unknown target exception 0xc0000029 at 0x77be07b6 Program received signal ?, Unknown signal. [Switching to Thread 5784.0x14c4] 0x77be07b6 in ntdll!EtwEventUnregister () from C:\Windows\system32\ntdll.dl= l (gdb) bt #0 0x77be07b6 in ntdll!EtwEventUnregister () from C:\Windows\system32\ntdl= l.dll #1 0x0088da00 in ?? () #2 0x771e07f0 in setjmp () from C:\Windows\syswow64\msvcrt.dll #3 0x0088ffc4 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) Lisp Backtrace: "byte-code" (0x889200) "window-size-fixed-1" (0x8895a4) "byte-code" (0x889770) "window-size-fixed-1" (0x889b14) "window-size-fixed-p" (0x889d74) "window-sizable" (0x889fd4) "window--resize-root-window-vertically" (0x88a244) "byte-code" (0x88dc50) "icomplete-exhibit" (0x88e0c8) "run-hooks" (0x88e174) 0x35feba0 PVEC_COMPILED "read-from-minibuffer" (0x88ea5c) "completing-read-default" (0x88ecc4) "completing-read" (0x88edd4) "read-face-font" (0x88f034) "read-face-and-attribute" (0x88f1f0) "call-interactively" (0x88f644) "execute-extended-command" (0x88f884) "call-interactively" (0x88fb24) =3D=3D=3D Backtrace from trunk (2) =3D=3D=3D gdb: unknown target exception 0xc0000029 at 0x77be07b6 Program received signal ?, Unknown signal. [Switching to Thread 4812.0x15ac] 0x77be07b6 in ntdll!EtwEventUnregister () from C:\Windows\system32\ntdll.dl= l (gdb) bt #0 0x77be07b6 in ntdll!EtwEventUnregister () from C:\Windows\system32\ntdl= l.dll #1 0x0088da00 in ?? () #2 0x771e07f0 in setjmp () from C:\Windows\syswow64\msvcrt.dll #3 0x0088ffc4 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) Lisp Backtrace: "byte-code" (0x88dc50) "icomplete-exhibit" (0x88e0c8) "run-hooks" (0x88e174) 0x35feba0 PVEC_COMPILED "read-from-minibuffer" (0x88ea5c) "completing-read-default" (0x88ecc4) "completing-read" (0x88edd4) "read-face-font" (0x88f034) "read-face-and-attribute" (0x88f1f0) "call-interactively" (0x88f644) "execute-extended-command" (0x88f884) "call-interactively" (0x88fb24) =3D=3D=3D Backtrace from emacs-23 =3D=3D=3D gdb: unknown target exception 0xc0000029 at 0x77be07b6 Program received signal ?, Unknown signal. [Switching to Thread 5976.0xf64] 0x77be07b6 in ntdll!EtwEventUnregister () from C:\Windows\system32\ntdll.dl= l (gdb) bt #0 0x77be07b6 in ntdll!EtwEventUnregister () from C:\Windows\system32\ntdl= l.dll #1 0x0088dcc0 in ?? () #2 0x771e07f0 in setjmp () from C:\Windows\syswow64\msvcrt.dll #3 0x0088ffc4 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) Lisp Backtrace: "byte-code" (0x88def0) "icomplete-exhibit" (0x88e348) "run-hooks" (0x88e3f4) 0x2fa6ae0 There is no member named size.