Program crashing

Hello
I have a recurring problem where the different programs crash on my iMac, this is my first mac so I do not know if it had any problems before mavericks, i have run an EtreCheck and this is the statistics:
Hardware Information:
          iMac (27-inch, Late 2013)
          iMac - model: iMac14,2
          1 3.2 GHz Intel Core i5 CPU: 4 cores
          8 GB RAM
Video Information:
          NVIDIA GeForce GT 755M - VRAM: 1024 MB
System Software:
          OS X 10.9.2 (13C64) - Uptime: 4 days 9:28:49
Disk Information:
          APPLE HDD WD10EZES-40UFAA0 disk0 : (1 TB)
                    EFI (disk0s1) <not mounted>: 209,7 MB
                    Macintosh HD (disk0s2) / [Startup]: 999,35 GB (915,07 GB free)
                    Recovery HD (disk0s3) <not mounted>: 650 MB
USB Information:
          Microsoft Express Mouse
          Apple Inc. BRCM20702 Hub
                    Apple Inc. Bluetooth USB Host Controller
          Apple Inc. FaceTime HD Camera (Built-in)
FireWire Information:
Thunderbolt Information:
          Apple Inc. thunderbolt_bus
Kernel Extensions:
          com.avast.PacketForwarder          (1.4 - SDK 10.9)
          com.avast.AvastFileShield          (2.1.0 - SDK 10.9)
Launch Daemons:
          [System] com.adobe.fpsaud.plist 3rd-Party support link
          [System] com.avast.init.plist 3rd-Party support link
          [System] com.avast.uninstall.plist 3rd-Party support link
          [System] com.ea.origin.ESHelper.plist 3rd-Party support link
          [System] com.oracle.java.Helper-Tool.plist 3rd-Party support link
Launch Agents:
          [System] com.avast.userinit.plist 3rd-Party support link
          [System] com.oracle.java.Java-Updater.plist 3rd-Party support link
User Launch Agents:
          [not loaded] com.avast.home.userinit.plist 3rd-Party support link
          [not loaded] com.spotify.webhelper.plist 3rd-Party support link
          [not loaded] com.valvesoftware.steamclean.plist 3rd-Party support link
          [not loaded] com.zeobit.MacKeeper.Helper.plist 3rd-Party support link
User Login Items:
          iTunesHelper
          Steam
          Spotify
          TuneupMyMac
          Origin
Internet Plug-ins:
          Silverlight: Version: 5.1.20913.0 - SDK 10.6 3rd-Party support link
          FlashPlayer-10.6: Version: 13.0.0.182 - SDK 10.6 3rd-Party support link
          Flash Player: Version: 13.0.0.182 - SDK 10.6 3rd-Party support link
          QuickTime Plugin: Version: 7.7.3
          JavaAppletPlugin: Version: Java 7 Update 51 3rd-Party support link
          Default Browser: Version: 537 - SDK 10.9
Safari Extensions:
          Omnibar: Version: 1.2
          avast! Online Security: Version: 8
Audio Plug-ins:
          BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
          AirPlay: Version: 2.0 - SDK 10.9
          AppleAVBAudio: Version: 203.2 - SDK 10.9
          iSightAudio: Version: 7.7.3 - SDK 10.9
iTunes Plug-ins:
          Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
3rd Party Preference Panes:
          avast! Preferences  3rd-Party support link
          Flash Player  3rd-Party support link
          Java  3rd-Party support link
Old Applications:
          SLLauncher:          Version: 1.0 - SDK 10.5 3rd-Party support link
                    /Library/Application Support/Microsoft/Silverlight/OutOfBrowser/SLLauncher.app
Time Machine:
          Time Machine not configured!
Top Processes by CPU:
               6%          com.apple.WebKit.Networking
               5%          WindowServer
               3%          Safari
               2%          steam
               1%          EtreCheck
Top Processes by Memory:
          238 MB          Numbers
          156 MB          Finder
          156 MB          WindowServer
          147 MB          softwareupdated
          98 MB          com.apple.IconServicesAgent
Virtual Memory Information:
          3.03 GB          Free RAM
          2.31 GB          Active RAM
          1.48 GB          Inactive RAM
          1006 MB          Wired RAM
          7.61 GB          Page-ins
          42 MB          Page-outs
The programs crashing is everything from iWorks to games, steam fx
What can i do ?

Avast anti virus, MacKeeper, and the Safari omnibar (Genieo) extension are the most likely culprits.
Uninstall Avast  How to completely uninstall avast! Free Antivirus from a PC or Mac
Uninstall MacKeeper >  How to uninstall MacKeeper
Do not install MacKeeper: Apple Support Communities
And to got Safari > Preferrences then select the Extensions tab.
Uninstall Omnibar. It's malware.
6 Ways to Delete Genieo
message edited by:  CS

Similar Messages

  • 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

  • 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!

  • 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

  • Multiple programs crashing wSegmentation fault in __lll_unlock_elision

    Hi,
    Recently I've noticed different programs crashing with Segmentation fault in __lll_unlock_elision from /usr/lib/libpthread.so.0
    It has happened in chromium, vlc, gtk-query-immodules-2.0 and others.
    Has anyone else had this issue?
    I'm on xfce, compositor enabled, nvidia proprietary drivers.
    Relevant packages:
    nvidia 349.16-2
    xfwm4 4.12.2-1
    glibc 2.21-3
    Sample backtrace:
    (gdb) bt
    #0 0x00007ffff6e30150 in __lll_unlock_elision () from /usr/lib/libpthread.so.0
    #1 0x00007ffff28c312c in ?? () from /usr/lib/libEGL.so.1
    #2 0x00007ffff28558c2 in ?? () from /usr/lib/libEGL.so.1
    #3 0x00007fffffffea80 in ?? ()
    #4 0x00007ffff28d4831 in ?? () from /usr/lib/libEGL.so.1
    #5 0x00007fffffffea80 in ?? ()
    #6 0x00007ffff7dea815 in _dl_fini () from /lib64/ld-linux-x86-64.so.2
    Backtrace stopped: previous frame inner to this frame (corrupt stack?)
    dmesg
    [ 1037.049770] traps: exo-open[4639] general protection ip:7fcf8cde1150 sp:7ffdb47b3f68 error:0 in libpthread-2.21.so[7fcf8cdcf000+18000]
    [ 1037.338044] traps: chromium[4643] general protection ip:7f6e9248f150 sp:7ffc2b329c48 error:0 in libpthread-2.21.so[7f6e9247d000+18000]
    [ 1038.637627] traps: exo-helper-1[4641] general protection ip:7fc9bc586150 sp:7ffc590b11b8 error:0 in libpthread-2.21.so[7fc9bc574000+18000]
    [ 1563.263410] traps: exo-open[5860] general protection ip:7fbcafcb1150 sp:7fffaf2b1b88 error:0 in libpthread-2.21.so[7fbcafc9f000+18000]
    [ 1563.541248] traps: chromium[5865] general protection ip:7f6571529150 sp:7fff0e0d9898 error:0 in libpthread-2.21.so[7f6571517000+18000]
    [ 1565.023467] traps: exo-helper-1[5863] general protection ip:7f7008a5b150 sp:7ffe8751b268 error:0 in libpthread-2.21.so[7f7008a49000+18000]
    [ 1565.806110] traps: exo-open[5912] general protection ip:7f378156e150 sp:7ffff5e809a8 error:0 in libpthread-2.21.so[7f378155c000+18000]
    [ 1566.082173] traps: chromium[5917] general protection ip:7f5178539150 sp:7ffc84f4f198 error:0 in libpthread-2.21.so[7f5178527000+18000]
    [ 1572.868808] traps: exo-helper-1[5915] general protection ip:7f42957c9150 sp:7ffddf89f388 error:0 in libpthread-2.21.so[7f42957b7000+18000]
    [ 1669.886865] traps: chromium[5969] general protection ip:7f5a4a39e150 sp:7ffc84639608 error:0 in libpthread-2.21.so[7f5a4a38c000+18000]
    [ 2465.870363] traps: chromium[7316] general protection ip:7f5a4a39e150 sp:7ffc84639608 error:0 in libpthread-2.21.so[7f5a4a38c000+18000]
    [ 2858.156512] traps: chromium[8279] general protection ip:7f5a4a39e150 sp:7ffc84639608 error:0 in libpthread-2.21.so[7f5a4a38c000+18000]
    [ 3546.898166] traps: chromium[9480] general protection ip:7f5a4a39e150 sp:7ffc84639608 error:0 in libpthread-2.21.so[7f5a4a38c000+18000]
    [ 3554.046413] traps: chromium[9553] general protection ip:7f5a4a39e150 sp:7ffc84639608 error:0 in libpthread-2.21.so[7f5a4a38c000+18000]
    [ 3642.230049] traps: exo-open[10018] general protection ip:7f77ee5b9150 sp:7ffd33e39638 error:0 in libpthread-2.21.so[7f77ee5a7000+18000]
    [ 3642.523830] traps: chromium[10022] general protection ip:7f58b485a150 sp:7ffc760c0758 error:0 in libpthread-2.21.so[7f58b4848000+18000]
    [ 3643.896904] traps: exo-helper-1[10020] general protection ip:7fa3a1acd150 sp:7ffcc63571f8 error:0 in libpthread-2.21.so[7fa3a1abb000+18000]
    [ 3733.354116] traps: chromium[10119] general protection ip:7f8399457150 sp:7ffc4c08cd88 error:0 in libpthread-2.21.so[7f8399445000+18000]
    [ 3799.896620] traps: exo-open[10230] general protection ip:7f3d85ad0150 sp:7ffcb3a82548 error:0 in libpthread-2.21.so[7f3d85abe000+18000]
    [ 3800.185212] traps: chromium[10235] general protection ip:7f2c089d1150 sp:7ffd5a5464b8 error:0 in libpthread-2.21.so[7f2c089bf000+18000]
    [ 3935.735541] traps: exo-helper-1[10233] general protection ip:7fa760400150 sp:7ffe0b4254e8 error:0 in libpthread-2.21.so[7fa7603ee000+18000]
    [ 3957.291621] traps: chromium[10778] general protection ip:7f4b88304150 sp:7ffee14f9e18 error:0 in libpthread-2.21.so[7f4b882f2000+18000]
    [ 3977.318568] traps: gdk-pixbuf-quer[11058] general protection ip:7f00c88a7150 sp:7ffc3b04d858 error:0 in libpthread-2.21.so[7f00c8895000+18000]
    [ 3982.911193] traps: gtk-query-immod[11069] general protection ip:7fae4d428150 sp:7ffd2a514258 error:0 in libpthread-2.21.so[7fae4d416000+18000]
    [ 4018.309394] traps: gtk-query-immod[11146] general protection ip:7fce99a59150 sp:7ffce1f6d848 error:0 in libpthread-2.21.so[7fce99a47000+18000]
    [ 4042.815698] traps: gdk-pixbuf-quer[11159] general protection ip:7f847b535150 sp:7fff9b265548 error:0 in libpthread-2.21.so[7f847b523000+18000]
    [ 4133.933755] traps: gdk-pixbuf-quer[11293] general protection ip:7f9df0e1a150 sp:7fffa149ee88 error:0 in libpthread-2.21.so[7f9df0e08000+18000]
    [ 4790.014695] traps: gtk-query-immod[12378] general protection ip:7f3c51a72150 sp:7fff1222de48 error:0 in libpthread-2.21.so[7f3c51a60000+18000]

    https://www.archlinux.org/news/changes- … deupdates/

  • Several programs crash with Glib-GIO error

    in my notebook several programs crash with an error ouput:
    (here for firefox)
    (firefox:6303): GLib-GIO-CRITICAL **: g_simple_async_result_set_from_error: assertion `error != NULL' failed
    (firefox:6303): GLib-CRITICAL **: g_error_free: assertion `error != NULL' failed
    (firefox:6303): GLib-GIO-CRITICAL **: g_simple_async_result_set_from_error: assertion `error != NULL' failed
    (firefox:6303): GLib-GIO-WARNING **: (gfile.c:5244):IA__g_file_load_partial_contents_finish: runtime check failed: (g_simple_async_result_get_source_tag (simple) == g_file_load_contents_async)
    Speicherzugriffsfehler
    - firefox crashes every time i try to browse for a file (fileupload form).
    - nautilus --no-desktop crashes also before the gui is loaded with the same error output.
    - same to brasero
    - same to gnomebaker
    - evince crashes on open/file (again when browser should be opened)
    thunar works, seems there is a problem with nautilus or any gnome's lib
    on my another pc also running arch, there are no such problems.. would be great if anyone would help.
    every hint is welcome, since i'm pretty frustrated.. google and irc didn't help.
    thank you in advance

    Hi
    I experience a very similar problem.
    Whenever I insert a blank CDrom or a blank dvd some applications crash that somehow access the dvd drive. these are brasero or listen, that I'm aware of, for the moment.
    others like gnome-baker do fine. nautilus as well is doing fine.
    brasero:
    (brasero:25610): GLib-GIO-CRITICAL **: g_simple_async_result_set_from_error: assertion `error != NULL' failed
    (brasero:25610): GLib-CRITICAL **: g_error_free: assertion `error != NULL' failed
    (brasero:25610): GLib-GIO-CRITICAL **: g_simple_async_result_set_from_error: assertion `error != NULL' failed
    (brasero:25610): GLib-GIO-WARNING **: (gfile.c:5244):IA__g_file_load_partial_contents_finish: runtime check failed: (g_simple_async_result_get_source_tag (simple) == g_file_load_contents_async)
    Segmentation fault
    listen does:
    (listen.py:25694): GLib-GIO-CRITICAL **: g_simple_async_result_set_from_error: assertion `error != NULL' failed
    sys:1: Warning: g_error_free: assertion `error != NULL' failed
    (listen.py:25694): GLib-GIO-CRITICAL **: g_simple_async_result_set_from_error: assertion `error != NULL' failed
    (listen.py:25694): GLib-GIO-WARNING **: (gfile.c:5244):IA__g_file_load_partial_contents_finish: runtime check failed: (g_simple_async_result_get_source_tag (simple) == g_file_load_contents_async)
    /usr/bin/listen: line 1: 25694 Segmentation fault LD_LIBRARY_PATH=/usr/lib/firefox python -OO /usr/lib/listen/listen.py $@
    So it's bothering as all the time i want to burn something listen will crash.
    Otherwise I'm using gnome-baker for burning, so it's ok.
    but bothering.
    This might help you.
    If I can give u more information, just tell me (but I have to tell u: I'm not a big pro!)

  • Setup program crashes when you try to install a 2007 Office on a 64-bit version of Windows 7

    Hello there,
    I have a Dell Vostro machine with Windows 7 Pro 64-bit installed on it. It came with Office 2010 preinstalled on it. About 6 months ago I removed Office 2010 and installed Office 2007 with no problems. Yesterday a user messed up her office so badly
    that I had to uninstalled it in an attempt to reinstall to ensure that all missing files exist. A few seconds after selecting my options, the installation program crashes. I tried it with a few different users logged in to make sure it's something related
    to the profile of the user I was logged in as.
    Just to be clear, this is the same Office 2007 installation that was installed correctly on it about 6 months ago and the same product key.
    Why is this happening and how can I fix this issue without having to restore the computer to its default state?
    Any help is appreciated.
    Thank you,

    Hi,
    Please refer to this kb, use Microsoft Fix it 50154 to uninstall Office 2007 completely:
    http://support.microsoft.com/kb/928218/en-us
    Then try installing again.
    We can also perform a clean boot to install, which gets rid of the background program conflicts:
    http://support.microsoft.com/kb/929135
    Hope this can help.
    Regards,
    Melon Chen
    TechNet Community Support

  • After the latest Security Update 2012-001 (Mac OS X 10.6.8) my Adobe Photoshop CS 8, Dreamweaver 8, and InDesign CS programs crash when I try to save a file.

    After the latest Security Update 2012-001 (Mac OS X 10.6.8) my Adobe Photoshop CS 8, Dreamweaver 8, and InDesign CS programs crash when I try to save a file. HELP!!!

    Howdy,
    Apparently some are reporting that this causes the older PowerPC (PPC) applications that are supported in 10.6 via 'Rosetta' to crash upon attempting to open/save/print using any dialog box, or fail in other similar ways such as simply not printing or quitting, or freezing/hanging/crashing of the application.
    I have read of some companies that have indeed submitted proper bug reports to Apple, but that is not a guarantee of a bug-fix being issued.
    You might wish to read:
    http://www.macintouch.com/readerreports/snowleopard/index.html#d02feb2012
    If you are unsure if you are still using PowerPC apps, if the application is currently running, look under the 'Activity Monitior' (in Applications -> Utilities), or alternatively you could check in the System Profiler, Applications. Check the column "Type".
    Here is a fairly simple way you can restore you system and restore you applications functionality again, if you don't have a recent clone or good Time Machine backup that you can restore from. If you do, restore from your backup prior to having installed the Security Update 2012-001.
    Time Machine restore: http://support.apple.com/kb/ht1427
    If you are restoring a backup made by a Mac to the same Mac
    With your backup drive connected, start up your Mac from the Lion recovery partition (Command-R at startup) or Mac OS X v10.6 installation disc. Then use the "Restore From Time Machine Backup" utility. Select the backup prior to your issues, and it will be restored back to the state it was in at that time.
    If you can't easily restore from a backup, you can instead do the following:
    - You first start by reinstalling your OS X 10.6.x, this will preserve all your user data, your applications, no worries there.
    - Then install the Mac OS X 10.6.8 Update Combo v1.1 (links provided below)
    - Make sure you're printers are showing up correctly in your system preferences, if not, re-add the printers
    - Then finally, run the Apple Software Update (by pulling down the Apple Menu), and install any and all remaining updates, except do not then re-install the Security Update 2012-001. It is possible that you may have to reboot after installing some of the updates, and you may even need to run it a 2nd time to make sure that you've got all updates, except NOT the Security Update 2012-001.
    Links for 10.6.8 Update Combo v1.1:
    http://support.apple.com/kb/DL1399
    or the link to directly download this 1.09GB combo updater:
    http://support.apple.com/downloads/DL1399/en_US/MacOSXUpdCombo10.6.8.dmg
    Cheers,
    Daniel Feldman
    =======================
      MacMind
      Certified Member of the
      Apple Consultants Network
      Apple Certified (ACHDS)
      E-mail:  [email protected] 
      Phone:   1-408-454-6649
      URL : www.MacMind.com
    =======================

  • Programs crashing after security update 2014-002

    I installed the latest security update for Mavericks today and since then I've had two programs crash repeatedly.
    In iTunes, when I click on "Add to Library," iTunes shuts down.
    In Photoshop Elements 12, when I try to save a photo, the program shuts down.
    Has anyone else had similar problems? I can't think of anything else that would be causing this, as it hasn't happened before.
    Note: I have a late 2013 Macbook Pro with Retina.

    Bump. I'm having a similar issue.
    Since installing the latest Mavericks security update, my Retina MacBook Pro (13-inch, Late 2013) has crashed and restarted a minimum of once per day for no apparent reason.

  • I just did the photoshop camera raw update and now everytime I try to do a text box or change the text the whole program crashes.

    I just did the photoshop camera raw update and now every time I try to do a text box or change the text the whole program crashes.

    All fixed!!!  My Aperture wasn't being recognized because it was in a folder.  OK, now I can use my camera with Aperture. 

  • Howcome every time I try to export Numbers doc to excel the program crashes?

    I usually have no problem exporting files to excel format but every single time I try with this one the program crashes, I have tried moving the com.apple.iWork.Numbers.plist file to the desktop, tried sizing down my table in the file, all to no avail. Any other suggestions?

    Duplicate the document and try removing content until it exports.  It's probably a bug but thi may help you get passed this problem if you know what item is the problem.  once you know remove the item and save the document, then try to add it back it.
    Also try copying the remaing content and paste it into a new document then add the content you had to leave out.

Maybe you are looking for