Skip to Content.
Sympa Menu

devel - Re: [sympa-dev] Missing function in bounced.pl and bug reporting

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: Micah Anderson <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-dev] Missing function in bounced.pl and bug reporting
  • Date: Mon, 10 Dec 2007 10:53:05 +0100

Hi Micah,

Micah Anderson a écrit :
Hi,

First of all, I tried to report this as a bug in the tracker, but I was unable to do so. When I click Login, I am directed to the https://
federation.cru.fr website and from there I am able to login, but I cannot return to the bug reporting page where I can report a bug while logged in.
Strange. The authentication system was changed, sure, but after you log in, you're supposed to be redirected to your sourcesup's home page.
Aren't you redirected somewhere after a few seconds?
The problem I am experiencing is that since I've upgraded to 5.3.4 bounced.pl keeps dying mysteriously.
You mean : without any traces?
Didn't you find any traces in your spool/tmp directory?
When a Sympa (non web) process dies, it is supposed to create a xxx.stderr file in this spool, "xxx" corresponding to the id of the process that just died.
I decided I needed to run it in debug mode to determine what is causing the crash, however running with the -d switch eventually results in bounced.pl dying because the function DoForward() does not exist in bounced.pl. It seems as if this function exists in sympa.pl but without it available in bounced.pl its not possible to run bounced.pl in debug mode:

List::init_list_cache() List::init_list_cache()
bounce for :address@concealed: Conf
{bounce_email_prefix}=bouncexx
processing Email Feedback Report
ignoring Feedback Report address@concealed : unknown format (feedback_type:abuse, original_rcpt:, listname:address@concealed
)
Undefined subroutine &main::DoForward called at ./bounced.pl line 376.

If I copy the DoForward subroutine into bounced.pl then I can run in debug mode. I presume that the subroutines located in sympa.pl are normally available to bounced.pl?
Well, normally yes.
My problem is : I can't reproduce the problem with our 5.3.4 version : I can launch bounced.pl in debug mode without any problem.
I would suspect (just a feeling) a perl problem. The call to list.pm is only implicit in this case so maybe some perl engine could choke on it.
If you change line 376 from:
&DoForward($listname, $forward, $robot, $entity) if (defined $forward);
to:
&List::DoForward($listname, $forward, $robot, $entity) if (defined $forward);

without including DoForward() code in bounced.pl, does it fix the problem?

Regards,

--
David Verdin
Comité réseau des universités




Archive powered by MHonArc 2.6.19+.

Top of Page