New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 771185 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.

Project Member Reported by penghuang@chromium.org, Oct 3 2017

Issue description

Chrome Version: Tot
OS: ChromeOS

What steps will reproduce the problem?
(1) Build and run wayland_client_perftests


Log:
ninja -j1000 -k50 -C out/mus wayland_client_perftests && out/mus/wayland_client_perftests
ninja: Entering directory `out/mus'
ninja: no work to do.
IMPORTANT DEBUGGING NOTE: batches of tests are run inside their
own process. For debugging a test inside a debugger, use the
--gtest_filter=<your_test_name> flag along with
--single-process-tests.
Using sharding settings from environment. This is shard 0/1
Using 1 parallel jobs.
Note: Google Test filter = WaylandClientPerfTests.Simple:WaylandClientPerfTests.Rects
[==========] Running 2 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 2 tests from WaylandClientPerfTests
[ RUN      ] WaylandClientPerfTests.Simple
[23066:23066:1003/110210.211706:696064901735:WARNING:server.cc(4486)] Group 'wayland' not found
[23066:23066:1003/110210.224322:696064914350:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.231198:696064921226:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.231538:696064921566:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.354962:696065044993:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.361012:696065051043:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.366287:696065056318:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.370414:696065060445:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.375784:696065065815:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.385436:696065075466:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.390983:696065081027:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.401102:696065091132:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.406639:696065096669:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.411344:696065101375:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.420461:696065110491:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.425541:696065115572:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.435659:696065125689:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.441018:696065131049:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.445647:696065135678:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.455595:696065145625:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.461168:696065151199:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.465678:696065155708:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.471175:696065161205:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.475607:696065165638:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.481132:696065171162:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.485667:696065175697:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.491192:696065181223:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.495640:696065185670:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.501042:696065191073:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.505522:696065195552:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.510959:696065200989:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.515393:696065205423:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.520858:696065210889:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.526372:696065216403:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.530827:696065220858:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.536183:696065226214:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.540563:696065230593:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.546042:696065236072:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.550482:696065240513:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.555871:696065245903:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.561351:696065251382:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.565772:696065255804:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.571250:696065261281:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.575668:696065265699:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.581122:696065271153:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.585580:696065275611:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.590925:696065280956:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.596338:696065286369:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.600729:696065290759:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.606070:696065296101:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.610389:696065300420:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.
[23066:23066:1003/110210.615701:696065305731:WARNING:buffer.cc(512)] Reattaching a buffer that is already attached to another surface.


 
That's expected from the type of single buffer rendering done by that client. We should probably silence those warnings as clients are allowed to behave that way.

An alternative way to do what the client does without triggering this warning is to create multiple wl_buffer instances that reference the same memory.

Sign in to add a comment