| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,RCVD_NUMERIC_HELO,SARE_SUB_ENC_UTF8,SPF_HELO_PASS,T_RP_MATCHES_RCVD |
| X-Spam-Check-By: | sourceware.org |
| To: | cygwin AT cygwin DOT com |
| From: | Heiko Elger <heiko_elger AT arburg DOT com> |
| Subject: | perl fork error: =?utf-8?b?Y2hpbGRfaW5mb19mb3JrOjphYm9ydDo=?= data segment start: - example code! |
| Date: | Wed, 8 Feb 2012 13:59:50 +0000 (UTC) |
| Lines: | 86 |
| Message-ID: | <loom.20120208T143015-651@post.gmane.org> |
| Mime-Version: | 1.0 |
| User-Agent: | Loom/3.14 (http://gmane.org/) |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |