Details
-
Bug
-
Resolution: Cannot Reproduce
-
P3: Somewhat important
-
None
-
4.6.2, 5.0.1
-
None
-
CentOS 6.3 (Final) Linux kernel 2.6.32
Description
The following code leads to segmentation fault:
#include <QFile> #include <QtDebug> int main(int argc, char* argv[]) { QString file_name; QFile iut(file_name, new QObject()); for (int i = 0; i < 10; ++i) qDebug() << iut.readLine(); }