Program crashes regularly

I've got a group of programs that crash way too often to be considered coincidental. The group includes Firefox 2.0, SuperDuper, XCode 2.4.1, and iTune 7.0.2. All are the latest Universal versions and I've removed and reinstalled all of them multiple times.
My setup:
Mac Pro 2.66 GHz, 4 GB RAM (2 GB Apple, 2 GB Crucial certified to Mac Pro specifications). 3 500 GB harddrives (1 stock 500 GB Seagate, and 2 identical to stock Seagate 500 GB's). I use one of the Seagates as a destination for an image of the main drive. I use the 3rd Seagate as the repository for all my Parallels VMs (Win XP, Ubuntu 6.10, and Fedora Core 5).
I've run the TechTool Deluxe multiple times and find no evidence of any hardware problems. I've removed the Crucial Memory and the problem still occurs. I've swapped the Crucial for the stock Memory, and the problems still occur. I've done deep verifications of all the hard drives. I can't get a bead on the causes of these problems. I've sent EVERY crash report to Apple and I've tried to dissect what the programs were doing at the time of crash. Nothing jumps out. I can say that the problems occur more frequently when the machine comes "out of sleep" than at any other time, but I don't leave programs running while the machine is "sleeping".
The fact that these programs come from both Apple and 3rd Parties doesn't suggest a particular programming issue unless it is in the SDK for Tiger.
I is hard to seek help from Apple when the problems aren't consistent. It is hard to seek help from the program developers when their program isn't alone with the problems.
I'm running out of ideas short of completely reinstalling the OS and reinstalling all of the apps. At this point, that would be a really time consuming process as I have quite an array of 3rd party applications installed.
Any thoughts or suggestions on whether my problems are common or rare and whether there are other things I might check out before taking the big hammer. These crashes occur often enough to be really annoying, but not consistently enough that I can predict when they'll occur.
Help or ideas appreciated.

I don't know exactly what the problem is, but the crash reports in the log folder have been reviewed by the developers of SuperDuper! and Onyx. They both confirm that the error is in 10.4.8 and that they're getting many reports of problems that emerged when 10.4.8 was released. That led to careful evaluation of the crash logs and bug reports filed to Apple regarding the crashes. I don't know what the bug numbers are and the crash reports don't mean a whole lot to me without access to the program source code. I know that lots of people use these programs without problems, but with the vendors acknowledging significant problems under 10.4.8, one can only wait it out until Apple addresses the problem(s) in a future update.
The problem with SuperDuper is replicable and occurs under a very specific circumstance that many people may not use. I use the scheduler to image my harddrive nightly (I've got 3 identical 500 GB drives, not in a RAID configuration). Typically SuperDuper has to awake from sleep to run as I don't want it interrupting my own work. If the machine has been asleep for a long time (more than 2 hours), it seems to have some difficulty awaking for SuperDuper. The program runs for a few minutes and then crashes, typically right after repairing permissions on the source drive and before starting to actually image to the new drive. If I run SuperDuper directly, without waking the machine from sleep, it runs flawlessly. I have the same problems with ONyX - it runs unattended, requiring the machine to awaken from sleep. These two problems seem related to one specific problem with 10.4.8.
The problems with Firefox are harder to duplicate, except that they are pretty consistent. Firefox seems to crash for no apparent reason. Typically I'm navigating on a page that has a lot of fancy html code. Firefox just barfs and tosses me out. Other times, I can load Firefox cold and have it fail run out of the box.
iTunes crashes under a variety of circumstances, none predictible. And the list goes on.
I've done heavy troubleshooting, including removing RAM, moving RAM around, removing hard drives, switching hard drives from Bay 2 to Bay 1 (Bay 2 is a clone of Bay 1 and I've made the drives interchangeable). I've done extensive RAM testing 100's of replications. I've tested hardware with the AHT as well as TechTool and I've run these tests immediately after one of these crashes occurs and before they occur.
I'm convinced the problem is not hardware. Were it not for the solid responses from the SuperDuper and ONYx developers, I would do a reformat and reinstall, but I'm convinced it is a waste of time unless I'm willing to do it for a downgrade. Since that is the only way to do it, I'm going to proceed slowly.
Thanks for your response.

Similar Messages

  • Program crashes when I try to load EPUB/ASCM ebook file or transfer the file to Nook ereader.

    I recently checked out an ebook from my library's OverDrive and downloaded the EPub file to my Mac OS 10.10.1 computer. File downloaded to computer without incident, showing up as a acsm file in my Downloads folder. But when I attempt to open the file in Adobe Digital Editions 4.0.2 in order to transfer it to my Nook ereader, a message comes up saying it is fulfilling (similar to normal) but then the program crashes.
    I get this error message:
    (Adobe Digital Editions quit unexpectedly.
    Click Reopen to open the application again. Click Report to see more
    detailed information and send a report to Apple.
    With buttons that say: Ignore    Report     Reopen)
    Then when I reopen Adobe Digital Editions, it appears as thought the file is in the Adobe Digital Editions browser, but if I click on it to open it or try and transfer it to my Nook ereader device the program crashes again. (Same error message)
    I've tried erasing the file and redownloading the ebook from Google Chrome, Safari and Firefox and the same thing happens. I've also tried restarting my computer and looking for updates to resolve the issue (there were none). I've used this program before with no issues, so this problem is new. I've also tried opening other files since, they most of those seem to open as well.I've used this program before with no issues, so this problem is new.
    Running out of ideas. Please help!

    Mike, that worked -- I think! I couldn't change the printer without a document open, but while I was in the File menu, I noticed the "Browse in Bridge" command, and it occurred to me that I hadn't tried opening a file from Bridge. It opened first to the templates, and I realized I had not tried opening a template. So I did, that worked, and I changed the printer from where it was set (Adobe pdf) to my regular printer. Now I can create new files, and all files seem to open without a problem. Thanks!

  • Adobe pro XI crashes regularly.

    I have Acrobat XI Pro - and Windows 7 (64-bit). Acrobat crashes regularly - every time I use it. I get to use it once (e.g., I can add merge some pages to a document). However, once I save it and then try to open another document, the program freezes up and I get a "Not Responding"

    Hi Sam,
    Doing repair disc permissions, normally should not create problems, reason being this is Apple's own built-in utility.
    I am guessing there might have been permission issues already on your computer and repair disk permission tried to resolve that problem. But if the problem is severe these things may happen. 
    I would suggest you first you may try it again if that didn't resolve you should contact Apple support. They may help to repair the permissions.
    ~Ajlan Huda.

  • Issues with restarting after a program crash- please help

    Two questions regarding restarting after a program has crashed on Leopard.
    1. I had an issue where Parallels crashed and I had to restart. When restarting, the dock closes and it goes to a point where there is a circle timer. This does not stop and an error comes up stating that I need to hit the power button. Is this "normal" after a program crash and restarting? On a side note, I couldn't close the program with Force Quit. This seems to be happening often.
    2. How often does it occur for you where a program will not close with Force Quit? I've had Parallels crash and some other programs. When this happens, Force Quit doesn't do anything. Any other options?
    Thanks for your help.

    You should check your startup drive as a starting point, if programs are crashing regularly. That's obviously not "normal." Run +Repair Disk Permissions+ in Disk Utility while started up normally. Then, start up from another disc and run Disk Utility to use the +Repair Disk+ on the startup drive, to look for disk directory issues (you can startup from the Mac OS X installation disc to run Disk Utility).
    When this happens, Force Quit doesn't do anything. Any other options?
    You can start the Activity Monitor program and quit processes that look relevant to the app. Sometimes, force quit does not work to quit an app because an underlying process keeps running. Sometimes, the Mac is not able to restart or shutdown normally because an app refuses to quit, due to this problem. It is often difficult to know if you should kill a process, so after doing it to make an app quit, it would be a good idea to restart.

  • When I try to Reset Firefox, the program crashes (except when I do it under a 2nd window!

    FF has been crashing regularly lately, and now I have a semi-reproducible result: It crashes every time I try to reset FF. Then I tried to open a new window and tried it: it worked!?! Go figure. So I will reset FF and see what happens. FF 27.0.1 (apparently some updates are being applied as I speak. Will try those then Reset. Thanks

    Hello,
    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    More information about reinstalling Firefox can be found [https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems?esab=a&s=troubleshooting&r=3&as=s#w_5-reinstall-firefox here].
    <b>WARNING:</b> Do not run Firefox's uninstaller or use a third party remover as part of this process, because that could permanently delete your Firefox data, including but not limited to, extensions, cache, cookies, bookmarks, personal settings and saved passwords. <u>These cannot be recovered unless they have been backed up to an external device!</u>
    Please report back to see if this helped you!
    Thank you.

  • TS3276 Mail Program Crashed?

    On starting up yesterday, instead of opening mail, received window labeled Mail Import telling me I had to import all my mail messages to use the "new" Mail. There was no new mail program! It is trying to import 40,000+ messages - apparently every sent, received, deleted, etc folder since the beginning. It stops at the same place every time. Cannot use mail at all. I can receive my mail on my iPad and iPod so it is just the MacBook Pro. Has the program crashed or been corrupted. What can I do to fix. I have been looking everywhere. I do not have that amount of messages. I empty my inbox and trash and sent and deleted folders regularly. HELP! Sharon486

    Welcome to the discussions, gjclimer.
    This sometimes helps:
    Quit Address Book.
    In folder ~/Library/Application Support/AddressBook drag file AddressBook.data to the desktop. Rename AddressBook.data.previous to AddressBook.data and restart AB. If your contacts are not back quit AB again and repeat the drag/rename process, this time with AddressBook.data.beforesave.
    If you get your contacts back, now is probably a good time to use the AB menu item File/Back up Address Book.
    AK

  • MBP Program Crashes

    My MBP has been experiancing program crashes (NOT OS X) on a pretty regular basis. Almost every crash is a kernel error caused by a memory access.
    I've already had my 1gig ram stick replaced once, as the hardware check indicated it was failed. I am still having the same issue, but the hardware check indicates the new ram is fine.
    I'm using a 15" 2x2ghz 1gig base config (no 3rd party hardware.)
    I can post crash reports later today (I'm at work, and don't have the MBP.)
    iMac G5, MBP   Mac OS X (10.4.7)  

    Yeah, those errors are defintely bad RAM. They are different because the errors occured at different points in the RAM testing, but are equally bad.
    How much RAM do you have? If you bumped up the stock RAM, you might have more than one physical stick of RAM. In that case, what you can do is remove one stick, perform the tests again, and if you pass, keep it in. If you fail again, swap the other stick in and take the first out, then try the tests again. The chances that both sticks would be bad are quite slim.
    If you just got it in December, you should still be under warranty. If you want though, you can purchase 3rd party RAM for relatively cheap (newegg.com) and install it yourself.

  • Have a  problem with Lightroom 5.4.  Since the program crashed yesterday it won't launch, it comes up with the message "Lightroom encountered an error when reading its preview cache and needs to quit".  "  Lightroom will attempt to fix this problem net ti

    Have a  problem with Lightroom 5.4.  Since the program crashed yesterday it won't launch, it comes up with the message "Lightroom encountered an error when reading its preview cache and needs to quit".  "  Lightroom will attempt to fix this problem next time it launches".  Except that it doesn't, I keep getting the same message and the program closes.  Does anyone know what I  can do to repair it?  Can't back up, can't do anything.

    There are dozens of threads in this forum that describe the fix

  • Does anyone know how to display (in LabVIEW) the memory use during execution of an image and data acquisition VI to predict when it is time to cease the acquisition to prevent the program crashing?

    Does anyone know how to display (in LabVIEW) the memory use during execution of an image and data acquisition VI to predict when it is time to cease the acquisition to prevent the program crashing?
    I am acquiring images and data to a buffer on the edge of the while loop, and am finding that the crashing of the program is unpredictable, but almost always due to a memory saturation when the buffers gets too big.
    I have attached the VI.
    Thanks for the help
    Attachments:
    new_control_and_acquisition_program.vi ‏946 KB

    Take a look at this document that discusses how to monitor IMAQ memory usage:
    http://digital.ni.com/public.nsf/websearch/8C6E405861C60DE786256DB400755957
    Hope this helps -
    Julie

  • 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

  • Programs Crashing when Closing without Saving

    Everytime I cose a document (no matter what Program I am using), when the Save/Don't Save/Cancel dialog box pops up the Program crashes. It also happens when I try to Log Out and the countdown timer pops up.
    I mostly use Photoshop, but ths happens with other apps like Textedit.
    Dual 1.8 GHz PowerPC G5   Mac OS X (10.3.9)  

    Aouto recovery is not really the same as an auto-save, either. You don't necessarily get the last state before the program closed (a force quit would do an auto-recovery, too, on restart) because the the recovery data is not updated in real time.

  • Everytime i try to add a text box the program crashes.  Why and how do I fix it?

    Since I purchased and installed Adobe Photoshop Elements every time I try to add a text box the program crashes.  Why and how do I fix it?

    TeeKnows wrote:
    Debit cards are accepted in the iTunes store.
    No longer accepted for NEW accounts, however if a debit card were associated with the account BEFORE this change, they can still be used.

  • 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

  • IPad mini now terrible to use, apple support no help because warranty is up.  All cause by new ios8 update, wifi issues, many apps no longer work, apps that do work now crash regularly and sometimes take several instances and reboots to even open.

    IPad mini now terrible to use, apple support no help because warranty is up.  All cause by new ios8 update, wifi issues, many apps no longer work, apps that do work now crash regularly and sometimes take several instances and reboots to even open.

    need help uninstalling ios8 and going back to 7 where things worked please.

Maybe you are looking for

  • Best Buy Geek Squad TV Warranty is Terriblw!

    I'm in my third week of waiting and I still don't have my TV repaired! What a frustrating experience! I called Best Buy Geek Squad 17 days ago to report that my TV stopped working. I had purchased the repair warranty so I assumed I could get it fixed

  • How to refer the work order status value from a different transaction in the step handler?

    Hi All, I have a requirement to check the status of the work order from a different transaction before doing some logic in the current transaction. The following transactions are done to replicate the issue 1)changing the status to ONSITE to edit the

  • Details about ABAP Function Module

    Hi All, I am trying to get information about the data returned by 2 ABAP function modules. These are :- 1) TH_WPINFO - Shows the number of work processes running on the SAP system. The table fields are:- WP_NO WP_TYP WP_PID WP_STATUS WP_WAITING WP_SE

  • TS3988 mail password not valid

    I can get mail on my iPhone and iPad, but prefer to get it on my computer because it "manages" for me.  When I try to get mail, it says my password is not valid. Have changed it on all my devices and on iTunes.  any ideas about what's going on?  than

  • Array headache

    I am trying to create a histogram using 2 arrays. One stores the user input and the other categorizes the input into 10 different "buckets" i.e. 1 - 10; 11 - 20, etc. I almost have it but when I print out the histogram I get a really large number for