Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

wxPerl: attempting to install Wx::Demo crashes perl.exe

by HelenCr (Monk)
on May 14, 2013 at 21:49 UTC ( #1033560=perlquestion: print w/ replies, xml ) Need Help??
HelenCr has asked for the wisdom of the Perl Monks concerning the following question:

Dear esteemed PerlMonks

When trying to install Wx::Demo, the installation crashes at the "c" level (perl.exe crashes). Here's the info:

Starting the process of installing Wx::Demo, the test fails, perl.exe crashes, and an MS Window pops up with this info:

Problem Event Name: APPCRASH Application Name: perl.exe Application Version: 0.0.0.0 Application Timestamp: 513f0ec4 Fault Module Name: wxbase294u_gcc_custom.dll Fault Module Version: 2.9.4.0 Fault Module Timestamp: 518e8f2c Exception Code: c0000005 Exception Offset: 000000000004cc55 OS Version: 6.1.7600.2.0.0.256.1 Locale ID: 1033 Additional Information 1: 1c08 Additional Information 2: 1c088a33d2f6bb66ead4dd52958c47ec Additional Information 3: 9695 Additional Information 4: 9695d89d136d5b00e97ac68b3cb11b72

Here is the installation log:

Installing Wx::Demo (0.21) Running [F:\Win7programs\SBPerl\perl\bin\perl.exe -e use strict; BEGIN + { my $old = select STDERR; $|++; select $old; $|++; $0 = shift(@ARGV +); my $rv = do($0); die $@ if $@; } C:\Users\Helen\.cpanplus\5.16.3\b +uild\Wx-Demo-0.21\Makefile.PL]... Checking if your kit is complete... Looks good Writing Makefile for Wx::Demo Writing MYMETA.yml and MYMETA.json Module 'Wx::Demo' requires 'File::chdir' to be installed Running [F:\Win7programs\SBPerl\perl\bin\perl.exe -e use strict; BEGIN + { my $old = select STDERR; $|++; select $old; $|++; $0 = shift(@ARGV +); my $rv = do($0); die $@ if $@; } C:\Users\Helen\.cpanplus\5.16.3\b +uild\File-chdir-0.1008\Makefile.PL]... Checking if your kit is complete... Looks good Writing Makefile for File::chdir Writing MYMETA.yml and MYMETA.json Running [F:\WIN7PR~2\SBPerl\c\bin\dmake.EXE test]... F:\Win7programs\SBPerl\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e +" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/00-compile.t .... ok t/array.t ......... ok t/chdir.t ......... ok t/delete-array.t .. ok t/nested.t ........ ok t/newline.t ....... skipped: Can't make a directory with a newline in +it t/var.t ........... ok All tests successful. Files=7, Tests=91, 1 wallclock secs ( 0.05 usr + 0.03 sys = 0.08 CP +U) Result: PASS Module 'Wx::Demo' requires 'UNIVERSAL::require' to be installed Running [F:\Win7programs\SBPerl\perl\bin\perl.exe -e use strict; BEGIN + { my $old = select STDERR; $|++; select $old; $|++; $0 = shift(@ARGV +); my $rv = do($0); die $@ if $@; } C:\Users\Helen\.cpanplus\5.16.3\b +uild\UNIVERSAL-require-0.13\Makefile.PL]... Checking if your kit is complete... Looks good Writing Makefile for UNIVERSAL::require Writing MYMETA.yml and MYMETA.json Running [F:\WIN7PR~2\SBPerl\c\bin\dmake.EXE test]... F:\Win7programs\SBPerl\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e +" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/require.t .. ok t/taint.t .... ok t/use.t ...... ok All tests successful. Files=3, Tests=28, 0 wallclock secs ( 0.06 usr + 0.02 sys = 0.08 CP +U) Result: PASS Running [F:\WIN7PR~2\SBPerl\c\bin\dmake.EXE test]... F:\Win7programs\SBPerl\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e +" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/01_load.t .. Dubious, test returned 5 (wstat 1280, 0x500) Failed 50/50 subtests t/zz_pod.t ... skipped: Test::Pod 1.00 required for testing POD Failed 1/2 test programs. 0/0 subtests failed. Test Summary Report ------------------- t/01_load.t (Wstat: 1280 Tests: 0 Failed: 0) Non-zero exit status: 5 Parse errors: Bad plan. You planned 50 tests but ran 0. Files=2, Tests=0, 32 wallclock secs ( 0.06 usr + 0.00 sys = 0.06 CPU +) Result: FAIL dmake.EXE: Error code 255, while making 'test_dynamic'

This is related to some errors in my recent Alien::wxWidgets installation that I've described here:  Re^2: Moderate success - and some questions

Note that I am running several wxPerl wxWidgets scripts, and they are running normally. So it's not the case that the entire wxWidgets installation is corrupt.

Your help and advice will be much appreciated.

(Running 64 bit Strawberry Perl 5.16.3.1 on Windows 7, wxWidgets 2.9.4).

Many TIA - Helen

Note (5 15 2013): cross-posted at wx-users Google group: https://groups.google.com/forum/?fromgroups=#!topic/wx-users/KkvoVitQ_I4

Comment on wxPerl: attempting to install Wx::Demo crashes perl.exe
Select or Download Code
Re: wxPerl: attempting to install Wx::Demo crashes perl.exe
by bulk88 (Priest) on May 15, 2013 at 17:32 UTC
    I didn't get a crash, I got the following.
    cpan[2]> test Wx::Demo Running test for module 'Wx::Demo' Running make for M/MD/MDOOTSON/Wx-Demo-0.21.tar.gz Has already been unwrapped into directory \.cpan\build\Wx-Demo-0.21- +ltGu3u Has already been made Running make test Microsoft (R) Program Maintenance Utility Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights reserved. C:\perl512\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_h +arness(0, 'blib\lib', 'blib\arch')" t/*.t t/01_load.t .. "stc" is not defined in %Wx::EXPORT_TAGS at C:\.cpan\bu +ild\Wx-Dem o-0.21-ltGu3u\blib\lib/Wx/Demo/Source.pm line 5 # Failed test 'use Wx::Demo;' # at t/01_load.t line 6. # Tried to use 'Wx::Demo'. # Error: Can't continue after import errors at C:/perl512/site/li +b/Wx.pm li ne 76 # BEGIN failed--compilation aborted at C:\.cpan\build\Wx-Demo-0.21-ltG +u3u\blib\l ib/Wx/Demo/Source.pm line 6. t/01_load.t .. 1/50 # Compilation failed in require at C:\.cpan\build\ +Wx-Demo-0. 21-ltGu3u\blib\lib/Wx/Demo.pm line 94. # BEGIN failed--compilation aborted at C:\.cpan\build\Wx-Demo-0.21-ltG +u3u\blib\l ib/Wx/Demo.pm line 94. # Compilation failed in require at (eval 4) line 2. # BEGIN failed--compilation aborted at (eval 4) line 2. # Looks like you failed 1 test of 50. t/01_load.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/50 subtests t/zz_pod.t ... ok Test Summary Report ------------------- t/01_load.t (Wstat: 256 Tests: 50 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=2, Tests=261, 2 wallclock secs ( 0.14 usr + 0.03 sys = 0.17 C +PU) Result: FAIL Failed 1/2 test programs. 1/261 subtests failed. NMAKE : fatal error U1077: 'C:\perl512\bin\perl.exe' : return code '0x +ff' Stop. MDOOTSON/Wx-Demo-0.21.tar.gz nmake test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports MDOOTSON/Wx-Demo-0.21.tar.gz Failed during this command: MDOOTSON/Wx-Demo-0.21.tar.gz : make_test NO cpan[3]>
      Looks like you don't have stc compiled in, what do you get for
      #!/usr/bin/perl -- use Alien::wxWidgets; local $\ = $/; Alien::wxWidgets->show_configurations ; print for Alien::wxWidgets->link_libraries; __END__
        AM: Thank you for showing us a direction to debug the issue.

        When running your script, I get:

        wxWidgets 2.009004 for msw; compiler compatibility: gcc 3.4; options: no debug, unicode, no ms +lu -lwxbase29u -lwxmsw29u_richtext -lwxmsw29u_core -lwxmsw29u_stc -lwxmsw29u_aui -lwxmsw29u_gl -lwxbase29u_net -lwxmsw29u_html -lwxmsw29u_media -lwxbase29u_xml -lwxmsw29u_webview -lwxmsw29u_propgrid -lwxmsw29u_xrc -lwxmsw29u_adv -lwxmsw29u_ribbon

        What's your opinion?

        Many TIA - Helen

        NB is it right to assume the following: looking at the crash in the OP, it seems that it occurred in 01_load.t . That test script goes:

        Is this pointing us in any direction?
        Is it telling us that the crash has actually occurred inside the use_ok method of Test::More while going:
        use_ok( 'Wx::Demo' ); ?

        Note that in the OP, the test report says: Failed 50/50 subtests, so does this mean that "use" failed loading each and every demo module?

        Update: when going:  perl -e "use Wx::Demo;" I get the same perl.exe crash like in the OP, namely:

        So it seems that the problem is with: wxbase294u_gcc_custom.dll

        Can anyone explain what that dll is about, and better yet, how to find the cause of the problem?

        I guess my Wx is too old to help in this thread.
        compilet-1375404032.c Creating library C:\WINDOWS\TEMP\compilet.lib and object C:\WINDOWS +\TEMP\comp ilet.exp wxWidgets 2.008012 for msw; compiler compatibility: cl 7.1; options: n +o debug, n o unicode wxbase28.lib wxmsw28_richtext.lib wxmsw28_core.lib wxmsw28_aui.lib wxbase28_net.lib wxmsw28_html.lib wxbase28_xml.lib wxmsw28_media.lib wxmsw28_qa.lib wxmsw28_xrc.lib wxmsw28_adv.lib
Re: wxPerl: attempting to install Wx::Demo crashes perl.exe
by Anonymous Monk on May 16, 2013 at 11:51 UTC
    See Re^2: Moderate success - and some questions, you probably forgot to uninstall/install one or more of Wx::ActiveX Wx::DialUpManager Wx::GLCanvas Wx::Metafile Wx::Mozilla Wx::PdfDocument Wx::Polygon Wx::Scintilla Wx::WebKit

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1033560]
Approved by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2014-08-27 08:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (232 votes), past polls