Thx denis.yes your suspicion was correct.problem finally found in our gfx driver waiting on semaphore.thx for yr input once again. regards
-----Original Message----- From: directfb-dev-boun...@directfb.org [mailto:directfb-dev-boun...@directfb.org] On Behalf Of Denis Oliver Kropp Sent: Saturday, November 17, 2012 9:19 PM To: directfb-dev@directfb.org Subject: Re: [directfb-dev] dfb apps deadlock On 10/30/12 16:51, Shally Verma wrote: > Hi > > I am seeing DFB apps (df_andi or df_matrix) deadlock conditions with > DFB 1.4.3 lib on linux 2.6.34 and seems all of the processes go in sleep > state.Sometimes it comes very soon. > > > > I ran fusion /cat/proc interface stat , property and skirmishes command and > see in an output of /proc/fusion/0/stat lease count> cede count AND prevail> > dismiss . > > Also if I look at cat /proc/fusion/property and /proc/fusion/skirmishes > output its shown locked by current process. > > > > Could anyone please confirm me if its clear indication of deadlock so > that I can be confirm if am debugging in right directionand will help > if you could give some description of same .How can I debug it where it can > get freeze?I enabled FUSION_DEBUG_SKIRMISH_DEADLOCK but still I don’t see any > message on console once deadlock is reached. The skirmish dead lock debugging just detects inversion of lock order which is a potential dead lock. What you sent looks like a dead lock, but to debug further we'd need logs or stack traces. You can also try the latest fusion kernel module that should print the waiters on a skirmish, but it's obvious that pid 592 has taken the lock without releasing it. As the property is also "locked" it seems to be related to the graphics driver, though we did some fixes in that code area recently. Actually, having both the property and skirmish locked at the same time does not make sense, so I am wondering if you have a modified gfxcard.c in use. Please send that one for us to check. Thanks! -- Denis Oliver Kropp DirectFB integrated media GmbH _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev This e-mail and documents attached to this e-mail contain proprietary and/or confidential information of Entropic Communications. Such information is subject to copyright belonging to Entropic Communications. This e-mail is intended solely for the use of the individuals or entities to which it is addressed. If you are not the intended recipient of this e-mail, any distribution, copying or use of the contents of this e-mail and attachments is strictly prohibited and may be unlawful. _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev