Shally Verma
2012-10-30 15:51:47 UTC
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 direction and 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.
# cat /proc/fusion/0/stat
Fusion API:8.0
lease/purchase cede attach detach dispatch ref up ref down prevail/swoop dismiss
182954 182953 2 0 0 23 10 1921075 1921074
# cat /proc/fusion/0/properties
1.9 h ( 592) 0x00000001 leased by 0x00000001 (592) 1x
# cat /proc/fusion/0/skirmishs
1.7 h ( 592) 0x00000022 Surface 1280x720 ARGB [ 2].20,21 - 1x [0x00000001] (592)
1.7 h ( 592) 0x00000021 Layer Region [ 1].20
2.1 h ( 592) 0x00000020 Layer Context [ 1].19
2.1 h ( 592) 0x00000013 Frame Buffer Memory [ 7] 21,22,19,20,1d,1e,1f
2.1 h ( 592) 0x00000006 DirectFB Main Pool [10] 22,21,20,13,1f,1e,19,1d,05,01
2.1 h ( 592) 0x0000000b Surface Pool [ 4] 20,21,1d,1e
2.1 h ( 592) 0x00000003 Fusion Reactor Globals [ 8] 20,21,1d,1e,0b,09,08,05
2.1 h ( 592) 0x00000004 Fusion Main Pool [10] 20,21,1d,1e,0b,09,08,05,02,01
2.1 h ( 592) 0x00000009 Layer Region Pool [ 0].
2.1 h ( 592) 0x00000019 Display Layer 0 [ 0].
2.1 h ( 592) 0x0000001d Layer Context [ 2].20,19
2.1 h ( 592) 0x0000001e Layer Region [ 3].19,20,1d
Thanks in advance
shally
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.
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 direction and 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.
# cat /proc/fusion/0/stat
Fusion API:8.0
lease/purchase cede attach detach dispatch ref up ref down prevail/swoop dismiss
182954 182953 2 0 0 23 10 1921075 1921074
# cat /proc/fusion/0/properties
1.9 h ( 592) 0x00000001 leased by 0x00000001 (592) 1x
# cat /proc/fusion/0/skirmishs
1.7 h ( 592) 0x00000022 Surface 1280x720 ARGB [ 2].20,21 - 1x [0x00000001] (592)
1.7 h ( 592) 0x00000021 Layer Region [ 1].20
2.1 h ( 592) 0x00000020 Layer Context [ 1].19
2.1 h ( 592) 0x00000013 Frame Buffer Memory [ 7] 21,22,19,20,1d,1e,1f
2.1 h ( 592) 0x00000006 DirectFB Main Pool [10] 22,21,20,13,1f,1e,19,1d,05,01
2.1 h ( 592) 0x0000000b Surface Pool [ 4] 20,21,1d,1e
2.1 h ( 592) 0x00000003 Fusion Reactor Globals [ 8] 20,21,1d,1e,0b,09,08,05
2.1 h ( 592) 0x00000004 Fusion Main Pool [10] 20,21,1d,1e,0b,09,08,05,02,01
2.1 h ( 592) 0x00000009 Layer Region Pool [ 0].
2.1 h ( 592) 0x00000019 Display Layer 0 [ 0].
2.1 h ( 592) 0x0000001d Layer Context [ 2].20,19
2.1 h ( 592) 0x0000001e Layer Region [ 3].19,20,1d
Thanks in advance
shally
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.