[request-tracker-maintainers] Bug#632129: Bug#632129: rt4-apache2: apache2 configtest fails with Segmentation fault
Niko Tyni
ntyni at debian.org
Fri Jul 8 15:09:04 UTC 2011
On Wed, Jun 29, 2011 at 01:44:48PM -0500, Matt Zagrabelny wrote:
> Package: rt4-apache2
> Version: 4.0.1-1
> Severity: normal
> When I enable RT in apache2 via including
> /etc/request-tracker4/apache2-modperl2.conf in my
> sites-enabled/000-default file I get the following error:
>
> # invoke-rc.d apache2 restart
> Syntax OK
> Segmentation fault
> Action 'configtest' failed.
> The Apache error log may have more information.
> failed!
> invoke-rc.d: initscript apache2, action "restart" failed.
FWIW, I can't reproduce this. A clean install on current sid/amd64
works fine for me.
Unfortunately I don't have many ideas about debugging this. Perhaps
try stripping down other parts of Apache configuration and see if it
goes away?
> I then run /usr/share/request-tracker4/libexec/rt-server by hand (out of
> curiosity):
>
> # /usr/share/request-tracker4/libexec/rt-server
> [Wed Jun 29 18:34:24 2011] [crit]: Something went wrong while trying to
> run RT's standalone web server:
> Can't locate Plack/Handler/Starlet.pm in @INC (@INC contains:
Reading rt-server, it's falling back to Starlet when running from command
line, but I doubt that's the reason for the segfault. That part of the
code doesn't seem to be reached when invoked inside perl:
# when used as a psgi file
if (caller) {
return $app;
}
[...]
push @args, '--server', 'Starlet' unless $r->{server} || grep { m/--server/ } @args;
so just packaging Plack::Handler::Starlet probably wouldn't help.
--
Niko Tyni ntyni at debian.org
More information about the pkg-request-tracker-maintainers
mailing list