From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#6414: f->output_data.w32->menubar_widget uninitialized? Date: Mon, 4 Jul 2011 03:21:06 +0200 Message-ID: References: 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 1309742553 28710 80.91.229.12 (4 Jul 2011 01:22:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 4 Jul 2011 01:22:33 +0000 (UTC) Cc: 6414@debbugs.gnu.org To: Lennart Borgman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 04 03:22:27 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 1QdXrl-0003ao-GC for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Jul 2011 03:22:25 +0200 Original-Received: from localhost ([::1]:57425 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdXrk-0000Wz-Hv for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Jul 2011 21:22:24 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:58934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdXrR-0000WX-59 for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2011 21:22:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QdXrP-0006sq-9Y for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2011 21:22:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47486) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdXrO-0006si-TU for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2011 21:22:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QdXrO-0001ex-2K; Sun, 03 Jul 2011 21:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Jul 2011 01:22: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.13097425156367 (code B ref 6414); Mon, 04 Jul 2011 01:22:02 +0000 Original-Received: (at 6414) by debbugs.gnu.org; 4 Jul 2011 01:21:55 +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 1QdXrH-0001ee-21 for submit@debbugs.gnu.org; Sun, 03 Jul 2011 21:21:55 -0400 Original-Received: from mail-pv0-f172.google.com ([74.125.83.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QdXrE-0001eS-Nn for 6414@debbugs.gnu.org; Sun, 03 Jul 2011 21:21:53 -0400 Original-Received: by pvh18 with SMTP id 18so4438678pvh.3 for <6414@debbugs.gnu.org>; Sun, 03 Jul 2011 18:21:46 -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:content-transfer-encoding; bh=kelmPXhwRD7ZCpRjgAnwml1SqeKB5X3nycFU+W+4K9Y=; b=MOawgFJe8wJxq2H2MFk7GTebHdCCt8igekKl7e18hzYmvxh+7anljImlB9ijE0VpCl z8IJN8S7wpI5KdXaUHCMGQUl1UADTQ5z4oIvl+1p9/N+ul38ndWADEWHx4ycT6M+LQuI W7h+z1bV8xlK1+PGk8KF9sKK2uQAoPZ8LDQFU= Original-Received: by 10.143.29.13 with SMTP id g13mr2323629wfj.221.1309742506532; Sun, 03 Jul 2011 18:21:46 -0700 (PDT) Original-Received: by 10.142.48.6 with HTTP; Sun, 3 Jul 2011 18:21:06 -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 21:22: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:47904 Archived-At: On Mon, Jul 4, 2011 at 03:08, Lennart Borgman w= rote: > This call was related to the menus. This bug report was supposedly about menus, but was in fact about system calls returning errors, and no menu bug in sight... > I believe many of the heavy menu users might be using my patched > version (since this allows them to use the windows-key as META). That > might be the reason you do not see the bug reports. Perhaps. It is hard to say. > Of course, but you just do not know it was a race condition. You have > no clue at all, since such a condition with a system call can give > very strange results. (I have seen such cases.) It's irrelevant whether the user knows that it was a race condition. Either s/he sees a bug, or s/hee does not. > I would say every system call. Why do you think some of them should be > excluded from error checking? There are many reasons. In some cases, an error means something could not be done, but reporting it does not help and the fact that it was not done does not cause any harm. In other cases, a system call can return an error, but it just never happens (or if it happens, the reason is serious enough that Emacs failing will not be the biggest problem). Adding error checking to all system calls adds unneeded complexity in these cases where there's nothing to do if the system call fails, and it failing is not going to cause data loss or the World War III. > That one in x_free_frame_resources (that I told about 2010-06-13). Again: what change? Adding error checking? > I wonder why I cared to add that check then. Perhaps was it executed > before, I have no idea now. Then, why did you comment it? =C2=A0 =C2=A0 Juanma