Crash going back twice while loading a page
Bug #1395748 reported by
Víctor R. Ruiz
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Unassigned | ||
webbrowser-app |
Fix Released
|
High
|
Olivier Tilloy | ||
webbrowser-app (Ubuntu) |
Fix Released
|
Undecided
|
Olivier Tilloy | ||
webbrowser-app (Ubuntu RTM) |
Fix Released
|
High
|
Olivier Tilloy |
Bug Description
Test case.
- Go to start.ubuntu.com
- After it loads, go to slashdot.org
- After it loads, go to linux.com
- While it is loading, tap to back button twice to go back to start.ubuntu.com
Expected result.
- Browser displays start.ubuntu.com
Actual result.
- Crash.
current build number: 118
device name: krillin
channel: ubuntu-
Related branches
lp:~osomon/webbrowser-app/disable-favicon-provider
- PS Jenkins bot: Needs Fixing (continuous-integration)
- Florian Boucault (community): Approve
-
Diff: 1189 lines (+565/-442)17 files modifiedsrc/Ubuntu/Components/Extras/Browser/CMakeLists.txt (+2/-2)
src/Ubuntu/Web/CMakeLists.txt (+2/-2)
src/Ubuntu/Web/favicon-image-provider.cpp (+0/-125)
src/Ubuntu/Web/favicon-image-provider.h (+0/-47)
src/Ubuntu/Web/plugin.cpp (+0/-3)
src/app/CMakeLists.txt (+2/-1)
src/app/Favicon.qml (+9/-5)
src/app/browserapplication.cpp (+2/-0)
src/app/favicon-fetcher.cpp (+167/-0)
src/app/favicon-fetcher.h (+70/-0)
tests/unittests/CMakeLists.txt (+1/-1)
tests/unittests/favicon-fetcher/CMakeLists.txt (+10/-0)
tests/unittests/favicon-fetcher/tst_FaviconFetcherTests.cpp (+280/-0)
tests/unittests/favicon-image-provider/CMakeLists.txt (+0/-10)
tests/unittests/favicon-image-provider/tst_FaviconImageProviderTests.cpp (+0/-242)
tests/unittests/qml/CMakeLists.txt (+7/-2)
tests/unittests/qml/tst_QmlTests.cpp (+13/-2)
lp:~osomon/webbrowser-app/disable-favicon-provider-rtm
- Bill Filler (community): Needs Fixing
-
Diff: 1189 lines (+566/-443)17 files modifiedsrc/Ubuntu/Components/Extras/Browser/CMakeLists.txt (+2/-2)
src/Ubuntu/Web/CMakeLists.txt (+2/-2)
src/Ubuntu/Web/favicon-image-provider.cpp (+0/-125)
src/Ubuntu/Web/favicon-image-provider.h (+0/-47)
src/Ubuntu/Web/plugin.cpp (+0/-3)
src/app/CMakeLists.txt (+2/-1)
src/app/Favicon.qml (+9/-5)
src/app/browserapplication.cpp (+2/-0)
src/app/favicon-fetcher.cpp (+167/-0)
src/app/favicon-fetcher.h (+70/-0)
tests/unittests/CMakeLists.txt (+1/-1)
tests/unittests/favicon-fetcher/CMakeLists.txt (+10/-0)
tests/unittests/favicon-fetcher/tst_FaviconFetcherTests.cpp (+280/-0)
tests/unittests/favicon-image-provider/CMakeLists.txt (+0/-10)
tests/unittests/favicon-image-provider/tst_FaviconImageProviderTests.cpp (+0/-242)
tests/unittests/qml/CMakeLists.txt (+7/-2)
tests/unittests/qml/tst_QmlTests.cpp (+14/-3)
Changed in webbrowser-app (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in webbrowser-app (Ubuntu RTM): | |
status: | Confirmed → In Progress |
Changed in webbrowser-app: | |
status: | In Progress → Fix Released |
Changed in webbrowser-app: | |
status: | Fix Released → In Progress |
Changed in webbrowser-app (Ubuntu RTM): | |
importance: | Undecided → High |
Changed in webbrowser-app: | |
importance: | Critical → High |
tags: | added: ww51 |
Changed in webbrowser-app: | |
status: | In Progress → Fix Released |
Changed in canonical-devices-system-image: | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
I can reproduce (although not 100% of the times) on desktop too. Here is how the backtrace looks like when ran in gdb:
#0 QCoreApplicatio n::postEvent (receiver= 0x3b78820, event=0x7fff400 41990, priority=0) qcoreapplicatio n.cpp:1284 der::processJob (this=0x3984d80, runningJob= 0x3b78820, url=..., =...) at util/qquickpixm apcache. cpp:563 der::processJob s (this=0x3984d80) at util/qquickpixm apcache. cpp:526 derThreadObject ::event (this=<optimized out>, e=<optimized out>) apcache. cpp:480 vate::notify_ helper (this=0x672610, receiver= 0x7fff400013a0, e=0x3b6dd70) qapplication. cpp:3504 :notify (this=0x7ffffff fdc70, receiver= 0x7fff400013a0, e=0x3b6dd70) qapplication. cpp:3287 n::notifyIntern al (this=0x7ffffff fdc70, receiver= 0x7fff400013a0, event@entry= 0x3b6dd70) at kernel/ qcoreapplicatio n.cpp:935 QtCore/ ../../src/ corelib/ kernel/ qcoreapplicatio n.h:237 nPrivate: :sendPostedEven ts (receiver= receiver@ entry=0x0, event_type= event_type@ entry=0, qcoreapplicatio n.cpp:1539 n::sendPostedEv ents (receiver= receiver@ entry=0x0, type=event_ type@entry= 0) at kernel/ qcoreapplicatio n.cpp:1397 Dispatch (s=0x7fff400012d0) at kernel/ qeventdispatche r_glib. cpp:279 context_ dispatch () from /lib/x86_ 64-linux- gnu/libglib- 2.0.so. 0 64-linux- gnu/libglib- 2.0.so. 0 context_ iteration () from /lib/x86_ 64-linux- gnu/libglib- 2.0.so. 0 rGlib:: processEvents (this=0x7fff400 008c0, flags=...) qeventdispatche r_glib. cpp:426 entry=0x7fff55f 3bdd0, flags=..., flags@entry=...) qeventloop. cpp:212 entry=0x3984d80 ) at thread/ qthread. cpp:511 der::run (this=0x3984d80) at util/qquickpixm apcache. cpp:688 :start (arg=0x3984d80) at thread/ qthread_ unix.cpp: 345 c700) at pthread_ create. c:309 unix/sysv/ linux/x86_ 64/clone. S:111
at kernel/
#1 0x00007ffff649945e in QQuickPixmapRea
requestSize
#2 0x00007ffff6499f84 in QQuickPixmapRea
#3 0x00007ffff649a2bd in QQuickPixmapRea
at util/qquickpixm
#4 0x00007ffff593b16c in QApplicationPri
at kernel/
#5 0x00007ffff594041e in QApplication:
at kernel/
#6 0x00007ffff797981b in QCoreApplicatio
event=
#7 0x00007ffff797b7e3 in sendEvent (event=0x3b6dd70, receiver=<optimized out>)
at ../../include/
#8 QCoreApplicatio
data=0x3980450) at kernel/
#9 0x00007ffff797bde8 in QCoreApplicatio
event_
#10 0x00007ffff79d0a63 in postEventSource
#11 0x00007ffff3c3ec5d in g_main_
#12 0x00007ffff3c3ef48 in ?? () from /lib/x86_
#13 0x00007ffff3c3effc in g_main_
#14 0x00007ffff79d0e57 in QEventDispatche
at kernel/
#15 0x00007ffff7977042 in QEventLoop::exec (this=this@
at kernel/
#16 0x00007ffff773b4a4 in QThread::exec (this=this@
#17 0x00007ffff649a346 in QQuickPixmapRea
#18 0x00007ffff77402ee in QThreadPrivate:
#19 0x00007ffff4ab90a5 in start_thread (arg=0x7fff55f3
#20 0x00007ffff4dc984d in clone () at ../sysdeps/
It seems the issue is with the custom FaviconImagePro vider class when a request for a favicon is issued and almost instantly cancelled.