×

Discussion Board

Results 1 to 13 of 13
  1. #1
    Registered User
    Join Date
    Mar 2011
    Posts
    29

    Qt application crashing.

    my ui application contains 44 pages.it runs fine but sometime get crash while running.
    the simulator closes on crash.

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

    Re: Qt application crashing.

    if you could run it on a device, you could at least get the panic code for the crash: http://wiki.forum.nokia.com/index.ph...ded_panic_code it could maybe tell something about the reason. Also you could try whether you could pinpoint the actual problem, by checking whther the crash is repeatable, and if it is, then you could try checking on what is actually be done when you get the crash.

  3. #3
    Registered User
    Join Date
    Mar 2011
    Posts
    29

    Re: Qt application crashing.

    thank you symbianyucca.
    Last edited by harshalsengar; 2011-04-22 at 05:47.

  4. #4
    Registered User
    Join Date
    Mar 2011
    Posts
    29

    Re: Qt application crashing.

    Actully i am using Qt Creator.I am trying to find the directory in the given link but din't find.
    How would i know the panic code there.

  5. #5
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: Qt application crashing.

    actually that idea was only for devices and if you are using the sdk the best way would be to keep break points and then test the application where you are getting the crash, that will help you to know where you are exactly getting the error and why.

    Regards

  6. #6
    Registered User
    Join Date
    Mar 2011
    Posts
    29

    Re: Qt application crashing.

    i am running application on device.And the application not crashes on particular.
    during run the screen suddenly become black.

  7. #7
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: Qt application crashing.

    thats because your application in going out of heap memory this is atleast what my experience tells, try increasing the heap memory or change your implementation which uses lots of memory at heap.

  8. #8
    Registered User
    Join Date
    Mar 2011
    Posts
    29

    Re: Qt application crashing.

    "\$(CODE_SEGMENT_START) ", "\$(DATA_SEGMENT_START) 0xA00000 "
    "\$(CODE_SEGMENT_START) ", "\$(DATA_SEGMENT_START) 0xA00000 "

    i used this in my cl_bpabi.pm

  9. #9
    Registered User
    Join Date
    Mar 2011
    Posts
    29

    Re: Qt application crashing.

    hello to all.....

    could you please tell me that, where i can find the "qtsoap" implimentation knowledge for symbian.

  10. #10
    Registered User
    Join Date
    Apr 2011
    Location
    Ahmedabad, India
    Posts
    37

    Thumbs up Re: Qt application crashing.

    Quote Originally Posted by harshalsengar View Post
    hello to all.....

    could you please tell me that, where i can find the "qtsoap" implimentation knowledge for symbian.
    Get more knowledge about Qtsoap.
    - AbhisheKhetani

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

    Re: Qt application crashing.

    Quote Originally Posted by harshalsengar View Post
    "\$(CODE_SEGMENT_START) ", "\$(DATA_SEGMENT_START) 0xA00000 "
    "\$(CODE_SEGMENT_START) ", "\$(DATA_SEGMENT_START) 0xA00000 "

    i used this in my cl_bpabi.pm
    That has nothing to do with heap.

  12. #12
    Registered User
    Join Date
    Mar 2011
    Posts
    29

    Re: Qt application crashing.

    hello danhicksbyron,
    thanks for reply,

    can u tell me the another solution.

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

    Re: Qt application crashing.

    Well, you need to figure out why it's crashing. Odds are, it's either running out of heap (possibly due to a leak, possibly just too much stuff), or it's encountering an addressing fault (usually due to "dangling pointers").

    FIrst thing to do is to monitor heap size as the application runs.

    But if this is the simulator, and the entire simulator is going "poof", then it's more likely some sort of addressing fault. The simulator doesn't handle these very well.

    Black images on the screen, on the other hand, is a sure sign of running out of heap.

Similar Threads

  1. application crashing
    By yahoo2010 in forum Symbian C++
    Replies: 5
    Last Post: 2010-09-14, 22:00
  2. Replies: 5
    Last Post: 2010-09-07, 13:35
  3. Application crashing MMFServerProxy...
    By codepatch in forum Symbian C++
    Replies: 4
    Last Post: 2007-07-25, 16:58

Posting Permissions

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