R&R Runtime
Posted: Wed Feb 06, 2002 11:00 pm
I^ve got a very confusing problem on one of a customer^s many computers. It is a Windows 2000 workstation. I^m calling RRWRUN.EXE from a 16-bit windows application using a control table. The command would be something like "RRWRUN temp
r001000.dbf 1". Only on this one workstation I get the following message in a dialog box when the user tries to start the runtime:____Title Bar: "Program Error"__Message: "RRWRUN.EXE has generated errors and will be closed by windows. You will need to restart the program. An error log is being created"____After some searching I finally found the log file referenced. Hopefully it is not too long to past to the end of the message.____One interesting thing is that I can run the runtime successfully from the "cmd" prompt but not from "command" !!! (Choose "Start" then "Run" and type in "cmd" or "command", you^ll get different version information at the top of the command prompt window.)____I hope you can help me because I^ve searched MSDN with all the keywords I can thinkg of that would apply to this and can^t find anything that helps.____Here is the error log from windows:____Application exception occurred:__ App: (pid=1852)__ When: 2/6/2002 @ 20:06:14.383__ Exception number: c0000005 (access violation)____*----> System Information <----*__ Computer Name: PSULLIVAN-WIN2K__ User Name: psullivan__ Number of Processors: 1__ Processor Type: x86 Family 6 Model 5 Stepping 2__ Windows 2000 Version: 5.0__ Current Build: 2195__ Service Pack: 2__ Current Type: Uniprocessor Free__ Registered Organization: CMI/CeleXx ISG__ Registered Owner: Any User____*----> Task List <----*__ 0 Idle.exe__ 8 System.exe__ 140 SMSS.exe__ 164 CSRSS.exe__ 184 WINLOGON.exe__ 212 SERVICES.exe__ 224 LSASS.exe__ 408 svchost.exe__ 444 SPOOLSV.exe__ 488 defwatch.exe__ 512 svchost.exe__ 544 rtvscan.exe__ 596 regsvc.exe__ 612 mstask.exe__ 688 WinMgmt.exe__ 460 explorer.exe__ 960 loadqm.exe__ 868 vptray.exe__1056 wcmdmgr.exe__ 948 STClient.exe__1156 SvrIntf.exe__1576 AWHOST32.exe__1652 NTVDM.exe__1852 RRWRUN.exe__1708 DRWTSN32.exe__ 0 _Total.exe____(00400000 - 00587000) __(77F80000 - 77FFB000) __(77820000 - 77827000) __(77E80000 - 77F35000) __(759B0000 - 759B6000) __(77E10000 - 77E74000) __(77F40000 - 77F7C000) __(5F800000 - 5F8E7000) __(10200000 - 10255000) __(76B30000 - 76B6E000) __(77C70000 - 77CBA000) __(77DB0000 - 77E0B000) __(77D40000 - 77DB0000) __(77B50000 - 77BD9000) __(782F0000 - 78532000) __(78000000 - 78046000) __(77800000 - 7781D000) __(77A50000 - 77B46000) __(732E0000 - 73300000) __(67E20000 - 67E2A000) ____State Dump for Thread Id 0x720____eax=00000000 ebx=004f4368 ecx=008b3c90 edx=be00a9ac esi=008b5058 edi=00000000__eip=004d1b37 esp=0006f990 ebp=0006f9a4 iopl=0 nv up ei pl zr na po nc__cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000246______function: <nosymbols>__ 004d1b0f 56 push esi__ 004d1b10 57 push edi__ 004d1b11 894df8 mov [ebp+0xf8],ecx ss:00aecf76=????????__ 004d1b14 837d0800 cmp dword ptr [ebp+0x8],0x0 ss:00aecf76=????????__ 004d1b18 0f8455000000 je 004d1b73__ 004d1b1e 8b45f8 mov eax,[ebp+0xf8] ss:00aecf76=????????__ 004d1b21 83b8b809000000 cmp dword ptr [eax+0x9b8],0x0 ds:000009b8=????????__ 004d1b28 0f852a000000 jne 004d1b58__ 004d1b2e 8b45f8 mov eax,[ebp+0xf8] ss:00aecf76=????????__ 004d1b31 8b80c8000000 mov eax,[eax+0xc8] ds:000000c8=????????__FAULT ->004d1b37 8b80c2000000 mov eax,[eax+0xc2] ds:000000c2=????????__ 004d1b3d 50 push eax__ 004d1b3e ff156c5a5500 call dword ptr [00555a6c] ds:00555a6c=77e13ba8__ 004d1b44 8b4df8 mov ecx,[ebp+0xf8] ss:00aecf76=????????__ 004d1b47 8b89c8000000 mov ecx,[ecx+0xc8] ds:008b3d58=00000000__ 004d1b4d 8981ce000000 mov [ecx+0xce],eax ds:008b3d5e=00000000__ 004d1b53 e916000000 jmp 004d1b6e__ 004d1b58 8b45f8 mov eax,[ebp+0xf8] ss:00aecf76=????????__ 004d1b5b 8b80c8000000 mov eax,[eax+0xc8] ds:000000c8=????????__ 004d1b61 8b80c2000000 mov eax,[eax+0xc2] ds:000000c2=????????__ 004d1b67 50 push eax__ 004d1b68 ff156c5a5500 call dword ptr [00555a6c] ds:00555a6c=77e13ba8____*----> Stack Back Trace <----*____FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name__0006F9A4 004D4113 00000001 00000000 008B5058 004F4368 !<nosymbols> __0006F9F0 00456551 00000000 008B5058 004F4368 008B5058 !<nosymbols> __0006FA08 5F80170F 004F4488 008B5058 00000000 00000000 !<nosymbols> __0006FA94 5F8019B2 00000002 00000000 00000000 0006FAB4 mfc40_opt!Ordinal569 __0006FAB8 5F801A3D 00000002 00000000 00000000 008B5078 mfc40_opt!Ordinal5647 __0006FB24 5F8013F2 008B5058 00670282 00000002 00000000 mfc40_opt!Ordinal984 __0006FB40 5F801AD0 00670282 00000002 00000000 00000000 mfc40_opt!Ordinal1370 __0006FB6C 77E12E98 00670282 00000002 00000000 00000000 mfc40_opt!Ordinal1371 __0006FB8C 77E139A3 5F801A9D 00670282 00000002 00000000 user32!ScrollDC __0006FBA8 77E1395F 005B2140 00000002 00000000 00000000 user32!GetQueueStatus __0006FBD0 77FA032F 0006FBE0 00000018 005B2140 00000002 user32!GetQueueStatus __0006FC44 5F81C753 00000000 00000001 FFFFFFFF 004F5158 ntdll!KiUserCallbackDispatcher __0006FCD4 004AC029 00552238 FFFFFFFF 004F5158 00552238 mfc40_opt!Ordinal4083 __0006FEE8 5F80F860 0286E6A0 0008252B 7FFDF000 0006FF14 !<nosymbols> __0006FEFC 004F29C5 00400000 00000000 0008252B 00000001 mfc40_opt!Ordinal1368 __0006FF14 004F28C7 00400000 00000000 0008252B 00000001 !<nosymbols> __0006FFC0 77E97D08 0286E6A0 0286E65C 7FFDF000 C0000005 !<nosymbols> __0006FFF0 00000000 004F2770 00000000 000000C8 00000100 kernel32!CreateProcessW ____*----> Raw Stack Dump <----*__0006f990 00 00 00 00 58 50 8b 00 - 68 43 4f 00 90 3c 8b 00 ....XP..hCO..<..__0006f9a0 02 00 00 00 f0 f9 06 00 - 13 41 4d 00 01 00 00 00 .........AM.....__0006f9b0 00 00 00 00 58 50 8b 00 - 68 43 4f 00 90 3c 8b 00 ....XP..hCO..<..__0006f9c0 02 00 00 00 00 00 00 00 - 00 00 00 00 58 50 8b 00 ............XP..__0006f9d0 08 fa 06 00 bd 1d 80 5f - 02 00 00 00 00 00 00 00 ......._........__0006f9e0 00 00 00 00 88 fa 06 00 - 9a 44 4d 00 ff ff ff ff .........DM.....__0006f9f0 08 fa 06 00 51 65 45 00 - 00 00 00 00 58 50 8b 00 ....QeE.....XP..__0006fa00 68 43 4f 00 58 50 8b 00 - 94 fa 06 00 0f 17 80 5f hCO.XP.........___0006fa10 88 44 4f 00 58 50 8b 00 - 00 00 00 00 00 00 00 00 .DO.XP..........__0006fa20 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................__0006fa30 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................__0006fa40 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................__0006fa50 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................__0006fa60 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................__0006fa70 00 00 00 00 00 00 00 00 - 00 00 00 00 a8 79 8c 5f .............y.___0006fa80 00 00 00 00 26 65 45 00 - 18 fb 06 00 33 94 82 5f ....&eE.....3..___0006fa90 ff ff ff ff b8 fa 06 00 - b2 19 80 5f 02 00 00 00 ..........._....__0006faa0 00 00 00 00 00 00 00 00 - b4 fa 06 00 02 00 00 00 ................__0006fab0 58 50 8b 00 00 00 00 00 - 24 fb 06 00 3d 1a 80 5f XP......$...=..___0006fac0 02 00 00 00 00 00 00 00 - 00 00 00 00 78 50 8b 00 ............xP..__