www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/04/08/12:25:30

Date: Thu, 8 Apr 1993 10:34:16 -0500 (CDT)
From: BRV AT msc DOT com (Bev Vincent, Molecular Structure Corp.)
Subject: Calling system() with GCC 2.2.2/2.3.3 and DVX/Motif
To: djgpp AT sun DOT soe DOT clarkson DOT edu

I am using GCC 2.2.2 on a DECpc 433dxLP (486/33MHz) in conjunction with
DESQview/X and its Motif Window Manager and Motif/X development kits.

I am converting a rather large scientific analysis program from the
WorkStation environment to the PC and so far have been pleased with
how well things are going.

The software package consists of a Motif GUI which occasionally is
required to run Fortran number-crunchers. I am using the C system()
call to execute these "background" jobs. In the WorkStation environment,
of course, these run as background or batch detached processes. On a PC,
even with multi-tasking DESQview, the background jobs will probably
lock up the X/Motif client while they are crunching.

I am just at the stage of the conversion that I am first attempting to
execute system() calls. The command *does* execute, but immediately
after it is completed, my application dies with an

XIO: fatal IO error 32 (unknown erro) on X server ":0.0"
     after 7870 requests (7836 known processed) with 0 events remaining.
     The connection was probably broken by a server shutdown or KillClient.

error message. I had thought that lack of memory was a problem as  I am
running with only 8Mb and my application doesn't leave much room, but I
repeated the test with a much smaller Motif application with similar results.
I upgraded to 2.3.3 but did not see any improvement.

I was wondering if anyone has any experience with using system() with 
GCC 2.2.2/2.3.3 with DVX and whether there are any words of wisdom out there.

Thanks in advance for any feedback...

Bev Vincent
brv AT msc DOT com
The Woodlands, TX

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019