View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000975 | FSSCP | scripting | public | 2006-07-07 18:19 | 2007-11-24 14:30 |
| Reporter | Wanderer | Assigned To | WMCoolmon | ||
| Priority | normal | Severity | crash | Reproducibility | sometimes |
| Status | closed | Resolution | fixed | ||
| Summary | 0000975: CTD on game and mission start | ||||
| Description | I'm getting occasional CTDs on game start right after pressing 'Run' from the launcher with new CVS r-builds, d-builds and 3.6.9 stuff functions without issues. Crahs occurs before SCP logo and loading screen are displayed. Also if 'plr' (to get playership object) is used with r builds game CTDs right after pressing 'commit' from briefing screen, again it functions nicely on d builds and all 3.6.9s | ||||
| Additional Information | As i couldnt run the debug build all i got was errorlog.txt.. Game start: fs2_open_r-20060706 caused an Access Violation in module ntdll.dll at 001b:7c911e58. Mission start with plr: fs2_open_r-20060706 caused an Access Violation in module fs2_open_r-20060706.exe at 001b:00523e13. Should be noted that i can start the game sometimes many times in a row ithout any issues but when CTDs on startup begin to happen i cant start the game at all regardless of the number of attempts to do so. | ||||
| Tags | No tags attached. | ||||
|
|
Few additions/corrections... 'Couldnt run debug build' = I couldnt run debug build and CTD it. It run very smoothly and totally without errors/crashes/anything problematic. Using Nvidia geforce 6600GT with both 84.21 and 91.31 ForceWare. AMD AthlonXP 2400+ and WinXP SP2. |
|
|
If you don't use any cmdline options (particularly -glow and -spec) does it work then? I did notice an endless-loop and/or div-by-0 bug in the new map animation code and it's possible this is causing it. I have a fix but I'm not all that happy with how it's (the new code in general) all working with some existing maps so I haven't added the fix to CVS yet. Will probably get with Goober about it all before I do anything. But, the main culprit is any model map that's an animation (one who's FPS is higher than the total number of frames), so if these aren't being used, or are disabled, and it's still crashing then I'm just referring to a different bug and you should ignore me. :) |
|
|
Now this is odd... No change with different commandline parameters, but some difference with -mod options. All the mods that failed the test were using scripting. Now that i have taken longer look at those i still cant figure out what is wrong with them (scripting.tbl) as they function just as they should in CVS debug builds and in 3.6.9 builds but seem to cause instant CTD with r builds. Seems like the odds of CTD on game startup are increased if i call a selfmade function in 'HUD' that is declared in 'GameInit'. But even that crash doesnt happen every time i try to recreate. |
|
|
Can you attach a scripting.tbl which demonstrates the problem for me to test with? |
|
2006-07-08 10:37
|
|
|
|
Sure... File uploaded. |
|
|
Well, I've tried everything I can think of, but it works fine for me. This is with Linux builds of course, but that means this probably isn't a basic code issue and is more likely a build issue. Probably a compiler option. |
|
|
Well the all the CVS builds i have tested have been compiled by redmenace.. so the compiler settings could well be the reason for the CTDs given that the 3.6.9 RC4 and all debug builds (debugs were totally unoptimized, right?) function nicely. |
|
|
All of the regular builds are optimized for PIII processors except the Optimized builds that are are P4 optimized |
|
|
Just noticed... CTD on mission start if plr is used with 3.6.9 RC 5 (or actually 5.2 i think) |
|
|
But only in a release build right? RC5 had different compiler optimizations (since it's friggin slow otherwise) and that may be while it's now doing it too. Nothing different in the code there, just the optimizations. Unfortunately, I bet that's another one of those Windows-only bugs, which makes it very difficult for me to track down. EDIT: Oh and post the errorlog.txt for RC5. I have to map for that build so I can try and track down where it's crashing. edited on: 07-09-06 18:54 |
|
|
Yeah.. Only r-builds crash. Debug 3.6.9 RC5 runs smoothly without any issues. I'll upload errorlog.txt |
|
2006-07-10 01:33
|
errorlog.txt (15,251 bytes)
fs2_open_3_6_9 caused an Access Violation in module fs2_open_3_6_9.exe at 001b:0056ebc7. Exception handler called in FreeSpace 2 Main Thread. Error occurred at 7/10/2006 04:57:12. E:\Games\FreeSpace2\fs2_open_3_6_9.exe, run by Vesa. 1 processor(s), type 586. 1024 MBytes physical memory. Read from location 0000001b caused an access violation. Registers: EAX=03400ce0 CS=001b EIP=0056ebc7 EFLGS=00010202 EBX=ffffffff SS=0023 ESP=0012f764 EBP=0012f758 ECX=00000013 DS=0023 ESI=03392bc0 FS=003b EDX=03392bc0 ES=0023 EDI=0012f77c GS=0000 Bytes at CS:EIP: 8b 51 08 8b 48 04 3b d1 74 08 33 c0 5f 5e 5d 5b Stack dump: 0012f764: 03392788 03392bc0 000000d0 003df448 00000000 0067ff90 03400ce0 00000010 0012f784: 03392bc0 0012f808 00000030 0068030e 03392bc0 003df448 03392bc0 00678385 0012f7a4: 03392bc0 003df448 ffffffff 0067fbca 03392bc0 0012f850 03392bc0 0012f964 0012f7c4: 0012f808 00000030 00000010 03392bc0 0012f7b0 0067fbb8 0012ff24 00000000 0012f7e4: 56433230 00000000 00000010 00000000 0069daa6 00000010 03392bc0 03392770 0012f804: 00000000 03392bc0 006806b1 03392bc0 00678370 0012f850 00000004 03392bc0 0012f824: 03392bc0 00000000 00670002 00000010 00678365 03392b01 00678370 0012f850 0012f844: 000000d0 000000b0 00000002 003df448 ffffffff 00563177 03392bc0 00000002 0012f864: ffffffff 00000003 03392770 03392bc0 00000080 003df3f8 00000003 0067ff90 0012f884: 00000002 03619ac8 03392bc0 0012f934 003df3a8 0068030e 03392bc0 003df3f8 0012f8a4: 03392bc0 0068172b 03392bc0 003df3f8 00000001 03392bc0 0068177f 03392bc0 0012f8c4: 03619ac8 003df3a8 03527468 003df3a8 03527468 03392bc0 006820f8 03392bc0 0012f8e4: 003df3a8 03527468 00000000 00000000 03392bc0 00000000 003d6e40 003df3a8 0012f904: 03527448 033a00d0 00000000 003df3a8 00000000 00000000 00000000 00000000 0012f924: 00000000 03392bc0 0012f9ac 00000000 0012f9ac 0068031b 03392bc0 03392bc0 0012f944: 00678385 03392bc0 003df398 00000000 0067fbca 03392bc0 0012f9f4 03392bc0 0012f964: 00000000 0012f9ac 00000000 00000000 03392bc0 0012f954 0067fbb8 0012ff24 0012f984: 00000000 56433230 00000000 00000009 03392bc0 03392bc0 0069aa5b 00000010 0012f9a4: 0069aa48 00000000 00000000 006806b1 03392bc0 00678370 0012f9f4 00000000 0012f9c4: 03392bc0 00000000 00000000 00000000 00000000 00678365 03392b01 00678370 0012f9e4: 0012f9f4 00000020 00000010 01d90b78 003df398 00000000 005172c0 03392bc0 0012fa04: 00000000 00000000 fffffffe 03392bc0 ffffd8f0 00000004 03392bc0 00562d20 0012fa24: 00000000 00000000 00000000 00000000 00000000 0051734b 00000001 00000004 0012fa44: 00000000 00000000 00405db4 01d90c00 00000000 00000000 01d6f2d8 00000002 0012fa64: 0012ff34 ffffffff 00000000 0024ef1a 0024ef1a 0024ef1a 00000000 0024ea7e 0012fa84: 44ad9673 3f633584 43f18958 bd85de91 bd7d78ab 3f7ef5f8 bd8d2043 3f7ef80d 0012faa4: 3d6af45f bf7ed7b9 bd84dfc7 bd8e1041 00406490 00000000 00408383 00000001 0012fac4: 00000002 004ea726 00000002 0012fb28 00000000 00408e10 00000020 00000025 0012fae4: 3ff88000 28260000 99cc5000 86701000 7ffe0000 7c0a8000 00408f08 0014238c 0012fb04: 00000000 00000000 7ffd4000 02000200 475c3a45 73656d61 6572465c 61705365 0012fb24: 00326563 5f327366 6e65706f 365f335f 652e395f 00006578 02100210 02100210 0012fb44: 02140214 03120210 02100210 02140210 02100312 02100210 02100210 03010301 0012fb64: 03010301 00000000 03010301 003d7da0 003d0640 03010301 03010301 03010301 0012fb84: 03010301 03010301 02100301 003d0178 03010301 03010301 03020301 03020302 0012fba4: 03020302 03020302 03020302 00000009 03020302 003d7d98 03020302 03020302 0012fbc4: 03020302 03020302 02100302 03020302 03020302 00000008 0012fc10 00140000 0012fbe4: 7c910732 003d0178 00140778 003d7968 00000000 0012fc2c 00140000 7c910732 0012fc04: 00000005 00140778 00140000 00000000 0012fc04 7c9106eb 0012fe48 7c90ee18 0012fc24: 7c910738 ffffffff 7c910732 7c911596 7c9106eb 02917918 0012ff14 00000000 0012fc44: 003d7258 003d7968 00000000 0000004d 003d6e30 003d0178 7f7e7d7c 003d6e38 0012fc64: 00140000 7c910732 00000006 003d0178 00140000 00140188 0012fc6c a3a2a1a0 0012fc84: 0012feb0 7c90d4ea 7c9180ff ffffffff 0012fcc8 00000000 0012fcec 00001000 0012fca4: 00000004 003d0000 003d8000 003d0000 003d8000 003d7960 003d7960 003d7960 0012fcc4: 0012fcf4 7c917e77 003d0000 003d80a8 003d7960 000000e7 003d0000 00000710 0012fce4: 00000730 003d6e38 000001eb 0112fedc 0012fee0 7c917c0c 003d0000 00000001 0012fd04: 7c917bf5 003d0608 7c917bb0 00000000 00000740 003d7968 00140178 63626140 0012fd24: 001404f0 003d7960 0014c668 0014c5c8 00000008 5b7a7978 003d7968 001404c8 0012fd44: 67666564 0014c690 6f6e6d6c 0000000d 77767574 001404c8 00000080 003d7260 0012fd64: 001404f0 8b9a8988 00000080 00000000 003d0178 003d0178 003d7968 0000000d 0012fd84: a7a6a5a4 00000004 003d0178 0000006f b7b6b5b4 003d0178 bfbebdbc 003d7248 0012fda4: 00140518 00140178 0000006a f3f2f1f0 d7f6f5f4 7c911b09 0118a6a0 001404f0 0012fdc4: 00000000 00000008 00000008 003d0178 7c911b09 02917918 0014c668 003d7960 0012fde4: 003d7960 00000021 03380278 efffffff 00000030 006a0c2b 02917bc0 0012fe5c 0012fe04: 0069aa9b 00000009 003d1e90 00000009 03380278 0000001f 0069aa5b 00000021 0012fe24: 00699ef7 00000021 00000001 00438391 00000021 03380278 03380260 00000001 0012fe44: 03380278 0000001f 0012fe38 0012fe8c 00704ee0 00000000 00000001 7c809794 0012fe64: 029182e8 00000000 00000000 000000e3 000000e7 0068bffc 02917918 0068c2d7 0012fe84: 02917734 02917754 0068bfc4 02917918 02917754 0068b8cd 0068bfc4 02917918 0012fea4: 003d0000 003d0000 00000710 00000730 000000e9 01000728 00000748 0068b762 0012fec4: 0012fd0c 7c910945 7c91094e 00000000 00020000 7ffd4000 ffffffff 7c917bb0 0012fee4: 7ffd4000 7c901005 0012fed0 003d7968 0012ff30 7c90ee18 7c910970 7c97e4c0 0012ff04: 7c8021b5 7c802011 00000000 00000000 ffffffff 00745de4 0012fb04 0012f388 0012ff24: 0012ffb0 00699ad8 0070a718 00000000 0012ffc0 0069a099 00400000 00000000 0012ff44: 0014238c 0000000a 00000000 00000000 7ffd4000 00000000 0014238c c038e948 0012ff64: 00000044 00144040 00143600 001440a0 00000000 00000000 00000000 00000000 0012ff84: 00000000 00000000 00000000 00000000 00000000 00000000 ffffffff ffffffff 0012ffa4: ffffffff 0012ff4c 805824fd 0012ffe0 00699ad8 00710cc0 00000000 0012fff0 0012ffc4: 7c816d4f 00000000 00000000 7ffd4000 8054a938 0012ffc8 85cc75a0 ffffffff 0012ffe4: 7c8399f3 7c816d58 00000000 00000000 00000000 00699fb9 00000000 Module list: names, addresses, sizes, time stamps and file times: C:\DOCUME~1\Vesa\LOCALS~1\Temp\IadHide5.dll, loaded at 0x003f0000 - 24613 bytes - 4222fb21 - file date is 5/22/2006 17:24:20 E:\Games\FreeSpace2\fs2_open_3_6_9.exe, loaded at 0x00400000 - 3960922 bytes - 44b08f76 - file date is 7/9/2006 01:09:12 C:\WINDOWS\system32\wrap_oal.dll, loaded at 0x03620000 - 409600 bytes - 4429b823 - file date is 5/24/2006 18:06:42 C:\Program Files\Combined Community Codec Pack\Filters\VSFilter.dll, loaded at 0x062b0000 - 913408 bytes - 43877ae9 - file date is 11/25/2005 23:58:18 C:\Program Files\F-Secure\FSPS\program\FSLSP.DLL, loaded at 0x06c00000 - 114688 bytes - 4369c6e5 - file date is 11/3/2005 13:14:30 c:\program files\f-secure\anti-virus\fsgkiapi.dll, loaded at 0x06c20000 - 57344 bytes - 42a939d3 - file date is 6/10/2005 12:57:24 C:\WINDOWS\system32\hnetcfg.dll, loaded at 0x06d50000 - 344064 bytes - 41477a88 - file date is 9/14/2004 16:11:48 C:\Program Files\Combined Community Codec Pack\Filters\ffdshow.ax, loaded at 0x07380000 - 2158592 bytes - 44552175 - file date is 4/30/2006 23:43:34 C:\WINDOWS\system32\OpenAL32.dll, loaded at 0x10000000 - 86016 bytes - 43cc4464 - file date is 5/24/2006 18:06:42 C:\Program Files\Trillian\events.dll, loaded at 0x16000000 - 163840 bytes - 421c9ec0 - file date is 3/15/2005 00:00:00 c:\program files\f-secure\common\fsma32.dll, loaded at 0x17000000 - 90163 bytes - 435f431c - file date is 10/26/2005 04:51:58 c:\program files\f-secure\common\fspmapi.dll, loaded at 0x18000000 - 65587 bytes - 435f430b - file date is 10/26/2005 04:52:16 C:\WINDOWS\system32\xpsp2res.dll, loaded at 0x20000000 - 2921984 bytes - 41477b22 - file date is 9/14/2004 16:11:26 C:\WINDOWS\system32\uxtheme.dll, loaded at 0x5b2a0000 - 219136 bytes - 41477aac - file date is 4/6/2005 15:04:54 C:\WINDOWS\system32\COMCTL32.dll, loaded at 0x5d5e0000 - 611328 bytes - 41477a96 - file date is 9/14/2004 16:11:46 C:\WINDOWS\system32\perfos.dll, loaded at 0x5ecb0000 - 25600 bytes - 41477aa1 - file date is 9/14/2004 16:11:56 C:\WINDOWS\system32\OPENGL32.dll, loaded at 0x5f250000 - 713728 bytes - 41477ae6 - file date is 9/14/2004 16:11:56 C:\WINDOWS\system32\NETAPI32.dll, loaded at 0x60970000 - 332288 bytes - 41477a99 - file date is 9/14/2004 16:11:54 C:\WINDOWS\system32\GLU32.dll, loaded at 0x61560000 - 123904 bytes - 41477a7f - file date is 9/14/2004 16:11:48 C:\WINDOWS\system32\HID.DLL, loaded at 0x68e80000 - 20992 bytes - 41477a84 - file date is 4/6/2005 15:16:12 C:\WINDOWS\system32\nvoglnt.dll, loaded at 0x69500000 - 5632000 bytes - 447f8a27 - file date is 6/1/2006 17:22:00 C:\WINDOWS\system32\d3d8thk.dll, loaded at 0x6df30000 - 8192 bytes - 41477a79 - file date is 9/14/2004 16:11:46 C:\WINDOWS\system32\d3d8.dll, loaded at 0x6df40000 - 1179648 bytes - 41477a79 - file date is 9/14/2004 16:11:46 C:\WINDOWS\system32\mswsock.dll, loaded at 0x71a40000 - 246784 bytes - 41477b40 - file date is 9/14/2004 16:11:54 C:\WINDOWS\System32\wshtcpip.dll, loaded at 0x71a80000 - 19968 bytes - 41477aef - file date is 9/14/2004 16:12:02 C:\WINDOWS\system32\WS2HELP.dll, loaded at 0x71a90000 - 19968 bytes - 41477ae5 - file date is 9/14/2004 16:12:02 C:\WINDOWS\system32\WS2_32.dll, loaded at 0x71aa0000 - 82944 bytes - 41477ae4 - file date is 9/14/2004 16:12:02 C:\WINDOWS\system32\WSOCK32.dll, loaded at 0x71ac0000 - 24064 bytes - 41477af1 - file date is 9/14/2004 16:12:02 C:\WINDOWS\system32\DINPUT.dll, loaded at 0x72270000 - 166400 bytes - 41477a96 - file date is 9/14/2004 16:11:46 C:\WINDOWS\system32\msacm32.drv, loaded at 0x72ce0000 - 20480 bytes - 3bbdd11f - file date is 10/9/2001 14:00:00 C:\WINDOWS\system32\wdmaud.drv, loaded at 0x72cf0000 - 23552 bytes - 41477ab7 - file date is 4/6/2005 15:03:06 C:\WINDOWS\system32\WINSPOOL.DRV, loaded at 0x72fd0000 - 146944 bytes - 41477aa8 - file date is 9/14/2004 16:12:10 C:\WINDOWS\system32\msdmo.dll, loaded at 0x73680000 - 14336 bytes - 41477ae9 - file date is 9/14/2004 16:11:52 C:\WINDOWS\system32\DDRAW.dll, loaded at 0x73730000 - 266240 bytes - 41477a87 - file date is 9/14/2004 16:11:46 C:\WINDOWS\system32\D3DIM700.DLL, loaded at 0x73910000 - 825344 bytes - 41477a7b - file date is 9/14/2004 16:11:46 C:\WINDOWS\system32\DCIMAN32.dll, loaded at 0x73b90000 - 8704 bytes - 41477a86 - file date is 9/14/2004 16:11:46 C:\WINDOWS\system32\KsUser.dll, loaded at 0x73eb0000 - 4096 bytes - 41477a95 - file date is 4/6/2005 15:02:36 C:\WINDOWS\system32\dsound.dll, loaded at 0x73ee0000 - 367616 bytes - 41477abb - file date is 9/14/2004 16:11:46 C:\WINDOWS\system32\MSCTF.dll, loaded at 0x746f0000 - 294400 bytes - 41477ad2 - file date is 9/14/2004 16:11:52 C:\WINDOWS\system32\quartz.dll, loaded at 0x747e0000 - 1287680 bytes - 4313d8bf - file date is 8/30/2005 06:55:44 C:\WINDOWS\system32\MSVCP60.dll, loaded at 0x76060000 - 413696 bytes - 41477b39 - file date is 9/14/2004 16:11:54 C:\WINDOWS\system32\comdlg32.dll, loaded at 0x76390000 - 278528 bytes - 41477a97 - file date is 9/14/2004 16:11:46 C:\WINDOWS\system32\devenum.dll, loaded at 0x765c0000 - 59904 bytes - 41477a8d - file date is 9/14/2004 16:11:46 C:\WINDOWS\system32\WINMM.dll, loaded at 0x76b30000 - 174592 bytes - 41477ac7 - file date is 9/14/2004 16:12:02 C:\WINDOWS\system32\WINTRUST.dll, loaded at 0x76c20000 - 176640 bytes - 41477aab - file date is 9/14/2004 16:12:02 C:\WINDOWS\system32\IMAGEHLP.dll, loaded at 0x76c80000 - 144384 bytes - 41477a92 - file date is 9/14/2004 16:11:50 C:\WINDOWS\system32\iphlpapi.dll, loaded at 0x76d50000 - 95744 bytes - 41477a82 - file date is 9/14/2004 16:11:50 C:\WINDOWS\system32\rtutils.dll, loaded at 0x76e70000 - 44032 bytes - 41477aa2 - file date is 9/14/2004 16:11:58 C:\WINDOWS\system32\rasman.dll, loaded at 0x76e80000 - 61440 bytes - 41477a9b - file date is 9/14/2004 16:11:56 C:\WINDOWS\system32\TAPI32.dll, loaded at 0x76ea0000 - 181760 bytes - 41477aa5 - file date is 9/14/2004 16:12:00 C:\WINDOWS\system32\rasapi32.dll, loaded at 0x76ed0000 - 236544 bytes - 41477a97 - file date is 9/14/2004 16:11:56 C:\WINDOWS\system32\CLBCATQ.DLL, loaded at 0x76fc0000 - 498688 bytes - 42e5bebe - file date is 7/26/2005 07:40:30 C:\WINDOWS\system32\COMRes.dll, loaded at 0x77040000 - 790016 bytes - 41477a9b - file date is 9/14/2004 16:11:46 C:\WINDOWS\system32\OLEAUT32.dll, loaded at 0x77110000 - 553472 bytes - 41477ae1 - file date is 9/14/2004 16:11:56 C:\WINDOWS\system32\WININET.dll, loaded at 0x771a0000 - 658432 bytes - 446178e5 - file date is 5/10/2006 08:23:50 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll, loaded at 0x773c0000 - 1050624 bytes - 41477a73 - file date is 9/14/2004 16:10:44 C:\WINDOWS\system32\ole32.dll, loaded at 0x774d0000 - 1284608 bytes - 42e5bec0 - file date is 7/26/2005 07:40:34 C:\WINDOWS\system32\SETUPAPI.DLL, loaded at 0x77910000 - 990720 bytes - 41477a9e - file date is 9/14/2004 16:11:58 C:\WINDOWS\system32\CRYPT32.dll, loaded at 0x77a70000 - 599040 bytes - 41477a79 - file date is 9/14/2004 16:11:46 C:\WINDOWS\system32\MSASN1.dll, loaded at 0x77b10000 - 57344 bytes - 41477acb - file date is 9/14/2004 16:11:52 C:\WINDOWS\system32\midimap.dll, loaded at 0x77bc0000 - 18944 bytes - 41477a91 - file date is 9/14/2004 16:11:52 C:\WINDOWS\system32\MSACM32.dll, loaded at 0x77bd0000 - 71680 bytes - 41477ab7 - file date is 9/14/2004 16:11:52 C:\WINDOWS\system32\VERSION.dll, loaded at 0x77bf0000 - 18944 bytes - 41477aa8 - file date is 9/14/2004 16:12:00 C:\WINDOWS\system32\msvcrt.dll, loaded at 0x77c00000 - 343040 bytes - 41477b3a - file date is 9/14/2004 16:11:54 C:\WINDOWS\system32\msv1_0.dll, loaded at 0x77c60000 - 129536 bytes - 41477b37 - file date is 9/14/2004 16:11:54 C:\WINDOWS\system32\USER32.dll, loaded at 0x77d30000 - 577536 bytes - 42260365 - file date is 3/2/2005 21:18:14 C:\WINDOWS\system32\ADVAPI32.dll, loaded at 0x77dc0000 - 679936 bytes - 41477a8e - file date is 9/14/2004 16:11:44 C:\WINDOWS\system32\RPCRT4.dll, loaded at 0x77e70000 - 581120 bytes - 41477a9c - file date is 9/14/2004 16:11:58 C:\WINDOWS\system32\GDI32.dll, loaded at 0x77f10000 - 280064 bytes - 43b34fec - file date is 12/29/2005 05:54:36 C:\WINDOWS\system32\SHLWAPI.dll, loaded at 0x77f60000 - 474112 bytes - 446178e5 - file date is 5/10/2006 08:23:50 C:\WINDOWS\system32\secur32.dll, loaded at 0x77fe0000 - 55808 bytes - 41477aae - file date is 9/14/2004 16:11:58 C:\Program Files\Trillian\MSVCR71.dll, loaded at 0x7c340000 - 348160 bytes - 3e561eac - file date is 3/15/2005 00:00:00 C:\WINDOWS\system32\kernel32.dll, loaded at 0x7c800000 - 982528 bytes - 41477aa9 - file date is 9/14/2004 16:11:50 C:\WINDOWS\system32\ntdll.dll, loaded at 0x7c900000 - 701952 bytes - 41477aa9 - file date is 9/14/2004 16:11:38 C:\WINDOWS\system32\SHELL32.dll, loaded at 0x7c9c0000 - 8456192 bytes - 441a355e - file date is 3/17/2006 07:04:50 |
|
|
I can't really tell what's going on there, WMC is considerably more qualified to figure this out. But, it just looks like a NULL ptr reference. The crash appears to be in the Position function, but without knowing how to properly debug the scripting code I can't offer much more than that. I'll just assign this to WMC and maybe he'll take a look at it. |
|
|
This didn't actually get assigned to WMC for some reason. Let's see if it works better this time... |
|
|
The only thing I can see, is that if "plr" isn't set (ie because the player is dead), then you're in a world of hurt. There's no checking to see if the variable actually exists. I ran a quick check in a debug build and everything seemed to work fine. I should point out that doing HUD stuff with the "plr" variable is generally bad practice, since it means that if you switch out to another ship's view, it will still have the player ship's controls (rather than the ones for the ship you're viewing from) |
|
|
Well.. using "plr" was the only way to get reticles to function in outside view as "slf" became nil as soon i swapped to external view. And as i said earlier debugs work like dream with "plr", its the optimized r-builds (and i dont mean P4 optimized) that CTD. To me (not-a-coder) it seems like some compiler setting cause "plr" to corrupt.. That is as i dont get any normal nil errors as would be expected if plr was not set but instead i get CTD on mission start, at the moment when scripting.tbl first time uses "plr" for anything. edited on: 07-16-06 01:36 |
|
|
Both debug and release builds are optimized. |
|
|
I encountered something similar as the 'plr' iossue in game startup. First one caused instant CTD on game start with r-builds, second does the same thing as the first one but runs smoothly. It seems to be like attaching particle effect to a weapon causes this CTD. ts.createParticle(nullvec,nullvec,frametime,10,"bitmap",-1,false,anitexture,weapon) ts.createParticle(weapon.Position,nullvec,frametime,10,"bitmap",-1,false,anitexture) |
|
|
I don't believe this is an issue anymore. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2006-07-07 18:19 | Wanderer | New Issue | |
| 2006-07-07 21:16 | Wanderer | Note Added: 0006072 | |
| 2006-07-07 22:10 | taylor | Note Added: 0006074 | |
| 2006-07-08 05:11 | Wanderer | Note Added: 0006078 | |
| 2006-07-08 10:13 | taylor | Note Added: 0006079 | |
| 2006-07-08 10:37 | Wanderer | File Added: scripting.tbl | |
| 2006-07-08 10:38 | Wanderer | Note Added: 0006080 | |
| 2006-07-08 13:02 | taylor | Note Added: 0006082 | |
| 2006-07-08 13:29 | Wanderer | Note Added: 0006085 | |
| 2006-07-08 14:12 | redmenace | Note Added: 0006086 | |
| 2006-07-09 18:41 | Wanderer | Note Added: 0006126 | |
| 2006-07-09 22:53 | taylor | Note Added: 0006130 | |
| 2006-07-09 22:54 | taylor | Note Edited: 0006130 | |
| 2006-07-10 01:33 | Wanderer | Note Added: 0006131 | |
| 2006-07-10 01:33 | Wanderer | File Added: errorlog.txt | |
| 2006-07-10 02:43 | taylor | Note Added: 0006132 | |
| 2006-07-10 02:44 | taylor | Status | new => assigned |
| 2006-07-10 02:44 | taylor | Category | --------- => scripting |
| 2006-07-15 22:01 | taylor | Note Added: 0006182 | |
| 2006-07-15 22:01 | taylor | Assigned To | => WMCoolmon |
| 2006-07-15 23:13 | WMCoolmon | Note Added: 0006193 | |
| 2006-07-16 05:35 | Wanderer | Note Added: 0006196 | |
| 2006-07-16 05:36 | Wanderer | Note Edited: 0006196 | |
| 2006-07-18 05:55 | redmenace | Note Added: 0006216 | |
| 2006-07-30 18:41 | Wanderer | Note Added: 0006374 | |
| 2007-11-24 14:30 | WMCoolmon | Status | assigned => closed |
| 2007-11-24 14:30 | WMCoolmon | Note Added: 0008691 | |
| 2007-11-24 14:30 | WMCoolmon | Resolution | open => fixed |