(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 15:17:23 -0500

On 01/11/03 10:56 AM, Dan Espen sat at the `puter and typed:
> Louis LeBlanc <fvwm_at_keyslapper.org> writes:
> > On 01/11/03 09:57 AM, Dan Espen sat at the `puter and typed:
> > > 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.
>
> I don't see any redirection like that.

It's probably an implicit redirection.

> > 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!
>
> I'm curious. How did you find it?
> What was doing the abort?

I tried running the fvwm24_convert scripts on my old configs just to
see if I was still using something that has been deprecated. Turns
out it was doing some kind of redirection as well. It turned up an
error 'Cannot create /dev/null: Permission denied'. Turns out
/dev/null had permissions set to 0600, meaning no one but root could
throw anything in the black hole. chmod 666 quickly fixed that, and
everything else started working again. Turns out the MAKEDEV script
goofed up the permissions. I couldn't begin to tell you why. I
checked the script and it has the correct permissions. It's one of
those things that is funny if it's happening to someone else.

Thanks for the help. Maybe the next person that suddenly loses the
shell execs will be easier to help.

Lou
-- 
Louis LeBlanc               leblanc_at_keyslapper.org
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org                     ԿԬ
Wilcox's Law:
  A pat on the back is only a few centimeters from a kick in the pants.
--
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 - 14:19:09 GMT

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