NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cvs update hangs 'amd' in tstile when 'firefox' is running



On Wed, 10 Feb 2016, John D. Baker wrote:

> On Wed, 10 Feb 2016 18:43:38 +0000 (UTC), christos%astron.com@localhost (Christos
> Zoulas) wrote:
> 
> > Unfortunately looks like you'll have to reboot and redo the test to
> > answer this.
> 
> To make it unambiguous, I'll definitely arrange to do this again.

OK, on the same system, still up and no pending shutdown.  The specific
scenario was that during 'cvs update' on the file server, I switched
desktop pages (fvwm2) to where my login to the file server was.  When
I switched back to the page where 'firefox' had its window, it did not
repaint its window after a substantial interval (and will never again do
so while the system is up).

There are fewer LWPs in "tstile" as I didn't attempt any other operations
as soon as it was apparent that 'firefox' (and thus 'amd') had hung.
I simply 'ssh'ed in as another user whose home directory is not managed
by 'amd' and initiated 'crash'.

Crash version 7.0_STABLE, image version 7.0_STABLE.
Output from a running system is unreliable.
crash> ps
PID    LID S CPU     FLAGS       STRUCT LWP *               NAME WAIT
2927 >   1 7   0         0           c1c05540              crash
2641     1 3   0        80           c2ac4020               sudo select
2626     1 3   0        80           c2ae4540                ksh pause
1227     1 2   0         0           c2ac42c0               sshd
2664     1 3   0        80           c2cf5800               sshd select
3269     1 3   0         0           c2ae4000                amd tstile
2795     1 3   0        80           c2a21a80             pickup kqueue
177    509 5   0         0           c2ac4560           (zombie)
177    223 3   0        80           c2ae4a80      mozStorage #8 parked
177     85 3   0        80           c2a112c0      mozStorage #7 parked
177     77 3   0        80           c2a11560         DOM Worker parked
177     69 3   0        80           c299a2c0      mozStorage #6 parked
177     64 3   0        80           c2ae4d20      mozStorage #5 parked
177     59 3   0        80           c2ac4800    localStorage DB parked
177     58 3   0        80           c2ac4aa0      mozStorage #4 parked
177     57 3   0        80           c2ac4d40      mozStorage #3 parked
177     56 3   0        80           c2a21000      mozStorage #2 parked
177     55 3   0        80           c2a212a0     URL Classifier parked
177     54 3   0        80           c2a21540          Cache I/O parked
177     51 3   0        80           c2a217e0      mozStorage #1 parked
177     46 3   0        80           c2a11020    Proxy Resolutio parked
177     43 3   0        80           c2a21d20         DOM Worker parked
177     28 3   0        80           c2a11800       HTML5 Parser parked
177     27 3   0         0           c2a11aa0         DOM Worker tstile
177     26 3   0        80           c2a11d40    IPDL Background parked
177     25 3   0        80           c29ed000        Cert Verify parked
177     24 3   0        80           c29ed2a0            firefox parked
177     23 3   0        80           c29ed540    SoftwareVsyncTh parked
177     22 3   0        80           c29ed7e0            ImageIO parked
177     21 3   0        80           c29eda80      ImgDecoder #1 parked
177     20 3   0        80           c29edd20    ImageBridgeChil parked
177     19 3   0        80           c1ce3d40         Compositor parked
177     18 3   0        80           c299a020          GMPThread parked
177     16 3   0        80           c299a560         Cache2 I/O parked
177     15 3   0        80           c299a800            firefox kqueue
177     14 3   0        80           c299aaa0            firefox select
177     13 3   0        80           c299ad40              Timer parked
177     12 3   0        80           c298a000      BgHangManager parked
177     11 3   0        80           c298a2a0       Hang Monitor parked
177     10 3   0        80           c298a540        JS Watchdog parked
177      9 3   0        80           c298a7e0          JS Helper parked
177      8 3   0        80           c298aa80          JS Helper parked
177      7 3   0        80           c298ad20          JS Helper parked
177      6 3   0        80           c1ce3020          JS Helper parked
177      5 3   0        80           c1ce32c0          JS Helper parked
177      4 3   0        80           c1ce3560            firefox parked
177      3 3   0        80           c1854540      Socket Thread select
177      2 3   0        80           c18302c0     Gecko_IOThread kqueue
177      1 3   0         0           c18afd40            firefox netio
891      1 3   0        80           c1ce3800                ksh pause
890      1 3   0        80           c1c05a80               sshd select
310      1 3   0        80           c1854d20               sshd select
676      1 3   0        80           c1ce3aa0           xconsole select
41       1 3   0        80           c1830aa0                xdm select
743      1 3   0        80           c1806000              getty ttyraw
795      1 3   0        80           c1830800              getty ttyraw
895      1 3   0        80           c1830d40              getty ttyraw
580      1 3   0        80           c1806d20              getty ttyraw
1091     1 3   0        80           c1c057e0               cron nanoslp
1037     1 3   0        80           c1c05000              inetd kqueue
984      1 3   0        80           c1c052a0               qmgr kqueue
989      1 3   0        80           c1830020             master kqueue
549      1 3   0        80           c1c05d20               sshd select
494      1 3   0        80           c18af020             powerd kqueue
358      1 3   0        80           c18af2c0               ntpd pause
377      1 3   0        80           c18afaa0               Xorg select
339      1 3   0        80           c18af800                lpd select
466      1 3   0        80           c18af560                xdm pause
247      1 3   0        80           c18547e0                amd select
271      1 3   0        80           c1854000            rpcbind select
268      1 3   0        80           c18542a0            syslogd kqueue
214      1 3   0        80           c1854a80             dhcpcd select
1        1 3   0        80           c1695540               init wait
0       55 3   0       200           c2cf52c0            physiod physiod
0       54 3   0       200           c1830560          nfskqpoll nfskqpw
0       53 3   0       200           c1806a80            swapiod swapiod
0       51 3   0       200           c18062a0           aiodoned aiodoned
0       50 3   0       200           c1806540            ioflush tstile
0       49 3   0       200           c18067e0           pgdaemon pgdaemon
0       46 3   0       200           c16fd020              nfsio nfsiod
0       45 3   0       200           c16fd2c0              nfsio nfsiod
0       44 3   0       200           c16fd560              nfsio nfsiod
0       43 3   0       200           c16fd800              nfsio nfsiod
0       42 3   0       200           c1695a80            pfpurge pftm
0       41 3   0       200           c16fdaa0          atapibus0 sccomp
0       38 3   0       200           c1695d20               usb3 usbevt
0       37 3   0       200           c1503020               usb2 usbevt
0       36 3   0       200           c15032c0               usb1 usbevt
0       35 3   0       200           c16fdd40               usb0 usbevt
0       34 3   0       200           c16957e0          cryptoret crypto_w
0       33 3   0       200           c16952a0              unpgc unpgc
0       32 3   0       200           c1695000        vmem_rehash vmem_rehash
0       23 3   0       200           c1503560            atabus1 atath
0       22 3   0       200           c1503800            atabus0 atath
0       21 3   0       280           c1503aa0           fw0probe ieee1394
0       20 3   0       200           c1503d40         usbtask-dr usbtsk
0       19 3   0       200           c14d7000         usbtask-hc usbtsk
0       18 3   0       200           c14d72a0               pms0 pmsreset
0       17 3   0       200           c14d7540               apm0 apmev
0       16 3   0       200           c14d77e0             sysmon smtaskq
0       15 3   0       200           c14d7a80         pmfsuspend pmfsuspend
0       14 3   0       200           c14d7d20           pmfevent pmfevent
0       13 3   0       200           c1389020         sopendfree sopendfr
0       12 3   0       200           c13892c0           nfssilly nfssilly
0       11 3   0       200           c1389560            cachegc cachegc
0       10 3   0       200           c1389800              vrele vrele
0        9 3   0       200           c1389aa0             vdrain vdrain
0        8 3   0       200           c1389d40          modunload mod_unld
0        7 3   0       200           c1381000            xcall/0 xcall
0        6 1   0       200           c13812a0          softser/0
0        5 1   0       200           c1381540          softclk/0
0        4 1   0       200           c13817e0          softbio/0
0        3 1   0       200           c1381a80          softnet/0
0        2 1   0       201           c1381d20             idle/0
0        1 3   0       200           c0833f60            swapper uvm
crash> show proc/a c2ae4000
lwp_t c2ae4000
amd: pid 3269 proc c16f1360 vmspace/map c16f691c flags 0
  lwp 1 c2ae4000 pcb d87a8000
    stat 3 flags 0 cpu 0 pri 43
    wmesg tstile wchan c1f0315c
crash> bt/a c2ae4000
trace: pid 3269 lid 1 at 0xd87a9d10
sleepq_block(0,0,c073bc98,c083463c,40,c1374301,c2ae4000,0,0,c1f0315c) at sleepq_
block+0x8f
turnstile_block(0,1,c1f0315c,c083463c,c084cb34,d87a9da0,1,0,0,0) at turnstile_bl
ock+0x1f8
rw_vector_enter(c1f0315c,1,1,0,c1f0315c,c1f030b8,c1f030b8,d87a9e4c,d87a9dfc,c05a
8f9e) at rw_vector_enter+0x128
genfs_lock(d87a9dec,ffffffff,c1fe02c8,c070c6ec,c1f030b8,2,2,d87a9e14,c0599e74,c1
f030b8) at genfs_lock+0x87
VOP_LOCK(c1f030b8,2,c1f030b8,c1f030b8,d87a9e2c,c0598cff,c1f030b8,2,85e754,c1f030
b8) at VOP_LOCK+0x50
vn_lock(c1f030b8,2,85e754,c1f030b8,d87a9e60,c058d541,c1f030b8,c058cc40,d87a9e4c,
1b) at vn_lock+0x1a
vrecycle(c1f030b8,c058cc40,d87a9e4c,1b,0,c2914848,c29148f8,0,c1efee00,c29148f8) a
t vrecycle+0x1b
vflush(c1b54000,c29148f8,0,c1b54000,c2ae4000,c1b54000,c1b54024,0,d87a9e9c,c058ff
a8) at vflush+0x8d
nfs_unmount(c1b54000,0,c1b54000,d87a9ed0,c058dba4,c1b54000,0,c137af00,0,8) at nf
s_unmount+0xd0
VFS_UNMOUNT(c1b54000,0,c137af00,0,8,8,c1b54900,1,d87a9f68,c1b54000) at VFS_UNMOU
NT+0x26
dounmount(c1b54000,0,c2ae4000,c1b54000,0,0,0,c2978220,0,c2978220) at dounmount+0
xb3
sys_unmount(c2ae4000,d87a9f68,d87a9f60,c0832048,d87a9f68,0,0,bb609400,0,200246) a
t sys_unmount+0x149
syscall() at syscall+0x7f
--- syscall (number 22) ---
bba39c37:
crash> show proc/a c2a11aa0
lwp_t c2a11aa0
firefox: pid 177 proc c1852364 vmspace/map c1904778 flags 4001
  lwp 27 [DOM Worker] c2a11aa0 pcb da356000
    stat 3 flags 0 cpu 0 pri 43
    wmesg tstile wchan c1b54024
  lwp 26 [IPDL Background] c2a11d40 pcb da354000
    stat 3 flags 80 cpu 0 pri 43
    wmesg parked wchan 6e7d8230
  lwp 25 [Cert Verify] c29ed000 pcb da352000
    stat 3 flags 80 cpu 0 pri 42
    wmesg parked wchan 6f834c94
  lwp 24 c29ed2a0 pcb da350000
    stat 3 flags 80 cpu 0 pri 43
    wmesg parked wchan 6f834db0
  lwp 23 [SoftwareVsyncTh] c29ed540 pcb da32e000
    stat 3 flags 80 cpu 0 pri 43
    wmesg parked wchan 6fda9d48
  lwp 22 [ImageIO] c29ed7e0 pcb da32c000
    stat 3 flags 80 cpu 0 pri 43
    wmesg parked wchan 6f779210
  lwp 21 [ImgDecoder #1] c29eda80 pcb da32a000
    stat 3 flags 80 cpu 0 pri 43
    wmesg parked wchan 6f778cf4
  lwp 20 [ImageBridgeChil] c29edd20 pcb da328000
    stat 3 flags 80 cpu 0 pri 42
    wmesg parked wchan 6f3acd48
  lwp 19 [Compositor] c1ce3d40 pcb d87ae000
    stat 3 flags 80 cpu 0 pri 42
    wmesg parked wchan 6f5add48
  lwp 18 [GMPThread] c299a020 pcb da326000
    stat 3 flags 80 cpu 0 pri 43
    wmesg parked wchan 6e5ee050
  lwp 16 [Cache2 I/O] c299a560 pcb da322000
    stat 3 flags 80 cpu 0 pri 43
    wmesg parked wchan 70a3d4b4
  lwp 15 c299a800 pcb da320000
    stat 3 flags 80 cpu 0 pri 43
    wmesg kqueue wchan c291ac14
  lwp 14 c299aaa0 pcb da31e000
    stat 3 flags 80 cpu 0 pri 43
    wmesg select wchan c1368c80
  lwp 13 [Timer] c299ad40 pcb da318000
    stat 3 flags 80 cpu 0 pri 43
    wmesg parked wchan 7a04f2b4
  lwp 12 [BgHangManager] c298a000 pcb da312000
    stat 3 flags 80 cpu 0 pri 43
    wmesg parked wchan 726d8334
  lwp 11 [Hang Monitor] c298a2a0 pcb d9fee000
    stat 3 flags 80 cpu 0 pri 43
    wmesg parked wchan 726dbc94
  lwp 10 [JS Watchdog] c298a540 pcb da310000
    stat 3 flags 80 cpu 0 pri 43
    wmesg parked wchan 7a0fac34
  lwp 9 [JS Helper] c298a7e0 pcb da30e000
    stat 3 flags 80 cpu 0 pri 43
    wmesg parked wchan 7a04f194
  lwp 8 [JS Helper] c298aa80 pcb da30c000
    stat 3 flags 80 cpu 0 pri 43
    wmesg parked wchan 7a04f194
  lwp 7 [JS Helper] c298ad20 pcb da30a000
    stat 3 flags 80 cpu 0 pri 43
    wmesg parked wchan 7a04f194
  lwp 6 [JS Helper] c1ce3020 pcb da308000
    stat 3 flags 80 cpu 0 pri 43
    wmesg parked wchan 7a04f194
  lwp 5 [JS Helper] c1ce32c0 pcb da306000
    stat 3 flags 80 cpu 0 pri 43
    wmesg parked wchan 7a04f194
  lwp 4 c1ce3560 pcb da304000
    stat 3 flags 80 cpu 0 pri 43
    wmesg parked wchan 7a0f5af4
  lwp 3 [Socket Thread] c1854540 pcb d86ab000
    stat 3 flags 80 cpu 0 pri 43
    wmesg select wchan c1368c80
  lwp 2 [Gecko_IOThread] c18302c0 pcb d869d000
    stat 3 flags 80 cpu 0 pri 43
    wmesg kqueue wchan c291ada4
  lwp 1 c18afd40 pcb d86da000
    stat 3 flags 0 cpu 0 pri 43
    wmesg netio wchan c1afb0ec
crash> bt/a c2a11aa0
trace: pid 177 lid 27 at 0xda357bf0
sleepq_block(0,0,c073bc98,c0834220,40,c1374d01,c2a11aa0,c2ae4000,0,c1b54024) at s
leepq_block+0x8f
turnstile_block(0,1,c1b54024,c0834220,58,eb80,0,0,0,0) at turnstile_block+0x1f8
mutex_vector_enter(c1b54024,0,c1b54000,1c,da357ce0,c059904a,c1b54000,0,c291d050,
da357ce8) at mutex_vector_enter+0x206
vfs_busy(c1b54000,0,c291d050,da357ce8,da357ed4,10c,40,da357cb4,784ad73,da357cb8)
 at vfs_busy+0x17
vcache_get(c1b54000,c291d06c,1c,da357cfc,da357ed4,0,da357da4,c03cb03f,c1b54000,c
291d06c) at vcache_get+0x1a0
nfs_nget1(c1b54000,c291d06c,1c,da357d80,0,da357d70,da357d74,da357d68,0,0) at nfs
_nget1+0x26
nfs_create(da357db8,c058c79a,0,c070cb3c,c1f030b8,da357ec0,da357ed4,da357df4,da35
7eac,da357e88) at nfs_create+0xb9c
VOP_CREATE(c1f030b8,da357ec0,da357ed4,da357df4,0,200,c1da76c0,1,180,ffffffff) at
 VOP_CREATE+0x56
vn_open(da357eac,60a,180,c2a11aa0,180,c2aea800,38,0,c1719950,c2954400) at vn_ope
n+0x3b9
do_open(c2a11aa0,0,c1719950,609,180,da357f40,0,c1719950,c2a11aa0,da357fa8) at do
_open+0xb5
do_sys_openat(609,180,da357f40,da357fa8,da357f9c,c04d4b3f,c2a11aa0,da357f68,da35
7f60,c0831f7c) at do_sys_openat+0x6f
sys_open(c2a11aa0,da357f68,da357f60,c0831f7c,da357f68,0,0,8c083dd0,609,180) at s
ys_open+0x2c
syscall() at syscall+0x7f
--- syscall (number 5) ---
bb973957:
crash> show proc/a c1806540
lwp_t c1806540
system: pid 0 proc c08342a0 vmspace/map c0847760 flags 20002
  lwp 50 [ioflush] c1806540 pcb d8647000
    stat 3 flags 200 cpu 0 pri 124
    wmesg tstile wchan c087d384
  lwp 49 [pgdaemon] c18067e0 pcb d8645000
    stat 3 flags 200 cpu 0 pri 126
    wmesg pgdaemon wchan c0880df4
  lwp 46 [nfsio] c16fd020 pcb d863f000
    stat 3 flags 200 cpu 0 pri 96
    wmesg nfsiod wchan c14d525c
  lwp 45 [nfsio] c16fd2c0 pcb d863d000
    stat 3 flags 200 cpu 0 pri 96
    wmesg nfsiod wchan c14d51e4
  lwp 44 [nfsio] c16fd560 pcb d863b000
    stat 3 flags 200 cpu 0 pri 96
    wmesg nfsiod wchan c14d52ac
  lwp 43 [nfsio] c16fd800 pcb d85fc000
    stat 3 flags 200 cpu 0 pri 96
    wmesg nfsiod wchan c14d52d4
  lwp 42 [pfpurge] c1695a80 pcb d8639000
    stat 3 flags 200 cpu 0 pri 96
    wmesg pftm wchan c03fe9e2
  lwp 41 [atapibus0] c16fdaa0 pcb d85fa000
    stat 3 flags 200 cpu 0 pri 96
    wmesg sccomp wchan c1626328
  lwp 38 [usb3] c1695d20 pcb d85f8000
    stat 3 flags 200 cpu 0 pri 96
    wmesg usbevt wchan c1690218
  lwp 37 [usb2] c1503020 pcb d85f6000
    stat 3 flags 200 cpu 0 pri 96
    wmesg usbevt wchan c14f8234
  lwp 36 [usb1] c15032c0 pcb d8635000
    stat 3 flags 200 cpu 0 pri 96
    wmesg usbevt wchan c1504218
  lwp 35 [usb0] c16fdd40 pcb d8633000
    stat 3 flags 200 cpu 0 pri 96
    wmesg usbevt wchan c1500218
  lwp 34 [cryptoret] c16957e0 pcb d85fe000
    stat 3 flags 200 cpu 0 pri 96
    wmesg crypto_w wchan c0840edc
  lwp 33 [unpgc] c16952a0 pcb d8604000
    stat 3 flags 200 cpu 0 pri 96
    wmesg unpgc wchan c08800e4
  lwp 32 [vmem_rehash] c1695000 pcb d8602000
    stat 3 flags 200 cpu 0 pri 125
    wmesg vmem_rehash wchan c14d0944
  lwp 23 [atabus1] c1503560 pcb d7da8000
    stat 3 flags 200 cpu 0 pri 96
    wmesg atath wchan c1626344
  lwp 22 [atabus0] c1503800 pcb d7da6000
    stat 3 flags 200 cpu 0 pri 96
    wmesg atath wchan c16261e4
  lwp 21 [fw0probe] c1503aa0 pcb d7c92000
    stat 3 flags 280 cpu 0 pri 96
    wmesg ieee1394 wchan c15e3470
  lwp 20 [usbtask-dr] c1503d40 pcb d796d000
    stat 3 flags 200 cpu 0 pri 96
    wmesg usbtsk wchan c08801cc
  lwp 19 [usbtask-hc] c14d7000 pcb d796b000
    stat 3 flags 200 cpu 0 pri 96
    wmesg usbtsk wchan c08801ac
  lwp 18 [pms0] c14d72a0 pcb d777d000
    stat 3 flags 200 cpu 0 pri 96
    wmesg pmsreset wchan c14f6e7c
  lwp 17 [apm0] c14d7540 pcb d777b000
    stat 3 flags 200 cpu 0 pri 96
    wmesg apmev wchan c14fbc40
  lwp 16 [sysmon] c14d77e0 pcb d7966000
    stat 3 flags 200 cpu 0 pri 96
    wmesg smtaskq wchan c087e12c
  lwp 15 [pmfsuspend] c14d7a80 pcb d7964000
    stat 3 flags 200 cpu 0 pri 43
    wmesg pmfsuspend wchan c14d0dc4
  lwp 14 [pmfevent] c14d7d20 pcb d7962000
    stat 3 flags 200 cpu 0 pri 43
    wmesg pmfevent wchan c14d0e84
  lwp 13 [sopendfree] c1389020 pcb d7960000
    stat 3 flags 200 cpu 0 pri 96
    wmesg sopendfr wchan c088009c
  lwp 12 [nfssilly] c13892c0 pcb d795e000
    stat 3 flags 200 cpu 0 pri 43
    wmesg nfssilly wchan c14d0f44
  lwp 11 [cachegc] c1389560 pcb d795c000
    stat 3 flags 200 cpu 0 pri 125
    wmesg cachegc wchan c1389560
  lwp 10 [vrele] c1389800 pcb d795a000
    stat 3 flags 200 cpu 0 pri 125
    wmesg vrele wchan c083f540
  lwp 9 [vdrain] c1389aa0 pcb d7958000
    stat 3 flags 200 cpu 0 pri 125
    wmesg vdrain wchan c083f600
  lwp 8 [modunload] c1389d40 pcb d7956000
    stat 3 flags 200 cpu 0 pri 125
    wmesg mod_unld wchan c0846d64
  lwp 7 [xcall/0] c1381000 pcb d7954000
    stat 3 flags 200 cpu 0 pri 127
    wmesg xcall wchan c082ebf0
  lwp 6 [softser/0] c13812a0 pcb d7952000
    stat 1 flags 200 cpu 0 pri 223
  lwp 5 [softclk/0] c1381540 pcb d7950000
    stat 1 flags 200 cpu 0 pri 220
  lwp 4 [softbio/0] c13817e0 pcb d78ce000
    stat 1 flags 200 cpu 0 pri 221
  lwp 3 [softnet/0] c1381a80 pcb d78cc000
    stat 1 flags 200 cpu 0 pri 222
  lwp 2 [idle/0] c1381d20 pcb d78c8000
    stat 1 flags 201 cpu 0 pri 0
  lwp 1 [swapper] c0833f60 pcb c09a5000
    stat 3 flags 200 cpu 0 pri 125
    wmesg uvm wchan c0833f60
crash> bt/a c1806540
trace: pid 0 lid 50 at 0xd8648ec8
sleepq_block(0,0,c073bc98,c0834220,40,c1374d01,c1806540,c2ae4000,0,c087d384) at s
leepq_block+0x8f
turnstile_block(0,1,c087d384,c0834220,c1806540,c087d390,0,0,0,0) at turnstile_bl
ock+0x1f8
mutex_vector_enter(c087d384,0,64,c087d390,0,0,0,56bcf672,0,c1806540) at mutex_ve
ctor_enter+0x206
sched_sync(c1806540,9a4000,9ab000,0,c0100304,0,0,0,0,0) at sched_sync+0x15


-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645



Home | Main Index | Thread Index | Old Index