Workarounds for 2.0.1 app install crashes

Hi All,
This will be a long post, but hopefully of help to those suffering from the infuriating application related crashes and instability of 2.0 and 2.0.1.
For those just looking for the workarounds, jump to the bottom of this message. For those interested in a technical discussion of what's going on behind the scenes, keep reading.
After running a very stable iPod Touch on 1.1.3 for quite some time complete with jailbroken apps, I decided it was time to give 2.0 and the official third party apps a go.
At first I loved the new features especially the WPA Enterprise support and MS Exchange support which I think are brilliant, but then I started to notice all kinds of problems with crashes like most other people in this forum as soon as I had a few apps installed.
Basically the thing was horribly unstable to the point of being unusable, and I did about 10 full restores in the first two weeks, just to keep the thing going, and experienced dozens of cases of being stuck on the apple boot screen.
The crashes could be narrowed down into two types of crashes - one is crashes while trying to RUN applications, and the second is crashes trying to INSTALL or UN-INSTALL applications.
The first type - crashes while running applications would take the form of either an app crashing back to the home screen when launched, or causing a total system freeze or a spontaneous reboot either when launching an app, or sometimes while running an app.
Usually when this would happen most large apps (hint: memory hungry apps) would fail to launch, good examples are super monkey ball, cromag rally and enigmo. Repeated attempts to launch these apps would fail and eventually the device would spontaneously reboot.
In all cases, a full reboot of the device, (hold sleep button for 5 seconds, swipe to power off, then power on again) would allow the app to run again. The reviews of some apps on the app store are littered with complaints from people that the app crashes during launch - the irony is the app is NOT to blame, in all cases I have seen.
The second type of crash is a lockup and/or spontaneous reboot during app installation or removal either through the built in appstore application or via syncing with itunes. More often than not this type of crash would render the device unbootable with you stuck at the apple logo - you could tell this was happening because after a few minutes the apple logo would go darker, and the device is no longer pingable over wifi.
First the good news - for me anyway, 2.0.1 FIXES the first type of crash - apps crashing back to the home screen, spontaneous reboots and lockups when launching apps or using them. I haven't had super monkey ball fail to launch, or crash during play a single time since updating to 2.0.1 for example. Wahoo Apple.
When not adding/removing/updating applications, I now find 2.0.1 to be quite stable, apart from the usual Safari crashes, which seem to happen a bit more often than 1.1.3.
Now the bad news - the app install / un-install related crashes are NOT fixed in 2.0.1 or even alleviated, so these are what I will focus on in this message describing workarounds I have found and the reasoning behind them.
Ok here's the deal, with a bit of analysis the root cause of the problem is LOW MEMORY conditions that occur during the app install / un-install process. It seems to be a combination of increased system memory requirements of the 2.0 firmware in general (there is simply more stuff running than there was in 1.1.x, so there is less free memory) as well as what look like memory leaks (or at least poor coding) in both Springboard and mobileinstallationproxy. More on those in a minute.
In addition the emergency low memory handling of the system (maybe the kernel) seems to be broken in 2.0.x - once free memory gets below a certain point the system will hard freeze - this never happened in 1.1.x, at most it would cause a reboot if memory became critical and nothing could be done to free memory.
Ok, what is mobileinstallationproxy ? This is a program whose job it is to install and uninstall applications, basically, and did not exist in 1.1.x firmware. When an application is to be installed or removed either directly on the device or by syncing with itunes, this is the process that is launched to do it.
Problem number one - sometimes, this processes memory usage will grow enormously - there is typically only 60MB ram free no additional apps are running and background mailcheck is disabled. mobileinstallationproxy's memory usage will often climb to reach or exceed this amount causing an extreme low memory condition which will cause the Springboard to try to kill off unnecessary processes, but if it can't find enough memory the device will either freeze or spontaneously reboot - the reboot in the middle of application install / un-install corrupts the application state, causing more trouble later on.
Ok, what is Springboard ? This is the main application on an ipod touch / iphone which gives you your home screen, and manages the launching of applications, provides touchscreen input to applications, and also does additional memory management by asking applications to reduce their memory usage if free memory is tight, and will even go so far as to quit background processes to free up memory when memory gets really tight.
Problem number two - sometimes Springboard starts allocating large amounts (over 70-80MB) of memory itself causing a low memory condition - and it cant free up memory because it can't ask itself to quit! At least, not without rendering the device unusable, because you lose the ability to use the touchscreen......
This typically happens when Springboard is "regenerating the application map" which basically means it is looking at newly installed applications to find out details about them and display them on the home screen. This regenerating happens both immediately after application install, and during bootup (before the lock screen) if it wasn't previously finished. BIG PROBLEM.
What happens if the device crashes if you are half way through installing an app ? The answer is that when you try to boot up again Springboard starts regenerating the application map before you are presented with the lock screen - it looks like nothing is happening, but it is. Corrupt applications can cause Springboard to crash during this phase which means you are stuck in an INFINITE LOOP of rebooting showing the Apple logo, which is what many people have experienced.
Problem number 3 - if you have a LOT of applications installed, and just one of them gets corrupted during a crash, when the device reboots, Springboard will start rebuilding the application maps, but this can take a LONG time, and there is a TIME LIMIT on how long Springboard is allowed to run in this state! A watchdog process waits for Springboard to respond during bootup but because Springboard is busy regenerating the application map it doesn't respond. If it doesn't respond in a certain amount of time (approx 5 minutes) the watchdog will KILL Springboard, thus not only preventing it from finishing the job and letting you get to the lock screen, but possibly further corrupting data, and causing the device to freeze, as Springboard is an essential system process.
This is the reason why the system becomes prone to getting stuck on the Apple screen after just a single application becomes corrupted, if you have MORE than a certain number of applications installed. If you have few applications installed (less than approx 10) the situation of one app becoming corrupted is recoverable, and self healing, if you have many applications installed (over 20) there is never enough time for Springboard to finish the job before the watchdog terminates it - thus being stuck at the Apple Logo with no escape other than a system restore.
For anyone who wonders how I am gathering the data to form these conclusions there are two tools that I've used - one is freely available from Apple, and that is the 'iPhone Configuration Utility' available from here:
http://www.apple.com/downloads/macosx/apple/application_updates/iphoneconfigurat ionutility10formacosx.html
Which has the ability to show the local system log (console) of the device in real time, showing things such as:
Sat Aug 9 20:54:28 unknown configd[15] <Notice>: kernel memory event (93), free: 376, active: 1179, inactive: 770, purgeable: 0, wired: 5400
Sat Aug 9 20:54:30 unknown configd[15] <Notice>: kernel memory event (90), free: 376, active: 1398, inactive: 788, purgeable: 0, wired: 5417
Sat Aug 9 20:54:32 unknown SpringBoard[16] <Warning>: Memory level is urgent (10), but there are no apps to warn!
Sat Aug 9 20:54:33 unknown configd[15] <Notice>: kernel memory event (90), free: 376, active: 1455, inactive: 1204, purgeable: 0, wired: 5419
Sat Aug 9 20:54:33 unknown SpringBoard[16] <Warning>: Memory level is urgent (10), but there are no apps to warn!
A great deal of information about what is going on can be gained from watching this log file, and the program can be left monitoring even during an itunes sync.
The second way I have gathered data is by running top over ssh on a jailbroken version of the firmware. I don't endorse or encourage jailbreaking of firmware, but in this instance it has allowed me to gather invaluable data on the problem, and I would stress that the crashes that I've been chasing occur equally on standard and jailbroken firmware.
In particular ssh has allowed me to prove one hypothesis - when the device gets stuck at the Apple logo after an app is corrupted, and is in an unrecoverable state that requires yet another restore, if I quickly ssh in as soon as I can during the bootup phase, and delete all the Appstore applications from /var/mobile/Applications the device will almost immediately spring to life and has been "saved" from requiring another restore - this proves that Springboard is getting bogged down scanning the applications and once they are removed it will boot normally again and the apps can be reinstalled.
WORKAROUNDS AND RECOMMENDATIONS
The biggest problems here are (a) too many apps installed preventing bootup recovery once an app gets corrupted, and (b) low memory situations being encountered during app install / uninstall causing the corruption in the first place.
1) Don't install or update Apps using the built in Appstore application on the ipod/iphone. For reasons not entirely clear this is a very hit and miss proposition and there is a VERY high chance that you will get a freeze or a crash from doing this if you have more than a few apps installed, and end up in an unrecoverable state. Just don't do it, always sync apps across from itunes.
2) Free up as much memory as possible BEFORE syncing applications with itunes, and this applies both to installing and un-installing applications. The best way to do this is disable MobileMail from running in the background. If you have automatic message checking of any kind enabled MobileMail launches at bootup and runs in the background ALL the time, consuming approximately 14MB of ram, and this is often the straw that broke the camels back when memory gets tight.
To do so, disable PUSH, and change Fetch new Data to Manually, then either do a full reboot (sleep button for 5 seconds then swipe to turn off, then press to turn on again) OR launch mobile mail, wait for it's mail check to finish, then hold down the home button for 5 seconds to do a forced quit. It's imperative that automatic checking of mail is disabled, or it will immediately launch in the background again.
This step of disabling MobileMail to free up a bit more memory makes the most difference of all the things I have tried in preventing crashes during application syncing, so don't skimp. You can enable automatic mail checking again afterwards.
3) As much as it pains me to say, having downloaded over 30+ apps, if you want your ipod/iphone to be stable, until Apple fixes this issue, install as few apps as you possibly can - just the ones you really need, and not lots of gimmicky things you don't really need. Try to keep it under 20 at any one time, and you can do this on the Application tab in iTunes telling it to sync only selected applications. Keeping the number of synced applications down to a minimum makes a big difference, and means that even if you do get a crash during app installation it will usually recover. If you have lots of apps installed it will NOT recover by itself.
Good luck all, and roll on 2.0.2.

If you DO get in the situation where the iPhone won't load and is stuck at the Apple logo, there is an alternative to Restoring: renaming the Applications folder momentarily.
Of course this assumes you have a way of getting to the Applications folder before the phone has fully booted. I am lucky as I have OpenSSH installed and when this crash occurs the WiFi has already connected, so I can (for example) log in and rename Applications to Applications2 and then back again.
The Springboard will start about 5 seconds after you rename the folder. This at least gives you an opportunity to back stuff up or try to remove the offending application instead of restoring.
I have heard that you can use iPhoneBrowser on Windows to do the same but not tested this.

Similar Messages

  • Workaround for Reader 10.1.2 print crash issue

    Dear users,
    Based on the feedback provided to us in relation to the recent Print crash issues on Adobe Reader 10.1.2, we are hereby providing the following two workarounds for the problem faced. Please follow the steps below to get rid of this issue:
    WORKAROUND 1:
    Go to Start menu to Select Devices and Printers to access all Network Printers installed on your machine. Right Click to access Printer Properties. Open the Sharing Tab and give your printer a Share Name. If you wish not to share your printer then you may choose to give it a Share Name and then select “Do not Share” Checkbox. Please make sure that all Network printers have been assigned a Share name otherwise problem will persist. Please find below the screenshot for your reference.
    WORKAROUND 2:
    The second work around is to turn off the Protected Mode of the Reader and the problem will be resolved right away. However, it is not advised to keep the application in non-protected mode due to security reasons and it is advisable to turn this setting ON once you are done with your printing task. You can access this setting by going to Edit-->Preferences-->General pane and can find “Enable protected mode at start-up” at the bottom of the window. Please re-start the Adobe Reader after you have made changes to this setting.
    Thanks,
    Atul Agarwal

    Neither workaround 1 nor 2 work for me. I have a very small network, but my printer stands alone on the lan.
    I'm running Windows 7 SP 1. My printer is an hp oj pro 8500 hardwired via lan. When I installed Reader 10.1, all printing stopped. It doesn't crash, but finds the printer, starts to process the file, then a "Save As" window pops up and it wants to save the file as a *.pm. If I cancel, nothing happens and nothing prints. If I Save, it takes a long time (> 1min)  to process the file (simple text, 1 page), then the status box vanishes and nothing prints. I can't find the .pm file anywhere and there is nothing in the printer's queue.
    I installed 10.2.1. Same thing. Tried the patch for 10.2.1 printer crash (even though I'm not really crashing. Just a whole lot of nothing) and same problem.
    Reader 10.1.1 on my mac has no problems finding the printer. I'm leery of upgrading it to version 10.2.1 But we only have the one mac, and I'm stuck with the hp pc.

  • 2.1 Battery Better (for most users)? & Apps Not Crashing, True? Worth it?

    Does it really fix these things? And how can Apple claim it fixes the battery for (most) users, are there phones with different batteries and or hardware? And more important, are the Apps not crashing to the Apple logo? Calls not dropping, really?
    Copied from the 2.1 update screen:
    iPhone 2.1 Software Update
    iPhone version 2.1 contains many bug fixes and improvements, including the following:
    • decrease in call set-up failures and call drops
    • significantly improved battery life for most users
    • dramatically reduced time to backup to iTunes
    • improved email reliability, notably fetching email from POP and Exchange accounts
    • faster installation of 3rd party applications
    • fixed bugs causing hangs and crashes if you have lots of 3rd party applications
    • improved performance in text messaging
    • faster loading and searching of contacts
    • improved accuracy of the 3G signal strength display
    • repeat alert up to two additional times for incoming text messages
    • option to wipe data after ten failed passcode attempts
    • Genius playlist creation
    For feature descriptions and complete instructions, see the user guide for your iPhone at:
    <http://www.apple.com/support/manuals/iphone>
    For more information about iPhone, go to:
    <http://www.apple.com/iphone>
    To troubleshoot your iPhone, or to view additional support information go to:
    <http://www.apple.com/support/iphone>
    For information on the security content of this update, please visit this website:
    <http://support.apple.com/kb/HT1222>

    no idea about any of these things all i want to know is if it fixed the txt sound not working and what on earth is the 2 txt sounds mean?? im assuming if u dont look at ur txt it will sound again???, ive checked 3g its still sh1t here even tho im in a huge 3g area apparently but i didnt have many probs with last update so who knows

  • Angry Birds App installed, crashes immediately when trying to open on Mac

    Hi, I downloaded the Angry Birds app and it downloaded and installed without any trouble but immediately crashes when I try to start it. Any clue as to why? Has anyone else encountered this?
    I'm running a Mac Mini with OS X (10.6.6) with a 2 GHz Intel Core 2 Duo, 3 GB Ram if that info is of any use.
    Thanks for any help.
    PS~ I have already Repaired Disk Permissions.

    Please note that this is third-party software, and as such me-too posts of this nature on an Apple forum aren't particularly useful (other than delivering an apparently needed warning to other users). Contact the developer of the game.

  • Safari 5 for windows with multiple extensions installed crashing

    I installed Safari 5 on my Windows PC running XP PRO with SP3 ; I also had Firefox installed and was using multiple extensions and add ons there. After using Safari 5 for a day or so I installed a number of extensions. Two were also installed on Firefox; Feedly and LastPass; no idea if this has anything to do with anything.
    Shortly after this I started having problems with both Firefox and Safari crashing. Eventually uninstalled Firefox until I got Safari stable but I haven't been able to do that . It's still crashing every 30 " or so, sometimes more often. The error message says "Safari has encountered an unexpected difficulty and needs to close." When I click on the "Details" link it says Error Signature App name Safari.exe
    ModVer 5.33.17.8
    Offset 00111fb61
    Can anyone give me some advice? I hate to uninstall the extensions only to find out that's not the problem.
    Thanks

    Apologies, Kathleen, but do you mind if I stash links to extension-related problems here? (Will stop If you rather I didn't.)
    MareksGreg here was getting symptoms that sounded a bit like Hedi's (Flash not working):
    10 minutes earlier I was thinking about this and I tried to uninstall 2 of 3 extensions I got.
    I uninstalled "Sessions" and "Awesome Screenshots". And it worked.
    I think that the update for extensions I did last week occurred this problem not the extensions themselves.
    Now I installed both of extensions back and everything is alright, like ebfore.
    It looks like an extension-related problem is likely to cause a user-account-specific problem too.
    http://discussions.apple.com/thread.jspa?messageID=12187030#12187030

  • Safari and Setting apps both crashing??

    Hello - all of a sudden, my iPhone 5 (running the latest version of iOS6) has developed a rather alarming and pretty serious-seeming problem with Safari. Any attempt to open the bookmarks results in an instant crash. If I then try to swich off iCloud synching for Safari, the Settings app also crashes, regardless of whether I choose to keep or delete the Safari data on my iPhone when offered the choice. When I reopen the Settings app, Safari synching for iCloud is still shown as being 'on', even though I have just switched it off (before it crashed). Restaring my iPhone and restoring it from backup in iTunes have both had no effect. I am now at something of a loss. Any pointers gratefully received!

    Try closing all your open apps and resetting the device.

  • WHen I first installed iOS 6 the App Store crashes...and now having iOS 6 for 2 weeks now, all my apps are buggy and now are crashing! Safari and built in apps are becoming slow and crash. I hate how apple leaves iPod touch 4g and iPhone 4 in the dark.

    WHen I first installed iOS 6 the App Store crashes...and now having iOS 6 for 2 weeks now, all my apps are buggy and now are crashing! Safari and built in apps are becoming slow and crash. I hate how apple leaves iPod touch 4g and iPhone 4 in the dark and basically force us to upgrade to newer devices. Apple could of done better with the update and needs to resolve these issues.

    Try:
    - Reset the iPod. Nothing will be lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup
    - Restore to factory settings/new iPod.
    - Make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar
    The App store crashing is a known problem.
    IOS 6 App store crash: Apple Support Communities

  • HT204088 Why does AppStore crash when I try to return to Utilities category after viewing a second or third app (AppStore quits ,iPad (1.1) goesto home page with AppStore on it. 20+ of 32GB available, 28 apps installed, iOS 5.1.1 (says sw "up to date")

    My ipad(1.1) jumps out of Appstore after I've viewed 2or 3 apps, seems to be happening more often now. It returns to the page the Appstore icon is on. When I select Appstore again, it opens on the page of the last app downloaded, then I can return and browse Utilities category until next crash. It has 20+ GB available of 32GB, 28 apps installed, I don't use iTunes. I don't know what OS is installed, it's not cellular enabled. I haven't checked other categories and unsure if reducing open browser tabs affects the problem, possibly lets Appstore run longer before crashing. It always crashes when I attempt to return to the category. OSVersion is 5.1.1, Update Check says software is up to date. It has crashed if I scroll thru the pages of apps too fast.

    If you have more than one user account, these instructions must be carried out as an administrator.
    Triple-click anywhere in the line below to select it:
    syslog -k Sender kernel -k Message CSeq "I/O error"
    Copy the selected text to the Clipboard (command-C).
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V).
    The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear.
    Post any lines of output that appear below what you entered — the text, please, not a screenshot.

  • What has caused an app I purchased (Family Tree Maker for Mac) and currently have installed, to disappear from the Mac Store. Does this mean it is no longer sold?  If so, how will I get update notices or re-download if needed?

    I purchased and installed Family Tree Maker for Mac from the App Store about 6 months ago.  I heard that possibly a new version was coming, though I had not received any update notice.  I went to the App Store and it no longer shows the app, either as available for purchase or as an app I have previously purchased.  So I can't get any information on the app, support, etc..  How can an app I have purchased disappear from the purchased list???  How can I get update information or support links? (contacted FTM website and phone support and they said if I bought my program from App store, I have to get update information there).....the Update Info button in my program is actually greyed out!!  So the program I bought doesn't even have the normal update link!!  I thought one of the advantages of App Store purchase was being able to redownload the program in the unlikely event it was lost....ie: no need to worry about having the install CD.  So now I only have my installed, operating copy and no way to reinstall if it crashes due to corrupt data, etc.!!  Not a happy result from an App Store purchase!  And I must say the circular references in the support link are frustarting...apparently there is NO live support for the App Store itself!

    Thanks for THAT tip: iTunes acct. history DOES show my (few) Mac app purchases, buried in with my MANY iPhone and iPad apps!  So I CAN prove I bought it (7 months ago, not 6), but you wouldn't know it from the App Store app on my Mac!  But that does leave a few other ?'s hanging: like how could I download it again, or check for updates (as I said, the version installed has the "update" button greyed out!  Ancestry.com (who sells it online and support it for other buyers said update info for App Store purchasers comes through the App Store. 
    I may just be out of luck with this because after 7 months of ownership, they (Ancestry) just replaced FTM with a new version (Family Tree Maker for Mac2) that is NOT an upgrade (though prior owners get $4.00 off on a $52.00 purchase!!).  I'll probably just plump for that....direct from Ancestry.com...and give up on the Mac App Store, because the new version reportedly has major enhancements in sync-ing your family history record between your computer and the cloud program available online.  Genealogy software, like everything else is migrating to the cloud, but one really does need a resident program on their device because you're often collecting data "in the field" in libraries, historical archives, cemeteries, etc. where you really can't get online in many cases.  Fortunately, more and more of the source data is coming online, so more and more can be done from home!

  • App store crashes when terms of service is required. And I can't install apps unless I do. How do I fix this?

    I've had this problem before but before I just couldn't open the app store at all. I have restored and updated to iOS 5 to try to fix it but now the app store crashes when I'm about to install an app. When I click install app, it brings me to my home screen and shows it loading. Then it says that there are new iTunes terms and conditions. It has the options cancel and agree but I can't install the app unless I click agree. The problem is, when I click agree it brings me to the app store again but crashes right away. I can't get any apps on my phone. Does anyone know how to help this?

    Forgotten RESTRICTIONS Passcode
    - Restore from a backup that was make before you added the Restrictions passcode. If you restore from a backup made with the Restrictions passcode the Restrictions passcode is also restored. Place the iOS device in Recovery Mode if necessary to allow the restore.
    - Restore to factory settings/new iPod. . Place the iOS device in Recovery Mode if necessary to allow the restore.   
    - If you are up to file manipulation see the following but it may not work for iOS 6.1.3 or iOS 7
    How to reset forgotten Restrictions...: Apple Support Communities
    - How to Recover Restrictions Forgotten iPhone Restrictions Passcode | The iPhone and iPad Blog

  • Printer Status in the Device Printer screen shows "Status: Device app install incomplete. Go to Windows Store for details."

    Tried to Print from Outlook, got printer error couldn't print, so went to Device and Printers screen, selected printer and it shows that the Status "Status: Device app install incomplete. Go to Windows Store for details."
    No answers in Windows store (LOL) did the trouble shooting tool and get 
    getting error 0x803C010B while runing printer troubleshooter. 
    Anyone know what MS is trying to say?

    Hi luke, I tried your script. However, it seems that once in a while srvnet crashes during the restart. Can you help me on this? Chris
    Hi Chris
    Not sure why that would be but - you could add some error-checking logic to the script to test whether srvnet has successfully started, and then if it hasn't - attempt to restart it again. I haven't tested this code because I haven't had that issue, but something
    along the lines of:
    @echo off
    set logfile="%TMP%\srvlog.txt"
    if exist %logfile% goto begin
    echo [%date:~4,10% %time%] logfile created>%logfile%
    :begin
    echo -->>%logfile%
    echo [%date:~4,10% %time%] srvnet check triggered>>%logfile%
    openfiles /Query 2>NUL | FIND /C "INFO: No shared open files found" >NUL
    if errorlevel 1 goto yes_opens
    echo [%date:~4,10% %time%] no open files, proceeding to check for srvnet driver block>>%logfile%
    powercfg -requests | find /C "[DRIVER] \FileSystem\srvnet" >NUL
    if errorlevel 1 goto no_srvnet_block
    echo [%date:~4,10% %time%] **block detected, restarting srv**>>%logfile%
    net stop /y srv >NUL 2>NUL
    ping -n 5 -w 1000 127.0.0.1>NUL
    sc query srv | find "RUNNING" >NUL 2>&1
    if errorlevel 1 goto SrvNotRunning
    goto :eof
    :SrvNotRunning
    echo [%date:~4,10% %time%] **srv did not autostart, attempting manual start**>>%logfile%
    set cnt=0
    :wait1
    if %cnt% GEQ 5 goto SrvCantStart
    set /A cnt+=1
    echo [%date:~4,10% %time%] **waiting for SRV service to start [%cnt%]**>>%logfile%
    sc start srv >NUL 2>&1
    ping -n 2 -w 1000 127.0.0.1>NUL
    sc query srv | find "RUNNING" >NUL 2>&1
    if errorlevel 1 goto wait1
    echo [%date:~4,10% %time%] **SRV service is now running**>>%logfile%
    goto :eof
    :SrvCantStart
    echo [%date:~4,10% %time%] **Tried 5 times to start SRV but failed**>>%logfile%
    goto :eof
    :yes_opens
    echo [%date:~4,10% %time%] open files detected, not restarting srv>>%logfile%
    goto :eof
    :no_srvnet_block
    echo [%date:~4,10% %time%] no srvnet block detected, not restarting srv>>%logfile%
    goto :eof
    Let me know if that works better for you!

  • Any workarounds for the X11 apps segmentation faults on intel with 10.4.8 ?

    Hi,
    We've an X11 application, compiled for PPC, which runs fine with a G5 iMac on 10.4.8. However, it crashes with a segmentation fault on a MacBook Pro with 10.4.8 (running through Rosetta).
    Searching the web, we found that this seems to be a widespread problem for X11 apps running on Intel Macs with 10.4.8.
    Has this been submitted as an important bug to Apple?
    Are there any workarounds for it?
    Is the problem specific to PPC-only builds, or does it also happen with Universal builds?
    Thank you for any hints you could give about this,
    cesar
      Mac OS X (10.4.8)  

    A powerpc-binary program running under Rosetta can only load powerpc-binary modules...can't cross in and out of emulation within a single process. Perhaps your program is trying to load a module from X11 that is present as an intel-only binary? Rosetta is certainly no future-looking cure-all, just a stop-gap to allow one to keep using older stuff, and it is kinda fragile sometimes. If your target audience is both powerpc and intel machines, compile as a universal binary so it's native for everyone.

  • Installed update (11.0.08). App still crashes if I try to edit text and images. Any help?

    Installed update (11.0.08). App still crashes if I try to edit text and images. Any help?
    1)Specs:  Alienware M17 R4 (laptop)
    GPU: GeForce GTX 675M
    CPU: Intel(R) Core(TM)  i73840QM CPU @ 2.80GHz
    Memory: 16GB RAM (15.89 GB available)
    Resolution: 1920 x 1080, 60Hz
    OS: Windows 7 home premium
    2) There is no error message. Acrobat simply closes on me without warning. The program stays open for a brief time, but then closes at random.
    3) I have tried running it as an admin, but it does not change anything. The program still closes without my consent.
    4) I have tried installing and reinstalling multiple times. It does not work even if I do not get the update (11.0.08)
    Thanks,
    hiimwill

    In that case we might want to have a look at the crash logs to check what is failing.
    How to create a user-mode process dump file in Windows Vista and in Windows 7
    http://support.microsoft.com/kb/931673
    Also please be aware that if you are using a 64-bit system you need to follow a different procedure to collect the DMP file to avoid us getting  this error from the IDE when attempting to view the file “Debugging a 64-bit dump of a 32-bit process is not supported, please collect a 32-bit dump of a 32-bit process."
    You can get the correct dump by going to the location referenced in this blog excerpt:
    http://blogs.msdn.com/b/amb/archive/2011/05/12/do-not-collect-32bit-process-dumps-with-64b it-task-manager.aspx
    So, you need to use 32bit debugger, if you would like to collect a dump of a 32bit process. So, if your process is 32bit, then you need to run 32bit version of the task manager on a 64bit OS. 32bit task manager is located in C:\Windows\SysWOW64 folder and the name of the file is taskmgr.exe.
    Regards,
    Rave

  • App store crashes when I try and "Accept" I-Photo after clean install

    I previously had Iphoto as part of the bundle with my OSX Lion Macbook Pro.  I then perfromed a clean install and upgraded to OSX Mountain Lion.
    The app store has clearly rembered that I own this software as instead of offering me the option to "buy" the software I am offered the option "accept".
    However when I click this button it promts me for Apple ID credentials and then nothing happens.   The wheel in the top left corner of the app store simply continues to roll and roll.
    On some occasions when I try and accept the software the App store crashes.
    I am running OSX 10.8.4
    The machine is:
    15 Inch Macbook Pro Early 2011
    2.2GHz Intel Core i7
    8 GB 1333 Mhz DDR3
    Intel HD Graphics 3000 512 MB

    If you're having problems with the App Store you might try this:
    1 - enable the Debug menu in App Store:
    open the Terminal application.
    copy the command below and paste into the Terminal window:
    defaults write com.apple.appstore ShowDebugMenu -bool true
    followed by Enter.
    launch App Store, login.
    2 - select the Debug ➙ Reset Application option:
    3 - try again.
    OT

  • TS1702 My garage band app has crashed & keeps returning to the main screen when I try to open it... I've tried most of the trouble shooting options with the exception of re-installing the app, because I fear I will lose a number of recent projects I have

    My garage band app has crashed &amp; keeps returning to the main screen when I try to open it... I've tried most of the trouble shooting chart (no updates available, tried restarting app, restarted device) all I have left is to re-install the app... My main fear is that if I do this I will lose a load of recent projects that are saved to the app that I've spent the last few days creating... Help...

    I have tried all those things I even updated the software to the new iOS system and it still did fix my problem.
    What happened is that my garage band looks like it will open then it shuts down.
    I have lot of important things on my garage band and I'm afraid that if I uninstall it deleting it then reinstalling it all my work on it will be gone and I can't have that happen.
    Everyday I am hoping that when i go to open the app that is will work but it doesn't it gets ready to turn on then it shuts off , the app doesn't even open all the way and turns off.
    I really hope I don't have to erase it.
    It'll say it's ,lading my songs then it shuts down .
    If I waited for the App Store to come up with an update for garage band should I wait till then to update my app so it doesn't get damaged . I don't want to erase it and all my data get erased . I figured if I wait for an update then my garage band will reset itself but won't delete my data. I'm not sure if that will help. Is there anything you or anyone else might know that can help me with this matter ?
    Thank you
    Simachyahi

Maybe you are looking for