Kernel seems to crash reliably when I overwrite a file directly (not in the merged tree), which is in use in the merged tree. This has happened in debian 2.6.32-5, and 2.6.38-2 using the stock debian aufs build. I'm a complete noob when it comes to nix mailing lists, so if this is more of a kernel issue, feel free to send me on my way.
For example, 1. mount none ./merged -t aufs -o br=./temp1:./temp2 2. start an app using a file in merged/ 3. copy over that same file in temp1 4. cp segfaults, and the kernel crashes: Apr 24 19:11:28 game kernel: [216328.757709] aufs test_add:248:mount[14865]: uid/gid/perm stock 1000/111/0755, 1014/1015/0755 Apr 24 19:11:48 game kernel: [216348.911505] aufs test_add:248:mount[14991]: uid/gid/perm stock 1000/111/0755, 1014/1015/0755 Apr 24 19:12:54 game kernel: [216414.951053] CPU 2 Apr 24 19:12:54 game kernel: [216414.951084] Modules linked in: sg sr_mod cdrom joydev usbhid usb_storage hid aufs(C) iptable_filter ip_tables x_tables firewire_sbp2 loop snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_timer i915 drm_kms_helper i2c_i801 snd soundcore snd_page_alloc drm i2c_algo_bit i2c_core video output pcspkr psmouse evdev serio_raw processor button ext3 jbd mbcache sd_mod crc_t10dif uhci_hcd firewire_ohci firewire_core r8169 thermal ata_generic thermal_sys ata_piix crc_itu_t mii ehci_hcd pata_jmicron libata usbcore scsi_mod nls_base e1000e [last unloaded: scsi_wait_scan] Apr 24 19:12:54 game kernel: [216414.951481] Pid: 14476, comm: sftp-server Tainted: G C 2.6.32-5-amd64 #1 Apr 24 19:12:54 game kernel: [216414.951551] RIP: 0010:[<ffffffff810b5964>] [<ffffffff810b5964>] __remove_from_page_cache+0x51/0xb6 Apr 24 19:12:54 game kernel: [216414.951631] RSP: 0018:ffff8800aaab5b28 EFLAGS: 00010046 Apr 24 19:12:54 game kernel: [216414.951671] RAX: 0000000000000000 RBX: ffffea00072f0330 RCX: ffff8802192d5a2a Apr 24 19:12:54 game kernel: [216414.951737] RDX: 00000000fffffff8 RSI: 0000000000000009 RDI: ffff880000013d00 Apr 24 19:12:54 game kernel: [216414.951805] RBP: ffff8802192bdb30 R08: 0000000000000009 R09: ffff88022f056300 Apr 24 19:12:54 game kernel: [216414.951872] R10: 0000000000000040 R11: ffff8802192d5c58 R12: ffff8802192bdb30 Apr 24 19:12:54 game kernel: [216414.951940] R13: 0000000000000007 R14: ffff8800aaab5c00 R15: 0000000000000000 Apr 24 19:12:54 game kernel: [216414.952005] FS: 00007fb496f97700(0000) GS:ffff880008d00000(0000) knlGS:0000000000000000 Apr 24 19:12:54 game kernel: [216414.952075] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Apr 24 19:12:54 game kernel: [216414.952118] CR2: 00007f6499f37000 CR3: 000000022e1dd000 CR4: 00000000000406e0 Apr 24 19:12:54 game kernel: [216414.952185] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Apr 24 19:12:54 game kernel: [216414.952253] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Apr 24 19:12:54 game kernel: [216414.952319] Process sftp-server (pid: 14476, threadinfo ffff8800aaab4000, task ffff8800b17d7100) Apr 24 19:12:54 game kernel: [216414.952423] ffff8800b00d7690 ffff8802192bdb48 ffffea00072f0330 ffffffff810b59f2 Apr 24 19:12:54 game kernel: [216414.952473] <0> ffffea00072f0330 ffff8802192bdb30 0000000000000007 ffffffff810bcf0a Apr 24 19:12:54 game kernel: [216414.952546] <0> 0000000000000000 ffffea00072f0330 0000000000000007 ffffffff810bcfcb Apr 24 19:12:54 game kernel: [216414.952678] [<ffffffff810b59f2>] ? remove_from_page_cache+0x29/0x3b Apr 24 19:12:54 game kernel: [216414.952724] [<ffffffff810bcf0a>] ? truncate_inode_page+0x6d/0x84 Apr 24 19:12:54 game kernel: [216414.952768] [<ffffffff810bcfcb>] ? truncate_inode_pages_range+0xaa/0x2b0 Apr 24 19:12:54 game kernel: [216414.952813] [<ffffffff810bd20d>] ? truncate_pagecache+0x33/0x4a Apr 24 19:12:54 game kernel: [216414.952857] [<ffffffff810bd24d>] ? vmtruncate+0x29/0x46 Apr 24 19:12:54 game kernel: [216414.952898] [<ffffffff8110101f>] ? inode_setattr+0x22/0x10a Apr 24 19:12:54 game kernel: [216414.952943] [<ffffffffa01174da>] ? ext3_setattr+0x17b/0x1c9 [ext3] Apr 24 19:12:54 game kernel: [216414.952982] [<ffffffff81101287>] ? notify_change+0x180/0x2c5 Apr 24 19:12:54 game kernel: [216414.953015] [<ffffffff810ede40>] ? do_truncate+0x63/0x7e Apr 24 19:12:54 game kernel: [216414.953048] [<ffffffff810f60e8>] ? get_write_access+0x18/0x4b Apr 24 19:12:54 game kernel: [216414.953081] [<ffffffff810f82e7>] ? may_open+0x191/0x1c8 Apr 24 19:12:54 game kernel: [216414.953116] [<ffffffff810f8bca>] ? do_filp_open+0x4bf/0x94b Apr 24 19:12:54 game kernel: [216414.953149] [<ffffffff810f1dcb>] ? cp_new_stat+0xe9/0xfc Apr 24 19:12:54 game kernel: [216414.953182] [<ffffffff810ed11f>] ? do_sys_open+0x55/0xfc Apr 24 19:12:54 game kernel: [216414.953213] [<ffffffff81010b42>] ? system_call_fastpath+0x16/0x1b Apr 24 19:12:54 game kernel: [216414.953438] RSP <ffff8800aaab5b28> Apr 24 19:12:54 game kernel: [216414.953619] ---[ end trace a62e181230481d17 ]---
------------------------------------------------------------------------------ Fulfilling the Lean Software Promise Lean software platforms are now widely adopted and the benefits have been demonstrated beyond question. Learn why your peers are replacing JEE containers with lightweight application servers - and what you can gain from the move. http://p.sf.net/sfu/vmware-sfemails