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#6414: f->output_data.w32->menubar_widget uninitialized? Date: Mon, 4 Jul 2011 00:37:04 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1309732705 20465 80.91.229.12 (3 Jul 2011 22:38:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 3 Jul 2011 22:38:25 +0000 (UTC) Cc: 6414@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 04 00:38:20 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 1QdVIy-0008Sw-LB for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Jul 2011 00:38:20 +0200 Original-Received: from localhost ([::1]:39538 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdVIx-00087R-Dz for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Jul 2011 18:38:19 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:48783) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdVIi-00087A-07 for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2011 18:38:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QdVIh-0001Hx-2E for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2011 18:38:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55598) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdVIg-0001Ht-UV for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2011 18:38:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QdVIg-0004hH-Dj; Sun, 03 Jul 2011 18:38: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: Sun, 03 Jul 2011 22:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6414 X-GNU-PR-Package: emacs,w32 X-GNU-PR-Keywords: Original-Received: via spool by 6414-submit@debbugs.gnu.org id=B6414.130973265218017 (code B ref 6414); Sun, 03 Jul 2011 22:38:02 +0000 Original-Received: (at 6414) by debbugs.gnu.org; 3 Jul 2011 22:37:32 +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 1QdVIB-0004gY-MO for submit@debbugs.gnu.org; Sun, 03 Jul 2011 18:37:31 -0400 Original-Received: from mail-ew0-f44.google.com ([209.85.215.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QdVIA-0004gN-35 for 6414@debbugs.gnu.org; Sun, 03 Jul 2011 18:37:30 -0400 Original-Received: by ewy19 with SMTP id 19so1927896ewy.3 for <6414@debbugs.gnu.org>; Sun, 03 Jul 2011 15:37:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=MLavZ+V+THRNkVlIP+Gm76XWYGwafj/xe4uho1xrTJQ=; b=euiGoPyfp3f7ul4HxnvG7HZPiUJNETWZbrqGz88iuJHYQfz4+cLGpMVKWqf36EODYm ptp4spfhPxdF8ge77ZtlS9vQyU7XT6lemjKJsMCqxve2JJZ7T0nQKISXjgfyNlLQxF45 2XzDbAA73sfjYFItpXxTbsO5dDgmfAaAF1ldc= Original-Received: by 10.213.35.202 with SMTP id q10mr1215417ebd.64.1309732644283; Sun, 03 Jul 2011 15:37:24 -0700 (PDT) Original-Received: by 10.213.7.84 with HTTP; Sun, 3 Jul 2011 15:37:04 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 03 Jul 2011 18:38: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:47872 Archived-At: On Mon, Jul 4, 2011 at 00:30, Juanma Barranquero wrote: > On Mon, Jul 4, 2011 at 00:19, Lennart Borgman wrote: > >> However I think it is also very difficult to catch such errors. They >> are likely to be race conditions (since w32 messages from different >> sources are involved). > > But you're talking of presumed errors, i.e., you read the code, see > some error messages from system calls, but there's no error, is there? It has been some time since I suggested this, but as far as I remember I looked into this because I had quite a few crashes. They seemed to be related to menus. >> So I think it is better to check the logic. (As I have tried to above.) > > Which is fine, but it is not IMO a bug report. In this specific case, > the title refers to an uninitialized struct component, but you > yourself say latter that it is initialized. Yes, correct. And I pointed to another place where I thought the problem was instead. >> And I also still think it is a good idea to add check for error >> conditions after all system calls. (For the same reason as above.) > > As you know, this has been discussed and there's some difference of > opinion, but again, even if you're right, that's not a bug report, > other than perhaps a wishlist, but frankly, this seems more like > something to discuss (again) on emacs-devel than to file as a bug. Since you asked for a recipe I thought I had to mention this again. It looked to me that you overlooked this problem again. > So, to summarize: is this bug report about a bug? Is there something > to do about it? Or can we close it? Did you look at the logic as I suggested? If you are sure my suggestion is wrong then feel free to close the bug.