Blitz3D executables not running on some setups

Archives Forums/Blitz3D Bug Reports/Blitz3D executables not running on some setups

alain(Posted 2011) [#1]
Hi there,

I have problems with two customers (one is running Windows7 and other run WinXP): on their setup, Blitz executables won't start.

I wrote a test program (in c#) that launch several test programs (available here: http://www.slide-effect.com/others/SEDiagnose3.zip )

My test program do the following:
1) run DXDiag
2) check the available resolutions
3) check the DEP settings (to check for the issue reported here: http://www.blitzbasic.com/Community/posts.php?topic=86872)
4) start a basic Blitz3D program that only print something in a log without doing any Graphics or Graphics3D command.
5) start a basic Blitz3D program that only print something in a log without doing any Graphics or Graphics3D command but with the flag NXCOMPAT to NO.
(To try to address the DEP problem, more info here: http://blogs.msdn.com/b/gauravb/archive/2008/09/23/disable-dep-on-applications.aspx )
6) start a basic Blitz3D program that only print something in a log without doing any Graphics or Graphics3D command but with the flag NXCOMPAT to YES.
7) start a basic Blitz3D program that opens a 2D Graphics window:
Graphics 640,480,32,2
8) start a basic Blitz3D program that opens a 3D Graphics window:
Graphics3D 640,480,32,2
9) start a basic Blitz3D program that list and display all the resolutions and mode available
10) start a basic BlitzMAX program that init the graphics using OpenGL Max2D Graphics then OpenGL Raw Graphics then D3D7 Graphics.
11) start a small C++/DirectX8 program with a spinning triangle.
12) Retrieve running processes (to check if there is a wacom tablet program that may hurt Blitz3D)
13) Finally check the Windows Event Log to know if something has been added during the test.

I also asked my customer to put an exception for blitz programs in the DEP as explained here:
http://www.blitzbasic.com/Community/posts.php?topic=86872

And also asked him to "turn off advanced text services for this program" (Compatibility Tab)

So, when running the test, I have the following results:
- All blitz3D executables did not start and return error code -1073741819
- blitzMAX executable run fine.
- C++/DirectX executable run fine.
- no events on the windows event log.
- dxdiag seems to be ok
- running processes are:
Process: Rtvscan ID:2560
Process: SynTPEnh ID:3936
Process: smss ID:192
Process: svchost ID:1964
Process: ati2evxx ID:580
Process: btwdins ID:772
Process: svchost ID:2544
Process: ccApp ID:4708
Process: WDSC ID:2932
Process: wmiprvse ID:4900
Process: lsass ID:368
Process: svchost ID:2140
Process: cvpnd ID:1548
Process: acrotray ID:3320
Process: OSPPSVC ID:3860
Process: ONENOTEM ID:5876
Process: mdm ID:1736
Process: services ID:356
Process: SNAC ID:1340
Process: searchindexer ID:3308
Process: AtService ID:548
Process: DWRCS ID:940
Process: hpcmpmgr ID:3500
Process: sftlist ID:2120
Process: BDARemote ID:5904
Process: accelerometerST ID:3960
Process: WindowsSearch ID:5856
Process: searchfilterhost ID:7628
Process: ipoint ID:1472
Process: userinit ID:6640
Process: XyLoc ID:3684
Process: SmcGui ID:5884
Process: svchost ID:724
Process: hphmon05 ID:1432
Process: svchost ID:1312
Process: ISXAgent ID:3280
Process: svchost ID:1268
Process: WINPROJ ID:3276
Process: wmiprvse ID:4456
Process: SnagPriv ID:5832
Process: cisvc ID:1496
Process: vpngui ID:4844
Process: QLBCTRL ID:2084
Process: TscHelp ID:4644
Process: hpztsb09 ID:3264
Process: winlogon ID:308
Process: CardScanAgent ID:3260
Process: CcmExec ID:3732
Process: wmiprvse ID:3652
Process: agrsmsvc ID:1484
Process: Snagit32 ID:2860
Process: ctfmon ID:5840
Process: S24EvMon ID:1084
Process: FAXCTRL ID:2068
Process: DWRCST ID:3052
Process: RegSrvc ID:2260
Process: svchost ID:5436
Process: hpqWmiEx ID:6008
Process: svchost ID:680
Process: scardsvr ID:876
Process: SSOManHost ID:1072
Process: PenCommService ID:2056
Process: WDDMStatus ID:5824
Process: iexplore ID:7996
Process: RIMAutoUpdate ID:3232
Process: LMS ID:1648
Process: cidaemon ID:3124
Process: SnagitEditor ID:5980
Process: OUTLOOK ID:5604
Process: enstart ID:1248
Process: alg ID:652
Process: csrss ID:248
Process: UNS ID:2620
Process: realsched ID:3404
Process: itype ID:2916
Process: hpwuSchd ID:3796
Process: ati2evxx ID:1576
Process: spoolsv ID:228
Process: ZCfgSvc ID:2212
Process: explorer ID:3588
Process: ccSvcHst ID:1616
Process: sftvsa ID:2520
Process: Acrobat ID:5160
Process: unsecapp ID:4764
Process: WDFME ID:2792
Process: EvtEng ID:1804
Process: SEDiagnose ID:8072
Process: QDLService ID:2196
Process: wmplayer ID:5948
Process: mdvsrv ID:1872
Process: svchost ID:612
Process: svchost ID:808
Process: Smc ID:1200
Process: hptskmgr ID:6128
Process: wmiprvse ID:4744
Process: searchprotocolhost ID:5728
Process: iFrmewrk ID:1156
Process: WDDMService ID:2768
Process: iexplore ID:4540
Process: sftdcc ID:3356
Process: System ID:4
Process: wmiprvse ID:4636
Process: Idle ID:0


I am really out of ideas. Has somebody encountered the same issue? How can I know what's going on in Blitz3D startup? Is a process on the list in conflict with Blitz3D?

Any idea is welcome.


SLotman(Posted 2011) [#2]
Since you app is crashing without even creating graphics... you should ask the users where they installed it. Maybe if it is on something like "C:\test" instead of "C:\Program Files..." it will work. Maybe they don't have the necessary permission to run the exe...? In general, this error code is: "Exception ACCESS_VIOLATION (0xc0000005)".

The best test would be to ask the user to run the program as administrator, without any (Anti-Virus or Anti-Spyware) program running on background, to see if the error persists.

Beware: looking on google for "error code -1073741819", I found some references to a Sasser virus! Maybe the user machine is infected?

Other posts indicated problems that could be fixed by installing later service packs, installing (or re-installing) .net framework and a ton of different causes/fixes. Apparently, even Installshield have this same problem!

Also, ask the users if they by any chance have a "Kensington Mouse". Look at this thread for some info.

Last edited 2011


alain(Posted 2011) [#3]
Thanks Slotman for the reply.

The test programs are on the desktop of the user, so I don't think the problem comes from the location.

Plus, the max and the c++ executables run ok.

I will ask him if I can connect to his computer and try to kill running processes to check if there is some conflicts.

I had once the 0xc0000005 exception, but in most of the cases, no exceptions, just the return vale of -1073741819.

More info if the user is ok to connect to his computer.


_PJ_(Posted 2011) [#4]
Are you able to try recreating the issue on your own system?