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: Tue, 19 Oct 2010 12:33:49 +0200 Message-ID: References: <831v7wmt84.fsf@gnu.org> <83vd58kqfh.fsf@gnu.org> <83tykrkz8s.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 1287485823 12574 80.91.229.12 (19 Oct 2010 10:57:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 19 Oct 2010 10:57:03 +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 Tue Oct 19 12:57:02 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 1P89sL-00027A-LF for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Oct 2010 12:57:01 +0200 Original-Received: from localhost ([127.0.0.1]:33454 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P89sK-0003AZ-Oa for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Oct 2010 06:57:00 -0400 Original-Received: from [140.186.70.92] (port=46669 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P89eN-0002lQ-3x for bug-gnu-emacs@gnu.org; Tue, 19 Oct 2010 06:42:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P89eL-0006F5-Af for bug-gnu-emacs@gnu.org; Tue, 19 Oct 2010 06:42:34 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43208) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P89eL-0006Ep-8J for bug-gnu-emacs@gnu.org; Tue, 19 Oct 2010 06:42:33 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1P89TC-0007Nm-JE; Tue, 19 Oct 2010 06:31: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: Tue, 19 Oct 2010 10:31: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.128748422728370 (code B ref 7190); Tue, 19 Oct 2010 10:31:02 +0000 Original-Received: (at 7190) by debbugs.gnu.org; 19 Oct 2010 10:30: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 1P89Sc-0007NX-Rt for submit@debbugs.gnu.org; Tue, 19 Oct 2010 06:30: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 1P89Sa-0007NS-RJ for 7190@debbugs.gnu.org; Tue, 19 Oct 2010 06:30:25 -0400 Original-Received: by qyk36 with SMTP id 36so805293qyk.3 for <7190@debbugs.gnu.org>; Tue, 19 Oct 2010 03:34:10 -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=lszAGGJj9JKey5McBxifJJT8rJxYzcqAqwpzlQFBcAk=; b=Bufzc8CaYr0rq9YG+Nc/7DsMSXIzWww9wjB/KPjSWw9yJdgzk+A+GWtOQw3HIU3TcN uCRjLrqVSCTAPFklJXonlGtPkmZfDlX7veuJRbMuO7qJdak9P4U6AeEsB3SmbohgioZx eyXUaln8lEK9FuRf+MWci372HkNKSH7n55YsI= 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=JoYRshAhUfgT36uKVWY6/lpCSE4AGiR/WWQpRoqFY+U+PuL7j4Z3cgljyU3QbYRDgS RBPZoi9+W+WGqCo3E1zGBsntd8JVDNKqvM2rYpdgN+gn7xEVErbDRuhaIDkJCk7kIu7L 5/MDU3iW1ShFw19zjziGSVDYA1Tf0Jq12mYzk= Original-Received: by 10.229.224.67 with SMTP id in3mr4983471qcb.91.1287484450043; Tue, 19 Oct 2010 03:34:10 -0700 (PDT) Original-Received: by 10.229.220.195 with HTTP; Tue, 19 Oct 2010 03:33:49 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 19 Oct 2010 06:31: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:40988 Archived-At: On Tue, Oct 19, 2010 at 7:59 AM, Eli Zaretskii wrote: >> From: Lennart Borgman >> Date: Tue, 19 Oct 2010 02:20:42 +0200 >> Cc: 7190@debbugs.gnu.org >> >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0entry =3D AREF (vector, i + MENU_ITE= MS_ITEM_VALUE); >> > >> > retrieves the selected menu item, and `vector' is the entire menu bar, >> > computed as >> > >> > =C2=A0vector =3D f->menu_bar_vector; >> > >> > See frame.h for the structure of this vector. >> > >> > By looking at `entry' you can find which menu item is being selected. >> > >> > Then in w32_free_submenu_strings, you can see the same info in its >> > bare C form. >> >> I just got a new crash, but unfortunately I have still not understand >> how to look at those values. > > Please be specific: what parts in the explanation above you don't > understand? =C2=A0I don't know how to answer a question "I don't understa= nd > how to do X", when I already explained how to do it. > >> With "bt full" > > "bt full" is useless in this case, because the problem is a corruption > of the heap. =C2=A0We need to establish which menu item(s) are corrupted, > and the information about that is not in local variables displayed by > "bt full", it's in the data structures manipulated by > w32_free_submenu_strings and w32_free_menu_strings. =C2=A0I gave you abov= e > the way to start looking at these data structures. Could you please tell me the exact commands to look at those data structure= s?