* [Bug 27340] New: mesa deadlocks with latest HoN game
@ 2010-03-27 10:28 bugzilla-daemon
2010-03-27 10:32 ` [Bug 27340] " bugzilla-daemon
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-03-27 10:28 UTC (permalink / raw)
To: dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=27340
Summary: mesa deadlocks with latest HoN game
Product: Mesa
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/R600
AssignedTo: dri-devel@lists.sourceforge.net
ReportedBy: edwintorok@gmail.com
Heroes of Newerth just autoupdated to a new version, and mesa deadlocks after
logging in to the new version.
Here is a backtrace of the graphics thread (the other 3 threads are polling in
libasound):
Thread 1 (Thread 0x7f4e07a466f0 (LWP 15203)):
#0 __lll_lock_wait () at
../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:136
#1 0x0000003b3b008e79 in _L_lock_949 () from /lib/libpthread.so.0
#2 0x0000003b3b008c9b in __pthread_mutex_lock (mutex=<value optimized out>) at
pthread_mutex_lock.c:61
#3 0x00007f4df9bbe4a5 in _mesa_HashLookup (table=0x22775d0, key=128) at
main/hash.c:140
#4 0x00007f4df9bbe5ab in _mesa_HashFindFreeKeyBlock (table=0x22775d0,
numKeys=1) at main/hash.c:450
#5 0x00007f4df9bf6385 in _mesa_GenTextures (n=1, textures=0x7fff240a2a24) at
main/texobj.c:803
#6 0x00007f4dfb12d568 in ?? () from /home/edwin/hon2/vid_gl2-x86_64.so
#7 0x00007f4dfb12e6a8 in ?? () from /home/edwin/hon2/vid_gl2-x86_64.so
#8 0x00007f4dfb0e017f in ?? () from /home/edwin/hon2/vid_gl2-x86_64.so
#9 0x00007f4dfb0e24f7 in ?? () from /home/edwin/hon2/vid_gl2-x86_64.so
#10 0x00007f4e091c5e4d in ?? () from /home/edwin/hon2/libk2-x86_64.so
#11 0x00007f4e091acd19 in ?? () from /home/edwin/hon2/libk2-x86_64.so
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 27340] mesa deadlocks with latest HoN game
2010-03-27 10:28 [Bug 27340] New: mesa deadlocks with latest HoN game bugzilla-daemon
@ 2010-03-27 10:32 ` bugzilla-daemon
2010-03-27 10:35 ` bugzilla-daemon
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-03-27 10:32 UTC (permalink / raw)
To: dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=27340
--- Comment #1 from Török Edwin <edwintorok@gmail.com> 2010-03-27 03:32:55 PST ---
Looks like it is trying to lock a mutex that is already locked:
_mesa_HashFindFreeKeyBlock(
line 438: _glthread_LOCK_MUTEX(table->Mutex);
line 450: if (_mesa_HashLookup(table, key)) {
_mesa_HashLookup(
line 140: _glthread_LOCK_MUTEX(table->Mutex);
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 27340] mesa deadlocks with latest HoN game
2010-03-27 10:28 [Bug 27340] New: mesa deadlocks with latest HoN game bugzilla-daemon
2010-03-27 10:32 ` [Bug 27340] " bugzilla-daemon
@ 2010-03-27 10:35 ` bugzilla-daemon
2010-03-27 10:40 ` bugzilla-daemon
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-03-27 10:35 UTC (permalink / raw)
To: dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=27340
Török Edwin <edwintorok@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |brianp@vmware.com
--- Comment #2 from Török Edwin <edwintorok@gmail.com> 2010-03-27 03:35:15 PST ---
Looks like this is caused by this commit:
commit 107a2ec9eef53dee038c1bcc0d956c5667e0b68f
Author: Brian Paul <brianp@vmware.com>
Date: Tue Feb 16 08:21:38 2010 -0700
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 27340] mesa deadlocks with latest HoN game
2010-03-27 10:28 [Bug 27340] New: mesa deadlocks with latest HoN game bugzilla-daemon
2010-03-27 10:32 ` [Bug 27340] " bugzilla-daemon
2010-03-27 10:35 ` bugzilla-daemon
@ 2010-03-27 10:40 ` bugzilla-daemon
2010-03-27 10:42 ` bugzilla-daemon
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-03-27 10:40 UTC (permalink / raw)
To: dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=27340
--- Comment #3 from Török Edwin <edwintorok@gmail.com> 2010-03-27 03:40:45 PST ---
Created an attachment (id=34502)
--> (http://bugs.freedesktop.org/attachment.cgi?id=34502)
tentative patch
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 27340] mesa deadlocks with latest HoN game
2010-03-27 10:28 [Bug 27340] New: mesa deadlocks with latest HoN game bugzilla-daemon
` (2 preceding siblings ...)
2010-03-27 10:40 ` bugzilla-daemon
@ 2010-03-27 10:42 ` bugzilla-daemon
2010-03-27 10:42 ` bugzilla-daemon
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-03-27 10:42 UTC (permalink / raw)
To: dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=27340
--- Comment #4 from Török Edwin <edwintorok@gmail.com> 2010-03-27 03:42:00 PST ---
The patch I just attached fixes the deadlock, please apply.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 27340] mesa deadlocks with latest HoN game
2010-03-27 10:28 [Bug 27340] New: mesa deadlocks with latest HoN game bugzilla-daemon
` (3 preceding siblings ...)
2010-03-27 10:42 ` bugzilla-daemon
@ 2010-03-27 10:42 ` bugzilla-daemon
2010-03-27 15:00 ` bugzilla-daemon
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-03-27 10:42 UTC (permalink / raw)
To: dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=27340
Török Edwin <edwintorok@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|Drivers/DRI/R600 |Mesa core
--- Comment #5 from Török Edwin <edwintorok@gmail.com> 2010-03-27 03:42:36 PST ---
Patch to src/mesa/main/hash.c:
https://bugs.freedesktop.org/attachment.cgi?id=34502
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 27340] mesa deadlocks with latest HoN game
2010-03-27 10:28 [Bug 27340] New: mesa deadlocks with latest HoN game bugzilla-daemon
` (4 preceding siblings ...)
2010-03-27 10:42 ` bugzilla-daemon
@ 2010-03-27 15:00 ` bugzilla-daemon
2010-03-27 16:44 ` bugzilla-daemon
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-03-27 15:00 UTC (permalink / raw)
To: dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=27340
--- Comment #6 from Brian Paul <brian.e.paul@gmail.com> 2010-03-27 08:00:29 PST ---
The patch looks good (except for "inline" should be "INLINE"). I verified the
patch here by forcing the code path in question with a couple Mesa demos. I'll
commit shortly.
Either the game uses a _lot_ of textures or it uses its own (very large)
texture IDs at some point. Evidently, the slow path in
_mesa_HashFindFreeKeyBlock() hasn't been hit before!
Please retest with latest Mesa sources from git and then close the bug.
Thanks.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 27340] mesa deadlocks with latest HoN game
2010-03-27 10:28 [Bug 27340] New: mesa deadlocks with latest HoN game bugzilla-daemon
` (5 preceding siblings ...)
2010-03-27 15:00 ` bugzilla-daemon
@ 2010-03-27 16:44 ` bugzilla-daemon
2010-04-02 0:17 ` bugzilla-daemon
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-03-27 16:44 UTC (permalink / raw)
To: dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=27340
--- Comment #7 from Török Edwin <edwintorok@gmail.com> 2010-03-27 09:44:53 PST ---
(In reply to comment #6)
> The patch looks good (except for "inline" should be "INLINE"). I verified the
> patch here by forcing the code path in question with a couple Mesa demos. I'll
> commit shortly.
>
> Either the game uses a _lot_ of textures or it uses its own (very large)
> texture IDs at some point. Evidently, the slow path in
> _mesa_HashFindFreeKeyBlock() hasn't been hit before!
>
> Please retest with latest Mesa sources from git and then close the bug.
> Thanks.
>
Thanks.
I see you merged my commit to the 7.8 branch, but not to master (I use master).
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 27340] mesa deadlocks with latest HoN game
2010-03-27 10:28 [Bug 27340] New: mesa deadlocks with latest HoN game bugzilla-daemon
` (6 preceding siblings ...)
2010-03-27 16:44 ` bugzilla-daemon
@ 2010-04-02 0:17 ` bugzilla-daemon
2010-04-02 0:19 ` bugzilla-daemon
2011-03-02 14:12 ` bugzilla-daemon
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-04-02 0:17 UTC (permalink / raw)
To: dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=27340
--- Comment #8 from ryan <email000019@gmail.com> 2010-04-01 17:17:18 PST ---
i've been working on this all day; im unfamiliar with linux and it took me
awhile too google up how to patch and everything; so i could've done something
wrong. but i followed the directions here >
https://wiki.ubuntu.com/XorgOnTheEdge for building your own drivers. downloaded
the mesa 7.9 git karmic; applied patch, installed mesa-utils and mesa-common,
rebooted; game still froze on me.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 27340] mesa deadlocks with latest HoN game
2010-03-27 10:28 [Bug 27340] New: mesa deadlocks with latest HoN game bugzilla-daemon
` (7 preceding siblings ...)
2010-04-02 0:17 ` bugzilla-daemon
@ 2010-04-02 0:19 ` bugzilla-daemon
2011-03-02 14:12 ` bugzilla-daemon
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2010-04-02 0:19 UTC (permalink / raw)
To: dri-devel
http://bugs.freedesktop.org/show_bug.cgi?id=27340
--- Comment #9 from ryan <email000019@gmail.com> 2010-04-01 17:19:29 PST ---
(In reply to comment #8)
> i've been working on this all day; im unfamiliar with linux and it took me
> awhile too google up how to patch and everything; so i could've done something
> wrong. but i followed the directions here >
> https://wiki.ubuntu.com/XorgOnTheEdge for building your own drivers. downloaded
> the mesa 7.9 git karmic; applied patch, installed mesa-utils and mesa-common,
> rebooted; game still froze on me.
>
like i said, im a big newbie. i thought those were the only 2 debs, now looking
in the directory; well, lets just say ill tell you if it works or not in 20-30
minutes. :D
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug 27340] mesa deadlocks with latest HoN game
2010-03-27 10:28 [Bug 27340] New: mesa deadlocks with latest HoN game bugzilla-daemon
` (8 preceding siblings ...)
2010-04-02 0:19 ` bugzilla-daemon
@ 2011-03-02 14:12 ` bugzilla-daemon
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2011-03-02 14:12 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=27340
Marek Olšák <maraeo@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #10 from Marek Olšák <maraeo@gmail.com> 2011-03-02 06:12:49 PST ---
HoN works according to a lot of feedback from users lately. The patch was
pushed per Brian's comment, and the fixes from 7.8 have been merged to master.
Closing.
Feel free to reopen if you still encounter any issues.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2011-03-02 14:12 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-27 10:28 [Bug 27340] New: mesa deadlocks with latest HoN game bugzilla-daemon
2010-03-27 10:32 ` [Bug 27340] " bugzilla-daemon
2010-03-27 10:35 ` bugzilla-daemon
2010-03-27 10:40 ` bugzilla-daemon
2010-03-27 10:42 ` bugzilla-daemon
2010-03-27 10:42 ` bugzilla-daemon
2010-03-27 15:00 ` bugzilla-daemon
2010-03-27 16:44 ` bugzilla-daemon
2010-04-02 0:17 ` bugzilla-daemon
2010-04-02 0:19 ` bugzilla-daemon
2011-03-02 14:12 ` bugzilla-daemon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.