Hello.
I got the closest kernel bug on ubuntu vivid in linkage: lxc-container+sparse 
file+overlayfs+btrfs+apt-get

uname -a
Linux codio 3.19.0-28-generic #30-Ubuntu SMP Mon Aug 31 15:52:51 UTC 2015 
x86_64 x86_64 x86_64 GNU/Linux


[ 3108.003616] BUG: unable to handle kernel NULL pointer dereference at 
0000000000000394
[ 3108.004433] IP: [<ffffffffc05a20a7>] btrfs_sync_file+0xa7/0x310 [btrfs]
[ 3108.004983] PGD 0 
[ 3108.005314] Oops: 0002 [#2] SMP 
[ 3108.005739] Modules linked in: binfmt_misc veth overlay squashfs btrfs xor 
raid6_pq xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 
iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_i
pv4 nf_nat nf_conntrack xt_tcpudp bridge stp llc iptable_filter ip_tables 
x_tables nfsv3 nfs_acl nfs lockd grace fscache vboxsf(OE) ppdev 
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel parport_pc serio_
raw parport vboxguest(OE) video sunrpc autofs4 aesni_intel aes_x86_64 
glue_helper lrw gf128mul ablk_helper cryptd psmouse e1000 ahci libahci
[ 3108.011335] CPU: 0 PID: 560 Comm: apt-get Tainted: G      D    OE  
3.19.0-28-generic #30-Ubuntu
[ 3108.012120] Hardware name: innotek GmbH VirtualBox/VirtualBox, BIOS 
VirtualBox 12/01/2006
[ 3108.012862] task: ffff8800d52844b0 ti: ffff880081870000 task.ti: 
ffff880081870000
[ 3108.013561] RIP: 0010:[<ffffffffc05a20a7>]  [<ffffffffc05a20a7>] 
btrfs_sync_file+0xa7/0x310 [btrfs]
[ 3108.014479] RSP: 0018:ffff880081873e88  EFLAGS: 00010292
[ 3108.014890] RAX: ffff8800d52844b0 RBX: ffff8800d55f1300 RCX: 0000000000000001
[ 3108.015438] RDX: 0000000080000000 RSI: ffff880081873df0 RDI: ffff88008012d6d8
[ 3108.015942] RBP: ffff880081873ef8 R08: 0000000000000001 R09: 0000000000000001
[ 3108.016417] R10: 0000000000000000 R11: 00007ff6639ba000 R12: ffff88008012d6d8
[ 3108.016896] R13: ffff88008012d630 R14: 0000000000000000 R15: 00007ff6639ba000
[ 3108.017395] FS:  00007ff6672ab740(0000) GS:ffff8800da600000(0000) 
knlGS:0000000000000000
[ 3108.018087] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 3108.018518] CR2: 0000000000000394 CR3: 00000000d42a2000 CR4: 00000000000406f0
[ 3108.019010] Stack:
[ 3108.019286]  ffff88007fe24e08 ffff8800801fa840 0000000000004fff 
0000000000000000
[ 3108.020130]  0000000000000000 ffff8800d5284958 0000000000000001 
0000000000000004
[ 3108.020924]  ffff88007fe6e180 ffff8800d5773e40 00007ff6651ba000 
0000000000000000
[ 3108.021690] Call Trace:
[ 3108.021976]  [<ffffffff81226bab>] vfs_fsync_range+0x1b/0x30
[ 3108.022391]  [<ffffffff811b5e22>] SyS_msync+0x212/0x270
[ 3108.022785]  [<ffffffff817cb6cd>] system_call_fastpath+0x16/0x1b
[ 3108.023211] Code: 49 83 c7 10 44 89 e2 48 89 de ff d1 49 8b 0f 48 85 c9 75 
e8 eb a7 66 0f 1f 44 00 00 4d 8d a5 a8 00 00 00 4c 89 e7 e8 19 71 22 c1 <f0> 41 
ff 86 94 03 00 00 49 8b 45 80 48 8b 55 a0 48 c1
 e8 07 83 
[ 3108.027139] RIP  [<ffffffffc05a20a7>] btrfs_sync_file+0xa7/0x310 [btrfs]
[ 3108.027650]  RSP <ffff880081873e88>
[ 3108.027989] CR2: 0000000000000394
[ 3108.028363] ---[ end trace 09cb25e18c13cc77 ]---


How to repeat:

truncate -s 5G images/databases.img
mkfs.btrfs -b 5G images/databases.img
sudo mount -t btrfs images/databases.img mounts/databases

lxc config is:

lxc.include = /usr/share/lxc/config/ubuntu.common.conf
lxc.include = /usr/share/lxc/config/ubuntu.userns.conf
lxc.arch = x86_64
lxc.rootfs = overlayfs:/var/lib/lxc/database/rootfs:./databases/delta0
lxc.rootfs.mount = ./databases/rootfs
lxc.network.type = veth
lxc.network.link = lxcbr0
lxc.network.flags = up

/var/lib/lxc/database/rootfs is lxc template for ubuntu vivid

sudo lxc-start -F -P . -n databases

In started containet trying to run any apt-get install command. it is
failed with log above

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1496438

Title:
  4.2.0.7 BUG: unable to handle kernel NULL pointer dereference at
  0000000000000334

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1496438/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to