Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the Devel-Gladiator CPAN distribution.

Report information
The Basics
Id: 98912
Status: new
Priority: 0/
Queue: Devel-Gladiator

Owner: Nobody in particular
Requestors: rmesser [...]

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

Subject: walk_arena segfaults in the perl debugger
Date: Mon, 15 Sep 2014 15:11:13 -0700
To: bug-devel-gladiator [...]
From: Robert Messer <rmesser [...]>
Download (untitled) / with headers
text/plain 806b
If I do this: $ perl -d -e 'use Devel::Gladiator; my $a = Devel::Gladiator::walk_arena()' The perl debugger starts as expected. But when I type "c" to continue, I get: panic: reference miscount on nsv in sv_replace() (2 != 1) at -e line 1. The same thing happens whenever I try to call walk_arena from the perl debugger. This obviously makes it hard to debug my usage of the module (I'm trying to use it to find memory leaks by calling Devel::Cycle::find_cycle on the output list of walk_arena(), after skipping certain reference types.) Is there any fix for this, or is walk_arena() somehow incompatible with the debugger? (Side note: I've run across other XS modules that need to wrap methods in CvNODEBUG() in order to stop the debugger from trying to debug into the XS functions.) Thanks, Rob

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to