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



ikarapet
Novice

May 19, 2009, 6:23 AM


Views: 8463
Getting error while using system() in MS-DOS

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


Views: 8459
Re: [ikarapet] Getting error while using system() in MS-DOS

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


Views: 8457
Re: [ikarapet] Getting error while using system() in MS-DOS

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


KevinR
Veteran


May 19, 2009, 5:15 PM


Views: 8454
Re: [ikarapet] Getting error while using system() in MS-DOS

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


ikarapet
Novice

May 21, 2009, 1:16 AM


Views: 8422
Re: [KevinR] Getting error while using system() in MS-DOS

Thanks.
I'll check