[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: zmailer-2.99.25 router problem
On Tue, 30 Jan 1996, Bruce Sterling Woodcock wrote:
> Sorry if this is a known bug, but we are in need of assistance.
>
> We have been running zmailer-2.97 for some time, and noticed that every
> once in a while the sheduler or router would hang, and we'd have to kill
> and restart zmailer to get things flowing again. This is on a BSDI 1.1
> system.
>
> In an effort to avoid this and other bugs, I've been working to
> upgrade our current version to Matti Aarnio's zmailer version 2.99.95.
> We had to make a couple of adjustments to the source code to get it to
> compile properly (including grabbing an old copy of the compat/sendmail
> Makefile, as it was missing in this version), but it finally. However,
> now I'm getting a coredump when I try to start up the router to test it
> with router -i. Here is what gdb had to say:
>
> # gdb router core.router
> Core was generated by `router'.
> #0 0x211d3 in siofputs (s=0x78<Address 0x78 out of bounds>, fp=0x5a670)
> at io.c:129
>
> 129 *siop->sb_ptr++ = (u_char)*s++;
> (gdb) where
> #0 0x211d3 in siofputs (s=0x78<Address 0x78 out of bounds>, fp=0x5a670)
> at io.c:129
> #1 0x22d85 in s_grind (list=0x0, fp=0x5a670) at listutils.c:200
> #2 0x1a62a in execute (c=0xefbfb430, caller=0xefbfc2e8, oretcode=-12345,
> name=0x1797d "get") at execute.c:347
> #3 0x1d299 in runcommand (c=0xefbfb430, pc=0xefbfc2e8, retcodep=0xefbfbd28)
> at interpret.c:690
> #4 0x1f061 in interpret (caller=0xefbfc2e8, cdp=0x766f0, code=0x76470 "\r",
> entry=0x7929c "", eocode=0x76523 "\016\r", retcodep=0xefbfbd28)
> at interpret.c:1645
> #5 0x1ab33 in execute (c=0xefbfc2e8, caller=0xefbfd308, oretcode=-12345,
> name=0x1d0be "<builtin cmd>") at execute.c:416
> #6 0x1d299 in runcommand (c=0xefbfc2e8, pc=0xefbfd308, retcodep=0xefbfcd48)
> at interpret.c:690
> #7 0x1f061 in interpret (caller=0xefbfd308, cdp=0x766f0, code=0x76470 "\r",
> entry=0x7913c "", eocode=0x76560 "\016\r", retcodep=0xefbfcd48)
> at interpret.c:1645
> #8 0x1ab33 in execute (c=0xefbfd308, caller=0x61300, oretcode=0,
> name=0x1d0be "<builtin cmd>") at execute.c:416
> #9 0x1d299 in runcommand (c=0xefbfd308, pc=0x61300, retcodep=0xefbfdccc)
> at interpret.c:690
> #10 0x1f061 in interpret (caller=0x61300, cdp=0x75e50, code=0x77e5c "\r",
> entry=0x790c4 "", eocode=0x7845d "\37777777652UU\37777777604\001",
> retcodep=0xefbfdccc) at interpret.c:1645
> #11 0x2e63a in leaux (fcfd=3,
> path=0x75e18 "/usr/local/lib/mail/share/router.fc", srcstbufp=0x77e5c)
> at trap.c:296
> #12 0x2e304 in loadeval (fcfd=3,
> path=0x61f80 "/usr/local/lib/mail/share/router.cf", srcstbufp=0xefbfddc8)
> at trap.c:229
> #13 0x18b34 in sh_include (argc=2, argv=0x69f68) at builtins.c:670
> #14 0x1c04 in initialize (
> configfile=0x61f80 "/usr/local/lib/mail/share/router.cf", argc=-1,
> argv=0xefbfdf1c) at router.c:409
> #15 0x177c in main (argc=2, argv=0xefbfdf14) at router.c:228
> (gdb) quit
>
> Initially I thought this was a problem with the difference between
> the regular fileno and the unsigned casting of fileno (FILENO) between
> the two versions, but changing it back to fileno didn't seem to make
> any difference. Is there something in our router.cf file that we need
> to change?
>
> Any suggestions on getting a newer version of zmailer to work on our
> system? Upgrading BSDI 1.1 to BSD/OS 2.x is not an option just yet.
>
> Bruce
What compilier flags are you using?
Tom