From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 92438] Segfault in pushbuf_kref when running the android emulator (qemu) on nv50 Date: Fri, 04 Dec 2015 15:29:19 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0086651728==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0086651728== Content-Type: multipart/alternative; boundary="1449242959.bC5aE1.16801"; charset="UTF-8" --1449242959.bC5aE1.16801 Date: Fri, 4 Dec 2015 15:29:19 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=92438 --- Comment #39 from Ilia Mirkin --- (In reply to Gabriele Svelto from comment #38) > Yes, the emulator seems to be calling GL commands from multiple threads, or > at least the traces I got seemed to have different thread identifiers for > different commands. Unfortunately nouveau doesn't protect against concurrency and when multiple threads call into the GL simultaneously, will fall flat on its face. Fixing this is on my todo list... but my todo list is long, and this is a tricky task to do so as not to pessimize the 99.99% use-case of single-threaded GL usage. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug. --1449242959.bC5aE1.16801 Date: Fri, 4 Dec 2015 15:29:19 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 39 on bug 92438 from
(In reply to Gabriele Svelto from comment #38)
> Yes, the emulator seems to be calling GL commands from multiple threads, or
> at least the traces I got seemed to have different thread identifiers for
> different commands.

Unfortunately nouveau doesn't protect against concurrency and when multiple
threads call into the GL simultaneously, will fall flat on its face.

Fixing this is on my todo list... but my todo list is long, and this is a
tricky task to do so as not to pessimize the 99.99% use-case of single-threaded
GL usage.


You are receiving this mail because:
  • You are the QA Contact for the bug.
  • You are the assignee for the bug.
--1449242959.bC5aE1.16801-- --===============0086651728== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cDovL2xpc3RzLmZy ZWVkZXNrdG9wLm9yZy9tYWlsbWFuL2xpc3RpbmZvL25vdXZlYXUK --===============0086651728==--