Qt Application hang up in a qt_safe_read function
-
Hello,
My simple Qt Widgets Application hangs always on a qt_safe_read.
I run my application and when it hangs I pause the debug and it always stops in a qt_safe_read function (see attached picture).
Thanks.
-
@maher_electronic Please post the stack trace.
-
I have the screenshot of another application that also hangs at the same point and where the stack window is displayed.
I forgot to say before that the application works fine for Desktop. These problems only occur when the applications run on a Beaglebone Black with Angstrom.
-
@maher_electronic Do you have this issue with minimal Qt widget application also (from "New File or Project...)?
-
Hello @jsulm
As you told me I have created a new Qt Widget Application with no widgets (only a QMainWindow). I have tested for 1 hour and no blockage has been detected.
I need to try it for longer, but the other applications had this issue about 2-3 minutes after starting them.Thanks.
-
Hi,
Is the hanging application a Qt 4 application built for embedded and running on the target ?
From the looks of it, there's something fishy going on with the TTY. What is your device doing ?
-
Hello,
Yes, this application is a Qt4 application built for Beaglebone Black with Angstrom. The application is compiled on my Desktop with a qt cross-compiler for Angstrom and is deployed on the target.
The application is very simple. It only contains 3 buttons and 1 label. It does not write or read from any file (see attached pictures).
Thanks.