Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug#482346: zsh doesn't always wait for its children (-> zombie)



On 2008-05-24 18:23:21 -0700, Phil Pennock wrote:
> Then I'd be inclined to start looking into hardware issues, since
> _something's_ probably getting stuck in disk IO; I'll suspect that
> before kernel bugs, but it might also be worth seeing if there are other
> problems with threaded programs on powerpc, if init really can't reap
> something that has already become a zombie.

I've looked at /var/log/kern.log and there's something each time
I interrupted vlc, e.g.

May 24 14:33:36 ay kernel: Unable to handle kernel paging request for data at address 0x481e7000
May 24 14:33:36 ay kernel: Faulting instruction address: 0xc00131e8
May 24 14:33:36 ay kernel: Oops: Kernel access of bad area, sig: 11 [#1]
May 24 14:33:36 ay kernel: PowerMac
May 24 14:33:36 ay kernel: Modules linked in: snd_powermac snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd snd_page_alloc soundcore xt_multiport iptable_filter ip_tables x_tables ipv6 ide_cd cdrom sungem sungem_phy firewire_ohci firewire_core crc_itu_t yenta_socket rsrc_nonstatic pcmcia_core uninorth_agp agpgart sd_mod scsi_mod dm_snapshot dm_mirror dm_mod ext3 jbd mbcache ide_disk evdev i2c_powermac windfarm_core
May 24 14:33:36 ay kernel: NIP: c00131e8 LR: c0017780 CTR: 00000080
May 24 14:33:36 ay kernel: REGS: c2769b60 TRAP: 0300   Not tainted  (2.6.24-1-powerpc)
May 24 14:33:36 ay kernel: MSR: 00009032 <EE,ME,IR,DR>  CR: 24004422  XER: 00000000
May 24 14:33:36 ay kernel: DAR: 481e7000, DSISR: 40000000
May 24 14:33:36 ay kernel: TASK = c2d7ca80[21850] 'vlc' THREAD: c2768000
May 24 14:33:36 ay kernel: GPR00: c3356060 c2769c10 c2d7ca80 481e7000 00000080 0c57a181 481e7000 00000000 
May 24 14:33:36 ay kernel: GPR08: 0c57a181 c3356060 00000000 c03fe000 44004422 1001a728 bfffffff cf3d2140 
May 24 14:33:36 ay kernel: GPR16: 0000000d c3356060 00000030 00000000 c2769ccc c272e480 c3356060 00000001 
May 24 14:33:36 ay kernel: GPR24: 00000000 481e7000 0000079c c245e860 c245e860 0c57a181 481e7000 c0588f40 
May 24 14:33:36 ay kernel: NIP [c00131e8] __flush_dcache_icache+0x14/0x40
May 24 14:33:36 ay kernel: LR [c0017780] update_mmu_cache+0x84/0x108
May 24 14:33:36 ay kernel: Call Trace:
May 24 14:33:36 ay kernel: [c2769c10] [481e7000] 0x481e7000 (unreliable)
May 24 14:33:36 ay kernel: [c2769c30] [c0085888] handle_mm_fault+0xc70/0xd70
May 24 14:33:36 ay kernel: [c2769c70] [c0085d48] get_user_pages+0x3c0/0x4d0
May 24 14:33:36 ay kernel: [c2769cc0] [c00d008c] elf_core_dump+0xa28/0xce4
May 24 14:33:36 ay kernel: [c2769d60] [c009fe28] do_coredump+0x664/0x6cc
May 24 14:33:36 ay kernel: [c2769e50] [c003df64] get_signal_to_deliver+0x390/0x3c0
May 24 14:33:36 ay kernel: [c2769e80] [c00096ac] do_signal+0x50/0x268
May 24 14:33:36 ay kernel: [c2769f40] [c0013ef4] do_user_signal+0x7c/0xcc
May 24 14:33:36 ay kernel: --- Exception: c00 at 0xfbcce5c
May 24 14:33:36 ay kernel:     LR = 0xfbceaf4
May 24 14:33:36 ay kernel: Instruction dump:
May 24 14:33:36 ay kernel: 4d820020 7c8903a6 7c001bac 38630020 4200fff8 7c0004ac 4e800020 60000000 
May 24 14:33:36 ay kernel: 54630026 38800080 7c8903a6 7c661b78 <7c00186c> 38630020 4200fff8 7c0004ac 
May 24 14:33:36 ay kernel: ---[ end trace 6343c960c4d55920 ]---
May 24 14:33:36 ay kernel: note: vlc[21850] exited with preempt_count 1

> > Here's vmstat output:
> 
> First line of vmstat is average since system boot, you need to do
> something like "vmstat 1", ignore the first line, and look at what's
> happening at the current time.

procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa
 2  0 120044  17616  54288 124632    4    4    33    44   32  261  8  1 87  4
 0  0 120044  17616  54288 124632    0    0     0     0   24  299  0  0 100  0
 0  0 120044  17616  54288 124632    0    0     0     0   25  303  0  0 100  0
 0  0 120044  17616  54288 124632    0    0     0     0   24  298  0  0 100  0
 0  0 120044  17616  54288 124632    0    0     0     0   24  290  0  0 100  0
 0  0 120044  17376  54288 124632    0    0     0     0   23  300 73  7 20  0
 0  0 120044  17436  54296 124632    0    0     0    32   27  297  0  0 99  1
 1  0 120044  17376  54296 124604    0    0     0     0   24  298 11  0 89  0
 0  0 120044  17616  54296 124632    0    0     0     0   23  299 51  2 47  0
 0  0 120044  17616  54296 124632    0    0     0     0   24  292  0  0 100  0
 0  0 120044  17556  54300 124632    0    0     0   340   65  365  0  0 80 20

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)



Messages sorted by: Reverse Date, Date, Thread, Author