Compiling a Cocoa program and run - crash at startup

Hello there!
I've got a really strange problem. I've got two different macs (an iMac late 2008 and a MacBook late 2008). I've got on both Mac OS X 10.6.2 and XCode 3.2.1.
On both the macs I downloaded the same sources of an i386 application. On the MacBook it compiles fine (configuration Release/Debug Mac OS X 10.6 i386) and starts as well as expected. On the iMac I compile it fine but when I start it, it crashes.
Here is the crash log... CoreFoundation is the thread that crashes. Any idea? I've tried to reinstall XCode and its components, to uninstall and reinstall it... dunno what's the difference between the two configurations! Without considering I formatted both before installing Snow Leopard just to start from scratch.
Any hing? Thanks
http://pastebin.com/m55a16428

Thanks
Dunno WHY, but on the iMac it was crashing due to that method... I created two NSString and simply deleted the name method... something like this:
NSString *sBehavior = [[behaviorPopup selectedItem] representedObject];
NSString *sRoute = [[routePopup selectedItem] representedObject];
NSString *status = [NSString stringWithFormat: @"%@ (%@). ",sBehavior,sRoute];
Now it works on both the macs

Similar Messages

  • Hey Adobe, stop asking whether I want you to install updates automatically.  I DON'T.  Some programs I run crash if you jump in there and start asking questions.

    Hey Adobe, stop asking whether I want you to install updates automatically.  I DON'T.  Some programs I run crash if you jump in there and start asking questions.

    You can set your preferences to not prompt you for updates, either having them done without asking, or relying on yourself to manage them

  • NoSuchMethodError compiling with 1.4 and running on 1.3

    Hi community,
    I have a little problem with code like the following when mixing both JDK versions:
    StringBuffer sb1 = new StringBuffer();
    sb1.append(new StringBuffer());In 1.3 this is linked to append(Object) and in 1.4 to the newly added append(StringBuffer) which does not exist in 1.3. The code compiles fine with both versions, but if compiled under 1.4 and run in 1.3 this throws NoSuchMethodError(as it should, of course).
    I understand why it is so, the question is if there is an easy way to overcome this problem. I played with the target option of javac without success(javap shows it is always linked as stated), also I read a bit in the JLS to make sure I am right why the exception is thrown.
    I see the following choices:
    1. Compile with 1.3. Not a good idea because all other our products are developed and run in 1.4;
    2. Ask the customers to upgrade to 1.4. There is some their reason for which they still stick to 1.3 and don't want to upgrade, we can't force them do it;
    3. Find such places in code and explicitly cast. But who will know what other cases like the above exist in the code. I can find where append(StringBuffer) is used in the code, but what about other methods of other JDK classes? And it is a bad idea because somewhere in time it will anyway run with 1.4.
    My question is if there is another easier option that I am missing at the moment.
    Thanks for you time and cooperation
    Mike

    Why is option 1 bad? You will be able to run it in 1.4 even if you compiled it using 1.3, so I don't see the problem? It will never run in 1.3 if you can't compile it in 1.3.Because it will always be a source of errors. Always there will be someone that will not set up their project to use 1.3 for compile or will deconfigure it while working with the other projects. Besides that as I stated source compiles fine in both versions, I don't have a compiletime problem, but a runtime one.
    I know this is the most reasonable option, I know what I would choose among the three listed above, I needed some confirmation if I have missed an option.
    and you are correct about the target flagI only mentioned the target tag just as one of the directions of my search, we always whine for others not putting effort in their problems ;)
    Thanks for opinions
    Mike

  • When you load Windows via Boot Camp Assistant program and run Windows does not recognize the "usb" outlets cannot identify the device through the Dvd or flash

    When you load Windows via Boot Camp Assistant program and run Windows does not recognize the "usb" outlets cannot identify the device through the Dvd or flash

    Did you install BC drivers on the Windows side?

  • How to compile other java files and run them from my own programs?

    I'm developing a unit testing tool for AspectJ, which can originally generate the stubs for aspect unit to be tested. All these stubs are java files. After generation of stubs, how can I program the code to compile this unit together with these stubs, i.e. how can I put the functionality of compilation and run, e.g. command "javac *.java" and "java *", into my own code.
    Hope you can understand what I mean.
    Thank you in advance.

    When I use Runtime.getRuntime().exec(command) for executing the AspectJ compile command "ajc", "IOException createProcess error=2" always occurs, while it is ok for Java comiple command "javac".
    Why this happens when I use Runtime.getRuntime().exec("ajc Hello.java Test.aj")? Is it the reason that Runtime.exec(String) may not support any command in DOS?
    (ajc is the compile command for the java file and aj file.)
    Thank you in advance.

  • How can i compile a C program to run solaris 9 and 10?

    Hi,
    I need to compile a small C program to run on solaris 9 and 10. There is no C compiler on the target servers. I have compiled and tested the program on Linux over x86.
    I hope you can advise on the way forward. I see the following options:
    - install a C compiler, the lightest possible, on the target servers and compile the program
    or
    - set-up a sparc solaris (9 or 10) on top of virtualbox on my windows laptop, install the c compiler and then compile the program
    Thanks in advance.
    Gaby

    To run an application on both Solaris 9 and 10, you need to build it on Solaris 9. The application will then run on Solaris 9 and 10. (If you build on Solaris 10, you cannot expect the application to work on 9.)
    The most recent Studio version that can be run on Solaris 9 is Studio 12 (but not updates 1, 2, or 3).
    You can still get Studio 12 here, but since it dates from 2007, I don't know for how much longer.
    http://www.oracle.com/technetwork/server-storage/solarisstudio/downloads/ss12-136026.html
    Studio does not do cross-compilation, so you need to build on a system of the same type as the target system -- SPARC or x86. I don't know whether Solaris 9 can be installed on Virtual Box, but you can try. If it works, you can install the compiler, build on that system, then deploy on other Solaris 9 and 10 x86 systems.
    You can of course build the application on each of Solaris 9 and 10, but usually that is not necessary, and it complicates deployment and support.
    I believe Solaris 9 is End Of Life, so it would be a good idea to upgrade S9 systems to S10 or S11. I realize that such a change might not be up to you. :-)

  • HT5639 if i use boot camp to establish windows on my Macbook pro can i then install a windows program and run it without another software ie parallels?

    Can I use a windows program such as QuickBooks on my macbook pro 15inch with only using boot camp or do i need to have another program?

    Boot Camp is everything you need to run a Windows application.
    Boot Camp allows you to install Windows in a second volume, so you can start up there and run all your Windows apps without needing any Mac OS X app. It's true that OS X apps like Parallels or VMware Fusion allow you to use your Boot Camp partition in Mac OS X, but it looks like you don't want that

  • Final Cut suite programs and Aperture crashing on launch

    Hi there!
    This is the first time i write on the official Apple support forums so i hope this is the right section. Here's the deal; yesterday morning i've updated my Mac(the automatic update popped out on its own) and it added the App Store, i rebooted the system when asked and though everything went fine.
    After that all my Final Cut applications couldn't load. The very first problem i had since the update was with Aperture. I've downloaded the trial and it started to crash while loading.
    I've then tried to open Final Cut, Motion, Color, Compressor and every other program of that suite and it crashed too while opening, seeming to load forever.
    I've never had problems with that programs(i've used FCP and Motion the day before), i've got enough space on my hdd(18gb or more) and i've also tried to reset all the preferences with the *Preference Manager*.
    I need that programs for school and now none of them works..what should i do? I don't have Time Machine setted up to restore the system and i don't want to reinstall the system.
    What should i do then?

    It works! Thanks a lot
    As you said Spotlight won't work anymore now but i can do my homework and continue my personal project now, hope to hear from Apple an official solution or at least someone to tell us what the problem is.
    If you find the source of this trouble please tell us, hope there's a fix somewhere but for the moment this is great!
    Another thing, do you also experience the crashes when downloading free apps from the App Store or that's another story?
    Message was edited by: Margalus

  • Start up programs and running programs folder??

    Where can I go to disable start up programs and view any programs that are running in the background??

    The checkbox only has to do with hiding and not hiding an app on startup--although results vary.
    Deleting it, on the other hand, should have stopped it from loading.
    Check in you user/Library/LaunchAgents or user/Library/StartupItems for anything Entourage or Microsoft. However, I don't know why they would put something in there if they are using the Login Items.

  • Compiling form on Windows2000 and running on XP

    We have compiled forms on Window2000 forms6.08.22.1 and running on windows XP, occasionally forms are freezing up on XP, has anybody faced similar situation?
    thanks

    Yes we are using patch 13. (6.0.8.22.1)

  • CS4: PPro and Encore crash upon startup!

    I have been using CS4 for a long time with no issues, but yesterday PPro and Encore started crashing upon starting up.
    The screen for either one will load up, but in PPro the timeline pane will be ghosted and the system will just freeze if I click on anything in the PPro window, including the menu. Encore does the exact same thing as far as crashing if I click anything.
    I have not installed any new programs and I shut down as many background tasks as possible, as I have always done.
    If I reboot the computer after a crash, I get a popup window telling me that PhotoshopServer.exe has caused an exception, blah blah. I have NEVER had that before this crashing started.
    I uninstalled the entire CS4 suite and reinstalled it. The installer kept giving me errors about some components not being installed correctly, so I ran the Adobe Support Advisor and it sent me to a link that instructed me to remove the Color Profiles. I did this and the installer continued with no further issues. I then installed all patches up to 4.2.1 with no issues. BTW, I did shutdown all of my antivirus/antispyware/firerwall programs first and copied any missing color profiles back to the Windows directory, as instructed without overwriting any existing ones from the new install.
    I started the new installation for the first time after a reboot and shutting down everything in the background... instant crashes AGAIN!
    I'm running out iof ideas and I have no idea what went wrong after using this suite for so long with no issues.
    Here's my computer specs:
    Asus Rampage II Extreme mobo
    Intel Core i7-920 @ 3.0 GHz.
    3x1 GBs Kingston HyperX Tri-Channel 1800 MHz. RAM
    2 EVGA e-GeForce 9800 GTX+ 1 GB boards in SLI
    2 WD 500GB SATA hard drives in RAID 0 (boot)
    2 WD 500GB SATA hard drives in RAID 0 (storage)
    PC Power & Cooling 1.2Kw PSU
    Windows XP (32-bit) SP3 with all updates current.
    Any help would be greatly appreciated -- I'm pulling my hair out here!
    Bill

    It's probable that the Canon drivers are to blame rather than Adobe. The change in behavior may be due to another piece of software (driver, automatic update, etc) installed that now results in the Canon drivers loading into a different address space where whatever they were already wrong now has a negative consequence. Could also be related to the Canon drivers not dealing properly with ASLR (address space randomization feature in Windows) but that seems likely.
    Lee

  • After installing Windows XP SP3, iTunes and Quicktime crash at startup

    I use iTunes almost every day, and until now have had almost no problems. But as of Sunday afternoon 5/11/2008, I found iTunes crashed on startup. Soyon after, I discovered Quicktime had the same problem. For both apps, I tried rebooting, upgrading, uninstalling/reinstalling, running Norton 2008 virus scan and registry cleaner. Same problem no matter what I did.
    I just noticed, though, that my Windows Update (which I have naively set to automatic) history shows that, on that same day, it automatically installed Windows XP SP3. Coincidence... hmm.
    So while I patiently wait for the uninstaller to complete the removal of SP3, I'm wondering if anyone else has had similar problems.

    Great link, thanks for posting it. I followed the advice therein, but unfortunately it didn't help. For the record, here's what I've done recently:
    0) Removed SP3.
    1) Removed all of the following:
    Apple Mobile Device Support
    Apple Airport Express
    Apple Software Update
    Bonjour
    Quicktime
    iTunes
    2) Deleted all remaining folders related to the above apps from c:\Program Files.
    3) Ran Norton 360 (2008) registry cleanup.
    4) Ran Norton 360 (2008) virus scan (nothing found).
    5) Deleted the following folders (Angela is the user account):
    c:\Documents and Settings\All Users\Application Data\Apple
    c:\Documents and Settings\All Users\Application Data\Apple Computer
    c:\Documents and Settings\Angela\Application Data\Apple
    c:\Documents and Settings\Angela\Application Data\Apple Computer
    c:\Documents and Settings\Angela\Local Settings\Application Data\Apple
    c:\Documents and Settings\Angela\Local Settings\Application Data\Apple Computer
    6) Rebooted.
    7) Downloaded and installed iTunes 7.6.2.
    8) Rebooted (just coz I love rebooting).
    9) Tried to execute iTunes, get error dialog: "QuickTime Player has encoutered a problem and needs to close."
    10) Tried to execute QuickTime, get same dialog.
    At this point I'm thinking I've got a bad DLL under c:\Windows...

  • Premiere and AE crash at startup, works as trial.

    So, obviously, it's not a graphics card issue (I've uninstalled the new update, installed the latest) nor a problem with the program, as it works just fine in its trial state.
    As soon as the CC program is running, BANG, crash on startup.
    I deleted all files relating to the adobe programs in order to get it to start as a trial, but then, wehn CC cam on, the problem came back. Which means, I can use the full, paid for CC only as a trial.

    First, moving to the Premiere Pro forum as it says in your title
    Second, when you get there, a LOT more questions to answer
    -Premiere Pro Video Editing Information FAQ http://forums.adobe.com/message/4200840
    •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

  • Changed a setting and iTunes crashes at startup

    iTunes has been running trouble free for months on my pc running Windows 7 Pro, until today.  Earlier today, I went into iTunes preferences, playback, and clicked the box to turn on volume leveling.  Then, as soon as I clicked on ok, iTunes crashed, and it crashes every time within a second or two of opening.  The top, center of the iTunes window reads "Determining Audio Volume" and "Analyzing 1 of 440: Hold Me Tight"  The Problem Details in the "iTunes has stopped working" window are: 
    Problem signature:
      Problem Event Name: APPCRASH
      Application Name: iTunes.exe
      Application Version: 11.3.1.2
      Application Timestamp: 53dc1f90
      Fault Module Name: StackHash_c737
      Fault Module Version: 6.1.7601.18247
      Fault Module Timestamp: 521ea8e7
      Exception Code: c0000374
      Exception Offset: 000ce753
      OS Version: 6.1.7601.2.1.0.256.48
      Locale ID: 1033
      Additional Information 1: c737
      Additional Information 2: c737828177378f8767a914c2b0624a6a
      Additional Information 3: 41a3
      Additional Information 4: 41a332a5019beb35abb090facfe8c4b5
    I don't know what to do to get iTunes to stop crashing.  I have uninstalled iTunes, downloaded and installed iTunes.  I've tried opening iTunes in safe mode (control and shift).  I've tried opening iTunes with the Alt key pressed.  I've tried moving my iTunes music folder to a different directory in order to 'hide' it from iTunes.  None of these things changed the crashing.
    I'm hoping someone will reply with a fix for this.  Thanks.

    Hello jsolo53,
    Thanks for using Apple Support Communities.
    Even though you have already reinstalled iTunes, I'd like you to completely uninstall the application and its supporting files by following the steps in the article below, and then do a reinstall.
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    http://support.apple.com/kb/HT1923
    Take care,
    Alex H.

  • Apple Color won't preview clips properly and Motion crashes on startup. Do I need a new video card?

    I have a 2009 8-core Mac Pro (2.26Ghz) with a GT120 graphics card. I use Final Cut Studio 3 frequently, and up until recently without any hitches. Last week, Color started previewing clips as black with touches of red (I'm assuming a readout of the clips colour data in some form)  and therefore I can't grade any clips as I can't preview them. On top of that, two days later Motion started crashing on startup. Seeing as both programs rely heavily on the graphics card all I can deduce is that something's wrong with my card and it needs changing. Anyone else had any of these problems and come to a solution?

    Is there an add-in video card in the slot? If so, remove it and try to turn on. If the problem is the video card it will turn on. If not it is the power supply.

Maybe you are looking for

  • Problem while creating a custom document using JAVA API in the current Folder

    I am trying to create an instance of a custome type from the API. I have created a custom type via XML. I have associated a JSP with the custom type thru iFS manager. This jsp provides an interface for the user to enter various data. On submit I call

  • My keyboard keeps hiding in the middle of typing! HELP!

    I have a Droid X and recently i can't type anything without my keyboard hiding after almost every other word, or the words aren't showing up as I type them. Sometimes it is taking me a full minute to just type 4 words! This happens when i am typing a

  • Display out of control

    I`ve got an ipod mini. the apple icon and the battery status while loading is shown correctly on the display. the display is also correct while playing songs. but the very first menus don`t work at all. i see nothing on the display when i am in main

  • Alt Text, tooltip, metadata & keywords.

    I own a photographic stuido so our (3) sites are image driven with anywhere from 50 - 300 + images per site. I have been manualy entering Alt text and tool tips for the purpose of raising search visibility however with that many images/graphics it is

  • How to export repository to file system?

    Hello, within my bachelor thesis I am engaged in parsing ABAP Objects to calculate different code metrics. The analysis tool and many of the known parser-apis do require source-files at the file system layer. As SAP stores everything in a DB, I wonde