Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^4: Cpanel::JSON::XS crash under Perl 5.26.0

by Athanasius (Archbishop)
on Aug 19, 2017 at 08:53 UTC ( [id://1197651]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Cpanel::JSON::XS crash under Perl 5.26.0
in thread Cpanel::JSON::XS crash under Perl 5.26.0

Sorry, I don’t know what log you’re referring to. FWIW, here’s the output from cpanm:

cpanm (App::cpanminus) 1.7043 on perl 5.026000 built for MSWin32-x64-m +ulti-thread-ld Work directory is C:\Perl\STRAWB~1\ST70F0~1.1-6\data/.cpanm/work/15029 +74703.3440 You have make C:\Perl\Strawberry\strawberry-perl-ld-5.26.0.1-64bit-PDL +\c\bin\gmake.exe You have LWP 6.26 Falling back to Archive::Tar 2.26 Searching Cpanel::JSON::XS () on cpanmetadb ... --> Working on Cpanel::JSON::XS Fetching http://www.cpan.org/authors/id/R/RU/RURBAN/Cpanel-JSON-XS-3.0 +237.tar.gz -> OK Unpacking Cpanel-JSON-XS-3.0237.tar.gz Entering Cpanel-JSON-XS-3.0237 Checking configure dependencies from META.json Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.24) Configuring Cpanel-JSON-XS-3.0237 Running Makefile.PL Checking if your kit is complete... Looks good Generating a gmake-style Makefile Writing Makefile for Cpanel::JSON::XS Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.24) Checking if you have Pod::Text 2.08 ... Yes (4.09) Building and testing Cpanel-JSON-XS-3.0237 cp XS.pm blib\lib\Cpanel\JSON\XS.pm cp XS/Boolean.pm blib\lib\Cpanel\JSON\XS\Boolean.pm Running Mkbootstrap for XS () "C:\Perl\Strawberry\strawberry-perl-ld-5.26.0.1-64bit-PDL\perl\bin\per +l.exe" -MExtUtils::Command -e chmod -- 644 "XS.bs" "C:\Perl\Strawberry\strawberry-perl-ld-5.26.0.1-64bit-PDL\perl\bin\per +l.exe" -MExtUtils::Command::MM -e cp_nonempty -- XS.bs blib\arch\auto +\Cpanel\JSON\XS\XS.bs 644 "C:\Perl\Strawberry\strawberry-perl-ld-5.26.0.1-64bit-PDL\perl\bin\per +l.exe" "C:\Perl\Strawberry\strawberry-perl-ld-5.26.0.1-64bit-PDL\perl +\lib\ExtUtils/xsubpp" -typemap C:\Perl\Strawberry\strawberry-perl-ld +-5.26.0.1-64bit-PDL\perl\lib\ExtUtils\typemap -typemap C:\Perl\STRAWB +~1\ST70F0~1.1-6\data\.cpanm\work\1502974703.3440\Cpanel-JSON-XS-3.023 +7\typemap XS.xs > XS.xsc "C:\Perl\Strawberry\strawberry-perl-ld-5.26.0.1-64bit-PDL\perl\bin\per +l.exe" -MExtUtils::Command -e mv -- XS.xsc XS.c gcc -c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -D__USE_MINGW_ANSI_STDI +O -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS + -DUSE_PERLIO -D__USE_MINGW_ANSI_STDIO -fwrapv -fno-strict-aliasing - +mms-bitfields -s -O2 -DVERSION=\"3.0237\" -DXS_VERSION=\"3.0237\" +"-IC:\Perl\Strawberry\strawberry-perl-ld-5.26.0.1-64bit-PDL\perl\lib\ +CORE" -Wall -Werror=declaration-after-statement -Wextra -W XS.c XS.xs: In function 'encode_sv': XS.xs:1577:54: warning: format '%u' expects argument of type 'unsigned + int', but argument 4 has type 'long long unsigned int' [-Wformat=] ? snprintf (enc->cur, IVUV_MAXCHARS, "%" UVuf, (UV)Sv +UVX (sv)) ^~~ XS.xs:1578:54: warning: format '%d' expects argument of type 'int', bu +t argument 4 has type 'long long int' [-Wformat=] : snprintf (enc->cur, IVUV_MAXCHARS, "%" IVdf, (IV)Sv +IVX (sv)); ^~~ In file included from XS.xs:3:0: XS.xs: In function 'decode_hv': XS.xs:2876:22: warning: cast from pointer to integer of different size + [-Wpointer-to-int-cast] if (LIKELY((long)he)) ^ C:\Perl\Strawberry\strawberry-perl-ld-5.26.0.1-64bit-PDL\perl\lib\CORE +/perl.h:3686:46: note: in definition of macro 'EXPECT' # define EXPECT(expr,val) (expr) ^~~~ C:\Perl\Strawberry\strawberry-perl-ld-5.26.0.1-64bit-PDL\perl\lib\CORE +/perl.h:3688:52: note: in expansion of macro 'cBOOL' #define LIKELY(cond) EXPECT(cBOOL(cond),TRUE) ^~~~~ XS.xs:2876:15: note: in expansion of macro 'LIKELY' if (LIKELY((long)he)) ^ "C:\Perl\Strawberry\strawberry-perl-ld-5.26.0.1-64bit-PDL\perl\bin\per +l.exe" -MExtUtils::Mksymlists \ -e "Mksymlists('NAME'=>\"Cpanel::JSON::XS\", 'DLBASE' => 'XS', 'D +L_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => [ +]);" g++.exe XS.def -o blib\arch\auto\Cpanel\JSON\XS\XS.xs.dll -mdll -s -L" +C:\Perl\Strawberry\strawberry-perl-ld-5.26.0.1-64bit-PDL\perl\lib\COR +E" -L"C:\Perl\Strawberry\strawberry-perl-ld-5.26.0.1-64bit-PDL\c\lib" + XS.o "C:\Perl\Strawberry\strawberry-perl-ld-5.26.0.1-64bit-PDL\per +l\lib\CORE\libperl526.a" -lmoldname -lkernel32 -luser32 -lgdi32 -lwin +spool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 - +luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 + -Wl,--enable-auto-image-base "C:\Perl\Strawberry\strawberry-perl-ld-5.26.0.1-64bit-PDL\perl\bin\per +l.exe" -MExtUtils::Command -e chmod -- 755 blib\arch\auto\Cpanel\JSON +\XS\XS.xs.dll "C:\Perl\Strawberry\strawberry-perl-ld-5.26.0.1-64bit-PDL\perl\bin\per +l.exe" -MExtUtils::Command -e cp -- bin/cpanel_json_xs blib\script\cp +anel_json_xs pl2bat.bat blib\script\cpanel_json_xs "C:\Perl\Strawberry\strawberry-perl-ld-5.26.0.1-64bit-PDL\perl\bin\per +l.exe" -MExtUtils::Command::MM -e cp_nonempty -- XS.bs blib\arch\auto +\Cpanel\JSON\XS\XS.bs 644 "C:\Perl\Strawberry\strawberry-perl-ld-5.26.0.1-64bit-PDL\perl\bin\per +l.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test: +:Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" -Mcommo +n::sense t/*.t t/00_load.t ................. ok t/01_utf8.t ................. ok t/02_error.t ................ ok t/03_types.t ................ Dubious, test returned 5 (wstat 1280, 0x500) Failed 62/85 subtests t/04_dwiw_encode.t .......... ok t/05_dwiw_decode.t .......... ok t/06_pc_pretty.t ............ ok t/07_pc_esc.t ............... ok t/08_pc_base.t .............. Dubious, test returned 5 (wstat 1280, 0x500) Failed 8/20 subtests t/08_pc_base_nv.t ........... ok t/09_pc_extra_number.t ...... ok t/104_sortby.t .............. ok t/105_esc_slash.t ........... ok t/106_allow_barekey.t ....... ok t/107_allow_singlequote.t ... ok t/108_decode.t .............. ok t/109_encode.t .............. ok t/10_pc_keysort.t ........... ok t/110_bignum.t .............. ok t/112_upgrade.t ............. ok t/113_overloaded_eq.t ....... ok t/114_decode_prefix.t ....... ok t/115_tie_ixhash.t .......... ok t/116_incr_parse_fixed.t .... ok t/117_numbers.t ............. Dubious, test returned 5 (wstat 1280, 0x500) Failed 3/24 subtests t/11_pc_expo.t .............. Dubious, test returned 5 (wstat 1280, 0x500) Failed 7/8 subtests t/12_blessed.t .............. ok t/13_limit.t ................ ok t/14_latin1.t ............... ok t/15_prefix.t ............... ok t/16_tied.t ................. ok t/17_relaxed.t .............. ok t/18_json_checker.t ......... Dubious, test returned 5 (wstat 1280, 0x500) Failed 5/39 subtests t/19_incr.t ................. ok t/20_faihu.t ................ ok t/20_unknown.t .............. Dubious, test returned 5 (wstat 1280, 0x500) Failed 10/32 subtests t/21_evans.t ................ ok t/22_comment_at_eof.t ....... ok t/23_array_ctx.t ............ ok t/24_freeze_recursion.t ..... ok t/25_boolean.t .............. ok t/26_duplicate.t ............ ok Terminating on signal SIGINT(2) Terminate batch job (Y/N)? gmake: *** [Makefile:1092: test_dynamic] Er +ror 255

As you can see, I had to Control-C after test 26 completed as the interpreter had crashed (I think this would have been while running t\30_jsonspec.t).

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Replies are listed 'Best First'.
Re^5: Cpanel::JSON::XS crash under Perl 5.26.0
by Anonymous Monk on Aug 20, 2017 at 09:20 UTC

    "crash" leaves a message in event log ( start "eventvwr.msc" or control panel , admin tools, event viewer), what i was trying to communicate

    but if the test suite is crashing , smells like a straight up bug in the module, not some win32 oddity I vaguely suspected

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1197651]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-04-24 22:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found