← Back to team overview

ubuntu-webapps-bugs team mailing list archive

[Bug 1459142] [NEW] Oxide 1.7 makes Unity8 qml tests not pass in a chroot

 

Public bug reported:

When using oxide 1.5.5-0ubuntu1 as shipped in vivid the qml tests of
unity8 pass just fine.

When using oxide 1.7.8-0ubuntu0.15.04.1 the test for the wizard hangs
and says

[0527/073908:FATAL:setuid_sandbox_client.cc(126)] Check failed:
IsFileSystemAccessDenied().

The backtrace of the hang is http://paste.ubuntu.com/11386907/

Example of the hang happening in https://jenkins.qa.ubuntu.com/job
/unity-phablet-qmluitests-wily/29/console

** Affects: oxide
     Importance: Undecided
         Status: New

** Description changed:

  When using oxide 1.5.5-0ubuntu1 as shipped in vivid the qml tests of
  unity8 pass just fine.
  
- When using oxide the test for the wizard hangs and says
+ When using oxide 1.7.8-0ubuntu0.15.04.1 the test for the wizard hangs
+ and says
  
  [0527/073908:FATAL:setuid_sandbox_client.cc(126)] Check failed:
  IsFileSystemAccessDenied().
  
  The backtrace of the hang is
  
  #0  0x00007f07a9daee9d in recvmsg () at ../sysdeps/unix/syscall-template.S:81
  #1  0x00007f077828258c in UnixDomainSocket::RecvMsgWithFlags (fd=25, buf=buf@entry=0x7ffd5cb61280, length=length@entry=11, flags=flags@entry=0, fds=fds@entry=0x7ffd5cb61290, out_pid=out_pid@entry=0x2101d48)
-     at ../../../../third_party/chromium/src/base/posix/unix_domain_socket_linux.cc:125
+     at ../../../../third_party/chromium/src/base/posix/unix_domain_socket_linux.cc:125
  #2  0x00007f077828278d in UnixDomainSocket::RecvMsgWithPid (fd=<optimized out>, buf=buf@entry=0x7ffd5cb61280, length=length@entry=11, fds=fds@entry=0x7ffd5cb61290, pid=pid@entry=0x2101d48) at ../../../../third_party/chromium/src/base/posix/unix_domain_socket_linux.cc:97
  #3  0x00007f07785e441b in content::(anonymous namespace)::ReceiveFixedMessage (fd=<optimized out>, expect_msg=expect_msg@entry=0x7f077b117ff3 <content::kZygoteHelloMessage> "ZYGOTE_OK", expect_len=expect_len@entry=10, sender_pid=sender_pid@entry=0x2101d48)
-     at ../../../../third_party/chromium/src/content/browser/zygote_host/zygote_host_impl_linux.cc:68
+     at ../../../../third_party/chromium/src/content/browser/zygote_host/zygote_host_impl_linux.cc:68
  #4  0x00007f07785e56cd in content::ZygoteHostImpl::Init (this=0x2101d10, sandbox_cmd="/usr/lib/x86_64-linux-gnu/oxide-qt/chrome-sandbox") at ../../../../third_party/chromium/src/content/browser/zygote_host/zygote_host_impl_linux.cc:206
  #5  0x00007f077831b355 in content::(anonymous namespace)::SetupSandbox (parsed_command_line=...) at ../../../../third_party/chromium/src/content/browser/browser_main_loop.cc:178
  #6  0x00007f077831dbe9 in content::BrowserMainLoop::EarlyInitialization (this=0x2101670) at ../../../../third_party/chromium/src/content/browser/browser_main_loop.cc:396
  #7  0x00007f07783212fa in content::BrowserMainRunnerImpl::Initialize (this=0x21231a0, parameters=...) at ../../../../third_party/chromium/src/content/browser/browser_main_runner.cc:183
- #8  0x00007f0778218aa1 in oxide::BrowserProcessMainImpl::Start (this=this@entry=0x7f077bfb11e0 <oxide::BrowserProcessMain::GetInstance()::g_instance>, delegate=..., nss_db_path=..., gl_impl=gl_impl@entry=gfx::kGLImplementationDesktopGL, 
-     process_model=process_model@entry=oxide::PROCESS_MODEL_MULTI_PROCESS) at ../../../../shared/browser/oxide_browser_process_main.cc:466
+ #8  0x00007f0778218aa1 in oxide::BrowserProcessMainImpl::Start (this=this@entry=0x7f077bfb11e0 <oxide::BrowserProcessMain::GetInstance()::g_instance>, delegate=..., nss_db_path=..., gl_impl=gl_impl@entry=gfx::kGLImplementationDesktopGL,
+     process_model=process_model@entry=oxide::PROCESS_MODEL_MULTI_PROCESS) at ../../../../shared/browser/oxide_browser_process_main.cc:466
  #9  0x00007f07781e68c8 in oxide::qt::BrowserStartup::EnsureChromiumStarted (this=0x7f077bfb0ff0 <oxide::qt::(anonymous namespace)::(anonymous namespace)::Q_QGS_g_instance::innerFunction()::holder>) at ../../../../qt/core/browser/oxide_qt_browser_startup.cc:178
  #10 0x00007f0782e6f6a3 in oxide::qquick::EnsureChromiumStarted() () from /usr/lib/x86_64-linux-gnu/libOxideQtQuick.so.0
  #11 0x00007f0782e64d23 in OxideQQuickWebView::OxideQQuickWebView(QQuickItem*) () from /usr/lib/x86_64-linux-gnu/libOxideQtQuick.so.0
  #12 0x00007f0782ef4851 in QQmlPrivate::QQmlElement<OxideQQuickWebView>::QQmlElement() () from /usr/lib/x86_64-linux-gnu/qt5/qml/com/canonical/Oxide/libqmloxideplugin.so
  #13 0x00007f0782ef48ad in void QQmlPrivate::createInto<OxideQQuickWebView>(void*) () from /usr/lib/x86_64-linux-gnu/qt5/qml/com/canonical/Oxide/libqmloxideplugin.so
  #14 0x00007f07a85a76bb in QQmlType::create (this=this@entry=0x7f078c2de890) at qml/qqmlmetatype.cpp:712
  #15 0x00007f07a860d1b1 in QQmlObjectCreator::createInstance (this=this@entry=0x7ffd5cb62240, index=index@entry=0, parent=parent@entry=0x0, isContextObject=isContextObject@entry=true) at qml/qqmlobjectcreator.cpp:1061
  #16 0x00007f07a860d8bc in QQmlObjectCreator::create (this=this@entry=0x7ffd5cb62240, subComponentIndex=subComponentIndex@entry=-1, parent=parent@entry=0x0, interrupt=interrupt@entry=0x0) at qml/qqmlobjectcreator.cpp:220
  #17 0x00007f07a860d3b0 in QQmlObjectCreator::createInstance (this=this@entry=0x1cb9ba0, index=6, parent=0x1c96480, isContextObject=isContextObject@entry=false) at qml/qqmlobjectcreator.cpp:1091
  #18 0x00007f07a860eb45 in QQmlObjectCreator::setPropertyBinding (this=this@entry=0x1cb9ba0, property=property@entry=0x7f078c0c8888, binding=binding@entry=0x7f078c3bff80) at qml/qqmlobjectcreator.cpp:774
  #19 0x00007f07a860f8b1 in QQmlObjectCreator::setupBindings (this=this@entry=0x1cb9ba0, bindingsToSkip=...) at qml/qqmlobjectcreator.cpp:733
  #20 0x00007f07a860bdbd in QQmlObjectCreator::populateInstance (this=this@entry=0x1cb9ba0, index=2, instance=0x2125dc0, instance@entry=0x1c96480, bindingTarget=0x2125dc0, bindingTarget@entry=0x1c96480, valueTypeProperty=valueTypeProperty@entry=0x0, bindingsToSkip=...)
-     at qml/qqmlobjectcreator.cpp:1338
+     at qml/qqmlobjectcreator.cpp:1338
  #21 0x00007f07a860cb1e in QQmlObjectCreator::createInstance (this=this@entry=0x1cb9ba0, index=2, parent=<optimized out>, isContextObject=isContextObject@entry=false) at qml/qqmlobjectcreator.cpp:1186
  #22 0x00007f07a860eb45 in QQmlObjectCreator::setPropertyBinding (this=this@entry=0x1cb9ba0, property=property@entry=0x7f078c0c8888, binding=binding@entry=0x7f078c3bfde4) at qml/qqmlobjectcreator.cpp:774
  #23 0x00007f07a860f8b1 in QQmlObjectCreator::setupBindings (this=this@entry=0x1cb9ba0, bindingsToSkip=...) at qml/qqmlobjectcreator.cpp:733
  #24 0x00007f07a860bdbd in QQmlObjectCreator::populateInstance (this=this@entry=0x1cb9ba0, index=0, instance=0x0, instance@entry=0x2125dc0, bindingTarget=0x3d80000000000000, bindingTarget@entry=0x2125dc0, valueTypeProperty=valueTypeProperty@entry=0x0, bindingsToSkip=...)
-     at qml/qqmlobjectcreator.cpp:1338
+     at qml/qqmlobjectcreator.cpp:1338
  #25 0x00007f07a860cb1e in QQmlObjectCreator::createInstance (this=this@entry=0x1cb9ba0, index=index@entry=0, parent=parent@entry=0x0, isContextObject=isContextObject@entry=true) at qml/qqmlobjectcreator.cpp:1186
  #26 0x00007f07a860d8bc in QQmlObjectCreator::create (this=0x1cb9ba0, subComponentIndex=-1, parent=parent@entry=0x0, interrupt=interrupt@entry=0x0) at qml/qqmlobjectcreator.cpp:220
  #27 0x00007f07a8591515 in QQmlComponentPrivate::beginCreate (this=0x1cb9790, context=0x1c88e50) at qml/qqmlcomponent.cpp:880
  #28 0x00007f07a8591b14 in beginCreate (publicContext=<optimized out>, this=0x1db3eb0) at qml/qqmlcomponent.cpp:829
  #29 QQmlComponent::createObject (this=0x1db3eb0, args=0x7ffd5cb63240) at qml/qqmlcomponent.cpp:1230
  #30 0x00007f07a867913c in QQmlComponent::qt_static_metacall (_o=_o@entry=0x1db3eb0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=6, _a=_a@entry=0x7ffd5cb63270) at .moc/moc_qqmlcomponent.cpp:147
  #31 0x00007f07a867940b in QQmlComponent::qt_metacall (this=0x1db3eb0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7ffd5cb63270) at .moc/moc_qqmlcomponent.cpp:220
  #32 0x00007f07a85ce7cc in QQmlObjectOrGadget::metacall (this=this@entry=0x7ffd5cb631a0, type=type@entry=QMetaObject::InvokeMetaMethod, index=11, argv=argv@entry=0x7ffd5cb63270) at qml/qqmlpropertycache.cpp:1689
  #33 0x00007f07a854b7b4 in QV4::QObjectMethod::callInternal (this=<optimized out>, callData=0x7f07915df880) at jsruntime/qv4qobjectwrapper.cpp:1879
  #34 0x00007f07a855f9a5 in call (d=0x7f07915df880, this=<optimized out>) at jsruntime/qv4object_p.h:302
  #35 QV4::Runtime::callProperty (engine=0x12bfa00, nameIndex=<optimized out>, callData=0x7f07915df880) at jsruntime/qv4runtime.cpp:974
  #36 0x00007f07900da58e in ?? ()
  #37 0x00000000012bfa00 in ?? ()
  #38 0x267ca881af009500 in ?? ()
  #39 0x00007f078c014ad8 in ?? ()
  #40 0x00007f07915df840 in ?? ()
  #41 0x00007f07915df828 in ?? ()
  #42 0x00007f07a851303a in getValue (attrs=..., p=<optimized out>, this=0x7f07915df8c0) at jsruntime/qv4object_p.h:175
  #43 QV4::Object::internalGet (this=0x7f07915df8c0, name=<optimized out>, hasProperty=0x12bfa00) at jsruntime/qv4object.cpp:603
  #44 0x00000000012bfa00 in ?? ()
  #45 0x00007ffd5cb6344f in ?? ()
  #46 0x0000000000000000 in ?? ()

** Description changed:

  When using oxide 1.5.5-0ubuntu1 as shipped in vivid the qml tests of
  unity8 pass just fine.
  
  When using oxide 1.7.8-0ubuntu0.15.04.1 the test for the wizard hangs
  and says
  
  [0527/073908:FATAL:setuid_sandbox_client.cc(126)] Check failed:
  IsFileSystemAccessDenied().
  
- The backtrace of the hang is
- 
- #0  0x00007f07a9daee9d in recvmsg () at ../sysdeps/unix/syscall-template.S:81
- #1  0x00007f077828258c in UnixDomainSocket::RecvMsgWithFlags (fd=25, buf=buf@entry=0x7ffd5cb61280, length=length@entry=11, flags=flags@entry=0, fds=fds@entry=0x7ffd5cb61290, out_pid=out_pid@entry=0x2101d48)
-     at ../../../../third_party/chromium/src/base/posix/unix_domain_socket_linux.cc:125
- #2  0x00007f077828278d in UnixDomainSocket::RecvMsgWithPid (fd=<optimized out>, buf=buf@entry=0x7ffd5cb61280, length=length@entry=11, fds=fds@entry=0x7ffd5cb61290, pid=pid@entry=0x2101d48) at ../../../../third_party/chromium/src/base/posix/unix_domain_socket_linux.cc:97
- #3  0x00007f07785e441b in content::(anonymous namespace)::ReceiveFixedMessage (fd=<optimized out>, expect_msg=expect_msg@entry=0x7f077b117ff3 <content::kZygoteHelloMessage> "ZYGOTE_OK", expect_len=expect_len@entry=10, sender_pid=sender_pid@entry=0x2101d48)
-     at ../../../../third_party/chromium/src/content/browser/zygote_host/zygote_host_impl_linux.cc:68
- #4  0x00007f07785e56cd in content::ZygoteHostImpl::Init (this=0x2101d10, sandbox_cmd="/usr/lib/x86_64-linux-gnu/oxide-qt/chrome-sandbox") at ../../../../third_party/chromium/src/content/browser/zygote_host/zygote_host_impl_linux.cc:206
- #5  0x00007f077831b355 in content::(anonymous namespace)::SetupSandbox (parsed_command_line=...) at ../../../../third_party/chromium/src/content/browser/browser_main_loop.cc:178
- #6  0x00007f077831dbe9 in content::BrowserMainLoop::EarlyInitialization (this=0x2101670) at ../../../../third_party/chromium/src/content/browser/browser_main_loop.cc:396
- #7  0x00007f07783212fa in content::BrowserMainRunnerImpl::Initialize (this=0x21231a0, parameters=...) at ../../../../third_party/chromium/src/content/browser/browser_main_runner.cc:183
- #8  0x00007f0778218aa1 in oxide::BrowserProcessMainImpl::Start (this=this@entry=0x7f077bfb11e0 <oxide::BrowserProcessMain::GetInstance()::g_instance>, delegate=..., nss_db_path=..., gl_impl=gl_impl@entry=gfx::kGLImplementationDesktopGL,
-     process_model=process_model@entry=oxide::PROCESS_MODEL_MULTI_PROCESS) at ../../../../shared/browser/oxide_browser_process_main.cc:466
- #9  0x00007f07781e68c8 in oxide::qt::BrowserStartup::EnsureChromiumStarted (this=0x7f077bfb0ff0 <oxide::qt::(anonymous namespace)::(anonymous namespace)::Q_QGS_g_instance::innerFunction()::holder>) at ../../../../qt/core/browser/oxide_qt_browser_startup.cc:178
- #10 0x00007f0782e6f6a3 in oxide::qquick::EnsureChromiumStarted() () from /usr/lib/x86_64-linux-gnu/libOxideQtQuick.so.0
- #11 0x00007f0782e64d23 in OxideQQuickWebView::OxideQQuickWebView(QQuickItem*) () from /usr/lib/x86_64-linux-gnu/libOxideQtQuick.so.0
- #12 0x00007f0782ef4851 in QQmlPrivate::QQmlElement<OxideQQuickWebView>::QQmlElement() () from /usr/lib/x86_64-linux-gnu/qt5/qml/com/canonical/Oxide/libqmloxideplugin.so
- #13 0x00007f0782ef48ad in void QQmlPrivate::createInto<OxideQQuickWebView>(void*) () from /usr/lib/x86_64-linux-gnu/qt5/qml/com/canonical/Oxide/libqmloxideplugin.so
- #14 0x00007f07a85a76bb in QQmlType::create (this=this@entry=0x7f078c2de890) at qml/qqmlmetatype.cpp:712
- #15 0x00007f07a860d1b1 in QQmlObjectCreator::createInstance (this=this@entry=0x7ffd5cb62240, index=index@entry=0, parent=parent@entry=0x0, isContextObject=isContextObject@entry=true) at qml/qqmlobjectcreator.cpp:1061
- #16 0x00007f07a860d8bc in QQmlObjectCreator::create (this=this@entry=0x7ffd5cb62240, subComponentIndex=subComponentIndex@entry=-1, parent=parent@entry=0x0, interrupt=interrupt@entry=0x0) at qml/qqmlobjectcreator.cpp:220
- #17 0x00007f07a860d3b0 in QQmlObjectCreator::createInstance (this=this@entry=0x1cb9ba0, index=6, parent=0x1c96480, isContextObject=isContextObject@entry=false) at qml/qqmlobjectcreator.cpp:1091
- #18 0x00007f07a860eb45 in QQmlObjectCreator::setPropertyBinding (this=this@entry=0x1cb9ba0, property=property@entry=0x7f078c0c8888, binding=binding@entry=0x7f078c3bff80) at qml/qqmlobjectcreator.cpp:774
- #19 0x00007f07a860f8b1 in QQmlObjectCreator::setupBindings (this=this@entry=0x1cb9ba0, bindingsToSkip=...) at qml/qqmlobjectcreator.cpp:733
- #20 0x00007f07a860bdbd in QQmlObjectCreator::populateInstance (this=this@entry=0x1cb9ba0, index=2, instance=0x2125dc0, instance@entry=0x1c96480, bindingTarget=0x2125dc0, bindingTarget@entry=0x1c96480, valueTypeProperty=valueTypeProperty@entry=0x0, bindingsToSkip=...)
-     at qml/qqmlobjectcreator.cpp:1338
- #21 0x00007f07a860cb1e in QQmlObjectCreator::createInstance (this=this@entry=0x1cb9ba0, index=2, parent=<optimized out>, isContextObject=isContextObject@entry=false) at qml/qqmlobjectcreator.cpp:1186
- #22 0x00007f07a860eb45 in QQmlObjectCreator::setPropertyBinding (this=this@entry=0x1cb9ba0, property=property@entry=0x7f078c0c8888, binding=binding@entry=0x7f078c3bfde4) at qml/qqmlobjectcreator.cpp:774
- #23 0x00007f07a860f8b1 in QQmlObjectCreator::setupBindings (this=this@entry=0x1cb9ba0, bindingsToSkip=...) at qml/qqmlobjectcreator.cpp:733
- #24 0x00007f07a860bdbd in QQmlObjectCreator::populateInstance (this=this@entry=0x1cb9ba0, index=0, instance=0x0, instance@entry=0x2125dc0, bindingTarget=0x3d80000000000000, bindingTarget@entry=0x2125dc0, valueTypeProperty=valueTypeProperty@entry=0x0, bindingsToSkip=...)
-     at qml/qqmlobjectcreator.cpp:1338
- #25 0x00007f07a860cb1e in QQmlObjectCreator::createInstance (this=this@entry=0x1cb9ba0, index=index@entry=0, parent=parent@entry=0x0, isContextObject=isContextObject@entry=true) at qml/qqmlobjectcreator.cpp:1186
- #26 0x00007f07a860d8bc in QQmlObjectCreator::create (this=0x1cb9ba0, subComponentIndex=-1, parent=parent@entry=0x0, interrupt=interrupt@entry=0x0) at qml/qqmlobjectcreator.cpp:220
- #27 0x00007f07a8591515 in QQmlComponentPrivate::beginCreate (this=0x1cb9790, context=0x1c88e50) at qml/qqmlcomponent.cpp:880
- #28 0x00007f07a8591b14 in beginCreate (publicContext=<optimized out>, this=0x1db3eb0) at qml/qqmlcomponent.cpp:829
- #29 QQmlComponent::createObject (this=0x1db3eb0, args=0x7ffd5cb63240) at qml/qqmlcomponent.cpp:1230
- #30 0x00007f07a867913c in QQmlComponent::qt_static_metacall (_o=_o@entry=0x1db3eb0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=6, _a=_a@entry=0x7ffd5cb63270) at .moc/moc_qqmlcomponent.cpp:147
- #31 0x00007f07a867940b in QQmlComponent::qt_metacall (this=0x1db3eb0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7ffd5cb63270) at .moc/moc_qqmlcomponent.cpp:220
- #32 0x00007f07a85ce7cc in QQmlObjectOrGadget::metacall (this=this@entry=0x7ffd5cb631a0, type=type@entry=QMetaObject::InvokeMetaMethod, index=11, argv=argv@entry=0x7ffd5cb63270) at qml/qqmlpropertycache.cpp:1689
- #33 0x00007f07a854b7b4 in QV4::QObjectMethod::callInternal (this=<optimized out>, callData=0x7f07915df880) at jsruntime/qv4qobjectwrapper.cpp:1879
- #34 0x00007f07a855f9a5 in call (d=0x7f07915df880, this=<optimized out>) at jsruntime/qv4object_p.h:302
- #35 QV4::Runtime::callProperty (engine=0x12bfa00, nameIndex=<optimized out>, callData=0x7f07915df880) at jsruntime/qv4runtime.cpp:974
- #36 0x00007f07900da58e in ?? ()
- #37 0x00000000012bfa00 in ?? ()
- #38 0x267ca881af009500 in ?? ()
- #39 0x00007f078c014ad8 in ?? ()
- #40 0x00007f07915df840 in ?? ()
- #41 0x00007f07915df828 in ?? ()
- #42 0x00007f07a851303a in getValue (attrs=..., p=<optimized out>, this=0x7f07915df8c0) at jsruntime/qv4object_p.h:175
- #43 QV4::Object::internalGet (this=0x7f07915df8c0, name=<optimized out>, hasProperty=0x12bfa00) at jsruntime/qv4object.cpp:603
- #44 0x00000000012bfa00 in ?? ()
- #45 0x00007ffd5cb6344f in ?? ()
- #46 0x0000000000000000 in ?? ()
+ The backtrace of the hang is http://paste.ubuntu.com/11386907/

** Description changed:

  When using oxide 1.5.5-0ubuntu1 as shipped in vivid the qml tests of
  unity8 pass just fine.
  
  When using oxide 1.7.8-0ubuntu0.15.04.1 the test for the wizard hangs
  and says
  
  [0527/073908:FATAL:setuid_sandbox_client.cc(126)] Check failed:
  IsFileSystemAccessDenied().
  
  The backtrace of the hang is http://paste.ubuntu.com/11386907/
+ 
+ Example of the hang happening in https://jenkins.qa.ubuntu.com/job
+ /unity-phablet-qmluitests-wily/29/console

-- 
You received this bug notification because you are a member of Ubuntu
WebApps bug tracking, which is subscribed to Oxide.
https://bugs.launchpad.net/bugs/1459142

Title:
  Oxide 1.7 makes Unity8 qml tests not pass in a chroot

Status in Oxide Webview:
  New

Bug description:
  When using oxide 1.5.5-0ubuntu1 as shipped in vivid the qml tests of
  unity8 pass just fine.

  When using oxide 1.7.8-0ubuntu0.15.04.1 the test for the wizard hangs
  and says

  [0527/073908:FATAL:setuid_sandbox_client.cc(126)] Check failed:
  IsFileSystemAccessDenied().

  The backtrace of the hang is http://paste.ubuntu.com/11386907/

  Example of the hang happening in https://jenkins.qa.ubuntu.com/job
  /unity-phablet-qmluitests-wily/29/console

To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1459142/+subscriptions


Follow ups

References