Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
4.7.0
-
None
-
Symbian^3, Qt4.7.0, N8
-
d16fcbc6d6b00770a5106027c24ed7cf7e92c1d5
Description
Steps to reproduce:
1) Have a SIM card in device which has a user certificate (Sonera Type A SIM card is one of them)
2) Run a QT application which has an API call QSslSocket::systemCaCertificates().
Actual Result:
The API call hangs the whole application in which it is called. API never recovers back.
Expected Result:
API must return the list of QSslCertificates stored in the device and Must not hang.
Attached is a small sample application where on click on button the API is called.
QT's bug seems to systematic even with this totally OMB or SSO DE independent piece of code.
Normal NTN SIM: TLStest works fine
NTN (GemPlus) SIM /w an user cert
TLStest stucks inside QSslSocket::systemCaCertificates() does not repaint the UI and thus, "Entering text not shown".
Reboot, normal SIM, works again.
NTN (GemPlus) SIM /w an user cert - again stuck.
void Widget::on_pushButtonTest_clicked() { QString certInfo; ui->textEditStatus->setText("Entering QSslSocket::systemCaCertificates()"); QList<QSslCertificate> certList = QSslSocket::systemCaCertificates(); certInfo.sprintf("Got %d cert%s<br>\n",certList.size(), certList.size()>1?"s":""); ui->textEditStatus->setText(certInfo); for(int i = 0; i < certList.size(); i++) { certInfo.append("Issuer: " + certList[i].issuerInfo(QSslCertificate::Organization) + "<br>\n"); } ui->textEditStatus->setText(certInfo); }
Attachments
Issue Links
- relates to
-
QTBUG-13033 QSslSocketPrivate::systemCaCertificates() hangs sometimes on Symbian
-
- Closed
-
-
QTBUG-15005 While creating object of QSSLCertificate, Applications hangs when sonera GemPlus 3G sim is present.
-
- Closed
-
-
QTBUG-18503 CLONE - Making a HTTPS request using QNetworkAccessManager hangs the application on Symbian Qt 4.7.2
-
- Closed
-