Programs Crashing on start.

For some reason MicroSoft Office 2004: Word, Excel, Power Point, Entorage, and messanger are crashing on start, Also an Instaler for my HP printer wouldnt run.

A bit impatient? According to the TOU, you probably should be posting your queries to the MS and HP websites: http://www.microsoft.com/mac/community/community.aspx?pid=newsgroups and http://welcome.hp.com/country/us/en/support.html respectively.
For apps quitting, start with http://www.thexlab.com/faqs/multipleappsquit.html

Similar Messages

  • Adobe CC programs crashing on Start-up for Windows 7-8.1

    When running CC programs on PC Premiere, After Effects, and Media Encoder all tend to crash on start-up. I've uninstalled all CC programs and re-installed them and I still get the same problem. I have to start them about 6 or 7 times before the program will actually launch. Also if I am in Premiere and send a sequence to Encoder, it almost 100% of the time crashes and then crashes Premiere. It happens only on the PC, I've tried it on 2 different PC machines
    PC 1:
    i3 dual 2.3ghz
    8gb ram
    windows 8 (then upgraded to 8.1, same problems)
    PC 2:
    AMD A10 7700 3.4 Ghz,
    Radeon r7 1gb vram,
    16 gb ram,
    windows 7.
    When ran on a mac with OS 10.9.x I have no issues. 
    Why does this crash so many times on PC?
    The error message is "Something has caused Permiere/After Effects/Media Encoder to stop working. Closing program."

    What is your exact brand/model graphics adapter (ATI or nVidia or ???)
    What is your exact graphics adapter driver version?
    Have you gone to the vendor web site to check for a newer driver?
    For Windows, do NOT rely on Windows Update to have current driver information
    -you need to go direct to the vendor web site and check updates for yourself
    ATI Driver Autodetect http://support.amd.com/en-us/download/auto-detect-tool
    nVidia Driver Downloads http://www.nvidia.com/Download/index.aspx?lang=en-us
    Do you have dual graphics adapters?
    Go to the Windows Control Panel and select Hardware and Sound and then select Device Manager... In Device manager you click the + sign to the left of Display Adapters... and see if 2 are listed
    IF YES, read below
    -http://helpx.adobe.com/premiere-pro/kb/error---preludevideo-play-modules.html
    -http://forums.adobe.com/thread/1001579
    -Use BIOS http://forums.adobe.com/thread/1019004?tstart=0
    -link to why http://forums.adobe.com/message/4685328
    -http://www.anandtech.com/show/4839/mobile-gpu-faceoff-amd-dynamic-switchable-graphics-vs-n vidia-optimus-technology/2

  • Many applications CRASHING on start up after installing security updates

    I recently ran a software update and installed a bunch of updates, probably 2-3 for Mac OS X (security update) and an iTunes one and all the Final Cut Studio updates. After doing this I've been having a lot of problems with programs crashing on start up. Two programs that come to mind are Apple's Motion and the "Stickies" program included in OS X. Is there any way to fix this without re-installing the entire operating system?!

    Thanks for the advice baltwo; I followed the suggestions provided in the link and installed Preferential Treatment but the problem is still present with the application "stickies". It doesn't seem to be a preferences issue, since it is exclusive to one account. I tried copying over the StickiesDatabase file from my account to another and then opening stickies only to find it fails to launch in the other account as well. It seems like my StickiesDatabase file may be corrupted? Is there anyway to recover the information in this file?! My main concern right now is just recovering the notes I made in the Stickies.
    Btw, I repaired all permissions and did a lot cache clearing and system optimizing and clean up using ONYX, no improvement afterwards.
    One other thing: Most other apps are working fine with the exception of a certain project file in Motion 3 crashing on start up..but that's not my primary concern right now.
    Any advice would be greatly appreciated.
    Message was edited by: salilsundresh
    Message was edited by: salilsundresh

  • HT200169 Having a problem with Logic 9 on a Mac Pro.Working on a lenghty song and apparently session got corrupted.Doesnt let me export tracks,program crashes.Already tried start brand new session with the tracks imported into it but still wont export.Sug

    Hello,having a problem with Logic 9 on a Mac Pro.Working on a lenghty song and apparently session got corrupted.Doesnt let me export tracks,program crashes.Already tried start brand new session with the tracks imported into it but still wont export.Suggestions?

    Thanks, Ian. Yeah, that's how I do it now...or with the controls in the left side pane. Still, I would have liked that quick on-the-spot edit capability...especially while sketching.
    Ian Turner wrote:
    Sorry Mark, you are out of luck as it does not do that - it works the same as L8. The way I would achieve that with more accuracy and control would be to route all the tracks you want to fade to a Bus then use volume automation on the bus. To do this you will need to add a standard audio track, then re-assign it using (Control Click on the track header) to the Bus track. You can then automate volume/plugins etc on the Bus track.
    Ian

  • My program keeps crashing at start-up

    Running Windows 7 Pro on a PC. Adobe Premiere keeps crashing on start-up.

    judsonl
    We are not Adobe here. Rather user to user. If you purchased Premiere Elements 13 as an download from Adobe, then you need
    to seek a return/refund from it within 30 days of purchase. The following links can be used for that.
    Return, cancel, or exchange an Adobe order
    or
    Contact Customer Care
    Premiere Elements
    Membership, Account, Payment
    Payments, Invoices, Orders
    Chat Panel
    If the "Contact Customer Care" link does not hold its set, then you will need to navigate to the Chat Panel for Orders using
    the above titles as guides.
    If you purchased Premiere Elements 13 from an authorized reseller of the program, then you are governed by the return/refund
    policy of the seller and need to contact it about the return/refund.
    As for troubleshooting your issue, I will go over what has been written in the links above to determine if I can add any more to those.
    But, as to the matter of libcef.dll, I have not seen a solution and follow up by the Adobe Staff person who entered the thread in the first
    link. The frequency of the Adobe presence in the Adobe Premiere Elements Forum is not defined.
    Please let me know if you want to continue on the user to user basis to try to find an answer that has not yet been found or made known by
    Adobe.
    Thanks.
    ATR

  • When I open Pages, it opens all previous documents. But I cannot close them:if I try, the program crashes

    Hello everyone.
    Since middle february, Pages has not been working properly.
    When I start the program, it opens by default a blank page. That was fine until recently. I would simply close it and open my desired document. But now I cannot close the blank document: if I do it, the program crashes.
    I have bypassed the problem by simply minimizing the blank one and going along with my own documents... Unfortunately now the problem has increased, as it will not close any document.
    Therefore when I start the program, it will re-open all the documents and it will crash all the time I try to close them.
    Also, It will not let me save them or turn themm to PDF.
    What can I do ?
    I have also removed the previous software and I bought (again) Pages on the App Store last week... results: NONE!! it still won't work.
    HEEEELLLPPPPP
    thank you
    jack

    Hello
    I was warned of your problem by Jerrold.
    As I'm really besy this evening, I didn't read carefully the available message.
    What you get is a Lion's feature named "Resume".
    If you dislike me (as I do but I don't feel useful to rant against it) there are several ways to get rid of it.
    (1) In theory, it's sufficient to uncheck a box in the General System PrefPane.
    I wrote « in theory » because, at least in the French version this feature is broken.
    (2) Some third party tools are delivered to rule the feature's behavior for each application.
    Here are two free ones :
    Lion Tweaks ( http://ifredrik.com/applications/ )
    TinkerTool ( http://www.bresink.com/osx/TinkerTool.html )
    (3) As none of them apply on my French System, I designed a home made brute force tool.
    --{code}
    --[SCRIPT don't resume]
    if my parle_Anglais() then
              display dialog "What to do ?" buttons {"Cancel", "Restart", "Shutdown"} default button 3 cancel button 1
              set |éteindre| to (button returned of result) is "Shutdown"
    else
              display dialog "Que faire ?" buttons {"Annuler", "Redémarrer", "Éteindre"} default button 3 cancel button 1
              set |éteindre| to (button returned of result) is "Éteindre"
    end if
    (path to library folder from user domain as text)
    tell application "System Events"
              delete every folder of folder (result & "Saved Application State")
              if |éteindre| then
      shut down
              else
      restart
              end if
    end tell
    --=====
    on parle_Anglais()
              return (do shell script "defaults read 'Apple Global Domain' AppleLocale") does not start with "fr_"
    end parle_Anglais
    --=====
    --[/SCRIPT]
    --{code}
    Save this script as as Script and store it in the folder :
    <startupVolume>:Users:<yourAccount>:Library:Scripts:
    On my machine, thanks to FastScripts, I attached a shortcut to this script.
    So, when I press cmd +option + ctrl + Q I get this dialog :
    On an English System, the buttons are :
    Cancel, Restart, Shutdown.
    When we trigger the last two, the folder storing the dats required by the system to apply « Resume » is emptied so when we restart the machine no extraneous window is opened.
    I didn't described the way to reach the folder named Scripts.
    I'm sur that Jerrold will do that with a better English.
    Yvan KOENIG (VALLAURIS, France) mardi 17 avril 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.3
    My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k

  • Firefox crashes at start in Safe mode - On ONE user account ONLY

    Firefox crashes at start in Safe mode - On one user account on PC only
    I have done everything on Firefox crash checklist
    No '''Report ID''' since no start.
    So no nothing in further support? See below
    https://support.mozilla.com/en-US/kb/Firefox%20crashes#w_check-to-see-if-the-crash-happens-in-safe-mode
    '''Get help fixing this crash'''
    Figuring out the cause of a crash can be difficult. If you've tried the steps above and can't get Firefox to stop crashing, the steps below will show you how to collect information about your crash so our volunteers can help you.
    1. In the Firefox Location bar, type about:crashes and hit Enter. A page listing submitted crash reports will appear. '''NO START so no Firefox Location bar'''
    2. Right-click on the latest crash under Report ID and choose Open Link in New Tab. '''NO START so NO Firefox Report ID and not possible to choose Open Link in New Tab'''.
    A tab will open to a page on crash-stats.mozilla.com, saying that "Your report is being processed". When it is finished processing, your report will load. '''NO START so NO Firefox Report ID and NO report will load so dead end and no help or support possible'''
    3. Click this special link to ask for help with your crash.
    Note: This link is only valid for help with crashes.
    '''I have done this but can not find my question nor any answer neither. So what is next step to find support help?'''

    Hi Max,
    Congratulations, at least you made a stab at solving the problem. I think a lot of users used to glance at that KB article ([[firefox crashes]]) and give up trying!
    Hopefully the crash instructions will be further modified soon, (some of us consider the following is an [/kb/Firefox%20crashes/discuss/1855 omission] that needs correcting) have a look at this article for an explanation of how to get the crash ID from your OS even without using firefox:
    * http://kb.mozillazine.org/Breakpad#Location_of_crash_reports
    The XP OS is likely to use smoke and mirrors to make it look like you have a totally
    separate installation of firefox for each account, but normally you have the one set of (most) program files, and then for firefox separate [[profiles]]. So this indicates the problem is likely to be in the profile of the problem account, or down to a plugin, malware or other issue relating to that account. <br/>(I note you have already scanned for malware with MSE, that should detect a particular trojan that is a top cause of firefox 6 crashes)
    If you create a new clean profile in that account hopefully it will solve the crash problem, you can then address the issue of copying settings, bookmarks. passwords etc back. BUT before attempting that ensure that you disable all plugins, ([[safe mode]] does not disable plugins) if you have not already done so. Some plugins may not show up in Firefox's list, you may need to look at the OS program lists.
    I note you mention banking, a particular utility ''IDvault'' (I think Comcast supply it) has been causing crashes. Are you using IDvault ? <br/> (IDvault should be fixed soon bug684748; version 1.0.627 may have been fixed, but standalone version 5.9.627 has not yet been fixed )
    See also
    * [[troubleshooting plugins]]
    * [[firefox crashes when you open it]]

  • Firefox crashes on start-up; cannot get it to work. Any detailed solutions to try?

    I've read through so many helping websites but I just can't find a solution to fix Firefox, it constantly crashes upon start-up. So I can't activiate Safe-Mode, or open it up or anything to fix it.
    I also suspect that this rundll32.exe host has to do something with it. The messages came right after Firefox crashed. Should it be deleted?
    Please help. This is bothering me so much. I'd appreciate any comments. Thanks!

    Since a few days we have a lot of crashes with [http://www.trusteer.com/product/trusteer-rapport Trusteer Rapport]. If you have this program, try to disable it and see if that stops the crashing.<br>
    You can stop Rapport using Start Menu > Programs > Trusteer Rapport > Stop Rapport<br>
    You can ask their helpdesk when an updated version of their product will be made available or, if you don't need this software, uninstall it.<br>
    http://www.trusteer.com/support/en/report-problem<br>
    If you do not have Rapport, then we need to have a crash report ID. When you send Mozilla a crash report it just puts it in a giant database. We have no way of looking it up without the Report ID. I have no idea what is wrong without looking up the crash report. Please get the Report ID of your latest crash report.<br>
    See https://support.mozilla.com/en-US/kb/Firefox%20crashes<br>
    or http://kb.mozillazine.org/Firefox_crashes<br>

  • Firefox crashes on Start-Up

    Hello!
    I downloaded the latest version of Firefox for Windows XP but it always crashes on start-up. Mozilla Crash Reporter appears. I am not able to start Firefox in safe mode.
    My latest crash ids are bp-9fdcf812-70e4-4025-97b1-4c7592130430,
    and bp-74c78b9f-ad72-446e-aa0a-d8aef2130429.
    I immensely appreciate any assistance you are able to provide. Thank You!

    hello, from the crash report you've submitted it seems like the crash might be adware/malware related. the file on your pc causing the crash is named ''datamngr.dll''.
    first, please go to the windows control panel / programs section and see if you have any toolbars, imesh, MediaBar, data manager or other similar suspicious programs installed - if so remove them...
    afterwards please run a full scan of your system with different tools like the [http://www.malwarebytes.org/products/malwarebytes_free free version of malwarebytes], [http://www.bleepingcomputer.com/download/adwcleaner/ adwcleaner] & [http://www.microsoft.com/security/scanner/default.aspx microsoft safety scanner].
    for some general info see [[Troubleshoot Firefox issues caused by malware]]

  • G5 CRASHES ON START UP

    My G5 1.8 dual has started crashing on start-up.
    I switch it on and it eventually powers up and I get my personalised desktop but as soon as I try to do anything I ge the spinning beach ball and cannot do anything but force it to close.
    I have tried logging in under a different account and it is exactly the same.
    Can anybody give me any tips about how to fix this?
    Thanks in Advance

    Hi gravenors!
    Exactly which model G5 Mac do you have?
    What size is the Hard Drive, and how much space is available?
    How much RAM is installed, and is it original or added?
    What happened between the last time the Mac functioned properly, and when it didn't?
    Have you made any changes, like upgrading the system, updated or installed any applications or programs, etc?
    Have there been any unusual occurences, like freezes, crashes, power outages, etc?
    Are you able to startup from the system install disc?
    Have you run Repair Disk & Repair Permissions. If you need instructions, let me know.
    ali b

  • Adobe Photoshop CS3 crashing on start-up

    When starting Photoshop CS3, I can get all the way to the "Initializing shared components" message before the program crashes and has to close. It does this during every start-up. The only major changes I made before the problem began was I uninstalled a Microsoft Office trial version, and also installed Vista Service Pack 1. Does anyone know of a way to fix it?
    System details:
    Microsoft Windows Vista Home Premium Service Pack 1 (32 bit)
    1GB RAM
    Adobe Photoshop CS3 Extended V.10.0

    Try resetting your preferences as described in the FAQ.
    http://www.adobeforums.com/webx/.ef4a07f/1
    You either have to physically delete (or rename) the preference files or, if using the Alt, Ctrl, and Shift method, be sure that you get a confirmation dialog.
    This resets all settings in Photoshop to factory defaults.

  • Flash builder 4.7 crashes on start

    I am a creative cloud customer. And i was working on flash builder 4.6 without any problem. Today i was notified that i can install 4.7. And i did it.
    Unfortunately it doesn't work. It crashes on start and i don't know why. All other products work fine and previous version 4.6 worked fine also
    i have try to reinstall it but it hasn't resolved my problem and as a creative customer i can't manage to find the older version which works fine
    i have found this error log but honestly i can't really manage with this and don't know how to fix this
    # A fatal error has been detected by the Java Runtime Environment:
    #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000077980895, pid=5260, tid=4900
    # JRE version: 6.0_31-b05
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.6-b01 mixed mode windows-amd64 compressed oops)
    # Problematic frame:
    # C  [ntdll.dll+0x50895]
    # If you would like to submit a bug report, please visit:
    #   http://java.sun.com/webapps/bugreport/crash.jsp
    ---------------  T H R E A D  ---------------
    Current thread (0x00000000005bf800):  JavaThread "main" [_thread_in_Java, id=4900, stack(0x0000000000030000,0x0000000000130000)]
    siginfo: ExceptionCode=0xc0000005, reading address 0xffffffffffffffff
    Registers:
    RAX=0x000000000012d838, RBX=0x0000000000000002, RCX=0x000000000012d908, RDX=0x000000000012d878
    RSP=0x000000000012d828, RBP=0x000007feebeba5f0, RSI=0x0000000000000020, RDI=0x0000000000000000
    R8 =0x0000000000124000, R9 =0x0000000000000003, R10=0x0000000000000000, R11=0x0000000000002176
    R12=0x0000000000000000, R13=0x0000000000000050, R14=0x0000000000000003, R15=0x00000000005bf800
    RIP=0x0000000077980895, EFLAGS=0x0000000000010202
    Top of Stack: (sp=0x000000000012d828)
    0x000000000012d828:   0000000000000202 000000007793b239
    0x000000000012d838:   000007fffffde000 0000000007882a00
    0x000000000012d848:   0000000000000007 0000000000000000
    0x000000000012d858:   000000000012da60 000000000012da90
    0x000000000012d868:   0000000000124000 0000000200000000
    0x000000000012d878:   0000000000130000 0000000000124000
    0x000000000012d888:   0000000002906f50 0000000000000000
    0x000000000012d898:   0000000000000000 000000000012e080
    0x000000000012d8a8:   0000000006d10290 000000006da0c38a
    0x000000000012d8b8:   0000000000000000 00000000b02664fd
    0x000000000012d8c8:   0000ffff000000c0 00000000005c0498
    0x000000000012d8d8:   000000000012e0b0 000000006da0cce3
    0x000000000012d8e8:   0000000002943110 0000000000000000
    0x000000000012d8f8:   000000000012da38 0000000000000000
    0x000000000012d908:   000000000012e150 00000000028d5b22
    0x000000000012d918:   00000000028d4ed0 0000000000000000
    Instructions: (pc=0x0000000077980895)
    0x0000000077980875:   d0 00 00 00 4c 89 a1 d8 00 00 00 4c 89 a9 e0 00
    0x0000000077980885:   00 00 4c 89 b1 e8 00 00 00 4c 89 b9 f0 00 00 00
    0x0000000077980895:   0f ae 81 00 01 00 00 0f 29 81 a0 01 00 00 0f 29
    0x00000000779808a5:   89 b0 01 00 00 0f 29 91 c0 01 00 00 0f 29 99 d0
    Register to memory mapping:
    RAX=0x000000000012d838 is pointing into the stack for thread: 0x00000000005bf800
    RBX=0x0000000000000002 is an unknown value
    RCX=0x000000000012d908 is pointing into the stack for thread: 0x00000000005bf800
    RDX=0x000000000012d878 is pointing into the stack for thread: 0x00000000005bf800
    RSP=0x000000000012d828 is pointing into the stack for thread: 0x00000000005bf800
    RBP=0x000007feebeba5f0 is an unknown value
    RSI=0x0000000000000020 is an unknown value
    RDI=0x0000000000000000 is an unknown value
    R8 =0x0000000000124000 is pointing into the stack for thread: 0x00000000005bf800
    R9 =0x0000000000000003 is an unknown value
    R10=0x0000000000000000 is an unknown value
    R11=0x0000000000002176 is an unknown value
    R12=0x0000000000000000 is an unknown value
    R13=0x0000000000000050 is an unknown value
    R14=0x0000000000000003 is an unknown value
    R15=0x00000000005bf800 is a thread
    Stack: [0x0000000000030000,0x0000000000130000],  sp=0x000000000012d828,  free space=1014k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C  [ntdll.dll+0x50895]  RtlCaptureContext+0x85
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    v  blob 0x000000000290707f
    j  java.util.jar.Attributes.putValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; +13
    j  java.util.jar.Attributes.read(Ljava/util/jar/Manifest$FastInputStream;[B)V+301
    j  java.util.jar.Manifest.read(Ljava/io/InputStream;)V+21
    j  java.util.jar.Manifest.<init>(Ljava/io/InputStream;)V+28
    j  java.util.jar.JarFile.getManifestFromReference()Ljava/util/jar/Manifest;+60
    j  java.util.jar.JarFile.getManifest()Ljava/util/jar/Manifest;+1
    j  sun.net.www.protocol.jar.URLJarFile.isSuperMan()Z+9
    j  sun.net.www.protocol.jar.URLJarFile.getManifest()Ljava/util/jar/Manifest;+1
    j  java.util.jar.JarFile.maybeInstantiateVerifier()V+70
    j  java.util.jar.JarFile.getInputStream(Ljava/util/zip/ZipEntry;)Ljava/io/InputStream;+1
    j  sun.net.www.protocol.jar.JarURLConnection.getInputStream()Ljava/io/InputStream;+88
    j  java.net.URL.openStream()Ljava/io/InputStream;+4
    j  org.eclipse.osgi.baseadaptor.HookRegistry.mergeFileHookConfigurators(Ljava/util/List;Ljav a/util/List;)V+90
    j  org.eclipse.osgi.baseadaptor.HookRegistry.initialize()[Lorg/eclipse/osgi/framework/log/Fr ameworkLogEntry;+21
    j  org.eclipse.osgi.baseadaptor.BaseAdaptor.<init>([Ljava/lang/String;)V+29
    v  ~StubRoutines::call_stub
    j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Lj ava/lang/Object;)Ljava/lang/Object;+0
    j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Obje ct;+72
    j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/ Object;+5
    j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
    j  org.eclipse.core.runtime.adaptor.EclipseStarter.createAdaptor()Lorg/eclipse/osgi/framewor k/adaptor/FrameworkAdaptor;+72
    j  org.eclipse.core.runtime.adaptor.EclipseStarter.startup([Ljava/lang/String;Ljava/lang/Run nable;)Lorg/osgi/framework/BundleContext;+65
    j  org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnabl e;)Ljava/lang/Object;+34
    v  ~StubRoutines::call_stub
    j  sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object; [Ljava/lang/Object;)Ljava/lang/Object;+0
    j  sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/l ang/Object;+87
    j  sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Lja va/lang/Object;+6
    j  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+ 161
    j  org.eclipse.equinox.launcher.Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V+21 1
    j  org.eclipse.equinox.launcher.Main.basicRun([Ljava/lang/String;)V+126
    j  org.eclipse.equinox.launcher.Main.run([Ljava/lang/String;)I+4
    v  ~StubRoutines::call_stub
    ---------------  P R O C E S S  ---------------
    Java Threads: ( => current thread )
      0x0000000005f80800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2912, stack(0x0000000006af0000,0x0000000006bf0000)]
      0x0000000005f78800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=4260, stack(0x00000000069f0000,0x0000000006af0000)]
      0x0000000005f5b000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=4804, stack(0x00000000068f0000,0x00000000069f0000)]
      0x0000000005f59000 JavaThread "Attach Listener" daemon [_thread_blocked, id=6080, stack(0x00000000067f0000,0x00000000068f0000)]
      0x0000000005f57800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5632, stack(0x00000000066f0000,0x00000000067f0000)]
      0x0000000005edb800 JavaThread "Finalizer" daemon [_thread_blocked, id=5716, stack(0x00000000065f0000,0x00000000066f0000)]
      0x0000000005ed4800 JavaThread "Reference Handler" daemon [_thread_blocked, id=4068, stack(0x00000000064f0000,0x00000000065f0000)]
    =>0x00000000005bf800 JavaThread "main" [_thread_in_Java, id=4900, stack(0x0000000000030000,0x0000000000130000)]
    Other Threads:
      0x000000000068f800 VMThread [stack: 0x00000000063f0000,0x00000000064f0000] [id=5372]
      0x0000000005f89800 WatcherThread [stack: 0x0000000006bf0000,0x0000000006cf0000] [id=4780]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    PSYoungGen      total 152896K, used 5243K [0x00000000eaab0000, 0x00000000f5550000, 0x0000000100000000)
      eden space 131072K, 4% used [0x00000000eaab0000,0x00000000eafcec78,0x00000000f2ab0000)
      from space 21824K, 0% used [0x00000000f4000000,0x00000000f4000000,0x00000000f5550000)
      to   space 21824K, 0% used [0x00000000f2ab0000,0x00000000f2ab0000,0x00000000f4000000)
    PSOldGen        total 349568K, used 0K [0x00000000c0000000, 0x00000000d5560000, 0x00000000eaab0000)
      object space 349568K, 0% used [0x00000000c0000000,0x00000000c0000000,0x00000000d5560000)
    PSPermGen       total 65536K, used 5468K [0x00000000b0000000, 0x00000000b4000000, 0x00000000c0000000)
      object space 65536K, 8% used [0x00000000b0000000,0x00000000b0557120,0x00000000b4000000)
    Code Cache  [0x00000000028d0000, 0x0000000002b40000, 0x00000000058d0000)
    total_blobs=240 nmethods=33 adapters=161 free_code_cache=49863168 largest_free_block=10752
    Dynamic libraries:
    0x0000000000400000 - 0x000000000040e000     C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\FlashBuilder.exe
    0x0000000077930000 - 0x0000000077ad9000     C:\Windows\SYSTEM32\ntdll.dll
    0x0000000077250000 - 0x000000007736f000     C:\Windows\system32\kernel32.dll
    0x000007fefe030000 - 0x000007fefe09c000     C:\Windows\system32\KERNELBASE.dll
    0x0000000077830000 - 0x000000007792a000     C:\Windows\system32\USER32.dll
    0x000007fefe6e0000 - 0x000007fefe747000     C:\Windows\system32\GDI32.dll
    0x000007fefea80000 - 0x000007fefea8e000     C:\Windows\system32\LPK.dll
    0x000007feffa40000 - 0x000007feffb09000     C:\Windows\system32\USP10.dll
    0x000007fefe7d0000 - 0x000007fefe86f000     C:\Windows\system32\msvcrt.dll
    0x000007fefc710000 - 0x000007fefc904000     C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514 _none_fa396087175ac9ac\COMCTL32.dll
    0x000007fefeb20000 - 0x000007fefeb91000     C:\Windows\system32\SHLWAPI.dll
    0x000007fefdc20000 - 0x000007fefdc77000     C:\Windows\system32\apphelp.dll
    0x000007feebc60000 - 0x000007feec0c7000     C:\Windows\AppPatch\AppPatch64\AcXtrnal.DLL
    0x000007fefea90000 - 0x000007fefeabe000     C:\Windows\system32\IMM32.DLL
    0x000007feff930000 - 0x000007feffa39000     C:\Windows\system32\MSCTF.dll
    0x0000000180000000 - 0x0000000180006000     C:\PROGRA~2\KASPER~1\KASPER~1\x64\kloehk.dll
    0x000007fefe210000 - 0x000007fefe2eb000     C:\Windows\system32\ADVAPI32.dll
    0x000007fefe440000 - 0x000007fefe45f000     C:\Windows\SYSTEM32\sechost.dll
    0x000007feffb10000 - 0x000007feffc3d000     C:\Windows\system32\RPCRT4.dll
    0x0000000000200000 - 0x0000000000215000     C:\PROGRA~2\KASPER~1\KASPER~1\x64\sbhook64.dll
    0x000007fefe870000 - 0x000007fefea73000     C:\Windows\system32\ole32.dll
    0x0000000072000000 - 0x0000000072012000     C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.100.v20110502\ec lipse_1406.dll
    0x000007fefcda0000 - 0x000007fefcdac000     C:\Windows\system32\VERSION.dll
    0x000000006d800000 - 0x000000006dfb8000     C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\jre\bin\server\jvm.dll
    0x000007fefbb70000 - 0x000007fefbbab000     C:\Windows\system32\WINMM.dll
    0x000000006d770000 - 0x000000006d77e000     C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\jre\bin\verify.dll
    0x000000006d3b0000 - 0x000000006d3d7000     C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\jre\bin\java.dll
    0x000000006d7c0000 - 0x000000006d7d2000     C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\jre\bin\zip.dll
    0x000007fefd810000 - 0x000007fefd827000     C:\Windows\system32\CRYPTSP.dll
    0x000007fefd2e0000 - 0x000007fefd327000     C:\Windows\system32\rsaenh.dll
    0x000007fefd080000 - 0x000007fefd09e000     C:\Windows\system32\USERENV.dll
    0x000007fefdd90000 - 0x000007fefdd9f000     C:\Windows\system32\profapi.dll
    0x000007fefdc80000 - 0x000007fefdc8f000     C:\Windows\system32\CRYPTBASE.dll
    0x000000006d610000 - 0x000000006d627000     C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\jre\bin\net.dll
    0x000007fefe3d0000 - 0x000007fefe41d000     C:\Windows\system32\WS2_32.dll
    0x000007fefe200000 - 0x000007fefe208000     C:\Windows\system32\NSI.dll
    0x000007fefd5c0000 - 0x000007fefd615000     C:\Windows\system32\mswsock.dll
    0x000007fefd5b0000 - 0x000007fefd5b7000     C:\Windows\System32\wship6.dll
    0x000007fefc3e0000 - 0x000007fefc3f5000     C:\Windows\system32\NLAapi.dll
    0x000007fef8390000 - 0x000007fef83a5000     C:\Windows\system32\napinsp.dll
    0x000007fef8370000 - 0x000007fef8389000     C:\Windows\system32\pnrpnsp.dll
    0x000007fef95f0000 - 0x000007fef961e000     C:\Program Files\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL
    0x0000000077b00000 - 0x0000000077b07000     C:\Windows\system32\PSAPI.DLL
    0x000007fefd390000 - 0x000007fefd3eb000     C:\Windows\system32\DNSAPI.dll
    0x000007fef8360000 - 0x000007fef836b000     C:\Windows\System32\winrnr.dll
    0x000007fefcea0000 - 0x000007fefcea7000     C:\Windows\System32\wshtcpip.dll
    0x000007fefb980000 - 0x000007fefb9a7000     C:\Windows\system32\IPHLPAPI.DLL
    0x000007fefb930000 - 0x000007fefb93b000     C:\Windows\system32\WINNSI.DLL
    0x000007fef94d0000 - 0x000007fef94d8000     C:\Windows\system32\rasadhlp.dll
    0x000007fefb850000 - 0x000007fefb8a3000     C:\Windows\System32\fwpuclnt.dll
    VM Arguments:
    jvm_args: -Xms512m -Xmx1024m -XX:MaxPermSize=256m -XX:PermSize=64m -Dorg.eclipse.equinox.p2.reconciler.dropins.directory=eclipse/dropins -Declipse.application=com.adobe.flexbuilder.standalone.FlashBuilderApplication
    java_command: <unknown>
    Launcher Type: generic
    Environment Variables:
    CLASSPATH=.;C:\Program Files (x86)\QuickTime\QTSystem\QTJava.zip
    PATH=C:/Program Files/Adobe/Adobe Flash Builder 4.7 (64 Bit)/jre/bin/server;C:/Program Files/Adobe/Adobe Flash Builder 4.7 (64 Bit)/jre/bin;C:/Program Files/Adobe/Adobe Flash Builder 4.7 (64 Bit)/jre/lib/amd64;C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsP owerShell\v1.0\;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\McLaren Electronic Systems\ATLAS 9\Bin\;C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit);
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 23 Stepping 6, GenuineIntel
    ---------------  S Y S T E M  ---------------
    OS: Windows 7 , 64 bit Build 7601 Service Pack 1
    CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 23 stepping 6, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1
    Memory: 4k page, physical 3144236k(1492332k free), swap 6286620k(3774552k free)
    vm_info: Java HotSpot(TM) 64-Bit Server VM (20.6-b01) for windows-amd64 JRE (1.6.0_31-b05), built on Feb  3 2012 18:34:57 by "java_re" with MS VC++ 8.0 (VS2005)
    time: Fri Dec 07 17:17:17 2012
    elapsed time: 0 seconds

    I finally found what probelem i have. Visual studio has corrupted one dll. Flahs is crashing due to my browser in 64bits which has problem. I found that it could be a probleme while installing a .net framework. But unfortunately i can't delete or uninstall this framework, i had no option to uninstall it. I guess the best way is to format my computer. But as i am waiting for a new worksatation dedicated to your tool and zbrush of course(for stage3d is a real improvment), i won't format it now it would take too much time to resintall everything and i would have to do this again when i will received my workstation
    If someone has problem like that there might be a solution(not the best but at least it works)
    To solve my problem as i have to make an app in flash builder. I downloaded the 32 bits version of flash builder 4.7. And i will resintall the 64 bits as soon as i received my workstation.

  • Program Crashing at sqlite3_Prepare help!!!!

    Hi guys,
    I am trying to make a program which inserts values into a sqlite database. For some reason my program crashes every time I press the button to insert the value. I have been trying to fix this for a long time but have not been able to fix it. Can you please have a look at my code and tell me what's wrong. Im going to put the code of my .m files on here.
    BpValue.m
    #import "BpValue.h"
    static sqlite3 *database = nil;
    static sqlite3_stmt *addStmt = nil;
    @implementation BpValue
    @synthesize valueID, value, isDirty, isDetailViewHydrated;
    + (void) finalizeStatements {
    if(database) sqlite3_close(database);
    if (addStmt) sqlite3_finalize(addStmt);
    - (id) initWithPrimaryKey:(NSInteger) pk {
    [super init];
    valueID = pk;
    isDetailViewHydrated = NO;
    return self;
    - (void) addValue {
    if(addStmt == nil) {
    const char *sql = "insert into BPressure(Value) Values(?)";
    if(sqlite3preparev2(database, sql, -1, &addStmt, NULL) != SQLITE_OK)
    NSAssert1(0, @"Error while creating add statement. '%s'", sqlite3_errmsg(database));
    sqlite3binddouble(addStmt, 1, [value doubleValue]);
    if(SQLITE_DONE != sqlite3_step(addStmt))
    NSAssert1(0, @"Error while inserting data. '%s'", sqlite3_errmsg(database));
    else
    //SQLite provides a method to get the last primary key inserted by using sqlite3last_insertrowid
    valueID = sqlite3last_insertrowid(database);
    //Reset the add statement.
    sqlite3_reset(addStmt);
    - (void) dealloc {
    [value release];
    [super dealloc];
    @end
    MyViewController.m
    #import "MyViewController.h"
    #import "HelloWorldAppDelegate.h"
    #import "sqlite3.h"
    #import "BpValue.h"
    @implementation MyViewController
    @synthesize textField;
    @synthesize label;
    @synthesize string;
    - (IBAction)changeGreeting:(id)sender {
    HelloWorldAppDelegate *appDelegate = (HelloWorldAppDelegate *)[[UIApplication sharedApplication] delegate];
    BpValue *bpObj = [[BpValue alloc] initWithPrimaryKey:0];
    NSDecimalNumber *temp = [[NSDecimalNumber alloc] initWithString:textField.text];
    bpObj.value = temp;
    [temp release];
    self.string = textField.text;
    NSString *nameString = string;
    if ([nameString length] == 0) {
    nameString = @"World";
    NSString *greeting = [[NSString alloc] initWithFormat:@"Hello, %@!", nameString];
    label.text = greeting;
    //Add the object
    [appDelegate addValue:bpObj];
    [greeting release];
    - (BOOL)textFieldShouldReturn:(UITextField *)theTextField {
    if (theTextField == textField) {
    [textField resignFirstResponder];
    return YES;
    - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
    if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) {
    // Initialization code
    return self;
    Implement loadView if you want to create a view hierarchy programmatically
    - (void)loadView {
    If you need to do additional setup after loading the view, override viewDidLoad.
    - (void)viewDidLoad {
    - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
    // Return YES for supported orientations
    return (interfaceOrientation == UIInterfaceOrientationPortrait);
    - (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning]; // Releases the view if it doesn't have a superview
    // Release anything that's not essential, such as cached data
    - (void)dealloc {
    [super dealloc];
    [label release];
    [string release];
    [super dealloc];
    @end
    HelloWorldAppDelegate.m
    #import "MyViewController.h"
    #import "HelloWorldAppDelegate.h"
    #import "BpValue.h"
    @implementation HelloWorldAppDelegate
    @synthesize window;
    @synthesize myViewController;
    @synthesize valuesArray;
    - (void)applicationDidFinishLaunching:(UIApplication *)application {
    //Copy database to the user's phone if needed.
    [self copyDatabaseIfNeeded];
    NSMutableArray *tempArray = [[NSMutableArray alloc] init];
    self.valuesArray = tempArray;
    [tempArray release];
    MyViewController *aViewController = [[MyViewController alloc]
    initWithNibName:@"ControllerView" bundle:[NSBundle mainBundle]];
    self.myViewController = aViewController;
    [aViewController release];
    UIView *controllersView = [myViewController view];
    [window addSubview:controllersView];
    [window makeKeyAndVisible];
    - (void)applicationWillTerminate:(UIApplication *)application {
    // Save data if appropriate
    //Save all the dirty coffee objects and free memory.
    [self.valuesArray makeObjectsPerformSelector:@selector(saveAllData)];
    [BpValue finalizeStatements];
    - (void)dealloc {
    [valuesArray release];
    [myViewController release];
    [window release];
    [super dealloc];
    - (void) copyDatabaseIfNeeded {
    //Using NSFileManager we can perform many file system operations.
    NSFileManager *fileManager = [NSFileManager defaultManager];
    NSError *error;
    NSString *dbPath = [self getDBPath];
    BOOL success = [fileManager fileExistsAtPath:dbPath];
    if(!success) {
    NSString *defaultDBPath = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"Database.sqlite"];
    success = [fileManager copyItemAtPath:defaultDBPath toPath:dbPath error:&error];
    if (!success)
    NSAssert1(0, @"Failed to create writable database file with message '%@'.", [error localizedDescription]);
    - (NSString *) getDBPath {
    //Search for standard documents using NSSearchPathForDirectoriesInDomains
    //First Param = Searching the documents directory
    //Second Param = Searching the Users directory and not the System
    //Expand any tildes and identify home directories.
    NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory , NSUserDomainMask, YES);
    NSString *documentsDir = [paths objectAtIndex:0];
    return [documentsDir stringByAppendingPathComponent:@"Database.sqlite"];
    - (void) addValue:(BpValue *)bpObj {
    //Add it to the database.
    [bpObj addValue];
    //Add it to the coffee array.
    [valuesArray addObject:bpObj];
    @end
    Please if someone knows whats wrong, please tell me. It crashes at sqlite_prepare3. Following is part of the crash report
    Exception Type: EXCBADACCESS (SIGBUS)
    Exception Codes: KERNPROTECTIONFAILURE at 0x0000000000000030
    Crashed Thread: 0
    Application Specific Information:
    iPhone Simulator 1.0 (70), iPhone OS 2.0 (5A345)
    Thread 0 Crashed:
    0 libsqlite3.0.dylib 0x93d211f0 sqlite3Prepare + 48
    1 HelloWorld 0x000031c8 -BpValue addValue + 89 (BpValue.m:38)
    2 HelloWorld 0x00002b70 -HelloWorldAppDelegate addValue: + 36 (HelloWorldAppDelegate.m:84)
    3 HelloWorld 0x00002e6b -MyViewController changeGreeting: + 509 (MyViewController.m:41)
    4 UIKit 0x30a5e25e -UIApplication sendAction:to:from:forEvent: + 116
    5 UIKit 0x30abb022 -UIControl sendAction:to:forEvent: + 67
    6 UIKit 0x30abb4ea -UIControl(Internal) _sendActionsForEvents:withEvent: + 478
    7 UIKit 0x30aba830 -UIControl touchesEnded:withEvent: + 483
    8 UIKit 0x30a75c0b -UIWindow sendEvent: + 454
    9 UIKit 0x30a65e07 -UIApplication sendEvent: + 269
    10 UIKit 0x30a6522a _UIApplicationHandleEvent + 4407
    11 GraphicsServices 0x31699522 SendEvent + 35
    12 GraphicsServices 0x3169b88c PurpleEventTimerCallBack + 276
    13 com.apple.CoreFoundation 0x971be615 CFRunLoopRunSpecific + 3141
    14 com.apple.CoreFoundation 0x971becf8 CFRunLoopRunInMode + 88
    15 GraphicsServices 0x31699d38 GSEventRunModal + 217
    16 GraphicsServices 0x31699dfd GSEventRun + 115
    17 UIKit 0x30a5dadb -UIApplication _run + 440
    18 UIKit 0x30a68ce4 UIApplicationMain + 1258
    19 HelloWorld 0x00002650 main + 102 (main.m:14)
    20 HelloWorld 0x000025be start + 54
    Thread 1:
    0 libSystem.B.dylib 0x93b624a6 machmsgtrap + 10
    1 libSystem.B.dylib 0x93b69c9c mach_msg + 72
    2 com.apple.CoreFoundation 0x971be0ce CFRunLoopRunSpecific + 1790
    3 com.apple.CoreFoundation 0x971becf8 CFRunLoopRunInMode + 88
    4 WebCore 0x32a8a450 RunWebThread + 384
    5 libSystem.B.dylib 0x93b936f5 pthreadstart + 321
    6 libSystem.B.dylib 0x93b935b2 thread_start + 34
    Thread 2:
    0 libSystem.B.dylib 0x93b624a6 machmsgtrap + 10
    1 libSystem.B.dylib 0x93b69c9c mach_msg + 72
    2 GraphicsServices 0x3169ce0a EventReceiveThread + 467
    3 libSystem.B.dylib 0x93b936f5 pthreadstart + 321
    4 libSystem.B.dylib 0x93b935b2 thread_start + 34
    Thread 3:
    0 libSystem.B.dylib 0x93b624a6 machmsgtrap + 10
    1 libSystem.B.dylib 0x93b69c9c mach_msg + 72
    2 com.apple.CoreFoundation 0x971be0ce CFRunLoopRunSpecific + 1790
    3 com.apple.CoreFoundation 0x971becf8 CFRunLoopRunInMode + 88
    4 com.apple.CFNetwork 0x95a59a32 CFURLCacheWorkerThread(void*) + 396
    5 libSystem.B.dylib 0x93b936f5 pthreadstart + 321
    6 libSystem.B.dylib 0x93b935b2 thread_start + 34
    Thread 0 crashed with X86 Thread State (32-bit):
    eax: 0x000040b0 ebx: 0x0000317d ecx: 0xffffffff edx: 0x00003e18
    edi: 0x00000000 esi: 0x004123a0 ebp: 0xbfffe5c8 esp: 0xbfffe470
    ss: 0x0000001f efl: 0x00010282 eip: 0x93d211f0 cs: 0x00000017
    ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
    cr2: 0x00000030

    thanks realized that soon after posting...everything works now yay!!

  • Program Crashing at sqlite_prepare3 help!!!!

    Hi guys,
    I am trying to make a program which inserts values into a sqlite database. For some reason my program crashes every time I press the button to insert the value. I have been trying to fix this for a long time but have not been able to fix it. Can you please have a look at my code and tell me what's wrong. Im going to put the code of my .m files on here.
    BpValue.m
    #import "BpValue.h"
    static sqlite3 *database = nil;
    static sqlite3_stmt *addStmt = nil;
    @implementation BpValue
    @synthesize valueID, value, isDirty, isDetailViewHydrated;
    + (void) finalizeStatements {
    if(database) sqlite3_close(database);
    if (addStmt) sqlite3_finalize(addStmt);
    - (id) initWithPrimaryKey:(NSInteger) pk {
    [super init];
    valueID = pk;
    isDetailViewHydrated = NO;
    return self;
    - (void) addValue {
    if(addStmt == nil) {
    const char *sql = "insert into BPressure(Value) Values(?)";
    if(sqlite3preparev2(database, sql, -1, &addStmt, NULL) != SQLITE_OK)
    NSAssert1(0, @"Error while creating add statement. '%s'", sqlite3_errmsg(database));
    sqlite3binddouble(addStmt, 1, [value doubleValue]);
    if(SQLITE_DONE != sqlite3_step(addStmt))
    NSAssert1(0, @"Error while inserting data. '%s'", sqlite3_errmsg(database));
    else
    //SQLite provides a method to get the last primary key inserted by using sqlite3last_insertrowid
    valueID = sqlite3last_insertrowid(database);
    //Reset the add statement.
    sqlite3_reset(addStmt);
    - (void) dealloc {
    [value release];
    [super dealloc];
    @end
    MyViewController.m
    #import "MyViewController.h"
    #import "HelloWorldAppDelegate.h"
    #import "sqlite3.h"
    #import "BpValue.h"
    @implementation MyViewController
    @synthesize textField;
    @synthesize label;
    @synthesize string;
    - (IBAction)changeGreeting:(id)sender {
    HelloWorldAppDelegate *appDelegate = (HelloWorldAppDelegate *)[[UIApplication sharedApplication] delegate];
    BpValue *bpObj = [[BpValue alloc] initWithPrimaryKey:0];
    NSDecimalNumber *temp = [[NSDecimalNumber alloc] initWithString:textField.text];
    bpObj.value = temp;
    [temp release];
    self.string = textField.text;
    NSString *nameString = string;
    if ([nameString length] == 0) {
    nameString = @"World";
    NSString *greeting = [[NSString alloc] initWithFormat:@"Hello, %@!", nameString];
    label.text = greeting;
    //Add the object
    [appDelegate addValue:bpObj];
    [greeting release];
    - (BOOL)textFieldShouldReturn:(UITextField *)theTextField {
    if (theTextField == textField) {
    [textField resignFirstResponder];
    return YES;
    - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
    if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) {
    // Initialization code
    return self;
    Implement loadView if you want to create a view hierarchy programmatically
    - (void)loadView {
    If you need to do additional setup after loading the view, override viewDidLoad.
    - (void)viewDidLoad {
    - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
    // Return YES for supported orientations
    return (interfaceOrientation == UIInterfaceOrientationPortrait);
    - (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning]; // Releases the view if it doesn't have a superview
    // Release anything that's not essential, such as cached data
    - (void)dealloc {
    [super dealloc];
    [label release];
    [string release];
    [super dealloc];
    @end
    HelloWorldAppDelegate.m
    #import "MyViewController.h"
    #import "HelloWorldAppDelegate.h"
    #import "BpValue.h"
    @implementation HelloWorldAppDelegate
    @synthesize window;
    @synthesize myViewController;
    @synthesize valuesArray;
    - (void)applicationDidFinishLaunching:(UIApplication *)application {
    //Copy database to the user's phone if needed.
    [self copyDatabaseIfNeeded];
    NSMutableArray *tempArray = [[NSMutableArray alloc] init];
    self.valuesArray = tempArray;
    [tempArray release];
    MyViewController *aViewController = [[MyViewController alloc]
    initWithNibName:@"ControllerView" bundle:[NSBundle mainBundle]];
    self.myViewController = aViewController;
    [aViewController release];
    UIView *controllersView = [myViewController view];
    [window addSubview:controllersView];
    [window makeKeyAndVisible];
    - (void)applicationWillTerminate:(UIApplication *)application {
    // Save data if appropriate
    //Save all the dirty coffee objects and free memory.
    [self.valuesArray makeObjectsPerformSelector:@selector(saveAllData)];
    [BpValue finalizeStatements];
    - (void)dealloc {
    [valuesArray release];
    [myViewController release];
    [window release];
    [super dealloc];
    - (void) copyDatabaseIfNeeded {
    //Using NSFileManager we can perform many file system operations.
    NSFileManager *fileManager = [NSFileManager defaultManager];
    NSError *error;
    NSString *dbPath = [self getDBPath];
    BOOL success = [fileManager fileExistsAtPath:dbPath];
    if(!success) {
    NSString *defaultDBPath = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"Database.sqlite"];
    success = [fileManager copyItemAtPath:defaultDBPath toPath:dbPath error:&error];
    if (!success)
    NSAssert1(0, @"Failed to create writable database file with message '%@'.", [error localizedDescription]);
    - (NSString *) getDBPath {
    //Search for standard documents using NSSearchPathForDirectoriesInDomains
    //First Param = Searching the documents directory
    //Second Param = Searching the Users directory and not the System
    //Expand any tildes and identify home directories.
    NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory , NSUserDomainMask, YES);
    NSString *documentsDir = [paths objectAtIndex:0];
    return [documentsDir stringByAppendingPathComponent:@"Database.sqlite"];
    - (void) addValue:(BpValue *)bpObj {
    //Add it to the database.
    [bpObj addValue];
    //Add it to the coffee array.
    [valuesArray addObject:bpObj];
    @end
    Please if someone knows whats wrong, please tell me. It crashes at sqlite_prepare3. Following is part of the crash report
    Exception Type: EXCBADACCESS (SIGBUS)
    Exception Codes: KERNPROTECTIONFAILURE at 0x0000000000000030
    Crashed Thread: 0
    Application Specific Information:
    iPhone Simulator 1.0 (70), iPhone OS 2.0 (5A345)
    Thread 0 Crashed:
    0 libsqlite3.0.dylib 0x93d211f0 sqlite3Prepare + 48
    1 HelloWorld 0x000031c8 -[BpValue addValue] + 89 (BpValue.m:38)
    2 HelloWorld 0x00002b70 -[HelloWorldAppDelegate addValue:] + 36 (HelloWorldAppDelegate.m:84)
    3 HelloWorld 0x00002e6b -[MyViewController changeGreeting:] + 509 (MyViewController.m:41)
    4 UIKit 0x30a5e25e -[UIApplication sendAction:to:from:forEvent:] + 116
    5 UIKit 0x30abb022 -[UIControl sendAction:to:forEvent:] + 67
    6 UIKit 0x30abb4ea -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 478
    7 UIKit 0x30aba830 -[UIControl touchesEnded:withEvent:] + 483
    8 UIKit 0x30a75c0b -[UIWindow sendEvent:] + 454
    9 UIKit 0x30a65e07 -[UIApplication sendEvent:] + 269
    10 UIKit 0x30a6522a _UIApplicationHandleEvent + 4407
    11 GraphicsServices 0x31699522 SendEvent + 35
    12 GraphicsServices 0x3169b88c PurpleEventTimerCallBack + 276
    13 com.apple.CoreFoundation 0x971be615 CFRunLoopRunSpecific + 3141
    14 com.apple.CoreFoundation 0x971becf8 CFRunLoopRunInMode + 88
    15 GraphicsServices 0x31699d38 GSEventRunModal + 217
    16 GraphicsServices 0x31699dfd GSEventRun + 115
    17 UIKit 0x30a5dadb -[UIApplication _run] + 440
    18 UIKit 0x30a68ce4 UIApplicationMain + 1258
    19 HelloWorld 0x00002650 main + 102 (main.m:14)
    20 HelloWorld 0x000025be start + 54
    Thread 1:
    0 libSystem.B.dylib 0x93b624a6 machmsgtrap + 10
    1 libSystem.B.dylib 0x93b69c9c mach_msg + 72
    2 com.apple.CoreFoundation 0x971be0ce CFRunLoopRunSpecific + 1790
    3 com.apple.CoreFoundation 0x971becf8 CFRunLoopRunInMode + 88
    4 WebCore 0x32a8a450 RunWebThread + 384
    5 libSystem.B.dylib 0x93b936f5 pthreadstart + 321
    6 libSystem.B.dylib 0x93b935b2 thread_start + 34
    Thread 2:
    0 libSystem.B.dylib 0x93b624a6 machmsgtrap + 10
    1 libSystem.B.dylib 0x93b69c9c mach_msg + 72
    2 GraphicsServices 0x3169ce0a EventReceiveThread + 467
    3 libSystem.B.dylib 0x93b936f5 pthreadstart + 321
    4 libSystem.B.dylib 0x93b935b2 thread_start + 34
    Thread 3:
    0 libSystem.B.dylib 0x93b624a6 machmsgtrap + 10
    1 libSystem.B.dylib 0x93b69c9c mach_msg + 72
    2 com.apple.CoreFoundation 0x971be0ce CFRunLoopRunSpecific + 1790
    3 com.apple.CoreFoundation 0x971becf8 CFRunLoopRunInMode + 88
    4 com.apple.CFNetwork 0x95a59a32 CFURLCacheWorkerThread(void*) + 396
    5 libSystem.B.dylib 0x93b936f5 pthreadstart + 321
    6 libSystem.B.dylib 0x93b935b2 thread_start + 34
    Thread 0 crashed with X86 Thread State (32-bit):
    eax: 0x000040b0 ebx: 0x0000317d ecx: 0xffffffff edx: 0x00003e18
    edi: 0x00000000 esi: 0x004123a0 ebp: 0xbfffe5c8 esp: 0xbfffe470
    ss: 0x0000001f efl: 0x00010282 eip: 0x93d211f0 cs: 0x00000017
    ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
    cr2: 0x00000030

    works now...hadn't initialized the database

  • ITunes 10.6.3 crashes on start up

    iTunes started to crash on start up a few weeks ago. Its generally OK for maybe a minute or so and then I get the spinning wheel and it does not respond and I have to force it to quit. I'm not sure if its related to downloading podcasts which I have a lot of and which it does automatically each time I start it up. For w few days its seemed to have sorted itself out but now the same problem is back.
    Does anyone know what I can do to stop this?
    Thanks

    Refer to following article to remove SC file(s): 
    Win 7/Vista http://support.apple.com/kb/TS2363
    XP http://support.apple.com/kb/TS1776
    Then proceed to repair your Quicktime.
    Win 7/Vista  START > Control Panel > Programs n Features / highlight QUICKTIME and click CHANGE then REPAIR.
    XP - START > Control Panel > Add n Remove Programs / highlight QUICKTIME and click CHANGE then REPAIR.

Maybe you are looking for