This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

BUG: fork problems with libxml2

Hello all, 

I've opened the bug at Gnome Bugzilla:

See below the copy of my bug report:

Hello team, 

I found a problem in launching fork under Perl. I'm not sure 
if it's Cygwin or libxml problem, but I'm rather sure it's 
not an XML::LibXML problem.

OS: Windows 2000, SP2
Latest release Cygwin installation
libxml2 package version  2.4.23-1
XML-LibXML-1.52 Perl library. 

The error is found when launching, and is reproducable with 
simple fork(). See below the error messages and the sample script.


===========  Console log =============
$ perl
C:\cygwin\bin\perl.exe: *** unable to remap C:\cygwin\bin\cygxml2-2.dll to 
address as parent -- 0x1A2F0000
     35 [main] perl 1320 sync_with_child: child 768(0xD0) died before 
tion with status code 0x1
  18554 [main] perl 1320 sync_with_child: *** child state child loading 
I am a child
===========  Console log end =============

=========== =============
use XML::LibXML;

my $pid = fork();

if( $pid == 0 )
    print( "I am a child $pid\n");
elsif( defined $pid )
    print( "I am the parent\n");
=========== end =============

Do You Yahoo!?
HotJobs - Search Thousands of New Jobs

Unsubscribe info:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]