delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/14/08:27:00

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <20020814122645.8526.qmail@web13706.mail.yahoo.com>
Date: Wed, 14 Aug 2002 05:26:45 -0700 (PDT)
From: Stanislav Sinyagin <ssinyagin AT yahoo DOT com>
Subject: BUG: fork problems with libxml2
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

Hello all, 

I've opened the bug at Gnome Bugzilla:
  http://bugzilla.gnome.org/show_bug.cgi?id=90727

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 Expect.pm, and is reproducable with 
simple fork(). See below the error messages and the sample script.

Regards, 
Stanislav

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

===========  xmltest.pl =============
use XML::LibXML;

my $pid = fork();

if( $pid == 0 )
{
    print( "I am a child $pid\n");
    exit;
}
elsif( defined $pid )
{
    print( "I am the parent\n");
    exit;
}
===========  xmltest.pl end =============



__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019