From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: bug#7190: Crash in menus on w32 Date: Mon, 11 Oct 2010 23:21:27 +0200 Message-ID: References: <831v7wmt84.fsf@gnu.org> 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 1286833370 8917 80.91.229.12 (11 Oct 2010 21:42:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 11 Oct 2010 21:42:50 +0000 (UTC) Cc: 7190@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 11 23:42:48 2010 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.69) (envelope-from ) id 1P5Q8u-0008GS-GD for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Oct 2010 23:42:48 +0200 Original-Received: from localhost ([127.0.0.1]:49170 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P5Q8t-0002er-W2 for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Oct 2010 17:42:48 -0400 Original-Received: from [140.186.70.92] (port=46275 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P5Q8T-0002Zj-7s for bug-gnu-emacs@gnu.org; Mon, 11 Oct 2010 17:42:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P5Q8E-0001VG-5T for bug-gnu-emacs@gnu.org; Mon, 11 Oct 2010 17:42:21 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49337) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P5Q8E-0001VC-2a for bug-gnu-emacs@gnu.org; Mon, 11 Oct 2010 17:42:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1P5Plu-0004C7-H2; Mon, 11 Oct 2010 17:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lennart Borgman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Oct 2010 21:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7190 X-GNU-PR-Package: emacs,w32 X-GNU-PR-Keywords: Original-Received: via spool by 7190-submit@debbugs.gnu.org id=B7190.128683190716116 (code B ref 7190); Mon, 11 Oct 2010 21:19:02 +0000 Original-Received: (at 7190) by debbugs.gnu.org; 11 Oct 2010 21:18:27 +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 1P5PlK-0004Bt-Tz for submit@debbugs.gnu.org; Mon, 11 Oct 2010 17:18:27 -0400 Original-Received: from mail-qy0-f179.google.com ([209.85.216.179]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P5PlJ-0004Bo-2T for 7190@debbugs.gnu.org; Mon, 11 Oct 2010 17:18:25 -0400 Original-Received: by qyk36 with SMTP id 36so1270710qyk.3 for <7190@debbugs.gnu.org>; Mon, 11 Oct 2010 14:21:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=Jx2kidJLDqGIOWpRJlpKypsPrkeaWiDIIu8jG2uqYGE=; b=sx5iffqMs9JQTZ3PRo3gute3e+Jk4ftb2spYrwSE0N+bvyKNtHFMvG0fppghHchHLA 2Dd/99iBmuXcr+ZcDEUrl9sJ9uiORQu4FmRFqmr6KSpd8lzWSvPrC7nQjO8gPQI9uqDi TBv3gb609D275BCp9f2YDu9V2h42+bYUkiezI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=qs+cgwA49ZYm6AFzND0T/m6HAHqbcxJ+yfNbPEUIObqTZvEWEctgH5FTq59UglLJQb eEjyb1uHjEdZXpCYH9G0xLaoP80OF4nOMlZaZW28RSYYI7EmZRqMy3N+k7XQZodHCFh8 YevydqwA8g2LIO2jYF87YGeWq+uP9F2z0Mvc0= Original-Received: by 10.229.184.149 with SMTP id ck21mr5458745qcb.198.1286832107225; Mon, 11 Oct 2010 14:21:47 -0700 (PDT) Original-Received: by 10.229.220.195 with HTTP; Mon, 11 Oct 2010 14:21:27 -0700 (PDT) In-Reply-To: <831v7wmt84.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 11 Oct 2010 17:19:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , 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:40809 Archived-At: On Mon, Oct 11, 2010 at 9:20 PM, Eli Zaretskii wrote: >> From: Lennart Borgman >> Date: Mon, 11 Oct 2010 17:13:55 +0200 >> Cc: >> >> Crash in menus on w32, my patched version of course. Any suggestions? >> >> >> warning: HEAP[emacs.exe]: >> warning: Invalid Address specified to RtlFreeHeap( 00850000, 0088BDC8 ) >> >> >> Program received signal SIGTRAP, Trace/breakpoint trap. >> 0x7c90120f in ntdll!DbgUiConnectToDbg () from C:\WINDOWS\system32\ntdll.= dll >> (gdb) bt >> #0 =C2=A00x7c90120f in ntdll!DbgUiConnectToDbg () >> =C2=A0 =C2=A0from C:\WINDOWS\system32\ntdll.dll >> #1 =C2=A00x7c96e139 in ntdll!RtlpNtMakeTemporaryKey () >> =C2=A0 =C2=A0from C:\WINDOWS\system32\ntdll.dll >> #2 =C2=A00x7c96e576 in ntdll!RtlpNtMakeTemporaryKey () >> =C2=A0 =C2=A0from C:\WINDOWS\system32\ntdll.dll >> #3 =C2=A00x7c96f75e in ntdll!RtlpNtMakeTemporaryKey () >> =C2=A0 =C2=A0from C:\WINDOWS\system32\ntdll.dll >> #4 =C2=A00x7c94bc4c in ntdll!LdrFindEntryForAddress () >> =C2=A0 =C2=A0from C:\WINDOWS\system32\ntdll.dll >> #5 =C2=A00x00850000 in ?? () >> #6 =C2=A00x7c927573 in ntdll!RtlPcToFileHeader () >> =C2=A0 =C2=A0from C:\WINDOWS\system32\ntdll.dll >> #7 =C2=A00x011c4e4b in w32_free_submenu_strings (menu=3D0x205e3) at w32m= enu.c:1701 > > Looks identical to bug #7170. =C2=A0Why did you open a new one? Yes, it was a bit stupid to open a new one. > And I don't understand what suggestion do you expect. =C2=A0This happened > only for you so far, so you need to debug it on your machine. > > One thing to do would be to see, each time this happen, which menu, > submenu, menu item(s) are involved. =C2=A0If they are the same every time= , > you will have to take a closer look at the code which creates them. I will try to remember what I did next time. I was in a hurry when this happened so I am not quite sure. Maybe it would be useful to trace the order of events with DebPrint since they seem to be wrong? Any suggestions on what to trace?