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#7190: Crash in menus on w32 Date: Tue, 12 Oct 2010 21:40:41 +0200 Message-ID: <83r5fvkxmu.fsf@gnu.org> References: <831v7wmt84.fsf@gnu.org> <83vd58kqfh.fsf@gnu.org> <83tykrkz8s.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1286912573 32531 80.91.229.12 (12 Oct 2010 19:42:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 12 Oct 2010 19:42:53 +0000 (UTC) Cc: 7190@debbugs.gnu.org To: Lennart Borgman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 12 21:42:51 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 1P5kkL-0003u6-Tz for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Oct 2010 21:42:51 +0200 Original-Received: from localhost ([127.0.0.1]:33271 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P5kkI-0007Rh-Bl for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Oct 2010 15:42:46 -0400 Original-Received: from [140.186.70.92] (port=56144 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P5kk4-0007Pn-M2 for bug-gnu-emacs@gnu.org; Tue, 12 Oct 2010 15:42:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P5kjh-0003lC-7R for bug-gnu-emacs@gnu.org; Tue, 12 Oct 2010 15:42:21 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36572) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P5kjh-0003l8-5t for bug-gnu-emacs@gnu.org; Tue, 12 Oct 2010 15:42:09 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1P5kfi-0003jE-2g; Tue, 12 Oct 2010 15:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Oct 2010 19:38: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.128691223714320 (code B ref 7190); Tue, 12 Oct 2010 19:38:02 +0000 Original-Received: (at 7190) by debbugs.gnu.org; 12 Oct 2010 19:37:17 +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 1P5kez-0003iv-8O for submit@debbugs.gnu.org; Tue, 12 Oct 2010 15:37:17 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P5kex-0003iq-8x for 7190@debbugs.gnu.org; Tue, 12 Oct 2010 15:37:16 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0LA600E00ZWCC800@a-mtaout21.012.net.il> for 7190@debbugs.gnu.org; Tue, 12 Oct 2010 21:40:41 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.229.93.189]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LA600ETYZZM6S20@a-mtaout21.012.net.il>; Tue, 12 Oct 2010 21:40:35 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 12 Oct 2010 15:38: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:40832 Archived-At: > From: Lennart Borgman > Date: Tue, 12 Oct 2010 21:13:08 +0200 > Cc: 7190@debbugs.gnu.org > > >> I just meant adding some DebPrint statements and recompile. > > > > I wouldn't know where to add these statements, because we have no idea > > what is causing the memory corruption which leads to the crash. > > I would assume that is all happens within the menus. No, it happens within Emacs. We allocate the memory that we free when Emacs crashes. > Is the menu code synched with the other code? Is it perhaps running > in a separate thread and not in Emacs normal GUI thread? You can see in the backtrace that the code which crashes is called from command_loop -> read_key_sequence -> read_socket chain, which is part of the normal Emacs input processing of the main thread.