new QSslSocket fail/crash

Bug #1263677 reported by Ari Hannula
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
touch-preview-images
Invalid
Undecided
Unassigned

Bug Description

When I create QSslSocket *socket = new QSslSocket(); in my application, it crashes. On some Nexus 4 devices, it will not crash but on some it does. I.e. immediately when it calls some QSslSocket API. Also on desktop (amd64) it does not crash.

Seems that QSslSocketPrivate::ensureLibraryLoaded() has segmentation fault but not sure where exactly. OpenSSL/libssl is installed (1.0.1e).

Using trusty build r94.

description: updated
description: updated
description: updated
Revision history for this message
Ari Hannula (ari-hannula) wrote :

Additional findings:

When I run my app from ssh/terminal on device by calling ./myapp --desktop_file_hint=$PWD/myapp.desktop, there is no crash. Could there be some problem with apparmor?

Revision history for this message
Ari Hannula (ari-hannula) wrote :

Ok, solved this crash by changing apparmor profile for my app so that it uses "unconfined" template. Not a fix though, unless it was purely an apparmor configuration issue.

Bill Filler (bfiller)
Changed in touch-preview-images:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.