Re: Why this perl error?

2003-04-02 Thread Wiggins d'Anconia


Octavian Rasnita wrote:
I guess it is a Perl 5.8 bug because this didn't happen in Perl 5.6.1.
Or, ... it might be a DBI module error, but I don't think so.

Not sure if it is a DBI error or not, but I *believe* (read: have some 
remembrance of it but not sure) that it has been discussed somewhat 
recently, past couple months on the dbi-users list, you might try the 
archives of that list, or repost the question there to see what they say.

http://danconia.org

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Why this perl error?

2003-04-02 Thread Octavian Rasnita
I guess it is a Perl 5.8 bug because this didn't happen in Perl 5.6.1.
Or, ... it might be a DBI module error, but I don't think so.


Teddy,
Teddy's Center: http://teddy.fcc.ro/
Email: [EMAIL PROTECTED]

- Original Message -
From: "Peter Kappus" <[EMAIL PROTECTED]>
To: "'Octavian Rasnita'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, April 02, 2003 9:20 PM
Subject: RE: Why this perl error?


Hi teddy,

I ran into this exact same problem (on win2k using DBI and fork()) and
eventually gave up.  Alas.   Someone more knowledgable will have to give us
a definative answer but my primitive understanding is that fork() typically
uses the system's implementation of the fork() command and that Windows
doesn't have one :(

So, efforts have been made to implement it at the interpreter level with
limited success.  You might look into Win32::Process but I hear it's slow.
I do know that perl6 is supposed to have robust thread support natively, but
I don't know much about it.  (again...any gurus that can help us?)

check out:
http://aspn.activestate.com/ASPN/Mail/Message/perl-win32-porters/1178773
and
http://perlmonks.thepen.com/181655.html

There seems to be a lively discussion on threadding and forking, etc. right
here at perl.org on the perl-ithreads list.

here's the archive:
http://archive.develooper.com/[EMAIL PROTECTED]/msg88946.html

Please let me (and all of us) know if you get to the bottom of this...


Thanks and Good luck (we're all counting on you ;-)

-Peter

-Original Message-
From: Octavian Rasnita [mailto:[EMAIL PROTECTED]
Subject: Why this perl error?

The error is:
perl.exe - Application Error The instruction at "0x28068533" referenced
memory at "0x0004". The memory could not be "read". Click on OK to
terminate the program Click on CANCEL to debug the program OK Cancel

I am running Windows 2000, Apache 2.4 web server, and Perl 5.8.

I've discovered that each time I use the fork() function in a program where
I also use "use DBI", it gives me that error.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Why this perl error?

2003-04-02 Thread Peter Kappus
Hi teddy,

I ran into this exact same problem (on win2k using DBI and fork()) and
eventually gave up.  Alas.   Someone more knowledgable will have to give us
a definative answer but my primitive understanding is that fork() typically
uses the system's implementation of the fork() command and that Windows
doesn't have one :(

So, efforts have been made to implement it at the interpreter level with
limited success.  You might look into Win32::Process but I hear it's slow.
I do know that perl6 is supposed to have robust thread support natively, but
I don't know much about it.  (again...any gurus that can help us?)

check out:
http://aspn.activestate.com/ASPN/Mail/Message/perl-win32-porters/1178773
and
http://perlmonks.thepen.com/181655.html

There seems to be a lively discussion on threadding and forking, etc. right
here at perl.org on the perl-ithreads list.

here's the archive:
http://archive.develooper.com/[EMAIL PROTECTED]/msg88946.html

Please let me (and all of us) know if you get to the bottom of this...


Thanks and Good luck (we're all counting on you ;-)

-Peter

-Original Message-
From: Octavian Rasnita [mailto:[EMAIL PROTECTED]
Subject: Why this perl error?

The error is:
perl.exe - Application Error The instruction at "0x28068533" referenced
memory at "0x0004". The memory could not be "read". Click on OK to
terminate the program Click on CANCEL to debug the program OK Cancel

I am running Windows 2000, Apache 2.4 web server, and Perl 5.8.

I've discovered that each time I use the fork() function in a program where
I also use "use DBI", it gives me that error.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Why this perl error?

2003-04-02 Thread Octavian Rasnita
Hi all,

A CGI program made in Perl gives me a bad error and I don't know why nor how
to solve it.

The error is:
perl.exe - Application Error The instruction at "0x28068533" referenced
memory at "0x0004". The memory could not be "read". Click on OK to
terminate the program Click on CANCEL to debug the program OK Cancel

I am running Windows 2000, Apache 2.4 web server, and Perl 5.8.

I've discovered that each time I use the fork() function in a program where
I also use "use DBI", it gives me that error.

I have also tried to exec() another perl program that forks a subroutine,
but it gives me the same error.

Do you have any idea what could be the problem, or ... the solution for it?

Thanks.

Or, ... do I have other ways to for external programs?
I want to fork another perl program.

Teddy,
Teddy's Center: http://teddy.fcc.ro/
Email: [EMAIL PROTECTED]





-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]