crosswalk-project / crosswalk

A web runtime built on Chrome. This project is currently unmaintained.
https://crosswalk-project.org/blog/crosswalk-final-release.html
BSD 3-Clause "New" or "Revised" License
2.33k stars 651 forks source link

Unable to run Chromium v31 for Ubuntu #850

Closed ibelem closed 11 years ago

ibelem commented 11 years ago

BUG DETAILED DESCRIPTIONS QA is using the Chromium upstream binaries for reference testing, but unable to run Chromium v31 for Ubuntu.

Environment: Ubuntu 64bit

EXACT STEPS LEADING TO PROBLEM:

  1. Download Chromium v31 for Ubuntu: http://wrt-build.sh.intel.com/archive/snapshots/dev-chromium-linux-build/5
  2. Unzip chrome-linux.zip
  3. Run chromeforlinux v31: ./chrome

EXPECTED OUTCOME: Chrome v31 runs successfully

ACTUAL OUTCOME: feng@feng4qa:~/chrome-linux$ ./chrome [11860:11860:1010/103129:FATAL:browser_main_loop.cc(162)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on. Aborted (core dumped)

NOTES: This issue should be filed into chromium-crosswalk but there is no issue entry.

ibelem commented 11 years ago

@hmin please take a look.

hmin commented 11 years ago

As discussing with @wang16, the buildbot doesn't build 'chrome_sandbox' target for the new Chrome 31.

Shiliu already fixed in build infrastructure. Thanks, @wang16!

ibelem commented 11 years ago

It's been fixed and verified by using

http://wrt-build.sh.intel.com/archive/snapshots/dev-chromium-linux-build/6/

with sandbox setup steps: https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment

sudo cp your_zip_dir/chrome_sandbox /usr/local/sbin/chrome-devel-sandbox sudo chown root:root /usr/local/sbin/chrome-devel-sandbox sudo chmod 4755 /usr/local/sbin/chrome-devel-sandbox export CHROME_DEVEL_SANDBOX=/usr/local/sbin/chrome-devel-sandbox your_zip_dir/chrome

Thanks,