Xamarin.iOS app crash after splash screen - condition 'oti' not met - xamarin

I'm running into an issue with one of my apps. It's installing and launching fine (installing from TestFlight) but then almost immediately after showing the splash screen it crashes. The device logs are not telling me much and I thought maybe some of you might have ran into this before and hopefully have a solution. Part of the device logs that I think is the reason for the crash (let me know if you need more):
error: * Assertion at /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/external/mono/mono/mini/mini-generic-sharing.c:906, condition 'oti' not met
I found this doco, that describes similar issue but I'm not sure what a non-Thumb/Thumb linking is and how and what I should change to fix it.
The intriguing part about this problem is that the app works perfectly fine on the iPhone 6s Plus with iOS version 12.3.1 but it crashes after splash screen on the iPhone 5c with iOS version 10.3.3.
NOTE: I'm building the ipa package using DevOps with xamarin SDK 5.18.1 and xcode version 10.3
EDIT: Full logs
80 apsd(PersistentConnection) 2019-09-12 21:32:53 +1000 apsd[80]: <PCDispatchTimer: 0x1667c440> performing call back
80 apsd(PersistentConnection) 2019-09-12 21:32:53 +1000 apsd[80]: <PCDispatchTimer: 0x1667c440> is invalidated
23 CommCenter #I SIM has not requested to be notified on entering idle screen, not processing
80 apsd(PersistentConnection) 2019-09-12 21:32:53 +1000 apsd[80]: <PCDispatchTimer: 0x1667c440> in call back event handler
64 assertiond Deleted job with label: UIKitApplication:com.progrunning.visualstimulation[0x7b5][64]
49 SpringBoard Running <SBAppExitedWorkspaceTransaction: 0x8799840> for transition request:
49 SpringBoard Process exited: <FBApplicationProcess: 0x17db6930; VisualStimulati; pid: -1> -> <FBApplicationProcessExitContext: 0x8717c50; exitReason: (none); terminationReason: (none)>
49 SpringBoard(FrontBoard) <FBApplicationProcess: 0x17db6930; VisualStimulati; pid: 229> exited.
230 OTACrashCopier Starting OTACrashCopier
228 ReportCrash(CrashReporterSupport) Saved type '109(<private>)' report (2 of max 25) at <private>
228 ReportCrash Formulating report for corpse[229] <private>
228 ReportCrash __crash_info: [<private>] '<private>'
63 backboardd Effective device orientation changed to: unknown
63 backboardd(CoreMotion) Stopping orientation detection.
228 ReportCrash(CrashReporterSupport) cr_update: <private>
228 ReportCrash(CrashReporterSupport) cr_update: <private>
63 backboardd Turning off orientation events.
49 SpringBoard(KeyboardArbiter) HW kbd: Failed to set (null) as keyboard focus
229 VisualStimulation.iOS error: * Assertion at /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/external/mono/mono/mini/mini-generic-sharing.c:906, condition `oti' not met
229 VisualStimulation.iOS 2019-09-12 21:32:52 [TRACE] (MvxForms) Showing of native host View in Forms is not supported.
229 VisualStimulation.iOS 2019-09-12 21:32:52 [TRACE] (MvvmCross.Logging.MvxLog) iOSNavigation
67 locationd Client com.apple.springboard disconnected
67 locationd message 'kCLConnectionMessageWatchdog' received from client 'com.apple.springboard'
67 locationd Client com.apple.springboard (0x159ec400) is subscribing to notification kCLConnectionMessageGyroBiasEstimation
67 locationd message 'kCLConnectionMessageGyroBiasEstimation' received from client 'com.apple.springboard'
67 locationd location disabled system-wide, denying executable com.apple.springboard
67 locationd getClientEffectiveRegistrationResult, /System/Library/CoreServices/SpringBoard.app/SpringBoard, com.apple.springboard, , CLClientRegistrationResult, kCLClientRegistrationResultFailedUnavailable, CLCommonLocationServicesEnabled, 0
67 locationd location disabled system-wide, denying executable com.apple.springboard
67 locationd getClientEffectiveRegistrationResult, /System/Library/CoreServices/SpringBoard.app/SpringBoard, com.apple.springboard, , CLClientRegistrationResult, kCLClientRegistrationResultFailedUnavailable, CLCommonLocationServicesEnabled, 0
67 locationd Client com.apple.springboard connected
49 SpringBoard(CoreMotion) Stopping device motion, mode=0x<private>
49 SpringBoard Root transaction complete: <SBAppToAppWorkspaceTransaction: 0xc165480>
49 SpringBoard Enabling home screen icon rotation for reason: SBAppToAppWorkspaceTransaction
49 SpringBoard(CoreMotion) Starting device motion, mode=0x22,useAccelerometer=0,useGyro=1,useCompass=0,fUseNorthRef=0,buildingGYTT=0
49 SpringBoard Enabling home screen icon rotation for reason: <SBCrossfadeIconZoomAnimator:0xc1690e0>
49 SpringBoard Setting _lastBKUserEventTimerMode=0 with duration=-1.000000
49 SpringBoard Disabling idle timer because the next idle duration < 0.
49 SpringBoard returning -1 from _nextIdleTimeDuration because SBAutoDimTime is less than 0
49 SpringBoard returning -1 from _nextLockTimeDuration because SBAutoLockTime is less than 0
49 SpringBoard Undimming for source: programmatic
229 VisualStimulation.iOS 2019-09-12 21:32:52 [TRACE] (MvxForms) Showing of native host View in Forms is not supported.
229 VisualStimulation.iOS 2019-09-12 21:32:52 [TRACE] (MvvmCross.Logging.MvxLog) iOSNavigation
23 CommCenter #I CTServerConnection from pid 229 has closed (conn=0x146b3610)
23 CommCenter #E Client 229 (<private>) not permitted to register for event kCTEventIndicatorSignalStrength(16); ignored registration
23 CommCenter #I ==== client 229 (<private>) registered for event kCTEventRegistrationDataStatus(55) (now total 2)
23 CommCenter #I ==== client 229 (<private>) registered for event kCTEventWirelessTechnologyChange(139) (now total 1)
23 CommCenter #I CTServerConnection from pid 229[<private>] is named '<private>'.
23 CommCenter #I -- connection has entitlements: <private>
23 CommCenter #I New CTServerConnection from pid 229 (conn=0x146b3610)
229 VisualStimulation.iOS(Foundation) *** -[NSKeyedUnarchiver initForReadingWithData:]: data is NULL
229 VisualStimulation.iOS(Foundation) *** -[NSKeyedUnarchiver initForReadingWithData:]: data is NULL
63 backboardd Effective device orientation changed to: faceUp
63 backboardd(CoreMotion) Got latest sample: 5 # 5268.808328
63 backboardd(CoreMotion) Updating client handler: Orientation FaceUp, Callback mode: -1
63 backboardd(CoreMotion) Received orientation. (Ambiguous to FaceUp) Timestamp 5268.808328
63 backboardd(CoreMotion) Notify from, Unexpected -> FaceUp
63 backboardd(CoreMotion) Waiting for the first orientation to come in
63 backboardd(CoreMotion) Starting orientation detection with accelFrequency 10.000000, isIpad, 0, decimationRate, 1
63 backboardd(CoreMotion) fHasSeenACaseLatchCoverOnce, 0
63 backboardd Turning on orientation events.
229 VisualStimulation.iOS 2019-09-12 21:32:51 [TRACE] (MvxForms) Showing of native host View in Forms is not supported.
229 VisualStimulation.iOS 2019-09-12 21:32:51 [TRACE] (MvvmCross.Logging.MvxLog) iOSNavigation
229 VisualStimulation.iOS 2019-09-12 21:32:51 [TRACE] (MvvmCross.Logging.MvxLog) AppStart: Application Startup - On UI thread
229 VisualStimulation.iOS 2019-09-12 21:32:51 [TRACE] (MvvmCross.Core.MvxSetup) Setup: Secondary end
229 VisualStimulation.iOS 2019-09-12 21:32:51 [TRACE] (MvvmCross.Core.MvxSetup) Setup: LastChance start
229 VisualStimulation.iOS 2019-09-12 21:32:51 [TRACE] (MvvmCross.Core.MvxSetup) Setup: InpcInterception start
229 VisualStimulation.iOS 2019-09-12 21:32:51 [TRACE] (MvvmCross.Core.MvxSetup) Setup: InpcInterception start
229 VisualStimulation.iOS 2019-09-12 21:32:51 [TRACE] (MvvmCross.Core.MvxSetup) Setup: NavigationSerializer start
229 VisualStimulation.iOS 2019-09-12 21:32:51 [TRACE] (MvvmCross.Core.MvxSetup) Setup: CommandCollectionBuilder start
49 SpringBoard Destination SBNotificationBannerDestination is now ready to receive notifications
229 VisualStimulation.iOS 2019-09-12 21:32:51 [TRACE] (MvvmCross.Logging.MvxLog) No view model association found for candidate view BaseContentPage
229 VisualStimulation.iOS 2019-09-12 21:32:51 [TRACE] (MvvmCross.Core.MvxSetup) Setup: Views start
229 VisualStimulation.iOS 2019-09-12 21:32:51 [TRACE] (MvvmCross.Core.MvxSetup) Setup: ViewsContainer start
229 VisualStimulation.iOS 2019-09-12 21:32:51 [TRACE] (MvvmCross.Core.MvxSetup) Setup: ViewModelTypeFinder start
229 VisualStimulation.iOS 2019-09-12 21:32:51 [TRACE] (MvvmCross.Core.MvxSetup) Setup: Application Initialize - On background thread
229 VisualStimulation.iOS 2019-09-12 21:32:51 [TRACE] (MvvmCross.Core.MvxSetup) Setup: App start
229 VisualStimulation.iOS 2019-09-12 21:32:51 [TRACE] (MvvmCross.Core.MvxSetup) Setup: Load navigation routes
229 VisualStimulation.iOS 2019-09-12 21:32:51 [TRACE] (MvvmCross.Core.MvxSetup) Setup: NavigationService
229 VisualStimulation.iOS 2019-09-12 21:32:51 [TRACE] (MvvmCross.Core.MvxSetup) Setup: Create App
23 CommCenter(libATCommandStudioDynamic.dylib) QMI: Svc=0x03(NAS) Ind MsgId=0x0051 Bin=['01 15 00 80 03 03 04 00 00 51 00 09 00 14 06 00 AB F5 8C FF 10 00']
229 VisualStimulation.iOS 2019-09-12 21:32:51 [TRACE] (MvvmCross.Core.MvxSetup) Setup: PluginManagerFramework start
229 VisualStimulation.iOS 2019-09-12 21:32:51 [TRACE] (MvvmCross.Core.MvxSetup) Setup: CommandHelper start
229 VisualStimulation.iOS 2019-09-12 21:32:51 [TRACE] (MvvmCross.Core.MvxSetup) Setup: StringToTypeParser start
229 VisualStimulation.iOS 2019-09-12 21:32:51 [TRACE] (MvvmCross.Core.MvxSetup) Setup: Bootstrap actions
229 VisualStimulation.iOS 2019-09-12 21:32:51 [TRACE] (MvvmCross.Core.MvxSetup) Setup: ViewDispatcher start
229 VisualStimulation.iOS 2019-09-12 21:32:51 [TRACE] (MvvmCross.Core.MvxSetup) Setup: Singleton Cache start
229 VisualStimulation.iOS 2019-09-12 21:32:51 [TRACE] (MvvmCross.Core.MvxSetup) Setup: MvvmCross settings start
229 VisualStimulation.iOS 2019-09-12 21:32:51 [TRACE] (MvvmCross.Core.MvxSetup) Setup: PlatformServices start
229 VisualStimulation.iOS 2019-09-12 21:32:51 [TRACE] (MvvmCross.Core.MvxSetup) Setup: FirstChance start
229 VisualStimulation.iOS 2019-09-12 21:32:51 [TRACE] (MvvmCross.Core.MvxSetup) Setup: Primary start
111 symptomsd(SymptomEvaluator) CFSM2 foreground (current/state) out = (1/1)
111 symptomsd(SymptomEvaluator) CFSM2 foreground (current/proposed/state) in = (1/1/3)
23 CommCenter #I BundleID: <private> is a foreground app
111 symptomsd(SymptomEvaluator) Set appCompactState object 14880 for key com.progrunning.visualstimulation
111 symptomsd(SymptomEvaluator) com.progrunning.visualstimulation: Foreground: true
111 symptomsd(SymptomEvaluator) Continue with bundle name com.progrunning.visualstimulation, is front 1
111 symptomsd(SymptomEvaluator) Going to Foreground, new flags 0x0, initial value 0x0, enabled 0
111 symptomsd(SymptomEvaluator) app name com.progrunning.visualstimulation isForeground 1 hasForegroundApps 1, current idea of foreground 0 disp (null)
111 symptomsd(SymptomEvaluator) Check for bundle name com.progrunning.visualstimulation returns 0
111 symptomsd(SymptomEvaluator) Entry, display name com.progrunning.visualstimulation uuid 252190E5-6FB0-3CB3-869B-E4F749AD141D pid 229 isFront 1
111 symptomsd(SymptomEvaluator) 229 com.progrunning.visualstimulation: ForegroundRunning (most elevated: ForegroundRunning)
23 CommCenter #I CSIAppInfo.AppObserver: observe_block_invoke: 5. app got notification state: new counter=6
23 CommCenter #I CSIAppInfo.AppObserver: notifyAboutFrontAppChange: notifyAboutFrontAppChange : app: <private>; pid: 229; net: 0
23 CommCenter #I CSIAppInfo.AppObserver: observe_block_invoke: 4. app got notification state: pid=229 for <private>
23 CommCenter #I CSIAppInfo.AppObserver: observe_block_invoke: FBSDisplayLayoutUpdateHandler: app <private> (UIApplicationElement 1 hasKeyboardFocus 0)
32 sharingd SystemUI changed: 0x10 -> 0x0
32 sharingd SystemUI unknown identifier: 'com.progrunning.visualstimulation'
23 CommCenter #I CSIAppInfo.AppObserver: observe_block_invoke: FBSDisplayLayoutUpdateHandler: update start
49 SpringBoard(CoreMotion) Stopping device motion, mode=0x<private>
42 mediaserverd(CoreMedia) -CMSessionMgr- cmsmHandleApplicationStateChange: CMSession: Client com.progrunning.visualstimulation with pid '229' is now Foreground Running. Background entitlement: NO
49 SpringBoard Dismissing banner for notification (null)
49 SpringBoard(MobileCoreServices) Looking up unclipped icon for app <private>
49 SpringBoard Disabling home screen icon rotation for reason: <SBCrossfadeIconZoomAnimator:0xc1690e0>
49 SpringBoard Disabling home screen icon rotation for reason: SBAppToAppWorkspaceTransaction
49 SpringBoard(AssertionServices) [com.progrunning.visualstimulation] Bootstrap complete with label: UIKitApplication:com.progrunning.visualstimulation[0x7b5][64]
64 assertiond Submitted job with label: UIKitApplication:com.progrunning.visualstimulation[0x7b5][64]
49 SpringBoard Running <SBAppToAppWorkspaceTransaction: 0xc165480> for transition request:
49 SpringBoard(Security) [leaf CheckLeafMarkerOid IssuerCommonName SubjectCommonName]
93 securityd cert[0]: IssuerCommonName =(path)[]> 0
93 securityd cert[0]: CheckLeafMarkerOid =(leaf)[]> 0
93 securityd cert[0]: SubjectCommonName =(leaf)[]> 0
49 SpringBoard(Security) could not enable test hierarchy: ApplePinningAllowTestCertsiPhoneApplicationSigning not true
49 SpringBoard(Security) [leaf CheckLeafMarkerOid IssuerCommonName SubjectCommonName]
93 securityd cert[0]: IssuerCommonName =(path)[]> 0
93 securityd cert[0]: CheckLeafMarkerOid =(leaf)[]> 0
93 securityd cert[0]: SubjectCommonName =(leaf)[]> 0
49 SpringBoard(Security) could not enable test hierarchy: ApplePinningAllowTestCertsiPhoneApplicationSigning not true
EDIT: After updates to Xamarin.Forms and other 3rd part libraries the issue went away. I'm not exactly sure what was the casue of it in the first place though.

Related

(rauc:350): rauc-WARNING **: 07:50:14.624: Failed getting primary slot: Failed getting primary slot: fw_printenv failed with exit code: 234

I am using yocto to build my image, am trying to integrate RAUC(system update solution). RAUC now is installed in my image but it's not working correctly.
rauc status gives :
(rauc:350): rauc-WARNING **: 07:50:14.624: Failed getting primary slot: Failed getting primary slot: fw_printenv failed with exit code: 234
=== System Info ===
Compatible: tx6q-1036
Variant:
Booted from: (null) (/dev/mmcblk3p2)
=== Bootloader ===
Activated: (null) ((null))
=== Slot States ===
o [rootfs.1] (/dev/mmcblk0p3, ext4, inactive)
bootname: B
boot status: bad
o [rootfs.0] (/dev/mmcblk0p2, ext4, inactive)
bootname: A
boot status: bad
systemctl status rauc gives :
rauc.service - Rauc Update Service
Loaded: loaded (/lib/systemd/system/rauc.service; static)
Active: active (running) since Tue 2021-03-23 07:49:41 UTC; 8min ago
Docs: https://rauc.readthedocs.io
Main PID: 292 (rauc)
Memory: 1.4M
CGroup: /system.slice/rauc.service
`-292 /usr/bin/rauc --mount=/run/rauc service
Mar 23 07:49:41 AMR83FA51 rauc[292]: mounting slot /dev/mmcblk0p2
Mar 23 07:49:41 AMR83FA51 rauc[292]: Failed to mount slot /dev/mmcblk0p2: Slot >
Mar 23 07:49:41 AMR83FA51 rauc[292]: Failed to resolve realpath for '/dev/mmcbl>
Mar 23 07:49:41 AMR83FA51 rauc[292]: Failed to resolve realpath for '/dev/mmcbl>
Mar 23 07:49:41 AMR83FA51 rauc[292]: rauc mark: Failed to determine slot states>
Mar 23 07:50:14 AMR83FA51 rauc[353]: Configuration file wrong or corrupted
Mar 23 07:50:14 AMR83FA51 rauc[292]: Failed getting primary slot: Failed gettin>
Mar 23 07:50:14 AMR83FA51 rauc[292]: Failed to resolve realpath for '/dev/mmcbl>
Mar 23 07:50:14 AMR83FA51 rauc[292]: Failed to resolve realpath for '/dev/mmcbl>
Mar 23 07:50:14 AMR83FA51 rauc[355]: Configuration file wrong or corrupted
The /etc/fw_env.config content is : /boot/uboot.env 0x0000 0x20000
I'm a beginner with u_boot and I don't know much about u-boot environment, could someone help to better understand this step and how to fix it.

iOS Watch Simulator Crashes Mac

I've been fighting with this for a few days now. Whenever I run a watchKit App from the simulator my mac will get the black screen of death and reboot my machine. I am running XCode 8.2.1 running simulators for iPhone 6 or 7 and watches with watchOS 3 for both the original watch and version 2 in both sizes. The watch simulator will start, but whenever it attempts to launch a watchkit app that was deployed with XCode my machine will crash. This can be any watchkit app, even a simple Hello World app.
I have also tried completely uninstalling XCode 8 and 7 as well as all of the simulators and derived info, but the watch apps will still crash my machine. I've filed a bug report with Apple, but they won't reply back to me. I am also running on a Mid 2014 MacBook Pro with Sierra version 10.12.3.
Has anyone else experienced this? I'm running out of ideas to fix this and I cannot do anything watch related until I get past this. I've listed some of the logs from the activity monitor below as well as the Panic report:
ACTIVITY LOG:
Mar 24 09:04:17 C02N618RG3QD logd[74]: _purge_uuidtext unlinking /var/db/uuidtext/FD/2940F9BA8137988BB56CC86EFEDC84
Mar 24 09:04:17 C02N618RG3QD logd[74]: _purge_uuidtext unlinking /var/db/uuidtext/FE/872728C5713EA69D9D3FBC6C653C19
Mar 24 09:04:17 C02N618RG3QD logd[74]: _purge_uuidtext unlinking /var/db/uuidtext/FE/B838E71BA739F4AA6F121E88E788B5
Mar 24 09:04:17 C02N618RG3QD logd[74]: _purge_uuidtext unlinking /var/db/uuidtext/FF/0B49D70BCF30419AD992D76F372F19
Mar 24 09:04:17 C02N618RG3QD logd[74]: _purge_uuidtext total: 3188, in_use:2294, marked:0, recent:254, deleted 640
Mar 24 09:04:17 C02N618RG3QD logd[74]: _purge_uuidtext slib tree cleaned up (0)
Mar 24 09:04:17 C02N618RG3QD logd[74]: _purge_uuidtext uuid tree cleaned up (3)
Mar 24 09:04:17 C02N618RG3QD logd[74]: _purge_uuidtext cleaned up (0)
Mar 24 09:04:17 C02N618RG3QD logd[74]: Purged 114692767 bytes from uuidtext.
Mar 24 09:04:18 C02N618RG3QD diagnosticd[380]: Unexpected xpc type [<double: 0x7fe03260b130>: 9223372036854847488.000000]
Mar 24 09:04:18 C02N618RG3QD diagnosticd[380]: Unexpected xpc type [<double: 0x7fe034800ba0>: 9223372036854855680.000000]
Mar 24 09:04:18 C02N618RG3QD diagnosticd[380]: Unexpected xpc type [<double: 0x7fe03260ac80>: 9223372036854855680.000000]
Mar 24 09:04:18 C02N618RG3QD diagnosticd[380]: Unexpected xpc type [<double: 0x7fe0349017f0>: 9223372036854855680.000000]
Mar 24 09:04:18 C02N618RG3QD diagnosticd[380]: Unexpected xpc type [<double: 0x7fe034a07340>: 9223372036854855680.000000]
Mar 24 09:04:18 C02N618RG3QD diagnosticd[380]: Unexpected xpc type [<double: 0x7fe0324107b0>: 9223372036854855680.000000]
Mar 24 09:04:18 C02N618RG3QD useractivityd[1022]: BUG in libdispatch client: kevent[EVFILT_MACHPORT] monitored resource vanished before the source cancel handler was invoked
Mar 24 09:04:19 C02N618RG3QD diagnosticd[380]: Unexpected xpc type [<double: 0x7fe034b0e0c0>: 9223372036854855680.000000]
Mar 24 09:04:19 C02N618RG3QD diagnosticd[380]: Unexpected xpc type [<double: 0x7fe0326088d0>: 9223372036854855680.000000]
Mar 24 09:04:19 C02N618RG3QD UserEventAgent[1178]: assertion failed: 16D32 14S471a: com.apple.cts + 20609 [D0046D83-09B7-3C10-A783-396F29B9B380]: 0x0
Mar 24 09:04:21 C02N618RG3QD com.apple.xpc.launchd[1] (com.mcafee.ssm.ScanManager): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Mar 24 09:04:22 C02N618RG3QD com.apple.xpc.launchd[1] (com.apple.nowplayingtouchui): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Mar 24 09:04:22 C02N618RG3QD com.apple.xpc.launchd[1] (com.apple.quicklook[30456]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.quicklook
Mar 24 09:04:32 C02N618RG3QD com.apple.xpc.launchd[1] (com.mcafee.ssm.ScanManager): Service only ran for 1 seconds. Pushing respawn out by 9 seconds.
Mar 24 09:04:33 C02N618RG3QD com.apple.xpc.launchd[1] (com.apple.nowplayingtouchui): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Mar 24 09:04:39 C02N618RG3QD IBCocoaTouchImageCatalogTool[30517]: assertion failed: 16D32: libxpc.dylib + 34617 [D3538D2B-EEA9-3C74-890E-6F4AE4F51F0E]: 0x8d
Mar 24 09:04:40 C02N618RG3QD IBCocoaTouchImageCatalogTool[30517]: BUG in libdispatch client: kevent[EVFILT_VNODE] add: "Bad file descriptor" - 0x9
Mar 24 09:04:42 C02N618RG3QD Interface Builder WatchKit Tool[30530]: assertion failed: 16D32: libxpc.dylib + 34617 [D3538D2B-EEA9-3C74-890E-6F4AE4F51F0E]: 0x8d
Mar 24 09:04:42 --- last message repeated 2 times ---
Mar 24 09:04:42 C02N618RG3QD Interface Builder WatchKit Tool[30530]: BUG in libdispatch client: kevent[EVFILT_VNODE] add: "Bad file descriptor" - 0x9
Mar 24 09:04:42 C02N618RG3QD com.apple.xpc.launchd[1] (com.mcafee.ssm.ScanManager): Service only ran for 1 seconds. Pushing respawn out by 9 seconds.
Mar 24 09:04:43 C02N618RG3QD com.apple.xpc.launchd[1] (com.apple.nowplayingtouchui): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Mar 24 09:04:47 C02N618RG3QD Interface Builder Cocoa Touch Tool[30670]: assertion failed: 16D32 14C89: libxpc.dylib + 31485 [0339A402-6531-30E9-8BC2-589C463CD6D6]: 0x8d
Mar 24 09:04:47 C02N618RG3QD Interface Builder Cocoa Touch Tool[30671]: assertion failed: 16D32 14C89: libxpc.dylib + 31485 [0339A402-6531-30E9-8BC2-589C463CD6D6]: 0x8d
Mar 24 09:04:47 --- last message repeated 1 time ---
Mar 24 09:04:47 C02N618RG3QD Interface Builder Cocoa Touch Tool[30670]: assertion failed: 16D32 14C89: libxpc.dylib + 31485 [0339A402-6531-30E9-8BC2-589C463CD6D6]: 0x8d
Mar 24 09:04:47 C02N618RG3QD Interface Builder Cocoa Touch Tool[30671]: BUG in libdispatch: 16D32 14C89 - 1296 - 0x2
Mar 24 09:04:47 C02N618RG3QD Interface Builder Cocoa Touch Tool[30670]: BUG in libdispatch: 16D32 14C89 - 1296 - 0x2
Mar 24 09:04:47 C02N618RG3QD Interface Builder Cocoa Touch Tool[30671]: BUG in libdispatch client: kevent[EVFILT_VNODE] add: "Bad file descriptor" - 0x9
Mar 24 09:04:47 C02N618RG3QD Interface Builder Cocoa Touch Tool[30670]: BUG in libdispatch client: kevent[EVFILT_VNODE] add: "Bad file descriptor" - 0x9
Mar 24 09:04:47 C02N618RG3QD Interface Builder Cocoa Touch Tool[30671]: assertion failed: 16D32 14C89: libxpc.dylib + 31485 [0339A402-6531-30E9-8BC2-589C463CD6D6]: 0x8d
Mar 24 09:04:47 C02N618RG3QD Interface Builder Cocoa Touch Tool[30670]: assertion failed: 16D32 14C89: libxpc.dylib + 31485 [0339A402-6531-30E9-8BC2-589C463CD6D6]: 0x8d
Mar 24 09:04:48 C02N618RG3QD IBCocoaTouchImageCatalogTool[30687]: BUG in libdispatch: 16D32 14C89 - 1296 - 0x2
Mar 24 09:04:48 C02N618RG3QD IBCocoaTouchImageCatalogTool[30687]: BUG in libdispatch client: kevent[EVFILT_VNODE] add: "Bad file descriptor" - 0x9
Mar 24 09:04:52 C02N618RG3QD com.apple.xpc.launchd[1] (com.mcafee.ssm.ScanManager): Service only ran for 1 seconds. Pushing respawn out by 9 seconds.
Mar 24 09:04:53 C02N618RG3QD com.apple.xpc.launchd[1] (com.apple.nowplayingtouchui): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Mar 24 09:04:58 C02N618RG3QD Simulator (Watch)[30853]: BUG in libdispatch client: kevent[EVFILT_MACHPORT] monitored resource vanished before the source cancel handler was invoked
Mar 24 09:05:00 C02N618RG3QD diagnosticd[380]: Unexpected xpc type [<double: 0x7fe032706fc0>: 9223372036854857728.000000]
Mar 24 09:05:00 C02N618RG3QD diagnosticd[380]: Unexpected xpc type [<double: 0x7fe0327081f0>: 9223372036854857728.000000]
Mar 24 09:05:00 C02N618RG3QD diagnosticd[380]: Unexpected xpc type [<double: 0x7fe0326114b0>: 9223372036854857728.000000]
Mar 24 09:05:00 C02N618RG3QD diagnosticd[380]: Unexpected xpc type [<double: 0x7fe03250fbf0>: 9223372036854857728.000000]
Mar 24 09:05:00 C02N618RG3QD diagnosticd[380]: Unexpected xpc type [<double: 0x7fe03250d9d0>: 9223372036854857728.000000]
AND
Mar 24 09:05:53 C02N618RG3QD diagnosticd[380]: Unexpected xpc type [<double: 0x7fe034801f40>: 9223372036854861824.000000]
Mar 24 09:05:53 C02N618RG3QD diagnosticd[380]: JSON->NS failed [type" : "u",
"timestamp" : 58798649826108
},
"timeGMTsec" : 1490360753,
"procid" : {
"procid" : 30972,
"_type" : "u"
},
"persisted" : {
"_type" : "b",
"persisted" : 0
},
"thread" : {
"_type" : "u",
"thread" : 529028
},
"pid" : {
"pid" : 30972,
"_type" : "u"
},
"procpath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneSimulator.platform\/Developer\/SDKs\/iPhoneSimulator.sdk\/System\/Library\/CoreServices\/SpringBoard.app\/SpringBoard",
"SIMULATOR_UDID" : "4855B6A5-7A82-49AE-94E4-DBA2BED65585"
}]
Mar 24 09:05:53 C02N618RG3QD diagnosticd[380]: Unexpected xpc type [<double: 0x7fe032403a30>: 9223372036854861824.000000]
PANIC REPORT
Anonymous UUID: 56E742E7-D1F7-AB9B-90CC-58BFFAFB991E
Fri Mar 24 09:07:31 2017
*** Panic Report ***
panic(cpu 4 caller 0xffffff8018e05ecd): Kernel trap at 0xffffff8018dfc620, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0xffffff806783403c, CR3: 0x00000002cb9b6256, CR4: 0x00000000001627e0
RAX: 0x00000000ffffff01, RBX: 0x000000002d1e202c, RCX: 0x00000000ffffffa1, RDX: 0x000000000000000a
RSP: 0xffffff921b9fb7c0, RBP: 0xffffff921b9fb7c0, RSI: 0xffffff7f9c364723, RDI: 0xffffff806783403c
R8: 0x0000000000000002, R9: 0x0000000000000ff8, R10: 0xe326417ed3850092, R11: 0xffffff804d3b5bb8
R12: 0x000000000000000a, R13: 0x0000000000000054, R14: 0x0000000000906065, R15: 0xffffff803a652010
RFL: 0x0000000000010206, RIP: 0xffffff8018dfc620, CS: 0x0000000000000008, SS: 0x0000000000000010
Fault CR2: 0xffffff806783403c, Error code: 0x0000000000000000, Fault CPU: 0x4, PL: 0, VF: 1
Backtrace (CPU 4), Frame : Return Address
0xffffff921b9fb450 : 0xffffff8018cf210c
0xffffff921b9fb4d0 : 0xffffff8018e05ecd
0xffffff921b9fb6b0 : 0xffffff8018ca3743
0xffffff921b9fb6d0 : 0xffffff8018dfc620
0xffffff921b9fb7c0 : 0xffffff7f9c33e471
0xffffff921b9fb800 : 0xffffff7f9c33e4fa
0xffffff921b9fb830 : 0xffffff7f9c33e719
0xffffff921b9fb910 : 0xffffff7f9c33e839
0xffffff921b9fb950 : 0xffffff7f9c3604fa
0xffffff921b9fb9a0 : 0xffffff7f9c3603b4
0xffffff921b9fb9c0 : 0xffffff7f9c3474b7
0xffffff921b9fbe60 : 0xffffff7f9c3479e1
0xffffff921b9fbf40 : 0xffffff8202aea6a0
0xffffff921b9fbf50 : 0xffffff8019227066
0xffffff921b9fbfb0 : 0xffffff8018ca3c38
Kernel Extensions in backtrace:
com.verdasys.dgagent(23.20.7)[90F4996A-8100-3509-BBCA-9778AAA30E30]#0xffffff7f9c338000->0xffffff7f9c374fff
dependency: com.apple.security.sandbox(300.0)[8997F7FD-7C04-38F6-86DB-BACDE9137374]#0xffffff7f99937000
BSD process name corresponding to current thread: xpcproxy_sim
Mac OS version:
16D32
Kernel version:
Darwin Kernel Version 16.4.0: Thu Dec 22 22:53:21 PST 2016; root:xnu-3789.41.3~3/RELEASE_X86_64
Kernel UUID: C67A8D03-DEAC-35B8-8F68-06FF7B687215
Kernel slide: 0x0000000018a00000
Kernel text base: 0xffffff8018c00000
__HIB text base: 0xffffff8018b00000
System model name: MacBookPro11,3 (Mac-2BD1B31983FE1663)
System uptime in nanoseconds: 2958365287234
last loaded kext at 359084323236: com.apple.filesystems.smbfs 3.1.1 (addr 0xffffff7f998b3000, size 425984)
loaded kexts:
com.McAfee.FMPSysCore 1
com.verdasys.dgagent 0023.20.7
com.intel.kext.intelhaxm 1.1.1
com.squirrels.airparrot.framebuffer 5
com.squirrels.driver.AirParrotSpeakers 1.8
com.apple.filesystems.smbfs 3.1.1
com.apple.driver.AppleHWSensor 1.9.5d0
com.apple.filesystems.autofs 3.0
com.apple.driver.AGPM 110.23.14
com.apple.driver.ApplePlatformEnabler 2.7.0d0
com.apple.driver.X86PlatformShim 1.0.0
com.apple.driver.pmtelemetry 1
com.apple.iokit.IOUserEthernet 1.0.1
com.apple.iokit.IOBluetoothSerialManager 5.0.3f1
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.AppleHV 1
com.apple.driver.AppleOSXWatchdog 1
com.apple.driver.AppleGraphicsDevicePolicy 3.13.79
com.apple.driver.AppleHDAHardwareConfigDriver 278.56
com.apple.driver.AppleHDA 278.56
com.apple.driver.AppleUpstreamUserClient 3.6.4
com.apple.GeForce 10.1.4
com.apple.driver.AppleIntelHD5000Graphics 10.2.2
com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0
com.apple.driver.AppleFIVRDriver 4.1.0
com.apple.driver.AppleBacklight 170.9.10
com.apple.driver.AppleLPC 3.1
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 5.0.3f1
com.apple.nvidia.NVDAStartup 10.1.4
com.apple.driver.AudioAUUC 1.70
com.apple.driver.AppleSMCLMU 208
com.apple.driver.AppleCameraInterface 5.57.0
com.apple.driver.AppleMuxControl 3.13.79
com.apple.driver.AppleIntelSlowAdaptiveClocking 4.0.0
com.apple.driver.AppleIntelFramebufferAzul 10.2.2
com.apple.driver.AppleThunderboltIP 3.0.8
com.apple.driver.AppleMCCSControl 1.2.15
com.apple.driver.AppleUSBDisplays 380
com.apple.iokit.SCSITaskUserClient 394.30.2
com.apple.driver.AppleUSBStorageCoexistentDriver 404.30.1
com.apple.driver.AppleUSBCardReader 404.30.1
com.apple.iokit.IOBluetoothUSBDFU 5.0.3f1
com.apple.driver.AppleUSBTCKeyEventDriver 252
com.apple.driver.AppleUSBTCKeyboard 252
com.apple.driver.AppleUSBTCButtons 252
com.apple.driver.CoreStorageFsck 540.30.1
com.apple.driver.AppleFileSystemDriver 3.0.1
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0
com.apple.BootCache 40
com.apple.filesystems.hfs.kext 366.30.3
com.apple.iokit.IOAHCIBlockStorage 295.20.1
com.apple.driver.AppleAHCIPort 326
com.apple.iokit.AppleBCM5701Ethernet 10.2.7
com.apple.driver.AppleFWOHCI 5.5.5
com.apple.driver.AirPort.Brcm4360 1130.3.1a5
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleACPIButtons 5.0
com.apple.driver.AppleRTC 2.0
com.apple.driver.AppleHPET 1.8
com.apple.driver.AppleSMBIOS 2.1
com.apple.driver.AppleACPIEC 5.0
com.apple.driver.AppleAPIC 1.7
com.apple.nke.applicationfirewall 172
com.apple.security.quarantine 3
com.apple.security.TMSafetyNet 8
com.apple.kext.triggers 1.0
com.apple.iokit.IOSerialFamily 11
com.apple.driver.AppleSSE 1.0
com.apple.driver.DspFuncLib 278.56
com.apple.kext.OSvKernDSPLib 525
com.apple.nvidia.driver.NVDAGK100Hal 10.1.4
com.apple.nvidia.driver.NVDAResman 10.1.4
com.apple.iokit.IOSurface 153.3
com.apple.driver.IOPlatformPluginLegacy 1.0.0
com.apple.iokit.IOFireWireIP 2.2.7
com.apple.driver.X86PlatformPlugin 1.0.0
com.apple.driver.IOPlatformPluginFamily 6.0.0d8
com.apple.iokit.IOBluetoothHostControllerUSBTransport 5.0.3f1
com.apple.iokit.IOBluetoothHostControllerTransport 5.0.3f1
com.apple.iokit.IOBluetoothFamily 5.0.3f1
com.apple.driver.AppleHDAController 278.56
com.apple.iokit.IOHDAFamily 278.56
com.apple.driver.AppleSMBusPCI 1.0.14d1
com.apple.driver.AppleBacklightExpert 1.1.0
com.apple.iokit.IONDRVSupport 513.1
com.apple.driver.AppleGraphicsControl 3.13.79
com.apple.iokit.IOSlowAdaptiveClockingFamily 1.0.0
com.apple.AppleGraphicsDeviceControl 3.13.79
com.apple.iokit.IOAcceleratorFamily2 289.32
com.apple.driver.AppleThunderboltEDMSink 4.1.1
com.apple.driver.AppleSMC 3.1.9
com.apple.driver.AppleSMBusController 1.0.14d1
com.apple.iokit.IOGraphicsFamily 513.1
com.apple.driver.AppleUSBComposite 900.4.1
com.apple.driver.AppleUSBAudio 307.7
com.apple.iokit.IOAudioFamily 205.12
com.apple.vecLib.kext 1.2.0
com.apple.iokit.IOUSBMassStorageClass 4.0.4
com.apple.iokit.IOSCSIBlockCommandsDevice 394.30.2
com.apple.iokit.IOUSBMassStorageDriver 131.1.1
com.apple.iokit.IOSCSIArchitectureModelFamily 394.30.2
com.apple.driver.AppleThunderboltDPInAdapter 4.6.1
com.apple.driver.AppleThunderboltDPOutAdapter 4.6.1
com.apple.driver.AppleThunderboltDPAdapterFamily 4.6.1
com.apple.driver.AppleThunderboltPCIUpAdapter 2.1.1
com.apple.driver.AppleThunderboltPCIDownAdapter 2.1.1
com.apple.driver.AppleUSBMultitouch 258
com.apple.driver.usb.IOUSBHostHIDDevice 1.1
com.apple.driver.usb.cdc 5.0.0
com.apple.driver.usb.networking 5.0.0
com.apple.driver.usb.AppleUSBHostCompositeDevice 1.1
com.apple.driver.CoreStorage 540.30.1
com.apple.filesystems.hfs.encodings.kext 1
com.apple.driver.AppleUSBMergeNub 900.4.1
com.apple.driver.usb.AppleUSBHub 1.1
com.apple.driver.AppleXsanScheme 3
com.apple.iokit.IOAHCIFamily 288
com.apple.driver.usb.AppleUSBEHCIPCI 1.1
com.apple.driver.usb.AppleUSBEHCI 1.1
com.apple.iokit.IOEthernetAVBController 1.0.3b4
com.apple.iokit.IOFireWireFamily 4.6.5
com.apple.driver.AppleThunderboltNHI 4.1.8
com.apple.iokit.IOThunderboltFamily 6.3.3
com.apple.iokit.IO80211Family 1200.12.2
com.apple.driver.mDNSOffloadUserClient 1.0.1b8
com.apple.iokit.IONetworkingFamily 3.2
com.apple.driver.corecapture 1.0.4
com.apple.driver.AppleIntelLpssGspi 3.0.60
com.apple.driver.usb.AppleUSBXHCIPCI 1.1
com.apple.driver.usb.AppleUSBXHCI 1.1
com.apple.driver.usb.AppleUSBHostPacketFilter 1.0
com.apple.iokit.IOUSBFamily 900.4.1
com.apple.driver.AppleUSBHostMergeProperties 1.1
com.apple.driver.AppleEFINVRAM 2.1
com.apple.driver.AppleEFIRuntime 2.0
com.apple.iokit.IOHIDFamily 2.0.0
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 300.0
com.apple.kext.AppleMatch 1.0.0d1
com.apple.driver.AppleKeyStore 2
com.apple.driver.AppleMobileFileIntegrity 1.0.5
com.apple.driver.AppleCredentialManager 1.0
com.apple.driver.KernelRelayHost 1
com.apple.iokit.IOUSBHostFamily 1.1
com.apple.driver.AppleBusPowerController 1.0
com.apple.driver.DiskImages 444.41.1
com.apple.iokit.IOStorageFamily 2.1
com.apple.iokit.IOReportFamily 31
com.apple.driver.AppleFDEKeyStore 28.30
com.apple.driver.AppleACPIPlatform 5.0
com.apple.iokit.IOPCIFamily 2.9
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.Libm 1
com.apple.kec.pthread 1
com.apple.kec.corecrypto 1.0
You have Verdasys Digital Guardian Agent and McAfee installed, both of which have injected kernel extensions that may be causing the panic.
It appears to be happening during an XPC call's security checks. The Simulator is a separate user space sharing the host Mac kernel. My guess is the developers of one or both kernel extensions are not properly handling certain data or are mangling private kernel data structures. $rip is the address of the next instruction. Page faulting on that address means something has gone seriously wrong.
I suggest uninstalling all 3rd-party kernel extensions then attempting to reproduce the problem. If that fixes it then file a bug with Verdasys or McAfee to have them fix their kernel extensions.

Mysql stopped working after mountain lion upgrade and Server.app installation

I did an update this morning from snow leopard server to mountain lion and installed the Server app as well, now I can't connect to the mysql and I fear all my databases are lost, anyone had this problem and can provide a solution?
First issue seems to be with the mysql.sock file, it's not present. So I can't connect from anything or dump to files and start over. Here is what happends when I run mysql
/usr/libexec/mysqld
130102 17:07:48 [Warning] Setting lower_case_table_names=2 because file system for /var/mysql/ is case insensitive
InnoDB: The InnoDB memory heap has been disabled.
InnoDB: Mutex and rw_lock use GCC atomic builtins.
InnoDB: Log scan progressed past the checkpoint lsn 0 36808
130102 17:07:48 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
InnoDB: Doing recovery: scanned up to log sequence number 0 43655
130102 17:07:48 InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
130102 17:07:49 InnoDB: Started; log sequence number 0 43655
130102 17:07:49 [Note] Recovering after a crash using mysql-bin
130102 17:07:49 [Note] Starting crash recovery...
130102 17:07:49 [Note] Crash recovery finished.
130102 17:07:49 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
I've tried both mysqld_update and bunch of other stuff. My main goal now is to get the data out somehow and do a clean install. But I can't seem to find the data.
If I do a locate in the terminal on a databasename, I find it stuffed away in /Library/Server/Previous/private/var/mysql/DBNAME, but I can't access that location in either terminal or finder (even as root), trying to to cd into them gives me a "not exists" in return.
MySQL is no longer installed by default as of 10.7 Lion. Apple has a technical bulletin that covers installing MySQL after upgrading to 10.7, or in your case 10.8.
Default location for mysql data files is:
/usr/local/mysql/data
Maybe the data files are still there, if they are, then copy them, then re-install mysql and then copy data files back to the original location.
I am not 100% percent sure it works, but I have done similar trick on Snow Leopard some time ago...

Error when closing window (cocoa application)

this's a log which I get when close window in my application:
Nov 21 20:58:17 Mac-mini.local FirstGUIapp[3255] <Error>: kCGErrorIllegalArgument: _CGSFindSharedWindow: WID -1
Nov 21 20:58:17 Mac-mini.local FirstGUIapp[3255] <Error>: kCGErrorFailure: Set a breakpoint # CGErrorBreakpoint() to catch errors as they are logged.
Nov 21 20:58:17 Mac-mini.local FirstGUIapp[3255] <Warning>: _CGSReferenceWindowByID: Window id 0xffffffff not found (locally or shared)
Nov 21 20:58:17 Mac-mini.local FirstGUIapp[3255] <Error>: kCGErrorIllegalArgument: CGSDeviceCreate: Invalid window
Nov 21 20:58:17 Mac-mini.local FirstGUIapp[3255] <Error>: Failed to create window context device
Nov 21 20:58:17 Mac-mini.local FirstGUIapp[3255] <Error>: CGWindowContextCreate: failed to create window context delegate.
2011-11-21 20:58:17.307 FirstGUIapp[3255:403] _initWithWindowNumber: error creating graphics ctxt object for ctxt:0xefef, window:0xffffffff
Everything works fine until I close application: when it enters into applicationWillTerminate method these messages appear in log and app crashes.
I just open and close application, no code executes after launching
I don't know if it matter, but I have also Clipped Content warning in MainMenu.xib (at push button)
Thanks
It seems your windows ptr is equal 0xFFFFFFFF which is most probaly a bad sign, do you have the source of applicationWillTerminate? Are you trying to access to the windows in any way ?

Schedule a file replace in the next system boot time in Windows XP

I am running a 32-bit Windows XP machine on my computer. Recently I have found that an error pops up occasionally showing that Dr Watson Postmortem Debugger has crashed and needs to close. All the gui gets stuck at this point and I need to do a manual system restart for things to work.
So when I checked the error log, I found the following.
Event Type: Error
Event Source: Application Error
Event Category: (100)
Event ID: 1000
Date: 10/25/2011
Time: 1:26:39 AM
User: N/A
Computer: HOME
Description:
Faulting application drwtsn32.exe, version 5.1.2600.0, faulting module dbghelp.dll, version 5.1.2600.2180, fault address 0x0001295d.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 41 70 70 6c 69 63 61 74 Applicat
0008: 69 6f 6e 20 46 61 69 6c ion Fail
0010: 75 72 65 20 20 64 72 77 ure drw
0018: 74 73 6e 33 32 2e 65 78 tsn32.ex
0020: 65 20 35 2e 31 2e 32 36 e 5.1.26
0028: 30 30 2e 30 20 69 6e 20 00.0 in
0030: 64 62 67 68 65 6c 70 2e dbghelp.
0038: 64 6c 6c 20 35 2e 31 2e dll 5.1.
0040: 32 36 30 30 2e 32 31 38 2600.218
0048: 30 20 61 74 20 6f 66 66 0 at off
0050: 73 65 74 20 30 30 30 31 set 0001
0058: 32 39 35 64 295d
Then using I used the following command:
regsvr32 c:\windows\system32\dbghelp.dll and it displayed a dialog box saying:
c:\windows\system32\dbghelp.dll was loaded,but the DllRegisterServer entry point was not found. This file can not be registered.
So I figured that the dbghelp.dll file was corrupt and needs to be changed, I downloaded another copy of the file from the internet, but the operating system doesn't allow me to replace this file, due to various locks on the file.
I tried to schedule a batch file for the next system start up using the scheduled tasks with the following command:
copy /Y j:\security_updates\dbghelp.dll c:\windows\system32\
but this too doesn't seem to work. How do I replace this file at the next system startup?

Resources