Skip Menu |

This queue is for tickets about the Convert-Binary-C CPAN distribution.

Report information
The Basics
Id: 56369
Status: resolved
Priority: 0/
Queue: Convert-Binary-C

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

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



Subject: nmake test fails on 64-bit version of Perl on Windows 7
I was trying to install this module on a Windows 7 64-bit platform with 64-bit version of Perl installed. "nmake" was successful but "nmake test" fails with the Perl crashing multiple times. Here is the output of the "nmake test" commnad: Microsoft (R) Program Maintenance Utility Version 8.00.50727.762 Copyright (C) Microsoft Corporation. All rights reserved. C:\Perl64\bin\perl.exe "-Iblib\lib" "-Iblib\arch" test.pl Can't find string terminator "'" anywhere before EOF at -e line 1. Argument "" isn't numeric in numeric ge (>=) at test.pl line 40. tests/001_init............ok tests/101_basic...........dubious Test returned status 5 (wstat 1280, 0x500) tests/201_config..........ok 1/2070 skipped: no debugging tests/202_misc............dubious Test returned status 5 (wstat 1280, 0x500) DIED. FAILED tests 2-207 Failed 206/207 tests, 0.48% okay tests/203_warnings........dubious Test returned status 5 (wstat 1280, 0x500) DIED. FAILED tests 110-7302 Failed 7193/7302 tests, 1.49% okay tests/204_enum............ok tests/205_pack............ok tests/206_parse...........dubious Test returned status 5 (wstat 1280, 0x500) DIED. FAILED tests 9-116 Failed 108/116 tests, 6.90% okay tests/207_typedef.........ok tests/208_float...........ok tests/209_sourcify........dubious Test returned status 5 (wstat 1280, 0x500) DIED. FAILED tests 2-98 Failed 97/98 tests, 1.02% okay tests/210_depend..........dubious Test returned status 5 (wstat 1280, 0x500) DIED. FAILED tests 2-483 Failed 482/483 tests, 0.21% okay tests/211_clone...........dubious Test returned status 5 (wstat 1280, 0x500) DIED. FAILED tests 5-35 Failed 31/35 tests, 11.43% okay tests/212_clean...........ok tests/213_string..........ok tests/214_cache...........dubious Test returned status 5 (wstat 1280, 0x500) DIED. FAILED tests 18-72 Failed 55/72 tests, 23.61% okay tests/215_local...........dubious Test returned status 5 (wstat 1280, 0x500) DIED. FAILED test 10 Failed 1/10 tests, 90.00% okay tests/216_language........ok tests/217_preproc.........dubious Test returned status 5 (wstat 1280, 0x500) DIED. FAILED tests 5-37 Failed 33/37 tests, 10.81% okay tests/218_member..........dubious Test returned status 5 (wstat 1280, 0x500) DIED. FAILED tests 167-1907 Failed 1741/1907 tests, 8.70% okay tests/219_def.............ok tests/220_new.............ok tests/221_asm.............ok tests/222_ieee............ok tests/223_initializer.....dubious Test returned status 5 (wstat 1280, 0x500) DIED. FAILED tests 2-27 Failed 26/27 tests, 3.70% okay tests/224_typeof..........ok tests/225_magic...........ok tests/226_indexed.........ok 33/45 skipped: member ordering requires indexed hashes tests/227_flexarray.......ok tests/228_hooks...........ok tests/229_substr..........ok tests/230_compiler........ok tests/231_align...........ok tests/232_native..........ok tests/233_tags............ok tests/234_format..........ok tests/235_basic...........ok tests/236_typeinfo........ok tests/237_parser..........ok tests/238_byteorder.......ok tests/239_macros..........dubious Test returned status 5 (wstat 1280, 0x500) DIED. FAILED tests 13-54 Failed 42/54 tests, 22.22% okay tests/240_offsetof........ok tests/241_sizeof..........ok tests/242_dimension.......ok tests/243_parser..........ok tests/501_bfsimple........ok tests/502_bfmicrosoft.....dubious Test returned status 5 (wstat 1280, 0x500) DIED. FAILED tests 4307-9031 Failed 4725/9031 tests, 47.68% okay tests/503_bfgeneric.......dubious Test returned status 5 (wstat 1280, 0x500) DIED. FAILED tests 4307-9031 Failed 4725/9031 tests, 47.68% okay tests/601_speed...........dubious Test returned status 5 (wstat 1280, 0x500) DIED. FAILED tests 2-11 Failed 10/11 tests, 9.09% okay tests/602_threads.........dubious Test returned status 5 (wstat 1280, 0x500) DIED. FAILED tests 1-4 Failed 4/4 tests, 0.00% okay tests/603_complex.........ok 80/6080 skipped: no debug support tests/701_debug...........ok tests/702_env.............ok tests/703_bugs............ok tests/801_examples........ok 1/13# Failed test 12 in tests/801_examples.t at lin e 43 fail #4 tests/801_examples........ok 11/13# tests/801_examples.t line 43 is: ok( leng th($out) > 0 ); tests/801_examples........NOK 12# Test 13 got: "1280" (tests/801_examples.t at l ine 44 fail #4) tests/801_examples........NOK 13# Expected: "0" # tests/801_examples.t line 44 is: ok( $?, 0 ); tests/801_examples........FAILED tests 12-13 Failed 2/13 tests, 84.62% okay tests/802_pod.............ok 16/16 skipped: testing pod requires Test::Pod tests/803_pod_coverage....skipped all skipped: testing pod coverage requires Pod::Coverage 0.10 tests/901_memory..........ok 396/397 skipped: no debugging Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- tests/101_basic.t 5 1280 ?? ?? ?? tests/202_misc.t 5 1280 207 412 2-207 tests/203_warnings.t 5 1280 7302 1438 110-7302 tests/206_parse.t 5 1280 116 216 9-116 tests/209_sourcify.t 5 1280 98 194 2-98 tests/210_depend.t 5 1280 483 964 2-483 tests/211_clone.t 5 1280 35 62 5-35 tests/214_cache.t 5 1280 72 110 18-72 tests/215_local.t 5 1280 10 2 10 tests/217_preproc.t 5 1280 37 66 5-37 tests/218_member.t 5 1280 1907 3482 167-1907 tests/223_initializer.t 5 1280 27 52 2-27 tests/239_macros.t 5 1280 54 84 13-54 tests/502_bfmicrosoft.t 5 1280 9031 9450 4307-9031 tests/503_bfgeneric.t 5 1280 9031 9450 4307-9031 tests/601_speed.t 5 1280 11 20 2-11 tests/602_threads.t 5 1280 4 8 1-4 tests/801_examples.t 13 2 12-13 1 test and 526 subtests skipped. Failed 18/58 test scripts. 19481/50222 subtests failed. Files=58, Tests=50222, 47 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU) Failed 18/58 test programs. 19481/50222 subtests failed. NMAKE : fatal error U1077: 'C:\Perl64\bin\perl.exe' : return code '0xff' Stop.
CC: aivaturi [...] cpan.org
Subject: Re: [rt.cpan.org #56369] nmake test fails on 64-bit version of Perl on Windows 7
Date: Fri, 9 Apr 2010 22:30:03 +0200
To: bug-Convert-Binary-C [...] rt.cpan.org
From: Marcus Holland-Moritz <mhx-perl [...] gmx.net>
Hi Aditya, thanks for your report. I'm aware of the problem, ActiveState's PPM builder seems to be running into the same problem... http://ppm4.activestate.com/MSWin32-x64/5.10/1000/M/MH/MHX/Convert-Binary-C-0.74.d/log-20090615T214728.txt Unfortunately, I don't have access to a Windows 7 machine with compilers and debugging tools, so it's really hard for me to guess where the problem could be. Especially since the module works fine on other 64-bit architectures. Based on where the individual tests appear to die, I *guess* the problem is somewhere in the parser, I just have no idea where. If you have the means to debug this problem, I would greatly appreciate it. Something like a backtrace of where the crash happens would be extremely helpful. Thanks, Marcus On 2010-04-07, at 20:09:50 -0400, Aditya Ivaturi via RT wrote: Show quoted text
> I was trying to install this module on a Windows 7 64-bit platform with > 64-bit version of Perl installed. "nmake" was successful but "nmake > test" fails with the Perl crashing multiple times. Here is the output of > the "nmake test" commnad: > > Microsoft (R) Program Maintenance Utility Version 8.00.50727.762 > Copyright (C) Microsoft Corporation. All rights reserved. > > C:\Perl64\bin\perl.exe "-Iblib\lib" "-Iblib\arch" test.pl > Can't find string terminator "'" anywhere before EOF at -e line 1. > Argument "" isn't numeric in numeric ge (>=) at test.pl line 40. > tests/001_init............ok > tests/101_basic...........dubious > Test returned status 5 (wstat 1280, 0x500) > tests/201_config..........ok > 1/2070 skipped: no debugging > tests/202_misc............dubious > Test returned status 5 (wstat 1280, 0x500) > DIED. FAILED tests 2-207 > Failed 206/207 tests, 0.48% okay > tests/203_warnings........dubious > Test returned status 5 (wstat 1280, 0x500) > DIED. FAILED tests 110-7302 > Failed 7193/7302 tests, 1.49% okay > tests/204_enum............ok > tests/205_pack............ok > tests/206_parse...........dubious > Test returned status 5 (wstat 1280, 0x500) > DIED. FAILED tests 9-116 > Failed 108/116 tests, 6.90% okay > tests/207_typedef.........ok > tests/208_float...........ok > tests/209_sourcify........dubious > Test returned status 5 (wstat 1280, 0x500) > DIED. FAILED tests 2-98 > Failed 97/98 tests, 1.02% okay > tests/210_depend..........dubious > Test returned status 5 (wstat 1280, 0x500) > DIED. FAILED tests 2-483 > Failed 482/483 tests, 0.21% okay > tests/211_clone...........dubious > Test returned status 5 (wstat 1280, 0x500) > DIED. FAILED tests 5-35 > Failed 31/35 tests, 11.43% okay > tests/212_clean...........ok > tests/213_string..........ok > tests/214_cache...........dubious > Test returned status 5 (wstat 1280, 0x500) > DIED. FAILED tests 18-72 > Failed 55/72 tests, 23.61% okay > tests/215_local...........dubious > Test returned status 5 (wstat 1280, 0x500) > DIED. FAILED test 10 > Failed 1/10 tests, 90.00% okay > tests/216_language........ok > tests/217_preproc.........dubious > Test returned status 5 (wstat 1280, 0x500) > DIED. FAILED tests 5-37 > Failed 33/37 tests, 10.81% okay > tests/218_member..........dubious > Test returned status 5 (wstat 1280, 0x500) > DIED. FAILED tests 167-1907 > Failed 1741/1907 tests, 8.70% okay > tests/219_def.............ok > tests/220_new.............ok > tests/221_asm.............ok > tests/222_ieee............ok > tests/223_initializer.....dubious > Test returned status 5 (wstat 1280, 0x500) > DIED. FAILED tests 2-27 > Failed 26/27 tests, 3.70% okay > tests/224_typeof..........ok > tests/225_magic...........ok > tests/226_indexed.........ok > 33/45 skipped: member ordering requires indexed hashes > tests/227_flexarray.......ok > tests/228_hooks...........ok > tests/229_substr..........ok > tests/230_compiler........ok > tests/231_align...........ok > tests/232_native..........ok > tests/233_tags............ok > tests/234_format..........ok > tests/235_basic...........ok > tests/236_typeinfo........ok > tests/237_parser..........ok > tests/238_byteorder.......ok > tests/239_macros..........dubious > Test returned status 5 (wstat 1280, 0x500) > DIED. FAILED tests 13-54 > Failed 42/54 tests, 22.22% okay > tests/240_offsetof........ok > tests/241_sizeof..........ok > tests/242_dimension.......ok > tests/243_parser..........ok > tests/501_bfsimple........ok > tests/502_bfmicrosoft.....dubious > Test returned status 5 (wstat 1280, 0x500) > DIED. FAILED tests 4307-9031 > Failed 4725/9031 tests, 47.68% okay > tests/503_bfgeneric.......dubious > Test returned status 5 (wstat 1280, 0x500) > DIED. FAILED tests 4307-9031 > Failed 4725/9031 tests, 47.68% okay > tests/601_speed...........dubious > Test returned status 5 (wstat 1280, 0x500) > DIED. FAILED tests 2-11 > Failed 10/11 tests, 9.09% okay > tests/602_threads.........dubious > Test returned status 5 (wstat 1280, 0x500) > DIED. FAILED tests 1-4 > Failed 4/4 tests, 0.00% okay > tests/603_complex.........ok > 80/6080 skipped: no debug support > tests/701_debug...........ok > tests/702_env.............ok > tests/703_bugs............ok > tests/801_examples........ok 1/13# Failed test 12 in > tests/801_examples.t at lin > e 43 fail #4 > tests/801_examples........ok 11/13# tests/801_examples.t line 43 is: > ok( leng > th($out) > 0 ); > tests/801_examples........NOK 12# Test 13 got: "1280" > (tests/801_examples.t at l > ine 44 fail #4) > tests/801_examples........NOK 13# Expected: "0" > # tests/801_examples.t line 44 is: ok( $?, 0 ); > tests/801_examples........FAILED tests 12-13 > Failed 2/13 tests, 84.62% okay > tests/802_pod.............ok > 16/16 skipped: testing pod requires Test::Pod > tests/803_pod_coverage....skipped > all skipped: testing pod coverage requires Pod::Coverage 0.10 > tests/901_memory..........ok > 396/397 skipped: no debugging > Failed Test Stat Wstat Total Fail List of Failed > ------------------------------------------------------------------------------- > tests/101_basic.t 5 1280 ?? ?? ?? > tests/202_misc.t 5 1280 207 412 2-207 > tests/203_warnings.t 5 1280 7302 1438 110-7302 > tests/206_parse.t 5 1280 116 216 9-116 > tests/209_sourcify.t 5 1280 98 194 2-98 > tests/210_depend.t 5 1280 483 964 2-483 > tests/211_clone.t 5 1280 35 62 5-35 > tests/214_cache.t 5 1280 72 110 18-72 > tests/215_local.t 5 1280 10 2 10 > tests/217_preproc.t 5 1280 37 66 5-37 > tests/218_member.t 5 1280 1907 3482 167-1907 > tests/223_initializer.t 5 1280 27 52 2-27 > tests/239_macros.t 5 1280 54 84 13-54 > tests/502_bfmicrosoft.t 5 1280 9031 9450 4307-9031 > tests/503_bfgeneric.t 5 1280 9031 9450 4307-9031 > tests/601_speed.t 5 1280 11 20 2-11 > tests/602_threads.t 5 1280 4 8 1-4 > tests/801_examples.t 13 2 12-13 > 1 test and 526 subtests skipped. > Failed 18/58 test scripts. 19481/50222 subtests failed. > Files=58, Tests=50222, 47 wallclock secs ( 0.00 cusr + 0.00 csys = > 0.00 CPU) > Failed 18/58 test programs. 19481/50222 subtests failed. > NMAKE : fatal error U1077: 'C:\Perl64\bin\perl.exe' : return code '0xff' > Stop.
Download signature.asc
application/pgp-signature 198b

Message body not shown because it is not plain text.

Actually, this is on 64-bit ActivePerl. I don't know how to collect the backtrace information of the crash? If you can provide me some info, I can collect that information for you.
On Sun Apr 11 16:14:48 2010, AIVATURI wrote: Show quoted text
> Actually, this is on 64-bit ActivePerl. I don't know how to collect > the backtrace information of > the crash? If you can provide me some info, I can collect that > information for you.
I'll most probably have a 64-bit Windows development environment setup up soon so I'll be able to investigate this further.
On Sun Apr 11 16:14:48 2010, AIVATURI wrote: Show quoted text
> Actually, this is on 64-bit ActivePerl. I don't know how to collect > the backtrace information of > the crash? If you can provide me some info, I can collect that > information for you.
Please, could you check if Convert-Binary-C-0.76 fixes the problem? Thanks, Marcus
Assuming this is fixed given that Activestate PPM logs look fine for Win64.