Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Diagnosing error report: "IO object version 1.21 does not match bootstrap parameter 1.22"

by jkeenan1 (Deacon)
on Sep 09, 2005 at 02:57 UTC ( #490413=perlquestion: print w/replies, xml ) Need Help??

jkeenan1 has asked for the wisdom of the Perl Monks concerning the following question:

I ask the assistance of the monks concerning error reports I am getting from some -- but not all -- automated testers at

I have been uploading new versions of ExtUtils-ModuleMaker over the past week to get test reports on additional functionality. After extensive tweaking, the module passes a quite rigorous test suite on the two OSes to which I have daily access: Darwin and Win32. It has also passed on other Perl hackers' FreeBSD, Linux and Solaris boxes. But two automated testing reports have left me baffled. Here is the first part of one such report

t/01_ini..........................ok t/02_bad_constructor..............IO object version 1.21 does not matc +h bootstrap parameter 1.22 at /usr/local/perl-5.8.5/lib/5.8.5/sun4-so +laris-thread-multi/ line 253. Compilation failed in require at /net/sunu991/disc1/home/.cpanplus/5.8 +.5/build/IO-1.22/blib/lib/IO/ line 262. BEGIN failed--compilation aborted at /net/sunu991/disc1/home/.cpanplus +/5.8.5/build/IO-1.22/blib/lib/IO/ line 262. Compilation failed in require at (eval 6) line 3. ...propagated at /usr/local/perl-5.8.5/lib/5.8.5/ line 85. BEGIN failed--compilation aborted at /usr/local/perl-5.8.5/lib/5.8.5/F +ile/ line 145. Compilation failed in require at t/testlib/ line 29. BEGIN failed--compilation aborted at t/testlib/ line 29. Compilation failed in require at t/02_bad_constructor.t line 10. BEGIN failed--compilation aborted at t/02_bad_constructor.t line 12. # Looks like your test died before it could output anything. dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-112

I don't call IO::Handle anywhere in my code or test suite. I know that 'bootstrap' and 'use Dynaloader' are seen in modules that employ XS, but I don't use any XS; it's all pure Perl.

The two automated testers who reported this error tested an earlier version (0.38) which did have problems which I have since corrected. But the problems they're reporting with v0.39 bear no relationship to those they reported in 0.38.

I believe that these two testers run Perl with threads, which I do not. But the test suite has passed all tests on other automated sites which employ threads.

I've posted messages to the cpan-testers list, but haven't heard from the humans behind these test reports. (And suspect I won't, since it seems that list consists overwhelmingly of automated reports.) So can anyone suggest (a) what these errors mean and (b) if there's anything I can do to avoid them, given that I can't reproduce them on my OSes?

Thank you very much.

Jim Keenan

  • Comment on Diagnosing error report: "IO object version 1.21 does not match bootstrap parameter 1.22"
  • Download Code

Replies are listed 'Best First'.
Re: Diagnosing error report: "IO object version 1.21 does not match bootstrap parameter 1.22"
by chromatic (Archbishop) on Sep 09, 2005 at 06:15 UTC

    As I understand it, that error means that the version in the XS portion of IO does not match the version in the Perl portion of the module. It sounds like an incorrect installation of Perl -- I don't think this is your fault or something you should feel an obligation to support.

      Thanks, c! I'm still fine-tuning the module, so I'm not particularly worried if the FAIL discourages people from using this particular version. But I would hate to see people discouraged from using a good module simply because of a misleading automated testing report.


Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://490413]
Approved by monkfan
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2023-02-04 11:40 GMT
Find Nodes?
    Voting Booth?
    I prefer not to run the latest version of Perl because:

    Results (31 votes). Check out past polls.