Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

zsh segfault


I'm the author of bashish, which aims to bring themes (title, font, background, size and so on) to the console.

I'm trying to get bashish working on most bourne style shells including zsh.

However after upgrading zsh 3.0.8 to zsh 4.0.2 (also tried 4.1.0-dev1) zsh segfaulted in a particular moment.

I've created a feature to select themes for each application, that is if you start your favourite text editor the background will become white and the foreground black and also changing to an easy to read font.
Then after the application is finished, your console will return to black colored background and your favourite console - hard to read, but cool - font.

however right after the application has finished, the console has been restored to it's initial theme, and zsh shows the prompt and waits for input.

Whenever you press [Return] then, zsh will crash and burn.

changing themes seems not to be a problem though:

## changes to the joe application theme (.alias indicates that the theme is initialized as an alias not a function)
$ btapp joe.alias
## restores world order
$ brefresh

I'd be willing to investigate this further, unfortually, I'm a shell script hacker who doesn't even know how to run gdb on zsh.

Zsh 3.0.8 does not have this bug

My system is a Dual Celeron 433, 64MB ram and a 1200 mb hd, Linux Slackware 7.2-current
I hope this can help you.


/Thomas Eriksson

Messages sorted by: Reverse Date, Date, Thread, Author