Crash when visiting a page that requests geolocation
Bug #1267543 reported by
Olivier Tilloy
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Oxide |
Fix Released
|
High
|
Olivier Tilloy |
Bug Description
The following QML code crashes while rendering when launched with qmlscene:
import QtQuick 2.0
import com.canonical.Oxide 0.1
WebView {
width: 800
height: 600
url: "http://
}
Related branches
lp:~osomon/oxide/fix-geolocation-crash
- Chris Coulson: Pending requested
-
Diff: 180 lines (+121/-0)7 files modifiedqt/tests/qmltests/crash/geolocation.html (+7/-0)
qt/tests/qmltests/crash/tst_bug1267543.qml (+22/-0)
shared/browser/oxide_access_token_store.cc (+42/-0)
shared/browser/oxide_access_token_store.h (+41/-0)
shared/browser/oxide_content_browser_client.cc (+5/-0)
shared/browser/oxide_content_browser_client.h (+2/-0)
shared/shared.gyp (+2/-0)
Changed in oxide: | |
status: | New → In Progress |
tags: | added: desktop webapp-container |
Changed in oxide: | |
importance: | Undecided → High |
Changed in oxide: | |
status: | Triaged → In Progress |
Changed in oxide: | |
status: | In Progress → Fix Committed |
Changed in oxide: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This is the backtrace:
#0 content: :LocationArbitr atorImpl: :StartProviders (this=0x7fff580 01780, use_high_ accuracy= false) src/content/ browser/ geolocation/ location_ arbitrator_ impl.cc: 63 :GeolocationPro viderImpl: :StartProviders (this=0x7fff840 80660, high_accuracy= false) at chromium/ src/content/ browser/ geolocation/ geolocation_ provider_ impl.cc: 186 :RunnableAdapte r<void (content: :GeolocationPro viderImpl: :*)(bool) >::Run ( 0x7fff653714a0, object= 0x7fff84080660, a1=@0x7fff84094388: false) at chromium/ src/base/ bind_internal. h:190 :InvokeHelper< false, void, base::internal: :RunnableAdapte r<void (content: :GeolocationPro viderImpl: :*)(bool) >, void (content: :GeolocationPro viderImpl* , bool const&) >::MakeItSo( base::internal: :RunnableAdapte r<void (content: :GeolocationPro viderImpl: :*)(bool) >, content: :GeolocationPro viderImpl* , bool const&) ( src/base/ bind_internal. h:898 :Invoker< 2, base::internal: :BindState< base::internal: :RunnableAdapte r<void (content: :GeolocationPro viderImpl: :*)(bool) >, void (content: :GeolocationPro viderImpl* , bool), void (base:: internal: :UnretainedWrap per<content: :GeolocationPro viderImpl> , bool)>, void (content: :GeolocationPro viderImpl* , bool)>: :Run(base: :internal: :BindStateBase* ) (base=0x7fff840 94360) at chromium/ src/base/ bind_internal. h:1253 71808) src/base/ callback. h:401 op::RunTask (this=0x7fff580 00940, pending_task=...) src/base/ message_ loop/message_ loop.cc: 511 op::DeferOrRunP endingTask (this=0x7fff580 00940, pending_task=...) src/base/ message_ loop/message_ loop.cc: 523 op::DoWork (this=0x7fff580 00940) src/base/ message_ loop/message_ loop.cc: 637 mpDefault: :Run (this=0x7fff580 00cf0, delegate= 0x7fff58000940) src/base/ message_ loop/message_ pump_default. cc:32 op::RunInternal (this=0x7fff580 00940) src/base/ message_ loop/message_ loop.cc: 461 op::RunHandler (this=0x7fff580 00940) src/base/ message_ loop/message_ loop.cc: 433 71c50) at chromium/ src/base/ run_loop. cc:47 op::Run (this=0x7fff580 00940) src/base/ message_ loop/message_ loop.cc: 321 80668, message_ loop=0x7fff5800 0940) src/base/ threading/ thread. cc:172 :ThreadMain (this=0x7fff840 80668) at chromium/ src/base/ threading/ thread. cc:225 ::ThreadFunc (params= 0x7fff9cb25960) src/base/ threading/ platform_ thread_ posix.cc: 80
at chromium/
#1 0x00007fffbeb23369 in content:
use_
#2 0x00007fffbeb26cf2 in base::internal:
this=
#3 0x00007fffbeb2697a in base::internal:
runnable=..., a1=0x7fff84080660, a2=@0x7fff84094388: false) at chromium/
#4 0x00007fffbeb262fd in base::internal:
#5 0x00007fffba722f98 in base::Callback<void ()>::Run() const (this=0x7fff653
at chromium/
#6 0x00007fffba7bb0e8 in base::MessageLo
at chromium/
#7 0x00007fffba7bb216 in base::MessageLo
at chromium/
#8 0x00007fffba7bb766 in base::MessageLo
at chromium/
#9 0x00007fffba7ca2f5 in base::MessagePu
at chromium/
#10 0x00007fffba7bac16 in base::MessageLo
at chromium/
#11 0x00007fffba7baabc in base::MessageLo
at chromium/
#12 0x00007fffba81bc8a in base::RunLoop::Run (this=0x7fff653
#13 0x00007fffba7ba1f8 in base::MessageLo
at chromium/
#14 0x00007fffba86cd08 in base::Thread::Run (this=0x7fff840
at chromium/
#15 0x00007fffba86cf5f in base::Thread:
#16 0x00007fffba85a608 in base::(anonymous namespace)
at chromium/
#17 0x...