Skip Menu |

This queue is for tickets about the Class-XSAccessor CPAN distribution.

Report information
The Basics
Id: 57434
Status: resolved
Priority: 0/
Queue: Class-XSAccessor

People
Owner: Nobody in particular
Requestors: dwheeler [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Segfault when Calling Accessor as Class Method
Date: Wed, 12 May 2010 11:10:44 -0700
To: bug-Class-XSAccessor [...] rt.cpan.org
From: "David E. Wheeler" <dwheeler [...] cpan.org>
This will segfault (on 5.12 at least): package Foo; use Class::XSAccessor constructor => 'new', accessors => { map { $_ => $_ } qw( app url ) }; package main; Foo->app; Took me a while to realize that I was calling app() as a class method instead of an instance method, but it shouldn't segfault, I think. Thanks, David
Hi, sorry for the delay in answering. I think I didn't receive the RT email or else it got lost in the depths of my inbox. This issue was just resolved on 5.10 and up by the Class::XSAccessor 1.06 release. It should not die() instead of segfault. Best regards, Steffen