Re: FVWM: Abort trap from menu after upgrade to Fvwm2.4.14

From: Dan Espen <dane_at_mk.telcordia.com>
Date: Fri, 10 Jan 2003 23:20:10 -0500

Louis LeBlanc <fvwm_at_keyslapper.org> writes:
> On 01/10/03 12:56 PM, Dan Espen sat at the `puter and typed:
> > Louis LeBlanc <fvwm_at_keyslapper.org> writes:
> > > Hey all. I've been away for some time (got my fvwm config tweaked
> > > just where I wanted it) and now something has happened.
> > >
> > > I recently upgraded to fvwm2.4.14 on FreeBSD, but hadn't gotten around
> > > to restarting the system yet. Then last night, we lost power for
> > > awhile, and when it came back, the system came up great - except for X
> > > and Fvwm.
> > >
> > > I narrowed down and solved most of the problems, but now I have Fvwm
> > > starting with my usual desktop and menus, but the menus and any exec
> > > hotkeys don't seem to work. Any time I try to exec something from the
> > > menus, I simply get a message in the log that says:
> > > Abort trap
> > >
> > > and that's it. Nothing else.
> >
> > Something is calling the abort() function.
> >
> > Since Fvwm is still running, it doesn't sound like fvwm.
> >
> > When you "exec" something, Fvwm looks for the config command
> > "ExecUseShell" and then $SHELL, otherwise it uses /bin/sh.
>
> Hmm. Not sure if this sheds any light . . .
>
> -bash-2.05b$ echo $SHELL
> /usr/local/bin/bash
> -bash-2.05b$ /usr/local/bin/bash xterm
> xterm: /usr/X11R6/bin/xterm: Permission denied
> -bash-2.05b$ /bin/sh /usr/X11R6/bin/xterm
> /usr/X11R6/bin/xterm: Can't open /usr/X11R6/bin/xterm: Permission denied
> -bash-2.05b$
>
> Permission denied? I must be doing something wrong there. I usually
> just type in the command from the prompt. Typing in xterm from the
> bash shell pops up a terminal immediately. Ditto if I switch to
> /bin/sh.

The permission denied message is an indication of a problem,
it shouldn't be happening. I don't know exactly what it is.

I guess I'd first look at the permissions on the files.
All of them. Then run "file" on each. Then run the whole
thing under strace:

strace -f /bin/sh /usr/X11R6/bin/xterm 2>/tmp/strace.out

Then look in /tmp/strace.out for whats causing the permission
denied.

Its a little odd that you have bash installed in /usr/local,
I guess thats normal for FreeBSD?

-- 
Dan Espen                           E-mail: dane_at_mk.telcordia.com
--
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 Fri Jan 10 2003 - 22:22:37 GMT

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