From: Brian Sturk Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro, spawnl, and PMODE/DJ...problems?? Date: Tue, 03 Mar 1998 23:19:36 -0500 Organization: Contractor Lines: 54 Message-ID: <34FCD658.666D2596@nh.ultranet.com> References: NNTP-Posting-Host: d11.dial-9.exr.nh.ultra.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Well I got this via sterr... Shutting down Allegro Exiting due to signal SIGILL Invalid Opcode at eip=00000008 eax=00000000 ebx=00085138 ecx=00000000 edx=00000000 esi=00000000 edi=00000000 ebp=00000000 esp=00084f54 program=C:\EMULAT~1\ATARIST\PCST048\NEW.EXE cs: sel=03f0 base=00341400 limit=000effff ds: sel=03e8 base=00341400 limit=000effff es: sel=03e8 base=00341400 limit=000effff fs: sel=03d8 base=00000000 limit=ffffffff gs: sel=03d8 base=00000000 limit=ffffffff ss: sel=03e8 base=00341400 limit=000effff Call frame traceback EIPs: 0x00000008 Again this is using PMODE/DJ and it's after the spawned program is returning (program was spawned after shutting down Allegro). My test app (only calling spawnl) had this // spawn process with the command line int nRet; nRet = spawnl(P_WAIT, process_name, process_name, filename, autorun_string, NULL); The full application (using Allegro's gui routines) called the spawnl the same way only preceded by allegro_exit(). The test app returned fine, and the one with Allegro returned with the above. Eli Zaretskii wrote: > On Fri, 27 Feb 1998, Brian Sturk wrote: > > > PMODE/DJ in my application. As a sanity check I wrote a 5 line app that > > spawned the application (using PMODE/W) and it returned fine. With my > > application (using Allegro) it didn't. > > Please explain what do you mean by ``it didn't''. What actually happened > in that case? -- Curator of the Unofficial Homepage for Borland C++ Builder http://www.nh.ultranet.com/~bsturk "HOL" The Hardware Obstruction Layer The NTChrist Whatever happened to Pong??? Frank Black, The Pixies