{"action":"created","issue":{"url":"https://api.github.com/repos/qutebrowser/qutebrowser/issues/2704","repository_url":"https://api.github.com/repos/qutebrowser/qutebrowser","labels_url":"https://api.github.com/repos/qutebrowser/qutebrowser/issues/2704/labels{/name}","comments_url":"https://api.github.com/repos/qutebrowser/qutebrowser/issues/2704/comments","events_url":"https://api.github.com/repos/qutebrowser/qutebrowser/issues/2704/events","html_url":"https://github.com/qutebrowser/qutebrowser/issues/2704","id":234357497,"number":2704,"title":"Segfault on resq-club.com","user":{"login":"The-Compiler","id":625793,"avatar_url":"https://avatars0.githubusercontent.com/u/625793?v=4","gravatar_id":"","url":"https://api.github.com/users/The-Compiler","html_url":"https://github.com/The-Compiler","followers_url":"https://api.github.com/users/The-Compiler/followers","following_url":"https://api.github.com/users/The-Compiler/following{/other_user}","gists_url":"https://api.github.com/users/The-Compiler/gists{/gist_id}","starred_url":"https://api.github.com/users/The-Compiler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/The-Compiler/subscriptions","organizations_url":"https://api.github.com/users/The-Compiler/orgs","repos_url":"https://api.github.com/users/The-Compiler/repos","events_url":"https://api.github.com/users/The-Compiler/events{/privacy}","received_events_url":"https://api.github.com/users/The-Compiler/received_events","type":"User","site_admin":false},"labels":[{"id":653247466,"url":"https://api.github.com/repos/qutebrowser/qutebrowser/labels/bug:%20segfault/crash/hang","name":"bug: segfault/crash/hang","color":"d93f0b","default":false},{"id":344774661,"url":"https://api.github.com/repos/qutebrowser/qutebrowser/labels/component:%20QtWebEngine","name":"component: QtWebEngine","color":"0052cc","default":false},{"id":267497034,"url":"https://api.github.com/repos/qutebrowser/qutebrowser/labels/priority:%202%20-%20low","name":"priority: 2 - low","color":"0e8a16","default":false},{"id":134077470,"url":"https://api.github.com/repos/qutebrowser/qutebrowser/labels/qt","name":"qt","color":"c2e0c6","default":false},{"id":561681827,"url":"https://api.github.com/repos/qutebrowser/qutebrowser/labels/status:%20needs%20triage","name":"status: needs triage","color":"fef2c0","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-06-07T22:08:58Z","updated_at":"2018-03-28T13:26:10Z","closed_at":"2018-03-28T13:26:10Z","author_association":"COLLABORATOR","body":"With QtWebEngine, when allowing geolocation on https://resq-club.com/app/ and then clicking the icon at the top right, we get a segfault.\r\n\r\nI can reproduce this with:\r\n\r\n- qutebrowser and Qt 5.9\r\n- QupZilla and Qt 5.8\r\n- Qt Demobrowser and Qt 5.8\r\n\r\nbut not the 5.9 Qt Demobrowser...\r\n\r\nRelated error and stack:\r\n\r\n```\r\n00:06:36 ERROR: Failed to set Geoclue positioning requirements. Geoclue error: org.qtproject.QtDBus.Error.InvalidObjectPath\r\n\r\nThread 29 \"Geolocation\" received signal SIGSEGV, Segmentation fault.\r\n[Switching to Thread 0x7fff49f90700 (LWP 1356)]\r\n0x00007fff30001a10 in ?? ()\r\n(gdb) bt\r\n#0  0x00007fff30001a10 in  ()\r\nPython Exception <class 'TypeError'> expected string or bytes-like object: \r\n#1  0x00007fffdb596d8e in content::LocationArbitratorImpl::RegisterProvider(std::unique_ptr<content::LocationProvider, std::default_delete<content::LocationProvider> >) (this=this@entry=0x7fff300013b0, provider=)\r\n    at /tmp/makepkg/qt5-webengine-debug/src/qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/content/browser/geolocation/location_arbitrator_impl.cc:118\r\n#2  0x00007fffdb596e3a in content::LocationArbitratorImpl::RegisterSystemProvider() (this=0x7fff300013b0) at /tmp/makepkg/qt5-webengine-debug/src/qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/content/browser/geolocation/location_arbitrator_impl.cc:129\r\n#3  0x00007fffdb596efd in content::LocationArbitratorImpl::StartProviders(bool) (this=0x7fff300013b0, enable_high_accuracy=<optimized out>) at /tmp/makepkg/qt5-webengine-debug/src/qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/content/browser/geolocation/location_arbitrator_impl.cc:62\r\n#4  0x00007fffdcab7c0d in base::Callback<void (), (base::internal::CopyMode)1>::Run() const (this=0x7fff49f8fcd8) at /tmp/makepkg/qt5-webengine-debug/src/qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/base/callback.h:389\r\n#5  0x00007fffdcab7c0d in base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask const&) (this=this@entry=0x4ae4fc0, queue_function=queue_function@entry=0x7fffded756dc \"MessageLoop::PostTask\", pending_task=...)\r\n    at /tmp/makepkg/qt5-webengine-debug/src/qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/base/debug/task_annotator.cc:51\r\n#6  0x00007fffdca5e9ed in base::MessageLoop::RunTask(base::PendingTask const&) (this=this@entry=0x4ae4e40, pending_task=...) at /tmp/makepkg/qt5-webengine-debug/src/qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/base/message_loop/message_loop.cc:493\r\n#7  0x00007fffdca5f5fd in base::MessageLoop::DeferOrRunPendingTask(base::PendingTask const&) (this=this@entry=0x4ae4e40, pending_task=...) at /tmp/makepkg/qt5-webengine-debug/src/qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/base/message_loop/message_loop.cc:502\r\n#8  0x00007fffdca5f8e8 in base::MessageLoop::DoWork() (this=0x4ae4e40) at /tmp/makepkg/qt5-webengine-debug/src/qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/base/message_loop/message_loop.cc:624\r\n#9  0x00007fffdca613a9 in base::MessagePumpDefault::Run(base::MessagePump::Delegate*) (this=0x7fff300012b0, delegate=0x4ae4e40) at /tmp/makepkg/qt5-webengine-debug/src/qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/base/message_loop/message_pump_default.cc:35\r\n#10 0x00007fffdca77754 in base::RunLoop::Run() (this=this@entry=0x7fff49f8fea0) at /tmp/makepkg/qt5-webengine-debug/src/qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/base/run_loop.cc:35\r\n#11 0x00007fffdca8fc75 in base::Thread::Run(base::MessageLoop*) (this=<optimized out>, message_loop=<optimized out>) at /tmp/makepkg/qt5-webengine-debug/src/qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/base/threading/thread.cc:205\r\n#12 0x00007fffdca8ff94 in base::Thread::ThreadMain() (this=0x4ae89c8) at /tmp/makepkg/qt5-webengine-debug/src/qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/base/threading/thread.cc:256\r\n#13 0x00007fffdca8c4d2 in base::(anonymous namespace)::ThreadFunc(void*) (params=<optimized out>) at /tmp/makepkg/qt5-webengine-debug/src/qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/base/threading/platform_thread_posix.cc:70\r\n#14 0x00007ffff7bc3297 in start_thread () at /usr/lib/libpthread.so.0\r\n#15 0x00007ffff790425f in clone () at /usr/lib/libc.so.6\r\n```\r\n\r\nMost likely a Qt bug though..."},"comment":{"url":"https://api.github.com/repos/qutebrowser/qutebrowser/issues/comments/376885709","html_url":"https://github.com/qutebrowser/qutebrowser/issues/2704#issuecomment-376885709","issue_url":"https://api.github.com/repos/qutebrowser/qutebrowser/issues/2704","id":376885709,"user":{"login":"The-Compiler","id":625793,"avatar_url":"https://avatars0.githubusercontent.com/u/625793?v=4","gravatar_id":"","url":"https://api.github.com/users/The-Compiler","html_url":"https://github.com/The-Compiler","followers_url":"https://api.github.com/users/The-Compiler/followers","following_url":"https://api.github.com/users/The-Compiler/following{/other_user}","gists_url":"https://api.github.com/users/The-Compiler/gists{/gist_id}","starred_url":"https://api.github.com/users/The-Compiler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/The-Compiler/subscriptions","organizations_url":"https://api.github.com/users/The-Compiler/orgs","repos_url":"https://api.github.com/users/The-Compiler/repos","events_url":"https://api.github.com/users/The-Compiler/events{/privacy}","received_events_url":"https://api.github.com/users/The-Compiler/received_events","type":"User","site_admin":false},"created_at":"2018-03-28T13:26:10Z","updated_at":"2018-03-28T13:26:10Z","author_association":"COLLABORATOR","body":"I can't reproduce any crash anymore. I also get the error above, but that's probably some QtLocation/Geoclue configuration thing, and nothing qutebrowser can fix."}}
{"actor":{"display_login":"The-Compiler"}}