# Pastebin isX3KDXU ubuntu@localhost:~$ snappy-tests -check.f homeInterfaceSuite.TestPlugDisconnectonDisablesCreate sudo systemctl stop snappy-autopilot.timer sudo systemctl disable snappy-autopilot.timer sudo systemctl stop snapd.service snapd.socket sudo mkdir -p /etc/systemd/system/snapd.service.d sudo mv /tmp/snapd.env.conf /etc/systemd/system/snapd.service.d/env.conf sudo systemctl daemon-reload sudo systemctl start snapd.service snap list Name Version Developer canonical-pc 3.2 canonical canonical-pc-linux 4.4.0-21+20160504.18-34 canonical checkbox-snappy 0.1 snappy-tests 0.1 ubuntu-core 16.04+20160419.20-55 canonical sudo snap install integration-tests/data/snaps/home-consumer/home-consumer_1.0_all.snap [-] Setup snap "home-consumer" security profiles snap list Name Version Developer canonical-pc 3.2 canonical canonical-pc-linux 4.4.0-21+20160504.18-34 canonical checkbox-snappy 0.1 home-consumer 1.0 snappy-tests 0.1 ubuntu-core 16.04+20160419.20-55 canonical sudo snap connect home-consumer:home ubuntu-core:home [/] Connect home-consumer:home to ubuntu-core:home home-consumer.writer /home/ubuntu/snap/snappy-tests/100001/writable sudo snap disconnect home-consumer:home ubuntu-core:home [ 657.125253] BUG: unable to handle kernel NULL pointer dereference at 0000000000000038 [ 657.126296] IP: [] profile_cmp+0x2f/0x180 [ 657.126998] PGD 1b9fe067 PUD 1ba64067 PMD 0 [ 657.127607] Oops: 0000 [#1] SMP [ 657.128052] Modules linked in: kvm_intel kvm joydev ppdev snd_pcm irqbypass snd_timer snd parport_pc soundcore psmouse evbug pcspkr parport input_leds serio_raw floppy mac_hid e1000 8250_fintek i2c_piix4 pata_acpi autofs4 nls_iso8859_1 usb_storage ahci libahci squashfs [ 657.132261] CPU: 0 PID: 1370 Comm: apparmor_parser Tainted: G W 4.4.0-21-generic #37-Ubuntu [ 657.133768] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014 [ 657.135310] task: ffff88001b4fa580 ti: ffff88001f130000 task.ti: ffff88001f130000 [ 657.136342] RIP: 0010:[] [] profile_cmp+0x2f/0x180 [ 657.137714] RSP: 0018:ffff88001f133cb0 EFLAGS: 00010086 [ 657.138545] RAX: 0000000000000000 RBX: ffff88001b88d400 RCX: 0000000000000006 [ 657.139749] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000009 [ 657.140900] RBP: ffff88001f133cc0 R08: 000000000000000a R09: 0000000000000234 [ 657.142067] R10: ffff88001f211a10 R11: 0000000000000234 R12: 0000000000000000 [ 657.143321] R13: 000000000000000b R14: 0000000000000000 R15: ffff88001d2a9b90 [ 657.144527] FS: 00007fc2bff55740(0000) GS:ffff88001fc00000(0000) knlGS:0000000000000000 [ 657.146079] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b [ 657.147062] CR2: 0000000000000038 CR3: 000000001aa24000 CR4: 00000000000006f0 [ 657.148411] Stack: [ 657.148887] 000000000000000c ffff88001d2a9bf0 ffff88001f133d08 ffffffff8138a0c3 [ 657.150406] 000000011b8441a0 ffff88000000000c ffff88001d2a9b90 ffff88001b88d760 [ 657.151961] ffff88001f2119c8 ffff88001d2a9b40 ffff88001f2119c0 ffff88001f133d98 [ 657.153469] Call Trace: [ 657.153993] [] aa_vec_unique+0x163/0x240 [ 657.155010] [] __aa_labelset_update_subtree+0x687/0x820 [ 657.156284] [] aa_replace_profiles+0x59b/0xb70 [ 657.157374] [] ? __kmalloc+0x22e/0x250 [ 657.158353] [] policy_update+0x9f/0x1f0 [ 657.159330] [] profile_replace+0x13/0x20 [ 657.160324] [] __vfs_write+0x18/0x40 [ 657.161269] [] vfs_write+0xa9/0x1a0 [ 657.162203] [] ? do_sys_open+0x1bf/0x2a0 [ 657.163196] [] SyS_write+0x55/0xc0 [ 657.164108] [] entry_SYSCALL_64_fastpath+0x16/0x71 [ 657.165234] Code: 00 55 48 85 ff 48 89 e5 41 54 53 49 89 f4 48 89 fb 0f 84 8b 00 00 00 4d 85 e4 0f 84 aa 00 00 00 48 83 7b 38 00 0f 84 c9 00 00 00 <49> 83 7c 24 38 00 0f 84 e8 00 00 00 48 83 7b 08 00 0f 84 07 01 [ 657.170041] RIP [] profile_cmp+0x2f/0x180 [ 657.171081] RSP [ 657.171763] CR2: 0000000000000038 [ 657.172641] ---[ end trace a4893b60f017be40 ]---