Quote Originally Posted by talk2amulya View Post
have u tested this on different platforms?
No, it can only be tested on the target device, which run linux debian.

Quote Originally Posted by marcel View Post
Can you post the stack trace?
When I use gdb to run the application, I never see segv error.

Quote Originally Posted by lni View Post
Is the function a virtual function? Virtual function does not work in constructor coz there is no v-table yet...

Also make sure all initialization has been completed because the object is still "under construction"...
Since most of the time the application works fine, I think it's not the constructor issue. The function itself is not virtual.

Quote Originally Posted by spirit View Post
maybe you pass invalid pointer in QObject::connect?
could you show us compilable code?
As I said, it works in most of times, so I think it can not happen that I pass invalid pointer.

To solve this, I initialize the dialog object out of QWindow1, then it seems work fine. Any thought? thanks