Problem in main.m file, SIGABRT !

Hey!
Run in to some confusing problems in my project, SIGABRT ?!
The program received signal SIGABRT?
Debugger shows that the problem was in the following main.m file:
#import <UIKit/UIKit.h>
int main(int argc, char *argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
*_int retVal = UIApplicationMain(argc, argv, nil, nil);_*
[pool release];
return retVal;
I can't se the problem in this code?!
Please help!

Not sure, you could try [pool drain]; to see if this fixes!

Similar Messages

  • Hi , my problem is that i can only create absolute links to other pdf-files in a main pdf-file. how can i switch to or create relative links. Thanks for help!

    Hi , my problem is that i can only create absolute links to other pdf-files in a main pdf-file. how can i switch to or create relative links. Thanks for help!

    I’m using version 11.0.10. So where the Menu resides in a folder ready to be burnt on to a CD, that same folder is where the links point to.
    Thanks

  • N95 8GB: Problem on deleting video file

    Hi,
    Is there any body experienced this problem. When I'm trying to delete a file from Video Centre > My videos directory, I'm receiving this error... "Unable to delete. File video.mp4 is open."
    Do you have resolution for this? Tnx in advance.
    Br,
    Pete

    21-Nov-200709:06 PM
    pmpinguel wrote:
    posted my detailed steps in the n95 8gb main discussion thread. go see
    I followed your steps but I got this message.... "USB data transfer mode activated. MASS MEMORY MAY NOT BE USED DURING THIS TIME."
    Actually the video file was not there anymore in my File Mgr folder but the problem is the video file is still there in Video centre > My videos folder. When I tried to delete the file using "c" or Options > delete, the error says "Unable to delete. File video.mp4 is open."
    I also tried to reset the phone to its factory settings but still video file was there.
    I think this is a bug. Pls advice. Tnx in advance.
    Br,
    Pete

  • Problems uncompressing compressed jar files

    Hi all,
    I am seeing an unusual issue where some entries don't have full header info. By this I mean, according to the ZIP spec, it is possible that the header info is stored before the file data, so you CAN get the right info. But sometimes, it can be stored as an EXT header, where it is some place AFTER the compressed file data.
    So most of the time we are getting good size/comrpessed size info and can properly get the entry out of the zip file. But sometimes, we get -1 values and are not able to get the entry at all.
    We are working on allowing a classloader to get classes out of an "embeded" zip/jar file. In other words, a jar file can contain embeded zip/jar files (only 1 level deep), and our classloader not only finds the classes of the main jar file (using the URLClassLoader capabilities, but if a class being looked for is not found in the main jar file, we then try to find it in any embeded jar/zip files. Finding the classes is fine, trying to create .class files out of the compressed data from an embeded jar/zip is the problem.
    We are getting NegativeArraySizeExceptions thrown.
    URLConnection connection = resURL.openConnection();
    byte[] classData = new byte[connection.getContentLength()];
    InputStream input = connection.getInputStream();
    The resURL points to an embeded jar/zip within the outer jar file. The exception is thrown in the 2nd line above, when we try to create the byte[] array to hold the class data. The getContentLength() returns -1.
    Any help would be appreciated. Thanks.

    ZipInputStream only reads the local file header (LFH) of an entry if getNextEntry() is called, when the size and compressed size are not in the LFH becourse the sizes were unknow when the LFH was written the sizes are set to -1 and a flag is set to indicate that the entry has an EXT header after the data which contains the sizes.
    So I think the only thing you could do at the moment it to write an extension of ZipInputStream that checks if the flag is set and then looks for the EXT header to get the sizes but the difficult part is to get the data, ZipInputStream uses a PushbackInputStream to read the data but that InputStream doesn't support the mark method.
    Good luck.

  • I had made a copy of the main revel file on my mac, and then i put it in my google drive folder for safety. I accidentally deleted one of the two libraries form my iPhone. I opened it up and panicked and thankfully I guess I had a backup of the other libr

    I had made a copy of the main revel file on my mac, and then i put it in my google drive folder for safety. I accidentally deleted one of the two libraries form my iPhone. I opened it up and panicked and thankfully I guess I had a backup of the other library in my spouses phone... but mine is still gone. I don't have them saved to my computer... the pictures are important and I really really need them back.  Is there a way for me to get the pictures back from what I believed at the time was a smart way to backup when i made a duplicate of that main mac file to my google drive? The best way to let me know is my email... [email protected]  I am really relying on you guys if there is a way?

    Hi meghage,
    From your code, it is a WebForm project.
    This forum is to discuss problems of Windows Forms. Your question is not related to the topic of this forum.
    You can consider posting it in asp.net forum for supports . Thanks.
    ASP.NET: http://forums.asp.net
    Regards,
    Youjun Tang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • InDesign CS5 causing problems with InCopy assignment file but not content files

    I'm having a strange InDesign/InCopy CS5 issue (Mac OSX 10.6.6; all system & Adobe updates are current).  In my InDesign doc I have one assignment file containing two content files. All of the InCopy pieces work fine in InDesign (i.e., I can check out/in, edit, etc.).  When I go to open the assignment file in InCopy, InCopy starts to open  it but then crashes. If I try to open each content file directly in  InCopy, no problem. I've tried deleting and recreating new assignments  in InDesign, but they all have the same result in InCopy.
    I think this actually is a problem with the InDesign file because if I export the InDesign file to IDML, then try to open the IDML file, InDesign crashes! I've trashed my InDesign preferences, made sure all cross-references are up to date, etc. Anybody have any ideas what else to look for in my InDesign file that might cause this problem?
    Thanks!
    Andrea

    Thanks John!
    1) Here are the first 10-ish lines from the crash report that is generated when I try to open the IDML file:
    Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
    0   ???                               0xa0c266f0 _XHNDL_trapback_instruction + 0
    1   com.adobe.InDesign.Indexing       0x20778192 GetPlugIn + 341394
    2   com.adobe.InDesign.Indexing       0x20779009 GetPlugIn + 345097
    3   PublicLib.dylib                   0x0129228b CScriptProvider::AccessProperties(IScriptRequestData*, IScript*) + 571
    4   com.adobe.InDesign.Scripting      0x1f4befe8 GetPlugIn + 166440
    5   com.adobe.InDesign.Scripting      0x1f4c2e31 GetPlugIn + 182385
    6   com.adobe.InDesign.INXCore        0x20641444 GetPlugIn + 45220
    7   PublicLib.dylib                   0x0142c9e8 CScriptDOMElement::GetMultipleAttributes(K2Vector<IDType<ScriptID_tag>, K2Allocator<IDType<ScriptID_tag> > > const&, adobe::version_1::vector<KeyValuePair<IDType<ScriptID_tag>, DOMAttributeValue>, adobe::version_1::capture_allocator<KeyValuePair<IDType<ScriptID_tag>, DOMAttributeValue> > >&) + 280
    8   PublicLib.dylib                   0x0142bd38 CScriptDOMElement::InsertProperties(adobe::version_1::vector<KeyValuePair<IDType<ScriptID _tag>, ScriptData>, adobe::version_1::capture_allocator<KeyValuePair<IDType<ScriptID_tag>, ScriptData> > >&, adobe::version_1::vector<KeyValuePair<IDType<ScriptID_tag>, DOMAttributeValue>, adobe::version_1::capture_allocator<KeyValuePair<IDType<ScriptID_tag>, DOMAttributeValue> > > const&, short, short) + 1336
    9   PublicLib.dylib                   0x0142beab CScriptDOMElement::SetSimpleAttributes(adobe::version_1::vector<KeyValuePair<IDType<Scrip tID_tag>, DOMAttributeValue>, adobe::version_1::capture_allocator<KeyValuePair<IDType<ScriptID_tag>, DOMAttributeValue> > > const&, short) + 91
    10  PublicLib.dylib                   0x0142c0d3 CScriptDOMElement::SetAttributes(adobe::version_1::vector<KeyValuePair<IDType<ScriptID_ta g>, DOMAttributeValue>, adobe::version_1::capture_allocator<KeyValuePair<IDType<ScriptID_tag>, DOMAttributeValue> > > const&) + 51
    11  PublicLib.dylib                   0x0142a2ea CScriptDOMElement::SetAttribute(IDType<ScriptID_tag>, DOMAttributeValue const&) + 202
    2) That works. Moved all pages (frame threading was preserved) to a new doc, exported to IDML, opened new IDML file just fine. Woo hoo! One of my editors won't be pleased that all of the tracked changes have disappeared, but at least the file functions now
    Wish I knew what caused the problem in the first place so we could (hopefully) prevent this from happening again. Any ideas?
    Thanks again for your help!
    Cheers,
    Andrea

  • Problems with reading XML files with ISO-8859-1 encoding

    Hi!
    I try to read a RSS file. The script below works with XML files with UTF-8 encoding but not ISO-8859-1. How to fix so it work with booth?
    Here's the code:
    import java.io.File;
    import javax.xml.parsers.*;
    import org.w3c.dom.*;
    import java.net.*;
    * @author gustav
    public class RSSDocument {
        /** Creates a new instance of RSSDocument */
        public RSSDocument(String inurl) {
            String url = new String(inurl);
            try{
                DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
                Document doc = builder.parse(url);
                NodeList nodes = doc.getElementsByTagName("item");
                for (int i = 0; i < nodes.getLength(); i++) {
                    Element element = (Element) nodes.item(i);
                    NodeList title = element.getElementsByTagName("title");
                    Element line = (Element) title.item(0);
                    System.out.println("Title: " + getCharacterDataFromElement(line));
                    NodeList des = element.getElementsByTagName("description");
                    line = (Element) des.item(0);
                    System.out.println("Des: " + getCharacterDataFromElement(line));
            } catch (Exception e) {
                e.printStackTrace();
        public String getCharacterDataFromElement(Element e) {
            Node child = e.getFirstChild();
            if (child instanceof CharacterData) {
                CharacterData cd = (CharacterData) child;
                return cd.getData();
            return "?";
    }And here's the error message:
    org.xml.sax.SAXParseException: Teckenkonverteringsfel: "Malformed UTF-8 char -- is an XML encoding declaration missing?" (radnumret kan vara f�r l�gt).
        at org.apache.crimson.parser.InputEntity.fatal(InputEntity.java:1100)
        at org.apache.crimson.parser.InputEntity.fillbuf(InputEntity.java:1072)
        at org.apache.crimson.parser.InputEntity.isXmlDeclOrTextDeclPrefix(InputEntity.java:914)
        at org.apache.crimson.parser.Parser2.maybeXmlDecl(Parser2.java:1183)
        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:653)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
        at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
        at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185)
        at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
        at getrss.RSSDocument.<init>(RSSDocument.java:25)
        at getrss.Main.main(Main.java:25)

    I read files from the web, but there is a XML tag
    with the encoding attribute in the RSS file.If you are quite sure that you have an encoding attribute set to ISO-8859-1 then I expect that your RSS file has non-ISO-8859-1 character though I thought all bytes -128 to 127 were valid ISO-8859-1 characters!
    Many years ago I had a problem with an XML file with invalid characters. I wrote a simple filter (using FilterInputStream) that made sure that all the byes it processed were ASCII. My problem turned out to be characters with value zero which the Microsoft XML parser failed to process. It put the parser in an infinite loop!
    In the filter, as each byte is read you could write out the Hex value. That way you should be able to find the offending character(s).

  • Video Demo editing changes do not show in the main presentation file (CP7)

    A Video Demo can be edited eg splitting a clip and inserting an image.
    When this has been done you save the file and re-open your main presentation file (cptx file) and insert the Video Demo file.
    All great in theory except that all the above changes that I have made do not play in the cptx file.
    I have raked my brains to think what I could be doing wrong, even though I am new to Captivate.
    Has anyone else had this problem or could suggest what I could be doing wrong to cuase this?
    Many thanks.

    The only way that seems to work is to use the Edit Video Demo button in the Properties panel of the cpvc, when selected in the Filmstrip.
    The solution that Haridoss gave, maybe I understood your problem not well, was to save the cpvc-file with another name after editing, deleting the old cpvc-slide and inserting the new cpvc with the different name. Another workaround is to delete the cpvc file in the Video folder of the Library, previous cpvc-slide(s) will be empty, then insert again the cpvc-slide, but you also have to delete the empty slides.
    It is confirmed as a bug. Crossing my fingers that it will be solved soon.
    Lilybiri

  • Problems In Running Executable File

    I Have A LabView Program Where The Sub VI Is a VI Tempelate,(I Already Tried Using Reentrant Function Through A VI,But I Had Some Issues<Which Caused The Program To Not Work Correctly>, Hence The *VIT)
    The Problem Is While Creating An Executable File 
    It Just Does Not Call The SUB VI
    I Tried Changing The Path Name To Inside The Application.exe But Still No Luck
    I Use Labview 2012

    Hello,
    Everyone, I guessed we meet the same issue.
    During debug mode, the main program can load vit file by vit file path, the interface and function both are ok. as soon as I build all files to exe file, the program can work well but it just means function is ok, the interface invoved vit file all couldn't be showed normally.
    I copied the original vit file to build package, there isn't any problem in Runing Executable File.
    This is just one way to solve this problem. I don't think it's the best way, who can provide a better idea?  which way is only to include vit file as other vi during build exe package, and anyone don't easy change original vit file, thanks!
    Champion

  • Problem reading a jar file ?!

    Hello,
    I am having a problem finding a class file which is inside a jar(xercesImpl.jar) which is in the classpath. I cant figure out what the problem.
    I suspect it could be because my JVM is not reading the jar correctly.
    When i click on a jar, a dialog box titled "java virtual machine launcher" saying "failed to load main-class manifest attribute .." is displayed.
    Is it that there are executable and non-executable jars, and JVM will execute only the former ones ?
    Or Does this mean somethign is wrong with my JRE/JVM??
    i also tried typing "jar t xercesImpl.jar" (to see if it can print the table of files) and it doesnt do anything, doesnt even return to the prompt.
    I am on win xp and few days back downloaded jdk1.5.0 and uninstalled previous jdk.
    it seems windows has its own jre. i am bit confused which is being used.
    i m a Java newbie, so please forgive my ignorance. Any help appreciated.
    Thank you.

    Hello,
    Well seems you are going through the horror of creating application jar file from command prompt. I went through the same and finally decided to make it through jBuilder. But the trouble persisted and I was getting same error as you were getting till I explicitly specified all the third party jar files I was using in the classpath and the problem was solved.
    I recommend you to explicitly set all the jars in classpath that are being used by your application. Also set the path of any resources if you have any.
    All the best.
    Hemanshu

  • Cant find the main setup file to download

    Hi,
    I have license for Photoshop cs5 12.0 tr ( 65048653 ) but when i search i can only reach to the
    upgade file, not the main setup file.
    Thanks

    if you follow all 7 steps you can directly download a trial here:  http://prodesigntools.com/all-adobe-cs5-direct-download-links.html
    and activate with your serial number.
    if you have a problem downloading, you didn't follow all 7 steps, or your browser does not accept cookies. 
    the most common problem is caused by failing to meticulously follow steps 1,2 and/or 3 (which adds a cookie to your system enabling you to download the correct version from adobe.com). 
    failure to obtain that cookie results in an error page being displayed after clicking a link on prodesigntools.com

  • Problem generating RoboHelp AIR file

    Hi:
    I installed the RoboHelp Packager for Air to work with my
    Adobe RoboHelp 7 on Windows XP Professional.
    I get a "WebHelp folder could not be copied" message after I
    click the "Generate" button in the AIR wizard. It does show me the
    progress bar with the title "Generating AIR Package", but after a
    few minutes, I get the "WebHelp folder could not be copied"
    message. And then another message "The Adobe AIR package could not
    be generated".
    My WebHelp folder is 80MB and contains 3700 files and 43
    subfolders.
    However, if I keep all the AIR wizard settings same but
    change ONLY the WebHelp folder location to the generated output of
    the CustomerCare sample RoboHelp project (2 MB; 224 files and 8
    folders), then the AIR file is successfully generated.
    So this leads me to believe there is a limit on the size of
    the WebHelp folder to generate the AIR file successfully. Does
    someone know what is this upper limit?
    Also, I ruled out the possibility of the WebHelp file
    path/location being the problem because my 80 MB WebHelp folder
    that did not work was in D:/ABCD/WebHelp while the RoboHelp
    CustomerCare 2MB WebHelp folder that worked was in C:\Documents and
    Settings\All Users\Documents\Documents\Adobe\Adobe RoboHelp
    7\RoboHTML\Samples\CustomerCare\!SSL!\WebHelp_US.
    I also tried moving my 80MB WebHelp folder to D:/WebHelp. No
    luck. Same Error.
    Any ideas?
    -K

    Hi,
    The issue which Geoff was facing has been resolved. I thought of passing the same information to the user forum, so that other users can benefit from this as well.
    The main problem which Geoff was facing was links were not working as expected for some of the popups in case of RHA file.
    The problem was in the file-names for the popup topics, The name of some of the popup topic file was having a unicode charcter in the file-name. Since RHA is basically a zip file, the unicode name was not getting saved  properly in the zipped RHA file. Changing the name of popup topic file (topic properties dialog), solved the problem of link break.
    As a thumb of rule, Users should try to keep the file names as simple ASCII characters, to avoid any unforseen issues. One more thing which is a problem is unicode file names having other issues when published on web-servers, as different browsers behave in different ways for unicode characters in web URL.
    One more question which also came up was how to ensure a proper order of labels shown in help application, in case of multiple help files.
    Well RoboHelp AIR Help application uses the id attribute provided in the helpcfg file to acertain the order of all the help files. So changing the id attribute also changes the order of Label in the AIR application.
    I hope it will help other users going forward.
    Thanks
    Praful

  • Possible to edit without the main.fla file?

    About 10 days ago I purchased a flash template for my photography business. At the time I knew zilch about flash and actionscript, so I wasn't totally aware of what to look for before purchasing it. Here is what it looks like dcpphotographer.com
    My problem with the site is that scrolling is terrible, especially on smaller screens. My monitor is 28inches so all the pictures layout fine without having to scroll at all, but then my friends with smaller monitors told me about the scrolling problem, how it just goes straight to the bottom then snaps back to the top. My file directory has a ton of .as files, and I've looked through some of them, and even deleted some from the file directory just to see if it'd have an effect on the website. The ones I temporarily deleted, changed nothing to the performance of the website.
    Then I saw that they did not provide me with the main.fla file, only the main.swf file. So, is the scroll behavior that I want to change contained within that main.fla file? Making it impossible for me to try and fix it since I don't have the main.fla file? Is that what controls all the .as files or something? Sorry for my ignorance, but web development is not my area of expertise, hence my reasons for buying a template. Any help would be appreciated.

    Great thanks thats what I thought. So I'm going to demand a refund from the company I got the template from since its been over a week and they haven't made the fix yet, and if they don't even give me the option to try and fix it myself then I should get a refund since there was nothing in the preview file showing that the scrolling was so bad because the sample galleries only had 15-20 pictures so no scrolling was necessary on their preview, and therefore no way to know it was so bad.

  • How do I access files that have been recovered (after a Mavericks problem) with the .cca file extension

    How do I access files that have been recovered (after a Mavericks problem) with the .cca file extension

    First, to access documents you must use an app designed for that specific Document type. So Pages will not be able to open PDFs. The Documents app by Readdle can handle PDFs though. In the latter case, you'd open the app, click the menu icon at its top left, and click Open to go to your iCloud Drive. With Pages, if you had files outside the main Pages folder, click + then iCloud and navigate to the file's location.
    Matt

  • Problems opening documents (zip files, excel) after upgrade to Snow Leopard

    Since upgrading to Snow Leopard I have not been able to open a lot of files. Mainly, zip files and excel documents (which I had no problem opening before the upgrade. It seems that when I save the files down (from my email or whatever) the files go into the "Archive Utility" program, I try to open them from the Finder but they still won't open (or unzip).
    When I go to open an excel document (most likely from a PC user), I get a msg that the file isn't formated for excel. However, before the upgrade to Snow Leopard I had no issue opening this same file in Mac Office-Excel.
    Thanks in advance for your help/advise.
    -Katherine

    Hello Katherine:
    I have not experienced those problems, but I do not receive Excel spreadsheets via E-mail. My Stuffit Expander version is 13.0.2.
    You might want to check your Excel preferences to see if there is a setting that needs to be changed (compatibility?). I use Office 2004 so your version may be different.
    You could also trash preference files to see if something happened during the install.
    Barry

Maybe you are looking for