(unknown charset) Re: FVWM: Abort trap from menu after upgrade to Fvwm2.4.14 - Solved

From: (unknown charset) Louis LeBlanc <fvwm_at_keyslapper.org>
Date: Sat, 11 Jan 2003 10:45:57 -0500

On 01/11/03 09:57 AM, Dan Espen sat at the `puter and typed:
> Louis LeBlanc <fvwm_at_keyslapper.org> writes:
> > On 01/11/03 01:43 AM, Ben Winslow sat at the `puter and typed:
> > > A better example would be /usr/local/bin/bash -c /usr/X11R6/bin/xterm
> >
> > That one opens the xterm ok.
> >
> > I don't know if it makes any difference, but any other program I try
> > opening from the menu seems ok. So long as it doesn't need an xterm
> > to run. Any ideas?
> >
> > Here's a sample of a problematic menu entry:
> > # Networking/Mail
> > AddToMenu "Mail" "Mail" Title
> > + "&Netscape Messenger" Exec /usr/local/bin/netscape +messenger
> > + "&Mutt" Exec /usr/X11R6/bin/xterm -tn xterm-color -T
> > "mutt" +sb -ls -fn 10x20 -geometry 125x47+1+1 -e mutt
> > + "&Gbuffy" Exec /usr/X11R6/bin/gbuffy
> >
> > Netscape and gbuffy start fine, but mutt won't. I even tried the
> > "Exec exec <command>" form, but no good.
> >
> > Any other ideas? Where could that Abort Trap be coming from?
>
> Well, even though I'm not right all the time, I think
> I can keep coming up with ideas.
>
> I suppose plain:
>
> + "xterm" Exec /usr/X11R6/bin/xterm
>
> doesn't work either?
>
> The abort is supposed to cause a core dump.
> Do you have ulimit set to allow core dumps?
>
> Do you have a core file?
> If so, do "file core".
>
> You could also try running the strace from a menu:
>
> + "xterm" Exec strace -f /usr/X11R6/bin/xterm 2>/tmp/strace.out
>

Problem solved. Turns out something went south in my latest update,
and my /dev/null wound up with the wrong permissions. When fvwm tries
to execute a command that has output from the menu, apparently it
redirects to /dev/null, and fails if there is any error. When it
couldn't write to /dev/null, it refused to start the process.

So, now we know. It wasn't fvwm, or xterm, but an update script for
an OS upgrade that hosed me.

Thanks for your time!

Lou
-- 
Louis LeBlanc               leblanc_at_keyslapper.org
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org                     ԿԬ
IBM Pollyanna Principle:
  Machines should work.  People should think.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Sat Jan 11 2003 - 09:47:40 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:54 BST