Debugger get hung in a suspended state

I set up breakpoint, and ran the form in debug mode, then I see that my forms builder gets hung.
Any fix for this.

Double tap the home button and then swipe up on the app that you want to close. It won't have a noticeable impact on battery life unless the app concerned is constantly using gps.

Similar Messages

  • How to create a Notification in the Action center when the app is in the suspended state...?

    Hi,
    I want to send a notification to the action center of Windows phone 8.1, when I get a callback from the lower layer code which I have registered for(I have implemented). I am able to do it when my app is in the foreground. How can I achieve the same when
    the app is in the background.(ie. in the suspended state)

    Yes Franklin, your understanding is correct. But I cannot use Push Notification, as it require a cloud server to send the raw notification.
    Is there any other method, which can be used to trigger the app (ie... the background service registered) to send a toast message, when app is in background. Trigger should be initiated by a lower layer service running as different process. I am looking
    for something similar to "Broadcast Receiver" in Android... 
    Hi Jose,
    >>But I cannot use Push Notification, as it require a cloud server to send the raw notification
    The Background Task is the only way to make things work in the background in Windows phone, it have some triggers we can use, such as
    SystemTrigger,
    TimeTrigger, or
    NetworkOperatorNotificationTrigger:
    https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.background.backgroundtaskbuilder.settrigger
    I would also recommend you to read this sample:
    https://code.msdn.microsoft.com/windowsapps/Background-Task-Sample-9209ade9
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Most of the time queries remain in suspended state in our production environment.

    Most of the time queries remain in suspended state in our production environment.
    Not getting any solution.
    Thanks

    Wait typeS : PAGEIOLATCH_SH,PAGELATCH_EX is when requested page is in buffer and some other process/request
    is holding the lock in buffer.
    SQL will manage it internally , Have you faced in performance issue if yes the need to check
    1) Fragmentation of indexes. if fragmented the defrag it so that time of execution will less and will also reduce wait time. 
    2) Any missing indexes is there then create it
    3) Update statistics  status of tables.
    4) Check if any table scan is there the create appropriate indexes on that...etc ....

  • Debugger gets hanged on call to stored procedure

    We are using Forms 6i Patch 12.
    The Forms Debugger is getting hanged whenever it encounters a line making a call to stored procedure.
    In earlier versions, we debugger used to "Step Over" instead of allowing a "Step into" on such statements.
    Any Solutions will be appreciated!

    We are working like that.
    Even on new stored procedures, the debugger is getting hanged whether we do any stepping around that line or not.
    There appears to be something wrong with debugger or its settings. It is ok for us if it does not allow "Step Into" in a stored procedure as we can put it as local program unit if any step into is required.
    However, for already tested stored procedures, we can have a step over.
    We do not want to copy all the stored procedures being used in a form as local program units just because the debugger gets hanged whenever it sees a call to stored procedure irrespective of a "Step over", "Step Into" or "Go".
    The problem is how to prevent the debugger from getting hanged.
    Regards,
    Sanjiv

  • Since Maverick, safari gets hung up

    I updated my late 2009 IMac with Maverick in late December.  It continues to get hung up in Safari after 2-3 webpages.  I have used Glims Unistall over and over again as suggested  in numerous posts to no avail I continue to get a frozen page in Safari.  I shut down, empty caches, reset Safari and nothing seems to work.  Wondering if Apple is going to have a permanent fix for this problem.  I don't think I am the only one.  I've also gone through the step process(new user, safe mode and normal) and posted the results. (Continues to get hung up at all steps along with 4-5 pages (pop ups) opening in the background when in safe mode).  If anyone has come across a fix, since it doesn't looks like Apple is(this is enough to consider going to PC...yuchhhh). I had to write this on my IPad....Safari stalls on first page now!

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. All it does is to collect information about the state of the computer. That information goes nowhere unless you choose to share it. However, you should be cautious about running any kind of program (not just a shell script) on the advice of a stranger. If you have doubts, search this site for other discussions in which this procedure has been followed without any report of ill effects. If you can't satisfy yourself that the instructions are safe, don't follow them. Ask for other options.
    Here's a summary of what you need to do, if you choose to proceed:
    ☞ Copy a line of text in this window to the Clipboard.
    ☞ Paste into the window of another application.
    ☞ Wait for the test to run. It usually takes a few minutes.
    ☞ Paste the results, which will have been copied automatically, back into a reply on this page.
    The sequence is: copy, paste, wait, paste again. You don't need to copy a second time. Details follow.
    4. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    5. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    6. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin; clear; Fb='%s\n\t(%s)\n'; Fm='\n%s\n\n%s\n'; Fr='\nRAM details\n%s\n'; Fs='\n%s: %s\n'; Fu='user %s%%, system %s%%'; AC="com.autodesk.AutoCAD  com.evenflow.dropbox com.google.GoogleDrive"; H='^[[:space:]]*((127\.0\.0\.1|::1|fe80::1%lo0)[[:space:]]+local|(255\.){3}255[[:space:]]*broadcast)host[[:space:]]*$'; NS=networksetup; PB="/usr/libexec/PlistBuddy -c Print"; A () { [[ a -eq 0 ]]; }; BI () { $PB\ :CFBundleIdentifier "$1"; }; LC () { $2 launchctl list | awk 'NR>1 && !/0x|\.[0-9]+$|com\.apple\.(AirPortBaseStationAgent|launchctl\.(Aqua|Background|System))$/{print $3}' | grep -Fv "$1"; }; M () { find -L "$d" -type f | while read f; do file -b "$f" | egrep -lq XML\|exec && echo $f; done; }; AT () { o=`file -b "$1" | egrep -v '^(A.{16}t$|cann)'`; Ps "${1##*/} format"; }; Pc () { o=`grep -v '^ *#' "$2"`; l=`wc -l <<< "$o"`; [[ l -gt 25 ]] && o=`head -n25 <<< "$o"`$'\n'"[$((l-25)) more line(s)]"; Pm "$1"; AT "$1"; }; Pm () { [[ "$o" ]] && o=`sed -E '/^ *$/d;s/^ */   /;s/[-0-9A-Fa-f]{22,}/UUID/g;s/(ochat)\.[^.]+(\..+)/\1\2/;/Shared/!s/(\/Users\/)[^/]+/\1-/g' <<< "$o"` && printf "$Fm" "$1" "$o"; }; Pp () { o=`$PB "$2" | awk -F'= ' \/$3'/{print $2}'`; Pm "$1"; }; Ps () { o=`echo $o`; [[ ! "$o" =~ ^0?$ ]] && printf "$Fs" "$1" "$o"; }; R () { o=; [[ r -eq 0 ]]; }; SP () { system_profiler SP${1}DataType; }; id -G | grep -qw 80; a=$?; A && sudo true; r=$?; t=`date +%s`; clear; { A || echo $'No admin access\n'; A && ! R && echo $'No root access\n'; SP Software | sed -n 's/^ *//;5p;6p;8p'; h=(`SP Hardware | awk '/ Id/{print $3}; /Mem/{print $2}'`); o=$h; Ps Model; o=$((h[1]<4?h[1]:0)); Ps "Total RAM (GB)"; o=`SP Memory | sed '1,5d;/[my].*:/d'`; [[ "$o" =~ s:\ [^EO]|x([^8]|8[^0]) ]] && printf "$Fr" "$o"; o=`SP Diagnostics | sed '5,6!d'`; [[ "$o" =~ Pass ]] || Pm POST; p=`SP Power`; o=`awk '/Cy/{print $NF}' <<< "$p"`; o=$((o>=300?o:0)); Ps "Battery cycles"; o=`sed -n '/Cond.*: [^N]/s/^.*://p' <<< "$p"`; Ps "Battery condition"; for b in FireWire Thunderbolt USB; do o=`SP $b | sed -En '/:$/{s/ *:$//;x;s/\n//;/Apple|Intel|SMSC/d;s/\n.*//;/\)/p;};/^ *(V.+ [0N]|Man).+ /{s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;}'`; Pm $b; done; o=`pmset -g therm | sed 's/^.*C/C/'`; [[ "$o" =~ No\ th|pms ]] && o=; Pm Heat; o=`pmset -g sysload | grep -v :`; [[ "$o" =~ =\ [^GO] ]] || o=; Pm "System load"; o=`nvram boot-args | awk '{$1=""; print}'`; Ps "boot-args"; o=; fdesetup status | grep -q On && o=On; Ps FileVault; a=(/ ""); A=(System User); for i in 0 1; do o=`cd ${a[$i]}L*/Lo*/Diag* || continue; for f in *.{cr,h,pa,s}*; do [[ -f "$f" ]] || continue; d=$(stat -f%Sc -t%F "$f"); [[ "$f" =~ h$ ]] && grep -lq "^Thread c" "$f" && f="$f *"; echo "$d ${f%%_2*} ${f##*.}"; done | sort | tail`; Pm "${A[$i]} diagnostics"; done; grep -lq '*$' <<< "$o" && printf $'\n\t* Code injection\n'; o=`syslog -F bsd -k Sender kernel -k Message CReq 'caug|GPU |hfs: Ru|last value [1-9]|n Cause: -|NVDA\(|pagin|proc: t|Roamed|rror|ssert|Thrott|timed? ?o|WARN' -k Message Ane 'SMC:' | tail -n25 | awk '/:/{$4=""; $5=""};1'`; Pm "Kernel log"; o=`df -m / | awk 'NR==2 {print $4}'`; o=$((o<5120?o:0)); Ps "Free space (MiB)"; o=$(($(vm_stat | awk '/eo/{sub("\\.",""); print $2}')/256)); o=$((o>=1024?o:0)); Ps "Pageouts (MiB)"; s=( `sar -u 1 10 | sed '$!d'` ); [[ s[4] -lt 85 ]] && o=`printf "$Fu" ${s[1]} ${s[3]}` || o=; Ps "Total CPU usage" && { s=(`ps acrx -o comm,ruid,%cpu | sed '2!d'`); n=$((${#s[*]}-1)); c="${s[*]}"; o=${s[$n]}%; Ps "CPU usage by process \"${c% ${s[$((n-1))]}*}\" with UID ${s[$((n-1))]}"; }; s=(`top -R -l1 -n1 -o prt -stats command,uid,prt | sed '$!d'`); n=$((${#s[*]}-1)); s[$n]=${s[$n]%[+-]}; c="${s[*]}"; o=$((s[$n]>=25000?s[$n]:0)); Ps "Mach ports used by process \"${c% ${s[$((n-1))]}*}\" with UID ${s[$((n-1))]}"; sys=`pkgutil --regexp --only-files --files com.apple.pkg.* | sort | uniq | sed 's:^:/:'`; bi=`egrep '\.(kext|xpc)/(Contents/)?Info.plist$' <<< "$sys" | while read i; do [[ -f "$i" ]] && BI "$i"; done`; o=`kextstat -kl | grep -Fv "$bi" | cut -c53- | cut -d\< -f1`; Pm "Kernel extensions"; li=`egrep 'Launch[AD].+\.plist$' <<< "$sys"`; jl=`while read f; do [[ -f $f ]] && $PB\ :Label $f; done <<< "$li"`$'\n'"$bi"; R && o=`LC "$jl" sudo`; Pm Daemons; o=`LC "$jl"`; Pm Agents; o=`for d in {/,}L*/Lau*; do M; done | grep -Fv "$li" | while read f; do ID=$($PB\ :Label "$f") || ID="No job label"; printf "$Fb" "$f" "$ID"; done`; Pm "launchd items"; o=`for d in /{S*/,}L*/StartupItems; do M; done`; Pm "Startup items"; b=`sed -E '/^.+Lib.+\/Contents\/Info.plist$/!d;s/\/Info.plist$//;/Contents\/./d' <<< "$sys"`; l=`egrep '^/usr/lib/.+dylib$' <<< "$sys"`; [[ "$b" && "$l" ]] && { o=`find -L /S*/L*/{C*/Sec*A,E}* {/,}L*/{A*d,Compon,Ex,In,iTu,Keyb,Mail/B,P*P,Qu*T,Scripti,Sec,Servi,Spo}* -type d -name Contents -prune | grep -Fv "$b" | while read d; do i="$d"/Info.plist; [[ -f "$i" ]] || continue; ID=$(BI "$i") || ID="No bundle ID"; printf "$Fb" "${d%/Contents}" "$ID"; done`; Pm "Bundles"; o=`find /usr/lib -type f -name *.dylib | grep -Fv "$l"`; Pm "Shared libraries"; :; } || echo $'\nReceipts missing'; o=`for e in INSERT_LIBRARIES LIBRARY_PATH; do launchctl getenv DYLD_$e; done`; Pm "Inserted dylibs"; o=`find -L {,/u*/lo*}/e*/periodic -type f -mtime -10d`; Pm "Modified periodic scripts"; o=; defaults read /Library/Preferences/com.apple.alf globalstate | grep -q 0 || o=On; Ps Firewall; o=`scutil --proxy | grep Prox`; Pm Proxies; o=`scutil --dns | awk '/r\[0\] /{if ($NF !~ /^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./) print $NF; exit}'`; i=`route -n get default | awk '/e:/{print $2}'`; I=`$NS -listnetworkserviceorder | sed -En '/ '$i'\)$/{x;s/^\(.+\) //p;q;};x'`; n=`$NS -getdnsservers "$I" | awk '!/^T/{printf "not "; exit}'`; Ps "DNS (${n}from DHCP)"; o=`$NS -getinfo "$I" | awk '/k:/{if ($3 !~ "(255\.){3}0") print}; /v6:/{if ($2 !~ "A") print}'`; Pm TCP/IP; [[ "$I" =~ [AW]i ]] && { o=`/S*/*/P*/*/*/*/*/airport -I | awk '/lR/{print $2}'`; o=$((o<=-87?o:0)); Ps RSSI; }; R && o=`sudo profiles -P | grep : | wc -l`; Ps Profiles; f=auto_master; [[ `md5 -q /etc/$f` =~ ^b166 ]] || Pc $f /etc/$f; for f in fstab sysctl.conf crontab launchd.conf; do Pc $f /etc/$f; done; f=/etc/hosts; Pc hosts <(egrep -v "$H" $f ); AT $f; Pc "User launchd" ~/.launchd*; R && Pc "Root crontab" <(sudo crontab -l); Pc "User crontab" <(crontab -l); R && o=`sudo defaults read com.apple.loginwindow LoginHook`; Pm "Login hook"; LD="$(`find /S*/*/F* -type f -name lsregister | head -n1` -dump)"; o=`for ID in $AC; do [[ "$LD" =~ $ID ]] && echo $ID; done`; Pm "App check"; Pp "Global login items" /L*/P*/loginw* Path; Pp "User login items" L*/P*/*loginit* Name; Pp "Safari extensions" L*/Saf*/*/E*.plist Bundle | sed -E 's/(\..*$|-[1-9])//g'; o=`find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \) | wc -l`; Ps "Restricted user files"; cd; o=`find .??* -path .Trash -prune -o -type d -name *.app -print -prune`; Pm "Hidden apps"; o=`SP Fonts | egrep 'id: N|te: Y' | wc -l`; Ps "Font issues"; o=`find L*/{Con,Pref}* -type f ! -size 0 -name *.plist | while read f; do plutil -s "$f" >&- || echo $f; done`; Pm "Bad plists"; d=(Desktop L*/Keyc*); n=(20 7); for i in 0 1; do o=`find "${d[$i]}" -type f -maxdepth 1 | wc -l`; o=$((o<=n[$i]?0:o)); Ps "${d[$i]##*/} file count"; done; o=; [[ UID -eq 0 ]] && o=root; Ps UID; o=$((`date +%s`-t)); Ps "Elapsed time (s)"; } 2>/dev/null | pbcopy; exit 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    7. Launch the built-in 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.
    Click anywhere in the Terminal window and paste by pressing command-V. The text you pasted should vanish immediately. If it doesn't, press the return key.
    8. If you see an error message in the Terminal window such as "syntax error," enter
    exec bash
    and press return. Then paste the script again.
    9. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return three times at the password prompt. Again, the script will still run.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    10. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
    [Process completed]
    to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report the results. No harm will be done.
    11. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    12. When you post the results, you might see the message, "You have included content in your post that is not permitted." It means that the forum software has misidentified something in the post as a violation of the rules. If that happens, please post the test results on Pastebin, then post a link here to the page you created.
    Note: This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Terms of Use of the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

  • On boot up my macbook gets hung on the blue screen

    On Boot up my MacBook Pro gets hung on the blues screen.  I have to close the display let it sit for about a minute and then open it back up.  Then the sign in window wil come up.  Next I have to wait 5 to 8 minutes after selection of a user name to be able to enter my password. 
    I just had to restore my OS from Time Machine because it would not boot up. 
    any suggestions? 

    If you haven't already purchased a new disk, I would strongly advocate getting an SSD drive to replace the failed hard disk in your machine.
    I would recommend nothing but Intel SSDs - they are by far the best-performing ones out there. I have a 240GB Intel 520 - http://www.newegg.com/Product/Product.aspx?Item=N82E16820167086 - in my Late 2011 MacBook Pro with 10.6.8. Downloading, opening multiple tabs while browsing, bootup, shutdown or software install speed, it's an incredible dream. A full install of 10.6 last night was completed in 5 mins and 35 seconds on my machine!
    There are also other high-performance SSDs like the Samsung 840 Pro - http://www.newegg.com/Product/Product.aspx?Item=N82E16820147193 - but from my personal experience (installed in a client's office PC), no consumer SSD can best the Intel in performance.
    Regarding getting the machine back to a usable state after its drive crash - I recommend doing a clean install of the OS along with all the programs you use, doing an initial sync with Time Machine, booting back to the Mac OS X Install DVD and making a DMG disk image of your new drive to be saved on an external backup hard disk (perhaps your TM drive).
    Reason being if your machine screws up in one way or another in the future - be it a misbehaving software update or another disk failure - you can just plop in a new drive, boot with the Install DVD, plug in your external drive and restore the "master" image to your new drive and restarting from it; all your programs will already be there without needing to go through the tedious process of reactivating et cetra. You can then immediately retrieve any missing documents from your TM backup with little hassle since the system was already synced to TM and it will recognize it as the "same" Mac despite the drive change.
    Of course, with anything comes pros and cons - and the cons in this case are needing to fiddle around with the command-line interface (Terminal) and some initial fidgeting with external drives. However, it will all be smooth sailing for future disasters once the "master" image for your machine is saved on the drive.

  • TS1545 I have downloaded 10.5.8 combo several times and cannot get it to install because the disc won't mount or the installation gets hung up after restart. My current os is 10.5.1, and I am trying to upgrade to snow leopard. This is on a dual core macbo

    I have downloaded 10.5.8 combo several times and cannot get it to install because the disc won't mount or the installation gets hung up after restart. My current os is 10.5.1, and I am trying to upgrade to snow leopard. This is on a dual core macbook pro.

    You don't need to update to Leopard 10.5.8 unless you want to keep Leopard. Upgrading to Snow Leopard requires that your purchase the retail install disk.
    The following covers Leopard:
    Some general advice on updating:
    It is worth noting that it is an extreme rarity for updates to cause upsets to your system, as they have all been extensively beta-tested, but they may well reveal pre-existing ones, particularly those of which you may have been unaware. If you are actually aware of any glitches, make sure they are fixed before proceeding further.
    So before you do anything else:
    If you can, make a full backup first to an external hard disk. Ideally you should always have a bootable clone of your system that enables you to revert to the previous pre-update state.
    Turn off sleep mode for both screen and hard disk.
    Disconnect all peripherals except your keyboard and mouse.
    1. Repair Permissions (in Disk Utility)
    2. Verify the state of your hard disk using Disk Utility. If any faults are reported, restart from your install disk (holding down the C key), go to Disk Utility, and repair your startup disk. Restart again to get back to your startup disk.
    At least you can now be reasonably certain that your system does not contain any obvious faults that might cause an update/upgrade to fail.
    3. Download the correct version of the COMBO update from the Apple download site.
    The Combo updater of Leopard 10.5.8 can be found here:
    http://support.apple.com/downloads/Mac_OS_X_10_5_8_Combo_Update
    If you prefer to download updates via Software Update in the Apple menu (which would ensure that the correct version for your Mac was being downloaded), it is not recommended to allow SU to install major (or even minor) updates automatically. Set Software Update to just download the updater without immediately installing it. There is always the possibility that the combined download and install (which can be a lengthy process) might be interrupted by a power outage or your cat walking across the keyboard, and an interrupted install will almost certainly cause havoc. Once it is downloaded, you can install at a time that suits you. You should make a backup copy of the updater on a CD in case you ever need a reinstall.
    Full details about the 10.5.8 update here: http://support.apple.com/kb/HT3606
    More information on using Software Updater here:
    http://support.apple.com/kb/TA24901?viewlocale=en_US
    Using the Combo updater ensures that all system files changed since the original 10.5.0 are included, and any that may have been missed out or subsequently damaged will be repaired. The Delta updater, although a temptingly smaller download, only takes you from the previous version to the new one, i.e. for example from 10.5.7 to 10.5.8. Software Update will generally download the Delta updater only. The preferable Combo updater needs to be downloaded from Apple's download site.
    Now proceed as follows:
    4. Close all applications and turn off energy saving and screensaver.
    5. Unplug all peripherals except your keyboard and mouse.
    6. Install the update/upgrade. Do not under any circumstances interrupt this procedure. Do not do anything else on your computer while it is installing. Be patient.
    7. When it ask for a restart to complete the installation, click restart. This can take longer than normal, there are probably thousands of files to overwrite and place in the correct location. Do nothing while this is going on.
    8. Once your Mac is awake, repair permissions again, and you should be good to go!
    If your Mac seems slightly sluggish or ‘different’, perform a second restart. It can’t hurt and is sometimes efficacious! In fact a second restart can be recommended.
    9. Open a few of your most used applications and check that all is OK. In this connection please remember that not all manufacturers of third party applications and plug-ins, add-ons, haxies etc, will have had time to do any necessary rewrites to their software to make them compliant with the latest version of your operating system. Give them a week or two while you regularly check their websites for updates.
    N.B. Do not attempt to install two different updates at the same time as each may have different routines and requirements. Follow the above recommendations for each update in turn.
    Lastly, Apple's own article on the subject of Software Update may also be useful reading:
    http://docs.info.apple.com/article.html?artnum=106695
    [b]If you are updating Safari (or just have):[/b]
    Input Managers from third parties can do as much harm as good. They use a security loophole to reach right into your applications' code and change that code as the application starts up.  If you have installed an OS update and Safari is crashing, the very [i]first[/i] thing to do is clear out your InputManagers folders (both in your own Library and in the top-level /Library), log out and log back in, and try again.
    So, disable all third party add-ons before updating Safari, as they may not have been updated yet for the new version. Add them back one by one. If something goes awry, remove it again and check on the software manufacturer's website for news of an update to match your version of Safari.
    Most errors reported here after an update are due to an unrepaired or undetected inherent fault in the system, and/or a third party add-on.
    Additional tips on software installation here:
    http://docs.info.apple.com/article.html?artnum=106692
    To reiterate, Input Managers reach right into an application and alter its code. This puts the behavior of the affected application outside the control and responsibility of its developers: a recipe for  problems. That's not to say that issues absolutely will ensue as a result of Input Managers, but you, as a user, must decide. If the functionality of a specific Input Manager or set thereof is really important to you, you may well choose to assume the associated risk.
    Again, the advice is to remove all Input Managers from the following directories:
    /Library/InputManagers
    ~/Library/InputManagers
    especially prior to system updates (they can always be added back one-by-one later).
    Solutions for troubleshooting installation, startup, and login issues in Mac OS X v10.5
    http://support.apple.com/kb/TS1541?viewlocale=en_US

  • Non debuggable thread is trying to suspend execution

    Hi all,
    I have a program that is using the WinMM library to sample the wave-in in a buffer, for 0.015s every 0.030s.
    The program works OK, but every now and then I get an error saying:
    "A non-debuggable thread is trying to suspend execution at address 7C90120E.
    Do you want to suspend execution?"
    You can choose whether or not to suspend, and in either case the error will come again.
    Sometimes it runs without a problem for about 30s, sometimes I get the error every second, so at very unregular intervals.
    I tried to do the sampling in a seperate thread but it doesn't make any difference (conceirning the error)
    I'm using LABWindows/CVI 9.0 at WindowsXP Professional 2002 sp3, using Windows SDK 7.1.
    Does anyone know what could be the problem?
    Regards, Dirk
    Solved!
    Go to Solution.

    In the main program I initialize the Format:
    pFormat.wFormatTag=WAVE_FORMAT_PCM; // simple, uncompressed format
    pFormat.nChannels=1; // 1=mono, 2=stereo
    pFormat.nSamplesPerSec=sampleRate; // 44100
    pFormat.nAvgBytesPerSec=sampleRate*2; // = nSamplesPerSec * n.Channels * wBitsPerSample/8
    pFormat.nBlockAlign=2; // = n.Channels * wBitsPerSample/8
    pFormat.wBitsPerSample=16; // 16 for high quality, 8 for telephone-grade
    pFormat.cbSize=0;
    result = waveInOpen(&hWaveIn, WAVE_MAPPER,&pFormat,
    0L, 0L, WAVE_FORMAT_DIRECT);
     Then every 0.030s or so, getsound() is called at a TIMER_TICK_EVENT
     getsound() is:
    void getsound(void)
    WAVEHDR WaveInHdr;
    // Set up and prepare header for input
    WaveInHdr.lpData = (LPSTR)waveIn;
    WaveInHdr.dwBufferLength = NUMPTS*2;
    WaveInHdr.dwBytesRecorded=0;
    WaveInHdr.dwUser = 0L;
    WaveInHdr.dwFlags = 0L;
    WaveInHdr.dwLoops = 0L;
    waveInPrepareHeader(hWaveIn, &WaveInHdr, sizeof(WaveInHdr));
    // Insert a wave input buffer
    result = waveInAddBuffer(hWaveIn, &WaveInHdr, sizeof(WaveInHdr));
    if (result)
    Fmt (ErrorMessage, "%s","Failed to read block from device");
    MessagePopup ("Audio Error", ErrorMessage);
    // Commence sampling input
    result = waveInStart(hWaveIn);
    if (result)
    Fmt (ErrorMessage, "%s","Failed to start recording");
    MessagePopup ("Audio Error", ErrorMessage);
    // Wait until finished recording
    do {} while (waveInUnprepareHeader(hWaveIn, &WaveInHdr, sizeof(WaveInHdr))==WAVERR_STILLPLAYING);
    Hope this helps!

  • Upgraded to tiger, mail gets hung up on importing old messages.

    I had my pwrbk tuned up and upgraded to Tiger. All files were swept onto a dvd for back up and just plopped back on again after the install. When I click on mail to 'mail' it wants to import my "existing Mail messages into the new version"... so I 'continue' as it requests and (sighhh) it procedes to import (sighhh) my 4500 or so (who's counting) messages. It gets hung up on #1363 (which I believe is in the 'sent' folder) and the time remaining keeps increasing...- I mean - I gave it a chance - the battery (brand spank me new) ran all the way down AND we plugged it in too ... it happens every time. How to bypass this import without deleting all my old emails and just excise the offending hanger-upper?

    The conversion from Mail 1.x to Mail 2.x is broken. Even if Mail didn’t freeze while importing, there is no guarantee that it would import the old mailboxes successfully. Take a look at the following thread for an example:
    Just upgraded, Most of my old Inbox is gone!
    You could apply the procedure described there to the mailboxes that Mail appears to be choking on. Alternatively, you could move the entire account folder out of ~/Library/Mail/ (to the Desktop) and manually import its mailboxes afterwards as Other.

  • Gets hung up on importing iphoto library

    when i try to import my iphoto library aperture gets hung up and the photos do not appear in the aperture library

    The conversion from Mail 1.x to Mail 2.x is broken. Even if Mail didn’t freeze while importing, there is no guarantee that it would import the old mailboxes successfully. Take a look at the following thread for an example:
    Just upgraded, Most of my old Inbox is gone!
    You could apply the procedure described there to the mailboxes that Mail appears to be choking on. Alternatively, you could move the entire account folder out of ~/Library/Mail/ (to the Desktop) and manually import its mailboxes afterwards as Other.

  • I am having problems with the Preview application.  When I try to use it to open a pdf document it gets hung-up and I have to select force quit to close it.   Any ideas on how to resolve this problem?  Thanks for any help

    I am having problems with the Preview application.  When I try to use it to open a pdf document it gets hung-up and I have to select force quit to close it.   Any ideas on how to resolve this problem?  Thanks for any help

    Can you open the Preview program without loading a file, like by itself?
    If it doesn't load then I suspect a corrupt Preview preference file.
    Deleting the System Preference or other .plist file
    Can you open other files with Preview, like jpg's and images?
    How about other PDFs? or is it just that one you have downloaded?
    Run through this list of fixes
    Step by Step to fix your Mac

  • When my lightroom opens up I keep getting an error message that states, "Lightroom encountered an error whne reading from its preview  cache and needs to quit" I have relaunched it a number of times and keep getting the same message.

    when my lightroom opens up I keep getting an error message that states, "Lightroom encountered an error whne reading from its preview  cache and needs to quit" I have relaunched it a number of times and keep getting the same message. Any thoughts on how to fix this?

    You need to delete your preview cache and have Lightroom rebuild it.   Cache location can be found here.
    https://helpx.adobe.com/lightroom/kb/preference-file-locations-lightroom-41.html
    Why And How To Clear Your Lightroom Cache - Lightroom Fanatic

  • I just downloaded itunes onto my new laptop and I am trying to burn songs onto a cd that I had purchased previously and I am getting an error message that states I must authorize this computer. What does that mean?

    I just downloaded itunes onto my new laptop and I am trying to burn songs onto a cd that I had purchased previously and I am getting an error message that states I must authorize this computer. What does that mean?

    If the computer's running Mac OS X, move the cursor to the very top of the computer's screen, click on Store, and choose Authorize this Computer.
    If the computer's running Windows, press the Alt and S keys and choose Authorize this Computer, or click here, follow the instructions, click on Store in the menu bar, and choose Authorize this Computer.
    (95452)

  • I am getting "ORA-00900: invalid SQL statement"  error.?

    I did installed oracle 11gR2. and used "DBMS_METADATA_DIFF.COMPARE_ALTER('TABLE','TBL_A','TBL_A','USER1','USER2')"   to see the result like below,  but I am getting "ORA-00900: invalid SQL statement"  error.   Any idea?
    I am using:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    TNS for 32-bit Windows: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    SQL> desc user1.tbl_a
    Name                                      Null?    Type
    FIELD_A1                                  NOT NULL NUMBER
    FIELD_A2                                           VARCHAR2(20)
    FIELD_A4                                  NOT NULL NUMBER(5,2)
    FIELD_A5                                           VARCHAR2(10)
    FIELD_A6                                  NOT NULL NUMBER(2)
    SQL> desc user2.tbl_a
    Name                                      Null?    Type
    FIELD_A1                                  NOT NULL NUMBER
    FIELD_A2                                           VARCHAR2(50)
    FIELD_A3                                           DATE
    FIELD_A4                                           NUMBER(5,2)
    FIELD_A5                                  NOT NULL VARCHAR2(10)
    SQL> select dbms_metadata_diff.compare_alter('TABLE','TBL_A','TBL_A','USER1','USER2') from dual
    expected result:
    DBMS_METADATA_DIFF.COMPARE_ALTER('TABLE','TBL_A','TBL_A','U1','U2')
    ALTER TABLE "U1"."TBL_A" ADD ("FIELD_A3" DATE)
      ALTER TABLE "U1"."TBL_A" DROP ("FIELD_A6")
      ALTER TABLE "U1"."TBL_A" MODIFY ("FIELD_A2" VARCHAR2(50))
      ALTER TABLE "U1"."TBL_A" MODIFY ("FIELD_A4" NUMBER(5,2) DEFAULT 0)
      ALTER TABLE "U1"."TBL_A" MODIFY ("FIELD_A4" NULL)
      ALTER TABLE "U1"."TBL_A" MODIFY ("FIELD_A5" NOT NULL ENABLE)

    Thanks for reply rp,
    I got result using "select dbms_metadata_diff.compare_alter('TABLE','TBL_A','TBL_A','USER1','USER2') from dual"

  • I have the latest version of Itunes downloaded and installed to my computer.  I have a music library already created for my replaced Ipod Nano.  I've just purchased a new Nano.  When I try to access the Itunes store from the Itunes program, it gets hung u

    I have tried uninstalling and reinstalling Itunes, but it still gets hung up when trying to access the Itunes Store from the Itunes program.
    I've been unable to register the new Nano or sync it with my library.

    Many thanks.
    With those symptoms, I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

Maybe you are looking for

  • Tiff files are recognized as raw files

    A large number of my tiff files are being recognized by Photoshop and Lightroom as raw files. They open in Camera Raw with +50 brightness and +25 contrast. It has occurred in tiff files that I made by 1) scanning film 2) taken with Canon 10D 3) taken

  • Problem with Printing the Billing date...

    Hi Experts... Here im facing the problem in printing the billing date. The scenario is as follows. The posting date of Billing is 10.10.2008   The document date of Billing is also 10.10.2008. At the time of printing the Billing document it is taking

  • BB Curve no volume or sound

    I just got a new BB Curve 8530. after I turned the phone on. I was checking ring tone & I have no sound & ringer will not work. any sugesstion on what the prob could be. I did everything the book said to make it work. but it don't give u much to work

  • Error with insert using ASP, SQL and ValidationTool Kit

    i finally got my 1st of 5 pages setup to insert, validate and redirect.. but now i get an error i have no idea what it means The page loads fine, but when i attempt to submit the page to insert the record, i receive the error below... Microsoft OLE D

  • If Multiple Hittests equal true, go to and play next frame

    Hi All, I am trying to finish up a project and run into this problem, right now I am trying to create a drag and drop game and on the last game you can drop parts into the others, what I want to happen is that when all are in the correct spot gotoand