×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Regular Contributor
    Join Date
    Jul 2009
    Posts
    88

    Question " Signal Exception 0 received: A data abort exception has occurred..." when Debug N73

    Hi all,

    I debug my app on N73 with Carbide C++ 2.3, I meet a exception:

    Thread[Thread id: 1138] " Signal Exception 0 received: A data abort exception has occurred....

    Code:
    			TInt x = iAllMapRect.iTl.iX + iScreenSize.iWidth * c;
    			TInt y = iAllMapRect.iTl.iY + iScreenSize.iHeight * r;
    			TPoint p(x, y); // stop here, and throw exception, e32cmn.inl is showed and introduction pointer stop at function inline TPoint::TPoint(TInt aX,TInt aY): iX(aX),iY(aY)
    			...
    I have search on this forum but I haven't the way to solve this problem
    Anybody can help me ?
    Thank a lot!
    Best regards,

    Nguyend

  2. #2
    Regular Contributor
    Join Date
    Jul 2009
    Posts
    88

    Re: " Signal Exception 0 received: A data abort exception has occurred..." when Debug

    I delete code TPoint p(x, y), replace by a function call, ex: this->CallFunction
    And the exception throw at name of function
    void CallFunction()
    {
    // I debug but, introduction pointer doesn't go into thi function, it stop at void CallFunction
    ....
    }

    May be I am meeting a Out Of Memory Error ?
    Best regards,

    Nguyend

  3. #3
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: " Signal Exception 0 received: A data abort exception has occurred..." when Debug

    Quote Originally Posted by nguyend View Post
    May be I am meeting a Out Of Memory Error ?
    Almost. It may be a stack overflow. Review your code for large entities (as simple C-arrays like "TInt a[100]", descriptors like "TBuf<1000> b"), if they happen to appear as local variables, either directly, or as part of even larger T-objects (for example "class TLargeData {public: TInt iManyNumbers[100];TBuf<1000> iLongText;};".

  4. #4
    Regular Contributor
    Join Date
    Jul 2009
    Posts
    88

    Re: " Signal Exception 0 received: A data abort exception has occurred..." when Debug

    Anybody has another idea ?
    Please, thank !
    Best regards,

    Nguyend

  5. #5
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: " Signal Exception 0 received: A data abort exception has occurred..." when Debug

    You can increase the stack size (EPOCSTACKSIZE in the .mmp, or the related setting in Carbide.c++'s .mmp editor). Depending on what your code actually does, it may delay the crash by seconds/minutes/years.

  6. #6
    Regular Contributor
    Join Date
    Jul 2009
    Posts
    88

    Re: " Signal Exception 0 received: A data abort exception has occurred..." when Debug

    I find out stack size, and min max heap size, but I understand about them, can you show me about them, or do you have any link ?
    Thank a lot !
    Best regards,

    Nguyend

  7. #7
    Regular Contributor
    Join Date
    Jul 2009
    Posts
    88

    Re: " Signal Exception 0 received: A data abort exception has occurred..." when Debug

    My problem is out of memory, I have used many T Class with lagre size, I fix by use C Class with pointer

    Thank a lot !
    Best regards,

    Nguyend

Similar Threads

  1. A code abort exception has occurred
    By feinfinger in forum Symbian
    Replies: 9
    Last Post: 2011-02-17, 13:14
  2. Replies: 4
    Last Post: 2009-12-11, 09:43
  3. Replies: 3
    Last Post: 2008-12-31, 06:55
  4. Replies: 3
    Last Post: 2008-04-11, 11:19
  5. Debugger: Exception occurred during launch (Error within Debug UI)
    By tplehton in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2006-04-03, 09:22

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×