Re: Bug#491483: libhtml-mason-perl: [patch] segfaults when alter_superclass method is used

"Charles Fry" <[email protected]> Thu, 24 Jul 2008 22:56:17 -0400
Newsgroups gmane.comp.web.mason.devel
Message-ID <[email protected]>
Can someone from the Mason community please comment on this bug? I'm
glad to apply the proposed patch in Debian if it will be going into
upstream. Is this fix the right thing to do?

thanks,
Charles

On Sat, Jul 19, 2008 at 3:45 PM, Ivan Kohler <[email protected]> wrote:
> Package: libhtml-mason-perl
> Version: 1:1.36-2.1
> Severity: normal
> Tags: patch
>
> If you subclass the Mason Request object and attempt to use the
> "alter_superclass" method, as described in the documentation
> http://www.masonhq.com/docs/manual/Subclassing.html#what_to_subclass
> Mason will segfault.  Apparantly the way it manipulates @INC rubs 5.10
> the wrong way.  Patch from Jesse Vincent
> http://marc.info/?l=mason-devel&m=121236173002678&w=2
>
>
> -- System Information:
> Debian Release: lenny/sid
>  APT prefers unstable
>  APT policy: (500, 'unstable'), (500, 'testing')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 2.6.25-2-vserver-amd64 (SMP w/2 CPU cores)
> Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
> Shell: /bin/sh linked to /bin/bash
>
> Versions of packages libhtml-mason-perl depends on:
> ii  libcache-cache-perl          1.05-2      Managed caches of persistent infor
> ii  libclass-container-perl      0.12-2      Glues object frameworks together t
> ii  libexception-class-perl      1.24-1      a module that allows you to declar
> ii  libhtml-parser-perl          3.56-1+b1   A collection of modules that parse
> ii  libparams-validate-perl      0.91-2      validate parameters to Perl method
> ii  perl                         5.10.0-11.1 Larry Wall's Practical Extraction
> ii  perl-base [libscalar-list-ut 5.10.0-11.1 The Pathologically Eclectic Rubbis
>
> Versions of packages libhtml-mason-perl recommends:
> ii  libapache2-mod-perl2          2.0.4-1    Integration of perl with the Apach
>
> -- no debconf information
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/