vstuart Posted June 12, 2012 Report Posted June 12, 2012 Hi Pete, Since I updated FSUIPC from 4.728b to 4.81 a couple of months ago, I have been unable to complete a flight due to FSX crashing with the Event Name "AppHangB1". Since installing a fresh copy of FSX on a completely new computer alongside FSUIPC 4.833, I have been experiencing the same error. Here's an example of one such error log: DescriptionA problem caused this program to stop interacting with Windows.Faulting Application Path: C:\FSX\fsx.exeProblem signatureProblem Event Name: AppHangB1Application Name: fsx.exeApplication Version: 10.0.61472.0Application Timestamp: 475e17d3Hang Signature: 3a86Hang Type: 0OS Version: 6.1.7601.2.1.0.256.48Locale ID: 2057Additional Hang Signature 1: 3a8652692d78569f1083282d4d2bfaa4Additional Hang Signature 2: eb97Additional Hang Signature 3: eb977c59f3d4ba37a66e0c3e48bd4160Additional Hang Signature 4: 3a86Additional Hang Signature 5: 3a8652692d78569f1083282d4d2bfaa4Additional Hang Signature 6: eb97Additional Hang Signature 7: eb977c59f3d4ba37a66e0c3e48bd4160[/CODE]which seems to be fairly unhelpful.The crash only seems to occur at the beginning or end of a flight, and even in almost the same location at UK2000's EGLL when I fly from there. Reverting to the old copy of FSUIPC (4.728b) clears up my issues with this particular error, but sadly I've now experienced a crash due to g3d.dll for the first time ever!I don't know if this is relevant or not, but I only fly the PMDG 747-400X, and I use Saitek's Yoke/Quadrant/Rudder all calibrated through FSUIPC.Thanks for your time,Vincent Stuart
Pete Dowson Posted June 12, 2012 Report Posted June 12, 2012 Since I updated FSUIPC from 4.728b to 4.81 a couple of months ago, I have been unable to complete a flight due to FSX crashing with the Event Name "AppHangB1". Since installing a fresh copy of FSX on a completely new computer alongside FSUIPC 4.833, I have been experiencing the same error. Here's an example of one such error log: Sorry, but I don't think this is really anything to do with FSUIPC specifically. It looks like some sort of memory corruption, and different results with different versions of things like FSUIPC just moves the memory data around enough to give different results. The crash only seems to occur at the beginning or end of a flight, and even in almost the same location at UK2000's EGLL when I fly from there. Reverting to the old copy of FSUIPC (4.728b) clears up my issues with this particular error, but sadly I've now experienced a crash due to g3d.dll for the first time ever! I think this confirms what I surmised above. Something in the scenery is causing memory corruption. Almost all G3D errors are due to such -- and usually when FSX's process memory is close to being filled. See if it is still a problem when you reduce memory demands somewhat -- i.e sliders to the left more. I had a big problem simnilar to this with UK2000's EGLL once when I originally also installed UK2000's EGLC -- with one order in the Scenery.CFG file I got FSX crashing at EGLL and the other way at EGLC. It did eventually go away after I fiddled about with all sorts of things, including re-installs of both sceneries, but i never really isolated the cause. I don't know if this is relevant or not, but I only fly the PMDG 747-400X, and I use Saitek's Yoke/Quadrant/Rudder all calibrated through FSUIPC. Not really relevant except that the PMDG aircraft will be using a lot of FSX process memory too. Incidentally, the FSUIPC4 log file, from the Modules folder, is always useful to see in any reports like this. Regards Pete
vstuart Posted June 19, 2012 Author Report Posted June 19, 2012 Thanks for replying Pete. I lowered some sliders but the problem still persists. I dumped the fsx.exe process after tonight's crash (this time occurring at touchdown at Flightbeam KSFO, but it's happened at default airfields too) and ran it through WinDbg - here's the analysis: FAULTING_IP:+000000000 ?? ???EXCEPTION_RECORD: ffffffffffffffff -- (.exr 0xffffffffffffffff)ExceptionAddress: 0000000000000000 ExceptionCode: 80000003 (Break instruction exception) ExceptionFlags: 00000000NumberParameters: 0FAULTING_THREAD: 00000000000012d4DEFAULT_BUCKET_ID: STATUS_BREAKPOINTPROCESS_NAME: fsx.exeERROR_CODE: (NTSTATUS) 0x80000003 - {EXCEPTION} Breakpoint A breakpoint has been reached.EXCEPTION_CODE: (HRESULT) 0x80000003 (2147483651) - One or more arguments are invalidAPPLICATION_VERIFIER_FLAGS: 0PRIMARY_PROBLEM_CLASS: STATUS_BREAKPOINTBUGCHECK_STR: APPLICATION_FAULT_STATUS_BREAKPOINTLAST_CONTROL_TRANSFER: from 0000000077a28df4 to 0000000077a0f8b1STACK_TEXT:000ceb38 77a28df4 000024d4 00000000 00000000 ntdll_779f0000!NtWaitForSingleObject+0x15000ceb9c 77a28cd8 00000000 00000000 00000000 ntdll_779f0000!RtlpWaitOnCriticalSection+0x13e000cebc4 610067f9 610f12b4 000100e3 7906b980 ntdll_779f0000!RtlEnterCriticalSection+0x150WARNING: Stack unwind information not available. Following frames may be wrong.000ced00 610085c0 000ced2c 000ced30 000ced34 FSUIPC4+0x67f9000ced24 61036877 000100e3 fffffeea ffffffff FSUIPC4+0x85c0000cfb1c 07074292 7906b980 00000018 00000000 FSUIPC4!ExGenAddMenu+0xb00c000cfb3c 07077ead 09496da8 61035a44 00000000 SimConnect+0x4292000cfb58 610376c0 09507c50 61035a44 00000000 SimConnect!SimConnect_CallDispatch+0x1d000cfbec 75ef62fa 00050a88 00000400 00000000 FSUIPC4!ExGenAddMenu+0xbe55000cfc18 75ef6d3a 61037690 00050a88 00000400 user32!InternalCallWinProc+0x23000cfc90 75f00d27 00000000 61037690 00050a88 user32!UserCallWinProcCheckWow+0x109000cfcc8 75f0794a 61037690 00050a88 00000400 user32!CallWindowProcAorW+0xab000cfce8 71d11867 61037690 00050a88 00000400 user32!CallWindowProcA+0x1b000cfd5c 75ef62fa 00050a88 00000400 00000000 mfc80!_AfxActivationWndProc+0x11c [f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\wincore.cpp @ 449]000cfd88 75ef6d3a 71d1174b 00050a88 00000400 user32!InternalCallWinProc+0x23000cfe00 75ef77c4 00000000 71d1174b 00050a88 user32!UserCallWinProcCheckWow+0x109000cfe60 75ef7bca 71d1174b 00000001 000cfea0 user32!DispatchMessageWorker+0x3bc000cfe70 20111f4f 00271150 010043e0 010043e0 user32!DispatchMessageA+0xf000cfea0 2012da10 8df6590c 010043e0 010043e0 api!Ordinal16+0x2839000cfed0 20111bdd 20111e90 000cff88 01001d19 api!Ordinal221+0x229c000cfedc 01001d19 01001cf0 010043e0 71d1ccec api!Ordinal16+0x24c7000cff88 76e4339a fffde000 000cffd4 77a29ef2 fsx+0x1d19000cff94 77a29ef2 fffde000 771d9d1d 00000000 kernel32!BaseThreadInitThunk+0xe000cffd4 77a29ec5 0100262e fffde000 00000000 ntdll_779f0000!__RtlUserThreadStart+0x70000cffec 00000000 0100262e fffde000 00000000 ntdll_779f0000!_RtlUserThreadStart+0x1bSTACK_COMMAND: ~0s; .ecxr ; kbFOLLOWUP_IP:FSUIPC4+67f9610067f9 ff75f0 push dword ptr [ebp-10h]SYMBOL_STACK_INDEX: 3SYMBOL_NAME: FSUIPC4+67f9FOLLOWUP_NAME: MachineOwnerMODULE_NAME: FSUIPC4IMAGE_NAME: FSUIPC4.DLLDEBUG_FLR_IMAGE_TIMESTAMP: 4fcf4463FAILURE_BUCKET_ID: STATUS_BREAKPOINT_80000003_FSUIPC4.DLL!UnknownBUCKET_ID: X64_APPLICATION_FAULT_STATUS_BREAKPOINT_FSUIPC4+67f9WATSON_STAGEONE_URL: http://watson.microsoft.com/StageOne/fsx_exe/10_0_61472_0/475e17d3/unknown/0_0_0_0/bbbbbbb4/80000003/00000000.htm?Retriage=1Followup: MachineOwner---------[/CODE]Hopefully that's helpful. I forgot to make a copy of the FSUIPC4.log file before restarting FSX, so I shall make sure to post that on the next crash.Vince
Pete Dowson Posted June 19, 2012 Report Posted June 19, 2012 Hopefully that's helpful. Not really at first glance. The information on the stack would be useful if you were using the current version of FSUIPC4 (4.837) as then I should be able to pinpoint exactly what it was up to at the time (I gave up trying to keep compilation maps of every version ever released, so I only have the current one). It looks very much related to SimConnect, so I'm wondering if you have a SimConnect mis-match (i.e. the one not relating corrctly to your FSX.EXE and its modules). I've seen that happen before, and it is usually deducible from the information FSUIPC logs.. One part which is interesting is this: ERROR_CODE: (NTSTATUS) 0x80000003 - {EXCEPTION} Breakpoint A breakpoint has been reached.[/CODE][font=arial,helvetica,sans-serif]which implies that something in FS or add-ins has reached some place which it should never do and has given up. There are no breakpoints in any of my code, for certain. There are some in FS related to anti-piracy measures I think. But I really don't know anything about them. They can be encountered when using a debugger, but those are always recoverable -- i.e. you can tel the debugger to continue execution and FS carries on quite happily.[/font]Without the FSUIPC4 log file, as a start, I can't help further, but if you can supply that AND another WinDbg file as above[b][i] but using 4.837[/i][/b] (or whatever is current at the time you send it), I'll pursue it further.RegardsPete
Pete Dowson Posted June 19, 2012 Report Posted June 19, 2012 Without the FSUIPC4 log file, as a start, I can't help further, but if you can supply that AND another WinDbg file as above but using 4.837 (or whatever is current at the time you send it), I'll pursue it further. Actually, I used the info in the WinDbg log with my later version of FSUIPC4, and it isn't so far away as to be completely useless. The problem appears to be related to a critical section lockout within the joystick axis checking. I can't see how a lockout can happen, though -- but if it did you'd expect FSX to hang, not crash -- hence the "AppHangB1" label rather than a specific crash code. I've made a small change to the routine I think might just possibly be responsible. Please try FSUIPC version 4.838 here: FSUIPC4838 test.zip If this still fails in the same way, I could still really do with the most up to date information (the WinDbg and Log). But either way, working or non-working, I really could do with seeing your FSUIPC4.INI file, so I can work out what is so different on your system. I suspect it might be related to joystick axis filtering being enabled in the calibrations. That's always been a pain because it needs multiple threads accessing the same information in order to smooth over a timeframe. Thanks, Pete
vstuart Posted June 23, 2012 Author Report Posted June 23, 2012 No AppHangB1s so far with 4.838 on the two flights I've tried where I would've expected it happen from experience with previous versions of 4.8xx. Will report back if the AppHangB1 freeze manifests again. Thanks for the support on this one Pete! Regards, Vince
Pete Dowson Posted June 24, 2012 Report Posted June 24, 2012 No AppHangB1s so far with 4.838 on the two flights I've tried where I would've expected it happen from experience with previous versions of 4.8xx. Will report back if the AppHangB1 freeze manifests again. Okay, thanks. Hopefully there are no adverse effects? Are you using Flitering on any of the axis calibrations (the "F" option checked)? If not sure, please show me your FSUIPC4.INI file. The only way I can see a potential hang is when filtering is enabled, though even then it seems unlikely. I'd like to know because there might be a better way. Regards Pete
vstuart Posted June 24, 2012 Author Report Posted June 24, 2012 (edited) Hi Pete, I haven't experienced any new problems since testing 4.838, but I still intermittently get BSODs - I believe that this is nothing to do with FSUIPC and is more likely due to an unstable overclock on my new rig. I can't remember ever enabling joystick filtering, but here's my FSUIPC4.ini just in case (N.B. the batch file at the end is re-enabling Windows 7 DWM as per http://forum.avsim.n...-windowed-mode/): [General]UpdatedByVersion=4838History=U3T2F1M1QU49F70MUZSDEMouseWheelMove=NoMouseWheelTrim=NoMouseWheelTrimSpeed=1JoystickTimeout=20PollGFTQ6=YesBlankDisplays=NoFixControlAccel=NoFixMachSpeedBug=NoDeleteVehiclesForAES=YesAutoScanDevices=YesVisibilityOptions=NoOneCloudLayer=NoCloudTurbulence=NoCloudIcing=NoGenerateCirrus=NoSuppressCloudTurbulence=YesMaxIce=-4MinIce=-4UpperWindGusts=NoSuppressWindTurbulence=YesSuppressWindVariance=YesWindTurbulence=NoTurbulenceRate=0.5,2.5TurbulenceDivisor=40,40,80,80SuppressAllGusts=YesMaxSurfaceWind=0WindLimitLevel=200WindDiscardLevel=400WindAjustAltitude=NoWindAjustAltitudeBy=2000SmoothBySimTime=NoWindSmoothing=NoWindSmoothness=2WindSmoothAirborneOnly=YesPressureSmoothness=0TemperatureSmoothness=0DisconnTrimForAP=NoZeroElevForAPAlt=NoThrottleSyncAll=NoWhiteMessages=NoShowPMcontrols=NoSpoilerIncrement=512MagicBattery=NoRudderSpikeRemoval=NoElevatorSpikeRemoval=NoAileronSpikeRemoval=NoReversedElevatorTrim=NoClockSync=NoClockSyncMins=5ClearWeatherDynamics=NoOwnWeatherChanges=NoTimeForSelect=4LoadFlightMenu=NoLoadPlanMenu=NoPauseAfterCrash=NoBrakeReleaseThreshold=75SaveDataWithFlights=NoZapSound=fireworkShortAircraftNameOk=NoUseProfiles=YesEnableMouseLook=NoAxesWrongRange=NoTCASid=FlightTCASrange=40AxisCalibration=NoDirectAxesToCalibs=NoShowMultilineWindow=YesSuppressSingleline=NoSuppressMultilineFS=NoAxisIntercepts=NoDontResetAxes=NoInitDelay=0GetNearestAirports=YesOOMcheck=YesWeatherReadFactor=2WeatherRewriteSeconds=1CustomWeatherModify=NoSimConnectStallTime=1LuaRerunDelay=66Console=NoFSVersionUsed="Microsoft Flight Simulator X",10.0.61472.0SimConnectUsed=10.0.61259.0[JoyNames]AutoAssignLetters=No0=Saitek Pro Flight Rudder Pedals0.GUID={13546BB0-B0E3-11E1-8001-444553540000}1=Saitek Pro Flight Yoke1.GUID={13546BB0-B0E3-11E1-8002-444553540000}[Buttons]ButtonRepeat=20,01=P1,14,C66079,02=P1,15,C66080,03=P1,18,C65759,04=P1,19,C65758,05=R1,16,C65607,06=R1,17,C65615,07=P1,6,K123,88=P1,7,K120,89=P1,20,C65966,010=U1,20,C65967,011=P1,20,C65971,012=U1,20,C65972,013=P1,21,C65976,014=U1,21,C65977,015=P1,21,C65981,016=U1,21,C65982,017=P1,32,C65875,018=R1,33,C65856,019=R1,34,C65672,020=R1,35,C65857,021=R1,36,C65735,022=R1,37,C65855,023=R1,38,C65671,024=R1,39,C65854,025=P1,1,K90,1426=P1,0,K65,1427=P1,2,K88,1428=P1,3,K83,14[AutoSave]Next=1Interval=1800Files=1SaveOnGround=NoAutoSaveEnabled=YesAlsoManage1=PMDG\747400\PanelState\*.FLT.savAlsoManage2=PMDG\747400\PanelState\*.FLT.0.rteAlsoManage3=PMDG\747400\PanelState\*.FLT.1.rte1=Sat 172533[GPSout]GPSoutEnabled=NoPort=COM0Speed=4800Interval=2000PosTo6Decimal=NoSentences=[GPSout2]GPSoutEnabled=NoPort=<none set>Speed=4800Interval=2000PosTo6Decimal=NoSentences=[WideServer]WideFSenabled=Yes[Sounds]Path=C:\FSX\Sound\Device1=Primary Sound DriverDevice2=Speakers (ASUS Xonar Essence STX Audio Device)Device3=S/PDIF Pass-through Device (ASUS Xonar Essence STX Audio Device)[Axes]0=0X,256,D,7,0,0,01=0Y,256,D,8,0,0,02=0R,256,D,3,0,0,03=1X,256,D,1,0,0,04=1Y,256,D,2,0,0,05=1Z,256,D,9,0,0,06=1U,256,D,10,0,0,0[JoystickCalibration]AllowSuppressForPFCquad=YesExcludeThrottleSet=YesExcludeMixtureSet=YesExcludePropPitchSet=YesSepRevsJetsOnly=NoApplyHeloTrim=NoUseAxisControlsForNRZ=NoMapThr12to34=YesFlapsSetControl=0FlapDetents=NoReverserControl=66292Reverser1Control=66422Reverser2Control=66425Reverser3Control=66428Reverser4Control=66431MaxThrottleForReverser=256AileronTrimControl=66731RudderTrimControl=66732CowlFlaps1Control=66162CowlFlaps2Control=66163CowlFlaps3Control=66164CowlFlaps4Control=66165SteeringTillerControl=0MaxSteerSpeed=60Aileron=-16384,-1189,896,16383Elevator=-16384,-642,576,16383Rudder=-16384,-1871,2176,16383LeftBrake=-16383,16384/16RightBrake=-16383,16384/16Throttle1=-16384,-512,512,16383/32Throttle2=-16384,-512,512,16383/32[Programs]Run1=HIDE,"C:\FSX\fsx.bat"[/CODE] Edited June 24, 2012 by vstuart
Pete Dowson Posted June 24, 2012 Report Posted June 24, 2012 I can't remember ever enabling joystick filtering, but here's my FSUIPC4.ini just in case No you don't have filtering, which makes the hangs more of a puzzle for me. I'll publish 4.838 as it is obviously solving something, but I'd like to know what it is, so I'll keep hunting. Thanks for the info in any case. Pete
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now