From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
Subject: [Bug 91972] [NVE4] xorg/nouveau crashes when running
wine's unit tests under valgrind: EXA: malloc failed for size -262140 bytes
Date: Mon, 02 Nov 2015 07:38:26 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0238268422=="
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
--===============0238268422==
Content-Type: multipart/alternative; boundary="1446449906.FAb5CcAE1.20581"; charset="UTF-8"
--1446449906.FAb5CcAE1.20581
Date: Mon, 2 Nov 2015 07:38:26 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=91972
--- Comment #5 from Austin English ---
(In reply to Ilia Mirkin from comment #1)
> 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?
Finally got to this, it's this call:
https://source.winehq.org/git/wine.git/blob/12111d8c3b897df92fabc1c1a81567477952e9b1:/dlls/user32/tests/win.c#l2200
printed the individual values:
win.c:2201: window handle: 0x1f00be window handle2: 0, left position: 100, top
position: 100, width: 12c height: 300, flags: 0
--
You are receiving this mail because:
You are the assignee for the bug.
--1446449906.FAb5CcAE1.20581
Date: Mon, 2 Nov 2015 07:38:26 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 5
on bug 91972
from Austin English
(In reply to Ilia Mirkin from comment #1)
> 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?
Finally got to this, it's this call:
https://source.winehq.org/git/wine.git/blob/12111d8c3b897df92fabc1c1a81567477952e9b1:/dlls/user32/tests/win.c#l2200
printed the individual values:
win.c:2201: window handle: 0x1f00be window handle2: 0, left position: 100, top
position: 100, width: 12c height: 300, flags: 0
You are receiving this mail because:
- You are the assignee for the bug.
--1446449906.FAb5CcAE1.20581--
--===============0238268422==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt
YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cDovL2xpc3RzLmZy
ZWVkZXNrdG9wLm9yZy9tYWlsbWFuL2xpc3RpbmZvL25vdXZlYXUK
--===============0238268422==--