New issue
Advanced search Search tips

Issue 734440 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

Views framework example is broken on Linux

Project Member Reported by tetsui@chromium.org, Jun 19 2017

Issue description

Chrome Version: Almost ToT (863cb894fb665ecdbfff1e15616e21eff1156f02)
OS: Ubuntu 14.04

What steps will reproduce the problem?
(1) Build and run views_examples_exe
gn gen out/Release --args='is_debug=false use_goma=true target_os="linux" is_component_build=true remove_webcore_debug_symbols=true'
ninja -j500 -C out/Release views_examples_exe && out/Release/views_examples_exe

What is the expected result?
It should show working views framework example.

What happens instead?
The UI is shown upside down(screenshot attached).  Click targets are not upside down, and after a few clicks, it segfaults.
On the ToT (ed82d45fc05e256857f07ff4f29adea19adb8495) it just segfaults from the beginning.
 
views_examples.png
21.0 KB View Download

Comment 1 by tetsui@chromium.org, Jun 20 2017

Cc: fukino@chromium.org
Components: Internals>Views

Comment 2 by tetsui@chromium.org, Jun 20 2017

Cc: tetsui@chromium.org

Comment 3 by osh...@chromium.org, Jun 20 2017

Cc: jamescook@chromium.org sadrul@chromium.org sky@chromium.org
Wow, that's very strange. Adding a few folks who may have some clue what's going on.
Cc: e...@chromium.org
Very weird. erg, ideas?

I'm pretty sure this used to work, so you might be able to bisect it.

Comment 5 by e...@chromium.org, Jun 20 2017

On ToT with a debug build, I don't even get a window. I get the following stack trace:

[0620/160159.385148:FATAL:post_task.cc(72)] Check failed: TaskScheduler::GetInstance(). Ref. Prerequisite section of post_task.h
#0 0x7f6231f5628b base::debug::StackTrace::StackTrace()
#1 0x7f6231f54f8c base::debug::StackTrace::StackTrace()
#2 0x7f6231fc9473 logging::LogMessage::~LogMessage()
#3 0x7f62321021b6 base::PostDelayedTaskWithTraits()
#4 0x7f6232102452 base::PostTaskWithTraits()
#5 0x7f622bb575bb ui::X11HotplugEventHandler::OnHotplugEvent()
#6 0x7f622bb55ea4 ui::X11EventSource::OnDispatcherListChanged()
#7 0x7f622bb63a7c ui::X11EventSourceGlib::OnDispatcherListChanged()
#8 0x7f622cea5c69 ui::PlatformEventSource::AddPlatformEventDispatcher()
#9 0x7f62313a91b1 views::DesktopScreenX11::DesktopScreenX11()
#10 0x7f62313aaf70 views::CreateDesktopScreen()
#11 0x00000042e9d7 main
#12 0x7f622de45f45 __libc_start_main
#13 0x00000042e624 <unknown>

Possibly a regression due to the task scheduler change over?

Comment 6 by osh...@chromium.org, Jun 22 2017

Owner: tetsui@chromium.org
Filed the bug (735971) for check failure.

Revertomg https://chromium-review.googlesource.com/524023 fixes the check failure, but the regression seemed to happen before.

tetsui@, can you run bisect?

And if you just want to see views exmaple, you can run ash_shell_with_content on cros.

Comment 7 by tetsui@chromium.org, Jun 23 2017

Thank you for fixing the crash. I found at least in 7f9e151f4eb5356be261d478d52b8a07951108dc (Fri Jan 8 15:23:47 2016 -0800) it wasn't broken, so I'm going to bisect and detect when it was broken.

By the way, ash_shell_with_content build is also broken on ToT a50b4ecbbf6f9b304fef48c6afc7327999a13d02 because of freetype link error...
$ cros chrome-sdk --board=link
$ gn gen out_$SDK_BOARD/Release --args="$GN_ARGS"
$ ninja -C out_${SDK_BOARD}/Release -j500 -l 10  ash_shell_with_content

Thank you for your advice.

Comment 8 by tetsui@chromium.org, Jun 23 2017

it's broken from 8eb035c0f0b18c55ddd76dad607649e596035995 ( https://crrev.com/2029323004 ), but how it's broken is different from near ToT. It's not upside down, but just an empty window is shown. I would further bisect this.

(when running gclient sync, i had to add --disable-syntax-validation -R options.)

Comment 9 by sky@chromium.org, Jun 23 2017

tetsui, on tip of tree ( 6cba92dfce689e4f5911421d50c6656d8b4dc86d ) ash_shell_with_content works fine for me on a debug build on linux desktop.
views_examples_exe is upside down from 511c2ded54ef4c20b0013cf7057217c1971f3bb4 ( https://crrev.com/2661123003 ).

For now, ash_shell_with_content works for me. Thank you!
$ gn gen out/Release --args='is_debug=false use_goma=true target_os="chromeos" is_component_build=true remove_webcore_debug_symbols=true'
$ ninja -j500 -C out/Release ash_shell_with_content && out/Release/ash_shell_with_content



Comment 11 by e...@chromium.org, Mar 9 2018

Cc: -e...@chromium.org
Un-cc-ing me from all bugs on my final day.
Status: Assigned (was: Untriaged)
This bug has an owner, thus, it's been triaged. Changing status to "assigned".
Owner: sky@chromium.org
Confirmed it's not fixed yet on ToT. Assigning to sky@ as it's views related.
Labels: Hotlist-DesktopUIToolingRequired Hotlist-DesktopUIChecked

Sign in to add a comment