×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Regular Contributor
    Join Date
    Oct 2008
    Posts
    80

    Question "segmentation error"

    What does segmentation fault mean and why does it happen? i was trying to run the QCAMERA example, with a littile modifications of my own. it compiles fine but when i debug on my phone, the app doesnt even start and i get "received signal from OS : segmentation fault". what does that mean?

    when i try the "release" on phone the app doesnt start i get "Process 812, thread 813 stopped at 0x7a901138: A data abort exception has occurred."

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: "segmentation error"

    it starts, but crashes on start-up, thus check the panic code:http://wiki.forum.nokia.com/index.php/Panic also you could try adding breakpoints to see where it crashes at.

  3. #3
    Nokia Developer Champion
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: "segmentation error"

    Yes, add a breakpoint at the very first statement in your main(), and then step through to find out where it crashes. If you're lucky the debugger will even capture a bit of the stack when it crashes.

    If it's crashing before you get to main() then likely there's something wrong in the way your package is built.

  4. #4
    Regular Contributor
    Join Date
    Oct 2008
    Posts
    80

    Re: "segmentation error"

    i hv added a breakpoint at the constructor, but it doesnt reach there and it doesnt even recognise which file caused the error. he app crashes and debugger opens disassembler dump.

  5. #5
    Nokia Developer Champion
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: "segmentation error"

    First, carefully comb through the console output of the compile/build step and look for any suspicious messages.

  6. #6
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: "segmentation error"

    the panic code could also be interesting thing to see about, might give a clue on the actual problem..

  7. #7
    Nokia Developer Champion
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: "segmentation error"

    May be a capabilities issue.

Similar Threads

  1. SmartInstaller: "installer error" after "verifying components"
    By cymerio in forum [Archived] Nokia Smart Installer for Symbian
    Replies: 7
    Last Post: 2010-10-07, 16:35
  2. WML - Error "Operation failed" / "your application is too large"
    By crajesh_2985 in forum Mobile Java Tools & SDKs
    Replies: 3
    Last Post: 2009-10-06, 12:31
  3. Can anyone Explain me about "Segmentation and Reassembly SMS".
    By chaoraksa in forum Mobile Java General
    Replies: 4
    Last Post: 2009-03-22, 04:23
  4. Replies: 4
    Last Post: 2008-05-20, 19:07
  5. extern "C" gives "Illegal Empty Declaration error"
    By GreatWarrior in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2007-01-08, 16:55

Posting Permissions

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