Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Re: [Alex] bug? outgoing.pl core dumping randomly

Quote Reply
Re: [Alex] bug? outgoing.pl core dumping randomly In reply to
Okay, found out what's happening. It's prolly in part due to some of the changes we made dealing with multiple domains and keeping a standard template for each domain, but not entirely.

What happened was that outgoing.pl could not get a template set (not even default) when it called GMail.pm to load the template. So GMail goes ahead and and runs the error routine, which in turn tries to call the language file (but doesn't have a template set), and of course there is error checking in that, which in turns calls back for an error which calls that language file again... you get the picture, it's quite a nasty loop it gets caught in. Fortunately the OS was pretty good at handling these core dumps so the server never crashed crashed, but it's not hard to see how it could. I ended up with a 500MB core dump file.

My guess is there might be some code missing in the error handling to make sure it's not looping itself over and over again...
Subject Author Views Date
Thread bug? outgoing.pl core dumping randomly JerryP 3642 Apr 15, 2002, 1:29 AM
Thread Re: [JerryP] bug? outgoing.pl core dumping randomly
brewt 3560 Apr 15, 2002, 11:33 AM
Thread Re: [brewt] bug? outgoing.pl core dumping randomly
JerryP 3529 Apr 15, 2002, 12:34 PM
Thread Re: [JerryP] bug? outgoing.pl core dumping randomly
brewt 3522 Apr 15, 2002, 2:26 PM
Thread Re: [brewt] bug? outgoing.pl core dumping randomly
JerryP 3524 Apr 15, 2002, 2:56 PM
Thread Re: [JerryP] bug? outgoing.pl core dumping randomly
Alex 3526 Apr 15, 2002, 3:13 PM
Post Re: [Alex] bug? outgoing.pl core dumping randomly
JerryP 3512 Apr 15, 2002, 4:05 PM
Post Re: [Alex] bug? outgoing.pl core dumping randomly
JerryP 3509 Apr 15, 2002, 11:01 PM