Qt core dump after the program run hours.



  • I am developing a program that used Qwebkit ,but when the program run one or two hour it will core dump.
    link text
    link text
    and the information in the stack is like this:
    link text

    my code will locate to the main function.
    how can I solve the problem


  • Moderators

    Try running a debugging session, and wait for it to crash.

    Or run it through valgrind and see it it reports any problems.



  • Hi and welcome to devnet,

    first step to solve the problem is to provide more information.
    Is your program using to many resources (for example you could have memory leaks and after a while you're not allowed to allocate more memory, ...)? There's a way to understand which line of code generated the crash? .....


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.