🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #2155

Epoch in batch mode fatal bug

#2155
From: Amir J. Katz
Date: Sun, 03 Mar 1991 08:15
61 lines
3118 bytes
I am trying to use Epoch 3.2 in batch mode to achieve something simple.
Epoch core dumps on me.

Here is the script I use:

   #! /bin/csh -f
   /bin/rm -f /tmp/xyz

   cat <<EOF >/tmp/xyz
   (replace-regexp ":[ ]+ "	" nil)
   (write-file "bady")
   EOF

   epoch -batch /tmp/xyz -kill goody
   /bin/rm /tmp/xyz

And this is what I get:

   Fatal error (11).Segmentation fault (core dumped)

dbx says:

Reading symbolic information...
Read 36965 symbols
program terminated by signal SEGV (segmentation violation)
(dbx) where
x_find_screen_seq(seq = 0), line 687 in "epoch/src/screen.c"
find_block(seq = 0), line 955 in "epoch/src/screen.c"
x_internal_block_handler(seq = 0, action = 9), line 1214 in "epoch/src/screen.c"
Fscreen_mapped_p(seq = 0), line 1343 in "epoch/src/screen.c"
Ffuncall(nargs = 2, args = 0xf7fff008), line 1704 in "epoch/src/eval.c"
Fbyte_code(bytestr = 51106656, vector = 67884668, maxdepth = 24), line 271 in "epoch/src/bytecode.c"
Feval(form = 84661080), line 1412 in "epoch/src/eval.c"
Fprogn(args = 84662084), line 305 in "epoch/src/eval.c"
funcall_lambda(fun = 84662092, nargs = 0, arg_vector = 0xf7fff34c), line 1847 in "epoch/src/eval.c"
Ffuncall(nargs = 1, args = 0xf7fff348), line 1737 in "epoch/src/eval.c"
Fbyte_code(bytestr = 51106368, vector = 67883768, maxdepth = 6), line 271 in "epoch/src/bytecode.c"
Feval(form = 84660792), line 1412 in "epoch/src/eval.c"
Fprogn(args = 84661056), line 305 in "epoch/src/eval.c"
funcall_lambda(fun = 84661064, nargs = 0, arg_vector = 0xf7fff5a8), line 1847 in "epoch/src/eval.c"
apply_lambda(fun = 84661064, args = 17831948, eval_flag = 1), line 1791 in "epoch/src/eval.c"
Feval(form = 85007252), line 1442 in "epoch/src/eval.c"
top_level_2(), line 444 in "epoch/src/keyboard.c"
internal_condition_case(bfun = &top_level_2() at 0x2bff8, handlers = 17832208, hfun = &cmd_error() at 0x2bba4), l
ine 996 in "epoch/src/eval.c"
top_level_1(), line 452 in "epoch/src/keyboard.c"
internal_catch(tag = 17832188, func = &top_level_1() at 0x2c028, arg = 17831948), line 814 in "epoch/src/eval.c"
command_loop(), line 417 in "epoch/src/keyboard.c"
Frecursive_edit(), line 305 in "epoch/src/keyboard.c"
main(argc = 5, argv = 0xf7fffa4c, envp = 0xf7fffa64), line 479 in "epoch/src/emacs.c"

Any clues ? TIA.
--

   Amir J. Katz, System Manager

E-mail:     amir@taux01.nsc.com
Phone:      +972 52-570713
Fax:        +972 52-570719
Snail-mail: Amir J. Katz, Silvaco Israel Ltd.
            19 Maskit St., Herzelia, Israel
Technical Details
Message-ID: <AMIR.91Mar3101540@pilat.Silvaco.COM>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!nsc!taux01!pilat!amir

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,7fb806544cdd71fb,start
X-Google-Attributes: gidfc7ee,public
X-Google-ArrivalTime: 1991-03-03 11:26:01 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!nsc!taux01!pilat!amir
From: amir@pilat.Silvaco.COM (Amir J. Katz)
Newsgroups: gnu.epoch.misc
Subject: Epoch in batch mode fatal bug
Message-ID: <AMIR.91Mar3101540@pilat.Silvaco.COM>
Date: 3 Mar 91 08:15:40 GMT
Sender: amir@pilat.Silvaco.Com
Distribution: gnu
Organization: Silvaco Israel Ltd.
Lines: 61