Camera crashes when taking pictures with qt5.1.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
camera-app (Ubuntu) |
Fix Released
|
High
|
Günter Schwann | ||
qtbase-opensource-src (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Using the following Qt5.1.1 packages from https:/
libqt5core5:armhf 5.1.1+dfsg-
libqt5opengl5:armhf 5.1.1+dfsg-
Steps to reproduce:
1 - Open the camera-app
2 - Take a picture
Can't reproduce all the time, but it's quite easy to reproduce the issue.
Backtrace:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x49aa8460 (LWP 5262)]
0x00000000 in ?? ()
(gdb) bt full
#0 0x00000000 in ?? ()
No symbol table info available.
#1 0x403dceaa in QSGOpaqueTextur
tx = 0x386fd4
oldTx = 0x0
size = {wd = 1235909436, ht = 1077792673}
isNpot = <optimized out>
#2 0x403d6700 in QSGDefaultRende
geomNode = 0x386f30
updates = <optimized out>
changeClip = <optimized out>
material = 0x386fd4
program = 0x279c30
i = 0
scale = <optimized out>
projection = {m = {{0.00260416674, 0, 0, 0}, {0, -0.00163666124, 0, 0}, {0, 0, 1, 0}, {-1, 1, 0, 1}}, flagBits = 3}
#3 0x403d6a32 in QSGDefaultRende
opaqueEnd = 3
i = 0
r = <optimized out>
sortNodes = <optimized out>
opaqueStart = <optimized out>
#4 0x403da1de in QSGRenderer:
bindTime = 0
renderTime = 0
#5 0x403da2e8 in QSGRenderer:
b = warning: RTTI symbol not found for class 'QSGRenderer:
{<QSGBindable> = {_vptr.QSGBindable = 0x40503ad8 <vtable for QSGRenderer:
#6 0x403e0e56 in QSGContext:
No locals.
#7 0x4040452e in QQuickWindowPri
fboId = <optimized out>
#8 0x403f1ace in QSGRenderThread
i = 0
waitTimer = {t1 = 725, t2 = 845641251}
#9 0x403f2996 in QSGRenderThread
No locals.
#10 0x4009a86c in QThreadPrivate:
__clframe = {__cancel_routine = 0x40099ff1 <QThreadPrivate
thr = 0x40330
data = <optimized out>
objectName = {static null = {<No data fields>}, d = 0x4020ce94 <QArrayData:
#11 0x40ad1e64 in start_thread (arg=0x49aa8460) at pthread_
pd = 0x49aa8460
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {1235912312, 1235911776, 1, 1235910120, -1090523272, -1090523272, 1235911776, 1112166720, 1235910120, 1085087299, 0 <repeats 16 times>,
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
#12 0x40a79758 in ?? () at ../ports/
No locals.
#13 0x40a79758 in ?? () at ../ports/
CVE References
tags: | added: qt5.1 |
Changed in camera-app (Ubuntu): | |
importance: | Undecided → High |
assignee: | nobody → Günter Schwann (schwann) |
Changed in camera-app (Ubuntu): | |
status: | New → Fix Released |
The crash is caused by the preview sliding down after the capture.
Actually it's after the animation, the image is reset by setting it's source to "", that triggers the crash.
This does not happen when an image is loaded from disk as preview.