Re: [BUG] Problem with gnome-terminal



Aha:) that /might/ be the problem - I recently changed the user 
(aliabdin) from from bash to bash2 using the 'usermod' progam, when I 
changed it I just used 'bash2' as opposed to '/usr/bin/bash2' - 
unfortunately, I am not at home right now so I can't test it (I'm at the 
uni lab)

Anyway, I /STILL/ think this is a bug because all other terminals handle 
this error gracefully - i.e Eterm, xterm, nxterm, etc.

Also, if it CAN NOT handle it, at least provide a more 'appropriate' 
error message (instead of the Unix98 pty error, or the straight segfault).

Thanks, I'll report my progress later today when I get home :) (perhaps 
this can be (hopefully) fixed in gnome-core-1.0.54pre3)

On Wed, 3 Nov 1999, NotZed wrote:

> 
> What is your shell set to in your password file?
> 
> If it has no / in it, it may cause this problem (although how the hell
> that could be i have no idea).
> 
> If now, try running:
> 
> info locals
> print *shell
> 
> From the segfault frame.
> 
> 
> > I am running all the 'October GNOME' packages.
> > 
> > For some reason, all of a sudden my gnome-terminal broke - I have a standard
> > RedHat 6.0 system, but recently, I started playing around with my bashrc
> > file and today tried to install some VGA fonts. I also installed svgatext
> > and SVGAlibs - I don't know if that is related. Anyway, at first
> > gnome-terminal would quit and the error on the console is:
> > Error: unable to fork: Success
> > I kept repeating gnome-terminal and sometimes it told me that my Unix98 ptys
> > were not set-up correctly - but they are. I checked, and even Eterm was
> > using them!!! Anyway, I recompiled with debugging info and this is what I
> > got - Note: I'm using bash2 v2.03 - After running gnome-terminal a few times
> > it now CONSISTENTLY crashes and brings up gnome-segv
> > Also note, when I login as ROOT, gnome-terminal works fine, this is only
> > when I login as a user.
> > 
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x8050381 in get_shell_name (shell=0xbffff85c, name=0xbffff860, isLogin=-1)
> >     at gnome-terminal.c:1619
> > 1619                    len = strlen (only_name);
> > (gdb) bt
> > #0  0x8050381 in get_shell_name (shell=0xbffff85c, name=0xbffff860,
> > isLogin=-1)
> >     at gnome-terminal.c:1619
> > #1  0x8051341 in new_terminal_cmd (cmd=0x0, cfg_in=0x8056c60, geometry=0x0)
> >     at gnome-terminal.c:2099
> > #2  0x80520b6 in main_terminal_program (argc=1, argv=0xbffff964,
> >     environ=0xbffff96c) at gnome-terminal.c:2653
> > #3  0x80520e6 in main (argc=1, argv=0xbffff964) at gnome-terminal.c:2666
> > (gdb)
> > 
> > Any advice or information is greatly appreciated - If you need more
> > information please tell me, and I'll tell you :)
> > Thanks
> > 
> > 
> > -- 
> > To unsubscribe: mail gnome-devel-list-request@gnome.org with "unsubscribe"
> > as the Subject.
> > 
> > 
> 
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]