From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 91972] [NVE7] xorg/nouveau crashes when running wine's unit tests under valgrind: EXA: malloc failed for size -262140 bytes Date: Fri, 11 Sep 2015 06:31:02 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0757520712==" 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 --===============0757520712== Content-Type: multipart/alternative; boundary="1441953062.6b0352.28471"; charset="UTF-8" --1441953062.6b0352.28471 Date: Fri, 11 Sep 2015 06:31:02 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=91972 Ilia Mirkin changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|xorg/nouveau crashes when |[NVE7] xorg/nouveau crashes |running wine's unit tests |when running wine's unit |under valgrind: EXA: malloc |tests under valgrind: EXA: |failed for size -262140 |malloc failed for size |bytes |-262140 bytes --- Comment #1 from Ilia Mirkin --- Wow, very uncommon configuration... nouveau as main and intel as "GPU". Are you doing any actual offloading (of either outputs or rendering)? exa/exa_migration_mixed.c: FatalError("EXA: malloc failed for size %d bytes\n", pExaPixmap->sys_pitch * pPixmap->drawable.height exa/exa_priv.h: int sys_pitch; /**< pitch of pixmap in system memory */ include/pixmapstr.h: unsigned short height; I guess sys_pitch is somehow negative then. Can you "bisect" the test, i.e. figure out which bit of it triggers the issue? And perhaps modify that print to show what the individual values in that multiplication are? -- You are receiving this mail because: You are the assignee for the bug. --1441953062.6b0352.28471 Date: Fri, 11 Sep 2015 06:31:02 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 91972
What Removed Added
Summary xorg/nouveau crashes when running wine's unit tests under valgrind: EXA: malloc failed for size -262140 bytes [NVE7] xorg/nouveau crashes when running wine's unit tests under valgrind: EXA: malloc failed for size -262140 bytes

Comment # 1 on bug 91972 from
Wow, very uncommon configuration... nouveau as main and intel as "GPU". Are you
doing any actual offloading (of either outputs or rendering)?

exa/exa_migration_mixed.c:                FatalError("EXA: malloc failed for
size %d bytes\n",

pExaPixmap->sys_pitch * pPixmap->drawable.height

exa/exa_priv.h:    int sys_pitch;              /**< pitch of pixmap in system
memory */
include/pixmapstr.h:    unsigned short height;

I guess sys_pitch is somehow negative then.

Can you "bisect" the test, i.e. figure out which bit of it triggers the issue?
And perhaps modify that print to show what the individual values in that
multiplication are?


You are receiving this mail because:
  • You are the assignee for the bug.
--1441953062.6b0352.28471-- --===============0757520712== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cDovL2xpc3RzLmZy ZWVkZXNrdG9wLm9yZy9tYWlsbWFuL2xpc3RpbmZvL25vdXZlYXUK --===============0757520712==--