Skip to Content.
Sympa Menu

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

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Florent Guilleux <address@concealed>
  • To: address@concealed
  • Cc: address@concealed, address@concealed
  • Subject: Re: [Fwd: Re: [sympa-dev] Missing function in bounced.pl and bug
  • Date: Tue, 11 Dec 2007 13:54:41 +0100

Dear Micah,

I manage the CRU account system. When we migrate to this new system, we did inform all existing users who had checked 'Receive Email about Site Updates' in their SourceSup account maintenance page <https://sourcesup.cru.fr/account/>. We did explain that existing users of SourceSup like you now authenticate using their CRU account (more info about CRU account here: <http://www.cru.fr/en/faq/federation/aide-compte-cru>) with the email with which they registered in SourceSup and their usual password.

Can you try again? Click on 'Use your CRU account' to log in.

Let us know if if does not work.

Best regards,
Florent

David Verdin a écrit :


------------------------------------------------------------------------

Sujet:
Re: [sympa-dev] Missing function in bounced.pl and bug reporting
Expéditeur:
Micah Anderson <address@concealed>
Date:
Mon, 10 Dec 2007 10:34:56 -0500
Destinataire:
David Verdin <address@concealed>

Destinataire:
David Verdin <address@concealed>
Copie à:
address@concealed


* David Verdin <address@concealed> [071210 01:53]:
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?

When I click Login on the bug page, I'm directed to federation.cru.fr,
"To connect to 'sourcesup.cru.fr'...". Here I have three options to
connect:

1. If your Home Organization is present in the list below select it to
connect with our Home Organization account:

2. If your have a CRU account, use it to connect:

3. Else create a CRU account:
I didn't know what a "CRU account" was, in fact I dont know what CRU is
at all... so I assumed I didn't have one (although I created an account
to report bugs in the past), so I chose #3. From there I realized I did
not want to create an account, that I wanted to try and login with my
existing one, so I clicked the "Log in" link in the upper left
(http://federation.cru.fr/sac/faces/pages/CAS_login.jsp). There I was
able to login with my existing account, but was not brought back to the
bug page, but instead to "CRU account manager" where I can change
details of my account, and I have links to "My groups" and "Create a
group", neither which is populated with anything at all.

I realize now I should have chosen option #2 above, but the path I took
led me to actually login and once I was logged in I couldn't do anything
useful.

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?

I was looking at the bounced.log file, and seeing nothing there. The
.pid file remains, although the process is dead.

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 did not know to look there, next time it crashes, I will.

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.

Well you likely do not have the correct conditions which cause the
problem, when I run it, it runs fine for quite some time until a certain
type of message is processed. Based on my logs it looks like it is an
ARF message from AOL. Until such message comes in, things run fine, but
once bounced.pl needs to process it, thats when things crash. I suspect
that to reproduce it you would have to have your sympa setup to process
ARF bounces and have an ARF message queued.

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?

I shall try and report back. Thanks for your help!

Micah

--
Florent Guilleux - Comité Réseau des Universités |--> http://www.cru.fr






  • Re: [Fwd: Re: [sympa-dev] Missing function in bounced.pl and bug, Florent Guilleux, 12/11/2007

Archive powered by MHonArc 2.6.19+.

Top of Page