Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: Test::More wait status non-zero but all tests pass

by rjt (Deacon)
on Jun 17, 2010 at 08:47 UTC ( #845167=note: print w/replies, xml ) Need Help??

in reply to Test::More wait status non-zero but all tests pass

Something is probably segfaulting within your module's C code (or you've found a bug in Perl/XS). If all tests are passing, I guess the segfault would be happening rather late in the execution--maybe even right at cleanup.

To debug, by far the most efficient method would be to run it through an interactive debugger (or your preferred method of debugging segfaults) directly on a FreeBSD system.

Since you maintain several XS modules, my advice would be to grab an appropriate ISO of FreeBSD from and run it in a virtual machine, such as VirtualBox. Assuming average skill with basic OS installs, you can be debugging your module with standard development tools in under an hour.

If that option seems like too much work, you could try a web search for hosted FreeBSD shell accounts with development environments. I prefer the VM route, so I don't know of any I'd recommend off-hand.

  • Comment on Re: Test::More wait status non-zero but all tests pass

Replies are listed 'Best First'.
Re^2: Test::More wait status non-zero but all tests pass
by DrHyde (Prior) on Jun 17, 2010 at 09:22 UTC
    I have a FreeBSD machine that I let CPAN authors use for testing and debugging. Email me for login details.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://845167]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2017-12-16 12:13 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (450 votes). Check out past polls.