Summary: | [NVE4] xorg/nouveau crashes when running wine's unit tests under valgrind: EXA: malloc failed for size -262140 bytes | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | austinenglish <austinenglish> | ||||
Component: | Driver/nouveau | Assignee: | Nouveau Project <nouveau> | ||||
Status: | RESOLVED MOVED | QA Contact: | Xorg Project Team <xorg-team> | ||||
Severity: | normal | ||||||
Priority: | medium | ||||||
Version: | unspecified | ||||||
Hardware: | x86-64 (AMD64) | ||||||
OS: | Linux (All) | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
Description
austinenglish@gmail.com
2015-09-11 06:17:05 UTC
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? (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)? Not that I'm aware of (whatever Fedora set up for this particular hardware). 00:02.0 Display controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06) 01:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 660 OEM] (rev a1) > 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? I've gotten it down to test_SetWindowPos(). I'll narrow it down further next week. Can you also include the output of 'xrandr -q'? That should give me an idea of where the various outputs are located. Not sure if it'll be important to the bug, but easy information to collect. (In reply to Ilia Mirkin from comment #3) > Can you also include the output of 'xrandr -q'? That should give me an idea > of where the various outputs are located. Not sure if it'll be important to > the bug, but easy information to collect. Screen 0: minimum 320 x 200, current 1920 x 1200, maximum 8192 x 8192 DVI-I-1 disconnected (normal left inverted right x axis y axis) DVI-D-1 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm 1920x1200 59.95*+ 1600x1200 60.00 1280x1024 75.02 60.02 1152x864 75.00 1024x768 75.08 60.00 800x600 75.00 60.32 640x480 75.00 60.00 720x400 70.08 HDMI-2 disconnected (normal left inverted right x axis y axis) DP-1 disconnected (normal left inverted right x axis y axis) HDMI1 disconnected (normal left inverted right x axis y axis) VGA1 disconnected (normal left inverted right x axis y axis) VIRTUAL1 disconnected (normal left inverted right x axis y axis) (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 -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/issues/214. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.