CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Win32 Programming Help:
Getting error while using system() in MS-DOS

 



ikarapet
Novice

May 19, 2009, 6:23 AM

Post #1 of 5 (5638 views)
Getting error while using system() in MS-DOS Can't Post

HI all,

You maybe remember me with my tries to run a PERL executable from MS-DOS.
So now I am trying to write Perl script in MS-DOS and I use perl5 for MS-DOS.
I face a problem while using system("program_name"); in my script. It runs the program, prints the output and then exits with error:

General Protection fault at eip=600b6; flags=3006
eax=008f0008; ebx = ..............................

the program itself runs without errors - I checked, but once I am running it from the script - the above error is displayed.

Any clue why am I getting this?


KevinR
Veteran


May 19, 2009, 3:02 PM

Post #2 of 5 (5634 views)
Re: [ikarapet] Getting error while using system() in MS-DOS [In reply to] Can't Post

A general protection fault is something to do with the operating system. If memory serves, it means that the OS was expecting to find something at a certain address in the memory and didn't find it or a section of RAM is defective.
-------------------------------------------------


ikarapet
Novice

May 19, 2009, 3:38 PM

Post #3 of 5 (5632 views)
Re: [ikarapet] Getting error while using system() in MS-DOS [In reply to] Can't Post

Do you have a clue what can I check in OS?


KevinR
Veteran


May 19, 2009, 5:15 PM

Post #4 of 5 (5629 views)
Re: [ikarapet] Getting error while using system() in MS-DOS [In reply to] Can't Post

http://www.google.com/search?q=what+is+a+general+protection+fault
-------------------------------------------------


ikarapet
Novice

May 21, 2009, 1:16 AM

Post #5 of 5 (5597 views)
Re: [KevinR] Getting error while using system() in MS-DOS [In reply to] Can't Post

Thanks.
I'll check

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives