GNU bug report logs - #421
problems with async "shell-command" and gnome-open

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: "Stephan Stahl" <esteel <at> eos.franken.de>; dated Sun, 15 Jun 2008 19:10:05 UTC; Maintainer for emacs is bug-gnu-emacs <at> gnu.org.
Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#421; Package emacs. Full text available.

Message received at (unknown):


Received: (at unknown) by unknown; unknown
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
	(2007-08-08) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Status: No, score=-4.0 required=4.0 tests=BAYES_00 autolearn=ham
	version=3.2.3-bugs.debian.org_2005_01_02
Received: (at 421) by emacsbugs.donarmstrong.com; 3 Aug 2008 13:36:56 +0000
Received: from gate.verona.se (IDENT:0 <at> iwfs.imcode.com [82.115.149.64])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m73DarEQ000386
	for <421 <at> emacsbugs.donarmstrong.com>; Sun, 3 Aug 2008 06:36:54 -0700
Received: from chopper (IDENT:1005 <at> localhost [127.0.0.1])
	by gate.verona.se (8.13.4/8.11.4) with ESMTP id m73DakFN011160
	for <421 <at> emacsbugs.donarmstrong.com>; Sun, 3 Aug 2008 15:36:47 +0200
From: joakim <at> verona.se
To: 421 <at> debbugs.gnu.org
Subject: more info + workaround
Date: Sun, 03 Aug 2008 15:36:48 +0200
Message-ID: <m3od4aw77z.fsf <at> verona.se>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

I straced gnome-open and it ends with a clone statement, so I suppose
emacs gets confused by the original process dying.

Then I tried a wrapper script like this:

#!/bin/sh
strace -o /tmp/gnome-open-strace gnome-open $1 


If I use this wrapper rather than gnome-open directly, the problem goes
away. Removing strace from the wrapper makes the problem come back.




-- 
Joakim Verona




Acknowledgement sent to joakim <at> verona.se:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text available.
Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#421; Package emacs. Full text available.

Message received at (unknown):


Received: (at unknown) by unknown; unknown
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
	(2007-08-08) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Status: No, score=-2.0 required=4.0 tests=BAYES_20,RCVD_IN_DNSWL_LOW
	autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02
Received: (at submit) by emacsbugs.donarmstrong.com; 15 Jun 2008 19:00:22 +0000
Received: from lists.gnu.org (lists.gnu.org [199.232.76.165])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5FJ0IOe022225
	for <submit <at> emacsbugs.donarmstrong.com>; Sun, 15 Jun 2008 12:00:20 -0700
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1K7xSb-000412-QB
	for bug-gnu-emacs <at> gnu.org; Sun, 15 Jun 2008 15:00:17 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1K7xSa-0003zd-He
	for bug-gnu-emacs <at> gnu.org; Sun, 15 Jun 2008 15:00:16 -0400
Received: from [199.232.76.173] (port=33510 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1K7xSa-0003zH-2l
	for bug-gnu-emacs <at> gnu.org; Sun, 15 Jun 2008 15:00:16 -0400
Received: from mail-n.franken.de ([193.175.24.27]:46114)
	by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60)
	(envelope-from <esteel <at> eos.franken.de>)
	id 1K7xSZ-00005k-R3
	for bug-gnu-emacs <at> gnu.org; Sun, 15 Jun 2008 15:00:16 -0400
Received: from www.franken.de (melissa.franken.de [193.175.24.34])
	by mail-n.franken.de (Postfix) with ESMTP id EB3991C0B4611
	for <bug-gnu-emacs <at> gnu.org>; Sun, 15 Jun 2008 21:00:11 +0200 (CEST)
Received: from 77.24.112.159
        (SquirrelMail authenticated user eos)
        by www.franken.de with HTTP;
        Sun, 15 Jun 2008 21:00:11 +0200 (CEST)
Message-ID: <48765.77.24.112.159.1213556411.squirrel <at> www.franken.de>
Date: Sun, 15 Jun 2008 21:00:11 +0200 (CEST)
Subject: problems with async "shell-command" and gnome-open
From: "Stephan Stahl" <esteel <at> eos.franken.de>
To: bug-gnu-emacs <at> gnu.org
User-Agent: SquirrelMail/1.4.13
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
X-Priority: 3 (Normal)
Importance: Normal
Content-Transfer-Encoding: quoted-printable
X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3)

Hi.

gnome-open does nothing when run as asynchronous "shell-command".

M-! gnome-open /usr/share/pixmaps/backgrounds/gnome/translucent/tentacles=
.svg &

it just ends without error but also without opening the file.  It however=
 works when doing the
same without the & but then emacs blocks and waits for gnome-open (or rat=
her the program it
called) to end.  The same applies to dired's dired-do-shell-command (boun=
d to ! in a dired buffer)
where this problem is also much more annoying.  I'm not sure if its an em=
acs bug or gnome-open bug
but so far i only had problems with it in emacs thats why i write to this=
 mailinglist first.
Would be nice to hear about a fix or workaround.

Regards,
Stephan






Acknowledgement sent to "Stephan Stahl" <esteel <at> eos.franken.de>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text available.
Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#421; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 20 Sep 2011 19:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.