Date: Tue, 7 Feb 1995 15:14:26 -0500 From: davis AT amy DOT tch DOT harvard DOT edu ("John E. Davis") To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Bug in coff2exe? Hi, I compiled my program (jed386) with -g for debugging support. In it, I have a function that executes a command by calling one of the spawn functions. For everything in the world except coff2exe, this works fine. For example, I can run `make' this way and everthing works up until the `coff2exe' step in the makefile at which point it fails. It works perfectly if I remove coff2exe from the makefile. In addition, simply running coff2exe as a shell command from the editor crashes it. Please note: this only occurs when run via the spawn command. If I run make from the command line, everything works fine. As I result, I am pretty sure the problem is with coff2exe. My GO32 environment variables are: nodpmi core core It does not seem to matter too much whether or not I use `nodpmi'. The corefile `core' is attached below. I expected some form of meaningful stack trace since I compiled with -g. ==================== Invalid Opcode at eip=2b002 eax=00000300 ebx=00000021 ecx=00000000 edx=00000000 esi=00000000 edi=7ffffa40 ebp=7ffff9e0 esp=7ffff9c8 cs=d8 ds=48 es=48 fs=48 gs=48 ss=48 cr2=0000b000 Call frame traceback EIPs: 0x0002b002 0x00026bc3 0x000257bf 0x0002589b 0x0002606b 0x000261db 0x0002609d 0x00006b5b 0x00006860 0x0001968d 0x0001a79a Contents of stack: stack[0x7ffff9c8] = 0x7fff0048 stack[0x7ffff9ca] = 0x00487fff stack[0x7ffff9cc] = 0x00020048 stack[0x7ffff9ce] = 0x02460002 stack[0x7ffff9d0] = 0x00000246 stack[0x7ffff9d2] = 0xfacb0000 stack[0x7ffff9d4] = 0x7ffffacb stack[0x7ffff9d6] = 0xbe107fff stack[0x7ffff9d8] = 0xe002be10 stack[0x7ffff9da] = 0xfa40e002 stack[0x7ffff9dc] = 0x7ffffa40 stack[0x7ffff9de] = 0xf9f47fff stack[0x7ffff9e0] = 0x7ffff9f4 stack[0x7ffff9e2] = 0x6bc37fff stack[0x7ffff9e4] = 0x00026bc3 stack[0x7ffff9e6] = 0x00210002 stack[0x7ffff9e8] = 0x00000021 stack[0x7ffff9ea] = 0xb4c00000 stack[0x7ffff9ec] = 0x0003b4c0 stack[0x7ffff9ee] = 0xb4c00003 stack[0x7ffff9f0] = 0x0003b4c0 stack[0x7ffff9f2] = 0xfa740003 stack[0x7ffff9f4] = 0x7ffffa74 stack[0x7ffff9f6] = 0x57bf7fff stack[0x7ffff9f8] = 0x000257bf stack[0x7ffff9fa] = 0x00210002 stack[0x7ffff9fc] = 0x00000021 stack[0x7ffff9fe] = 0xfa400000 stack[0x7ffffa00] = 0x7ffffa40 stack[0x7ffffa02] = 0xfa407fff stack[0x7ffffa04] = 0x7ffffa40 stack[0x7ffffa06] = 0x00007fff stack[0x7ffffa08] = 0x00000000 stack[0x7ffffa0a] = 0x00340000 stack[0x7ffffa0c] = 0x00000034 stack[0x7ffffa0e] = 0xb0ac0000 stack[0x7ffffa10] = 0x0003b0ac stack[0x7ffffa12] = 0x000e0003 stack[0x7ffffa14] = 0x0000000e stack[0x7ffffa16] = 0xbdf90000