New: 3DMark2000 crashes: radeon: mmap failed, errno: 12
https://bugs.freedesktop.org/show_bug.cgi?id=59904
Priority: medium
Bug ID: 59904
Assignee: [email protected]
Summary: 3DMark2000 crashes: radeon: mmap failed, errno: 12
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: NEW
Version: git
Component: Drivers/Gallium/r600
Product: Mesa
Created attachment 73689
--> https://bugs.freedesktop.org/attachment.cgi?id=73689&action=edit
crash backtrace
A regression was introduced into Mesa that causes 3DMark2000 to crash in the high detail helicopter benchmark. A bisect revealed this patch:
68a097596efdf314ec60487a1761cac789ae2367 is the first bad commit commit 68a097596efdf314ec60487a1761cac789ae2367
Author: Brian Paul <[email protected]> Date: Thu Jan 24 14:44:09 2013 -0700
util: add some defensive coding in u_upload_alloc()
The terminal output when the crash occurs is this:
radeon: mmap failed, errno: 12
radeon: mmap failed, errno: 12
wine: Unhandled page fault on read access to 0x00000034 at address 0x7cdd1e9b (thread 001f), starting debugger...
A backtrace of the crash is attached. I do not know where exactly the "mmap failed" lines are written.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 59904] 3DMark2000 crashes: radeon: mmap failed, errno: 12
https://bugs.freedesktop.org/show_bug.cgi?id=59904
--- Comment #1 from Laurent carlier <[email protected]> --- Got a similar problem with Half-Life with Steam-linux
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 59904] 3DMark2000 crashes: radeon: mmap failed, errno: 12
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=59904
--- Comment #2 from Andy Furniss <[email protected]> --- (In reply to comment #0)
Quoted 15 lines
Created attachment 73689 [details]
crash backtraceA regression was introduced into Mesa that causes 3DMark2000 to crash in the high detail helicopter benchmark. A bisect revealed this patch:
68a097596efdf314ec60487a1761cac789ae2367is the first bad commit commit68a097596efdf314ec60487a1761cac789ae2367Author: Brian Paul <[email protected]> Date: Thu Jan 24 14:44:09 2013 -0700util: add some defensive coding in
u_upload_alloc()The terminal output when the crash occurs is this:
Quoted 7 lines
radeon: mmap failed, errno: 12
radeon: mmap failed, errno: 12
wine: Unhandled page fault on read access to0x00000034at address0x7cdd1e9b(thread 001f), starting debugger...A backtrace of the crash is attached. I do not know where exactly the "mmap failed" lines are written.
+1
I just bisected to this commit after getting the same running nexuiz on rv790 (with and without llvm).
Extra info from dmesg -
[drm:r600_cs_packet_next_reloc_mm] *ERROR* Relocs at -1073723904 after relocations chunk end 4 !
radeon 0000:01:00.0: bad SET_CONTEXT_REG 0x28980 [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 59904] 3DMark2000 crashes: radeon: mmap failed, errno: 12
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=59904
--- Comment #3 from Anton Petrov <[email protected]> ---
I started to get regular OOM-kills after that commit when i try to play minecraft. Memory usage with openarena was increased too. Looks like everything is ok with just compositing desktop without running other 3d apps. I have hd4330 (rv710)
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 59904] 3DMark2000 crashes: radeon: mmap failed, errno: 12
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=59904
--- Comment #4 from Paul Heldens <[email protected]> --- Also OOM kills here, bisected:68a097596efdf314ec60487a1761cac789ae2367 is the first bad commit
in Xonotic 64 bit and Spring 64 bit games after several minutes of play I run out of my 8GB ram.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 59904] 3DMark2000 crashes: radeon: mmap failed, errno: 12
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=59904
--- Comment #5 from Andy Furniss <[email protected]> --- (In reply to comment #2)
Quoted 7 lines
(In reply to comment #0)
+1
I just bisected to this commit after getting the same running nexuiz on rv790 (with and without llvm).
My issue is fixed by mesa commit -
commit 87592cff57feef29565150b9203e220b50623f30
Author: Marek Olšák <[email protected]> Date: Mon Jan 28 02:47:24 2013 +0100
gallium/u_upload_mgr: fix a serious memory leak
It can eat all memory and crash in a matter of minutes with r600g.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 59904] 3DMark2000 crashes: radeon: mmap failed, errno: 12
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=59904
Paul Heldens <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED--- Comment #6 from Paul Heldens <[email protected]> --- for me also, thanks
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 59904] 3DMark2000 crashes: radeon: mmap failed, errno: 12
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=59904
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |------ Comment #7 from [email protected] ---
I'm seeing this with 72916698b056d0559263e84372bb45cd83a1c2c2 and an HD6870
radeon: mmap failed, errno: 12
radeon: mmap failed, errno: 12
Crash log saved as '/home/bruno/.Heroes of Newerth/game/crash_2.6.35.0_00.log' Segmentation fault
72916698b056d0559263e84372bb45cd83a1c2c2 contains the patch that it is supposed to fix this issue, but it happens to me from time to time while playing HoN.
Though I have nothing in dmesg...
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 59904] 3DMark2000 crashes: radeon: mmap failed, errno: 12
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=59904
--- Comment #8 from Alex Deucher <[email protected]> --- (In reply to comment #7)
Quoted 8 lines
I'm seeing this with
72916698b056d0559263e84372bb45cd83a1c2c2and an HD6870radeon: mmap failed, errno: 12
radeon: mmap failed, errno: 12
Crash log saved as '/home/bruno/.Heroesof
Newerth/game/crash_2.6.35.0_00.log'
Segmentation fault
Quoted 5 lines
72916698b056d0559263e84372bb45cd83a1c2c2contains the patch that it is supposed to fix this issue, but it happens to me from time to time while playing HoN.Though I have nothing in dmesg...
Are you running a 32-bit app on a 64-bit distro? If so, make sure you've also updated the 32-bit version of the 3D drivers.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 59904] 3DMark2000 crashes: radeon: mmap failed, errno: 12
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=59904
--- Comment #9 from [email protected] ---
Running 64 bit and the game is 64bit.
With mesa in debug mode I get this:
Mesa: User error: GL_INVALID_ENUM in glBindTexture(target)
Mesa: 85 similar GL_INVALID_ENUM errors
Mesa: User error: GL_INVALID_OPERATION in glFramebufferTexture2DEXT(non existant texture)
radeon: mmap failed, errno: 12
Crash log saved as '/home/bruno/.Heroes of Newerth/game/crash_2.6.35.0_02.log' Segmentation fault
context mis-match in pipe_sampler_view_release()
The 3 first line seem to appear at the game start, so it's mprobabl not the problem. But the "context mis-match in pipe_sampler_view_release()" might be important.
I can't seem to get a backtrace even with -g though ...
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 59904] 3DMark2000 crashes: radeon: mmap failed, errno: 12
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=59904
--- Comment #10 from [email protected] ---
OK, it looks like it only happens when I'm on linux 3.8, it's OK when running linux 3.7.
Also when using 3.8 it does look like a memory leak too ! So I experience the same symptoms.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 59904] 3DMark2000 crashes: radeon: mmap failed, errno: 12
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=59904
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |FIXED--- Comment #11 from [email protected] ---
I'm not seeing the problem anymore. I guess it has been fixed by
http://cgit.freedesktop.org/mesa/mesa/commit/?id=5c86a728d4f688c0fe7fbf9f4b8f88060b65c4ee
.
Closing.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel