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: Wed, 13 Oct 2010 13:08:26 +0200 Message-ID: References: <4CB591BD.4060804@gmx.de> 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 1286975413 12165 80.91.229.12 (13 Oct 2010 13:10:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Oct 2010 13:10:13 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: grischka Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 13 15:10:12 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 1P615v-00007n-Ly for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Oct 2010 15:10:12 +0200 Original-Received: from localhost ([127.0.0.1]:46677 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P615u-0007Z8-Nv for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Oct 2010 09:10:10 -0400 Original-Received: from [140.186.70.92] (port=49250 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P60KE-0002pG-4l for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2010 08:20:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P60Bp-0008Sz-I4 for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2010 08:12:15 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50615) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P60Bp-0008Sv-GV for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2010 08:12:13 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1P5znS-0002ig-Fu; Wed, 13 Oct 2010 07:47: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: Wed, 13 Oct 2010 11:47: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 submit@debbugs.gnu.org id=B.128697039410442 (code B ref -1); Wed, 13 Oct 2010 11:47:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Oct 2010 11:46:34 +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 1P5zmz-0002iN-My for submit@debbugs.gnu.org; Wed, 13 Oct 2010 07:46:34 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P5zmy-0002iI-GY for submit@debbugs.gnu.org; Wed, 13 Oct 2010 07:46:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P5zq1-0004XC-SJ for submit@debbugs.gnu.org; Wed, 13 Oct 2010 07:50:02 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:59150) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P5zq1-0004Wr-K8 for submit@debbugs.gnu.org; Wed, 13 Oct 2010 07:49:41 -0400 Original-Received: from [140.186.70.92] (port=35064 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P5zpu-0006qV-OO for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2010 07:49:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P5zCS-0000Ro-KZ for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2010 07:08:49 -0400 Original-Received: from mail-qy0-f176.google.com ([209.85.216.176]:62576) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P5zCS-0000Ra-IU for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2010 07:08:48 -0400 Original-Received: by qyk29 with SMTP id 29so7041664qyk.0 for ; Wed, 13 Oct 2010 04:08:48 -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=EzuIAww9oPmUMfFFXDswK1WntwEHhT/4TL7euliS9ZY=; b=ehejpOY/4WyFDGxFECf2htygU2XiL3PSW0PGtQHk4bSqZ64GOudM3XUhoSSt3D4JIJ SfwumHjYCOc1OtO8FZXa1stMpjLcG6POOWC0ijgTMCX7DGXamcnhAImPjEUkh6X7fe1T 0Bjd7sDA/qDk+nCYLyhR5X1nXfZU9DuR6mj8U= 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=Ue9M5v97cJDaO3Gnca0CEIuXrdCw5qYV4bSTRLLrFiQaVn8s9nEmPMZ1Z4kJztpaie MuqqLTB60iPOgLNbN2JwA82GiG29bYNqfYbqaZuqtMQFqEEs3JqVoztn2xcrrfpOkrdu +haHT93+fI/9+8Lo/ypFMme7O84G8aBo1yayc= Original-Received: by 10.224.208.134 with SMTP id gc6mr2294397qab.335.1286968128075; Wed, 13 Oct 2010 04:08:48 -0700 (PDT) Original-Received: by 10.229.220.195 with HTTP; Wed, 13 Oct 2010 04:08:26 -0700 (PDT) In-Reply-To: <4CB591BD.4060804@gmx.de> 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, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 13 Oct 2010 07:47: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:40850 Archived-At: On Wed, Oct 13, 2010 at 1:02 PM, grischka wrote: >> I assume that their is either a logical problem with the code inside >> Emacs or a bad assumption on how menu callbacks are actually run. > > Is there a difference between logical problem and bad assumption? Yes. The code could be correct under some bad assumptions regarding the way the interface to the OS works. Is not that an important difference? >> By >> adding DebPrint call we could perhaps see if some code where called in >> an order we did not expect. > > Perhaps see the information that you already have? =C2=A0For example > =C2=A0#7 =C2=A00x011c4e4b in w32_free_submenu_strings (menu=3D0x205e3) at= w32menu.c:1701 > is telling where is "some code", and > =C2=A0"Invalid Address specified to RtlFreeHeap( 00850000, 0088BDC8 )" > is telling about "order we did not expect", as likely in: =C2=A0Called > twice for the same memory object. =C2=A0If in doubt, try to prove that > it can't happen. Yes, perhaps. But it could also be that memory objects are freed in an order we did not expect.