[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Texmacs-dev] 18.104.22.168 : Proposed Patch for "Stack Overflow" Cygwin
Re: [Texmacs-dev] 22.214.171.124 : Proposed Patch for "Stack Overflow" Cygwin errors.
Fri, 18 Jul 2003 11:11:02 +0200
On Fri, Jul 18, 2003 at 12:16:56AM -0700, Duke Whang wrote:
> [This was sent to address@hidden as well]
> Summary :
>  TeXmacs 126.96.36.199 (and 188.8.131.52) on Cygwin [under Windows XP]
> produces "Stack overflow" errors.
>  Proposed change:
> Revert line 18 of
> CURRENT line 18 (184.108.40.206)
> (debug-set! stack 10000000)
> PROPOSED CHANGE (this is identical to the version in 220.127.116.11)
> (debug-set! stack 1000000)
I do not know what this change was introduced for. I think scheme code
requiring such a big stack is probably buggy, but maybe there is a
good reason for it.
An alternative fix might be changing the $prefix/bin/texmacs script to
disable the stack size limitation (maybe using "ulimit -s"), or
something to that effect.
>  Comment:
> The old naming conventions of the installation directories,
> (examples :
> rather than the current (18.104.22.168 and 22.214.171.124) naming
> allows for *much* easier rollbacks if future versions do
> not work. (Indeed, installation directory "versioning"
> allowed me to run a simple "diff" to debug this particular
No! Please do not say this. People have been cursing the old naming
convention for monthes and years and we are all very happy of the new
If you want to diff two versions, just use diff (or a graphical
utility like emacs ediff mode, GNOME meld or kdiff3) on the source
A good way to install packages in /usr/local is to use:
./configure --prefix /usr/local/texmacs-126.96.36.199
and change the version number for each install.
Then use some symlinks to make changing installations easy.
[ install /usr/local/texmacs-188.8.131.52 ]
ln -s texmacs-184.108.40.206 texmacs
ln -s ../texmacs/bin/* .
[ install /usr/local/texmacs-220.127.116.11 ]
ln -s texmacs-18.104.22.168 texmacs
There are also a number of softwares which help you manage your
symlinks in this way (look for "gar" and "stow", I think). Generally,
it is a _bad idea_ to install software directly in /usr/local/.
If you want to run an old version of texmacs, then you just have to
set the PATH for one command:
Ideally, it should be possible just to run
/usr/local/texmacs-22.214.171.124/bin/texmacs, but since the fig2ps and
tm_gs scripts are not run by absolute path, that may not work
David Allouche | GNU TeXmacs -- Writing is a pleasure
Free software engineer | http://www.texmacs.org
http://ddaa.net | http://savannah.gnu.org/projects/texmacs
address@hidden | address@hidden
TeXmacs is NOT a LaTeX front-end and is unrelated to emacs.