<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [NVE4] xorg/nouveau crashes when running wine's unit tests under valgrind: EXA: malloc failed for size -262140 bytes"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91972#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [NVE4] xorg/nouveau crashes when running wine's unit tests under valgrind: EXA: malloc failed for size -262140 bytes"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91972">bug 91972</a>
from <span class="vcard"><a class="email" href="mailto:austinenglish@gmail.com" title="Austin English <austinenglish@gmail.com>"> <span class="fn">Austin English</span></a>
</span></b>
<pre>(In reply to Ilia Mirkin from <a href="show_bug.cgi?id=91972#c1">comment #1</a>)
<span class="quote">> 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?</span >
Finally got to this, it's this call:
<a href="https://source.winehq.org/git/wine.git/blob/12111d8c3b897df92fabc1c1a81567477952e9b1:/dlls/user32/tests/win.c#l2200">https://source.winehq.org/git/wine.git/blob/12111d8c3b897df92fabc1c1a81567477952e9b1:/dlls/user32/tests/win.c#l2200</a>
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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>