PDA

View Full Version : Segmentation fault (core dumped) ( 64 bit)



lyw8120
23rd October 2012, 17:34
I have no knowledge in this field and do not know how debug it.

I can compile my qt program(C++) in 32bit computer and work well. I also can compile it on 64bit computer, run and input some parameters, but it will exit when I push button to run and show this information.

any person can help me?

Thanks

mousa_mk
11th November 2012, 10:50
You don't need to know anything special about debugging to do the job, it's pretty staightforward:
Run your application in debug mode (using the debug button in the lower left corner of QtCreator). In case of Segmentation fault, it will pause and show you the exact place which causes the fault, and in the Stack view, the stack trace leading there.