[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Zmailer on DEC Alpha





After some porting, I succeeded in compiling 2.2 on a DEC
Alpha running OSF/1 1.2. Unfortunately it happens that the router
dumps core very often. I assume that the written "fc" files are not
64-bit clean. But, it always dumps at the same place (when inside
the "sift" command). The following illustrates the location:

signal Segmentation fault at   [setsubexps:905 +0xc,0x120031724]
re->startp = sep->startp;
(dbx) where
>  0 setsubexps(sepp = 0x11ffedef8, re = (nil)) ["interpret.c":905,
0x120031724]
   1 interpret(code = 0x140075010, eocode = 0x1400759f7, entry =
0x140075175, caller = 0x11fff02d8, retcodep = 0x11ffef858, cdp =
0x14006b310) ["interpret.c":2008, 0x120035e94]
   2 execute(c = 0x11fff02d8, caller = 0x11fff1ea8, oretcode = 0)
["execute.c":412, 0x120043108]
   3 runcommand(c = 0x11fff02d8, pc = 0x11fff1ea8, retcodep = 0x11fff1318)
["interpret.c":537, 0x1200307d8]
   4 interpret(code = 0x140070010, eocode = 0x140071529, entry =
0x140071208, caller = 0x11fff1ea8, retcodep = 0x11fff1318, cdp =
0x14006aad0) ["interpret.c":1424, 0x120033acc]
   5 execute(c = 0x11fff1ea8, caller = 0x11fff37d0, oretcode = 0)
["execute.c":412, 0x120043108]
   6 runcommand(c = 0x11fff1ea8, pc = 0x11fff37d0, retcodep = 0x11fff2dd8)
["interpret.c":537, 0x1200307d8]
   7 interpret(code = 0x140070010, eocode = 0x140070943, entry =
0x140070152, caller = 0x11fff37d0, retcodep = 0x11fff2dd8, cdp =
0x14006aad0) ["interpret.c":1424, 0x120033acc]
   8 execute(c = 0x11fff37d0, caller = 0x11fff5318, oretcode = 0)
["execute.c":412, 0x120043108]
   9 runcommand(c = 0x11fff37d0, pc = 0x11fff5318, retcodep = 0x11fff4898)
["interpret.c":537, 0x1200307d8]
  10 interpret(code = 0x140075010, eocode = 0x1400759f7, entry =
0x140075175, caller = 0x11fff5318, retcodep = 0x11fff4898, cdp =
0x14006b310) ["interpret.c":1424
  11 execute(c = 0x11fff5318, caller = 0x11fff6d50, oretcode = 0)
["execute.c":412, 0x120043108]
  12 runcommand(c = 0x11fff5318, pc = 0x11fff6d50, retcodep = 0x11fff6358)
["interpret.c":537, 0x1200307d8]
  13 interpret(code = 0x140070010, eocode = 0x140070943, entry =
0x140070152, caller = 0x11fff6d50, retcodep = 0x11fff6358, cdp =
0x14006aad0) ["interpret.c":1424, 0x120033acc]
  14 execute(c = 0x11fff6d50, caller = 0x11fff8788, oretcode = 0)
["execute.c":412, 0x120043108]
  15 runcommand(c = 0x11fff6d50, pc = 0x11fff8788, retcodep = 0x11fff7e18)
["interpret.c":537, 0x1200307d8]
  16 interpret(code = 0x140075010, eocode = 0x1400759f7, entry =
0x140075175, caller = 0x11fff8788, retcodep = 0x11fff7e18, cdp =
0x14006b310) ["interpret.c":1424, 0x120033acc]
  17 execute(c = 0x11fff8788, caller = 0x11fff9898, oretcode = 0)
["execute.c":412, 0x120043108]
  18 runcommand(c = 0x11fff8788, pc = 0x11fff9898, retcodep = 0x11fff9938)
["interpret.c":537, 0x1200307d8]
  19 interpret(code = 0x14005e010, eocode = 0x14005e7e7, entry =
0x14005e62e, caller = 0x11fff9898, retcodep = 0x11fff9938, cdp =
0x140047ed0) ["interpret.c":1424, 0x120033acc]
  20 lapply(fname = 0x140002f78 = "router", l = 0x140023994)
["interpret.c":2166, 0x1200366f8]

The router program output in it's logfile:

router: regexp -e: corrupted program


Any suggestions? Rayan? :)

Anyways, I will post the diffs to get it compile (and the diffs to run it on
BSDI/386 0.1, and on a Sequent Symmetry) in a few days.


Greetings,
   Armin

PS. I fould another problem. zmailer "pretties" the header files of mails,
i.e. writing tabs between the header-token and its content, AND it does
line break. It behaves incorrect if the line can't be split on a word
boudary. That leads to a line line:

From:	Armin Gruner <Armin.Gruner@rennsau.regent.e-technik.tu-muenchen.dbp
        .de>

User Agents and other MTA's are not very happy with that...