This is the mail archive of the cygwin 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]

perl fork error: child_info_fork::abort: data segment start: - example code!


Hello all,

I'm using latest cygwin installation and snapshot 20120205.

$ uname -a
CYGWIN_NT-6.1-WOW64 PCFX061 1.7.10(0.259/5/3) 2012-02-05 12:36 i686 Cygwin

I run rebaseall and perlrebase!
As suggested by C. Vinschen in http://cygwin.com/ml/cygwin/2012-
02/msg00092.html I do not run peflagsall.

I know- running perlrebase - is only recommended using CPAN modules - in this 
easy example there is no usage of CPAN but in other scripts we use CPAN.

We use Symantec Endpoint Protection 12.1.x!
Yes - I know it is a BLODA - but please go  on reading - my company want to 
contact Symantec cause of these ERRORs.

The following simple perl script will produce the following error:
***** snip snip snip ***
$ ./forktest.pl
start
      0 [main] perl 8916 child_info_fork::abort: data segment start: parent
(0xC1A000) != child(0xA6A000)
Error beim fork()
Parent:Code at end...
***** snip snip snip ***

This is the simple script.
********* snip snip snip ****************
$ cat forktest.pl
#!/usr/bin/perl -W
use strict;
print "start\n";
my $pid = fork();
if ( ! defined $pid)
{
    print "Error beim fork()\n";
}
else
{
    if ($pid)
    {
        print "Parent:Code ... - child PID=$pid\n";
        print "Parent:Sleep 1 Sec\n";
        sleep 1;
        print "Parent:Sleep 1 Sec done\n";
    }
    else
    {
        print "Client:Code ...\n";
        print "Client:Sleep 1 Sec\n";
        sleep 1;
        print "Client:Sleep 1 Sec done\n";
        exit;
    }
}
print "Parent:Code at end...\n";
********* snip snip snip ****************

1.)
Symantec is installed and is running but it is complete deactivated with 
context menu.
What does this error mean - please a little bit in delail?
0 [main] perl 8916 child_info_fork::abort: data segment start: parent
(0xC1A000) != child(0xA6A000)

So why I will get this error - only cause of symantec?

If uninstalling SEP all works fine.

2)
I installed a new cygwin in another directory.
I DO NOT rebaseall and perlrebase all seems to work fine - so no errors while 
running perl script!
But I know there are address overlaps in the DLLs (this is why rebaseall is 
recommended).

Can some reproduce same or similar errors.


Please help.
Any hints are welcome.

Heiko Elger



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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