#1083233 packages.debian.org: Perl errors in apache2's log

#1083233#5
Date:
2024-10-03 13:51:35 UTC
From:
To:
Hi,

Filing here as I'm not sure if there's a better place (the repository on
Salsa does not allow issue filing and there's no real contact link, and
the repo is owned by webmaster-team).

I found the following lines in apache's error log on picconi and it's
printed at least once per invocation:

It looks like this might happen if the localized strings we sprintf into
don't have exactly the substitutions required. Sadly there isn't any
more information in the logs as to the context in which this happens.

At the very least we should go and silence these, even though they point
to real bugs.

There's another one printed, but much less frequently:

It'd be good if that one were to be fixed as well.

Kind regards and thanks
Philipp Kern

#1083233#10
Date:
2024-10-03 15:44:01 UTC
From:
To:
Hi Philipp,

To get a stacktrace, you can try Carp::Always
(see https://metacpan.org/pod/Carp::Always ) or a similar handler for $SIG{__WARN__} and $SIG{__DIE__} (see https://metacpan.org/pod/perlvar#%25SIG ).

also see https://perldoc.perl.org/functions/caller .

Hope that helps