Ticket #8539: Deskbar_deadlock_during_icon_resize

File Deskbar_deadlock_during_icon_resize, 5.6 KB (added by diver, 9 years ago)
Line 
1kdebug> threads 932
2thread id state wait for object cpu pri stack team name
30xcdd6d7c0 932 waiting sem 6265 - 10 0x81c61000 932 Deskbar
40xcda30460 941 waiting cvar 0xce4e1ac0 - 15 0x80662000 932 w>Twitcher
50xcdd67040 942 waiting sem 5308 - 15 0x80666000 932 w>Deskbar
60xcdd66bf0 957 waiting cvar 0xcddb92d0 - 15 0x81c29000 932 w>Deskbar preferences
70xcdd68e70 1065 waiting cvar 0xce4e1f90 - 20 0xcd4cf000 932 _BMediaRoster_
80xcda37030 1185 waiting sem 5308 - 15 0x81c14000 932 menu_tracking
9
10kdebug>bt 932
11stack trace for thread 932 "Deskbar"
12 kernel stack: 0x81c61000 to 0x81c65000
13 user stack: 0x7efef000 to 0x7ffef000
14frame caller <image>:function + offset
15 0 81c64d94 (+ 80) 8007f70d <kernel_x86> reschedule() + 0x0508
16 1 81c64de4 (+ 112) 8005f1c3 <kernel_x86>:switch_sem_etc + 0x06ba
17 2 81c64e54 (+ 48) 8005f1ff <kernel_x86>:acquire_sem_etc + 0x001c
18 3 81c64e84 (+ 112) 80074614 <kernel_x86>:wait_for_thread_etc + 0x008d
19 4 81c64ef4 (+ 80) 800751b1 <kernel_x86>:_user_wait_for_thread + 0x0034
20 5 81c64f44 (+ 100) 80109c90 <kernel_x86>:handle_syscall + 0x00cd
21user iframe at 0x81c64fa8 (end = 0x81c65000)
22 eax 0x39 ebx 0x75028c ecx 0x7ffee88c edx 0xffff0114
23 esi 0x18020620 edi 0x18020620 ebp 0x7ffee8a8 esp 0x81c64fdc
24 eip 0xffff0114 eflags 0x203202 user esp 0x7ffee88c
25 vector: 0x63, error code: 0x0
26 6 81c64fa8 (+ 0) ffff0114 <commpage>:commpage_syscall + 0x0004
27 7 7ffee8a8 (+ 64) 00381200 <libbe.so> BMenuBar::~BMenuBar() + 0x003e
28 8 7ffee8e8 (+ 32) 0022be78 <_APP_> TExpandoMenuBar::~TExpandoMenuBar() + 0x0028
29 9 7ffee908 (+ 144) 002240b2 <_APP_> TBarView<0x18052408>::PlaceApplicationBar(BRect: 0x7ffee9f0) + 0x0044
3010 7ffee998 (+ 160) 002253a0 <_APP_> TBarView<0x18052408>::ChangeState(int32: 1, true, false, true) + 0x0144
3111 7ffeea38 (+ 48) 00225471 <_APP_> TBarView<0x18052408>::UpdatePlacement() + 0x0049
3212 7ffeea68 (+ 160) 00222410 <_APP_> TBarApp<0x7ffeedd0>::MessageReceived(BMessage*: 0x18104a28) + 0x0852
3313 7ffeeb08 (+ 32) 0032b6c6 <libbe.so> BLooper<0x7ffeedd0>::DispatchMessage(BMessage*: 0x18104a28, BHandler*: 0x7ffeedd0) + 0x0050
3414 7ffeeb28 (+ 544) 00323bfc <libbe.so> BApplication<0x7ffeedd0>::DispatchMessage(BMessage*: 0x18104a28, BHandler*: 0x7ffeedd0) + 0x039c
3515 7ffeed48 (+ 80) 0032c91c <libbe.so> BLooper<0x7ffeedd0>::task_looper() + 0x01a2
3616 7ffeed98 (+ 32) 00322cca <libbe.so> BApplication<0x7ffeedd0>::Run() + 0x005e
3717 7ffeedb8 (+ 432) 00222821 <_APP_>:main + 0x0046
3818 7ffeef68 (+ 52) 0021fba9 <_APP_>:_start + 0x0051
3919 7ffeef9c (+ 64) 00105f9b </boot/system/runtime_loader@0x00100000>:unknown + 0x5f9b
4020 7ffeefdc (+ 0) 7ffeefec 17099:Deskbar_932_stack@0x7efef000 + 0xffffec
41
42
43kdebug> bt 1185
44stack trace for thread 1185 "menu_tracking"
45 kernel stack: 0x81c14000 to 0x81c18000
46 user stack: 0x78139000 to 0x78179000
47frame caller <image>:function + offset
48 0 81c17e44 (+ 80) 8007f70d <kernel_x86> reschedule() + 0x0508
49 1 81c17e94 (+ 112) 8005f1c3 <kernel_x86>:switch_sem_etc + 0x06ba
50 2 81c17f04 (+ 64) 8005f77e <kernel_x86>:_user_acquire_sem_etc + 0x0086
51 3 81c17f44 (+ 100) 80109c90 <kernel_x86>:handle_syscall + 0x00cd
52user iframe at 0x81c17fa8 (end = 0x81c18000)
53 eax 0xf ebx 0x75028c ecx 0x78178db0 edx 0xffff0114
54 esi 0xffffffff edi 0x7fffffff ebp 0x78178ddc esp 0x81c17fdc
55 eip 0xffff0114 eflags 0x3212 user esp 0x78178db0
56 vector: 0x63, error code: 0x0
57 4 81c17fa8 (+ 0) ffff0114 <commpage>:commpage_syscall + 0x0004
58 5 78178ddc (+ 80) 0032b377 <libbe.so> BLooper<0x180202d0>::_LockComplete(BLooper*: 0x4, int32: 1185, int32: 5308, int32: -1, int64: 8653542080548700159) + 0x0039
59 6 78178e2c (+ 96) 0032c6c6 <libbe.so> BLooper<0x180202d0>::_Lock(BLooper*: 0xffffffff, int32: -1, int64: 21873892628889599) + 0x0106
60 7 78178e8c (+ 32) 0032c76c <libbe.so> BLooper<0x180202d0>::Lock() + 0x0024
61 8 78178eac (+ 176) 003817c7 <libbe.so> BMenuBar<0x18020620>::_Track(long*: 0x78178fa0, int32: -1, false) + 0x00e9
62 9 78178f5c (+ 96) 00381e02 <libbe.so> BMenuBar<0x0>::_TrackTask(void*: NULL) + 0x0074
6310 78178fbc (+ 32) 006ab247 <libroot.so>:_thread_do_exit_work (nearest) + 0x0082
6411 78178fdc (+ 0) 78178fec 17787:menu_tracking_1185_stack@0x78139000 + 0x3ffec
65
66
67(gdb) info threads
68 6 team /system/Deskbar (1853) thread w>ExpandoMenuBar cached menu (1965) 0xffff0114 in ?? ()
69* 5 team /system/Deskbar (1853) thread menu_tracking (1963) 0xffff0114 in ?? ()
70 4 team /system/Deskbar (1853) thread w>Deskbar preferences (1928) 0xffff0114 in ?? ()
71 3 team /system/Deskbar (1853) thread w>Deskbar (1863) 0xffff0114 in ?? ()
72 2 team /system/Deskbar (1853) thread w>Twitcher (1862) 0xffff0114 in ?? ()
73 1 team /system/Deskbar (1853) thread Deskbar (1853) 0xffff0114 in ?? ()
74
75(gdb) thread 5
76[Switching to thread 5 (team /system/Deskbar (1853) thread menu_tracking (1963))]#0 0xffff0114 in ?? ()
77(gdb) bt
78#0 0xffff0114 in ?? ()
79#1 0x006aaeaa in acquire_sem_etc () from /boot/system/lib/libroot.so
80#2 0x0032b377 in printf_command () from /boot/system/lib/libbe.so
81#3 0x0032c6c6 in print_scalar_formatted () from /boot/system/lib/libbe.so
82#4 0x0032c76c in print_formatted () from /boot/system/lib/libbe.so
83#5 0x00328084 in pascal_object_print_value () from /boot/system/lib/libbe.so
84#6 0x00381b3b in _bfd_elf_merge_symbol () from /boot/system/lib/libbe.so
85#7 0x00381e02 in _bfd_elf_add_default_symbol () from /boot/system/lib/libbe.so
86#8 0x006ab247 in thread_entry () from /boot/system/lib/libroot.so
87#9 0x78137fec in ?? ()