snap refresh hangs on arm architecture
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Fix Released
|
Undecided
|
Unassigned | ||
linux-raspi2 (Ubuntu) |
Fix Released
|
Undecided
|
Paolo Pisati |
Bug Description
I am a snap developer. And we are testing our snap now the found that snap refresh does not work on a Raspberry Pi 2 and 3. It works on an x86 machines though. Here is the detail:
I ran "snap refresh --devmode --edge mysnapname" on my rpi2 to pick up the latest snap. It downloaded the new snap, and sometime after displaying [|] Mount snap "mysnapname" (53) it threw me into kdb on the console. After rebooting, the new snap seems to be working ok. The same thing happen on rpi3.
Image:
pi2:
IMAGE=
URL="http://
pi3:
IMAGE=
URL="http://
Kernel debugging session output for rpi3:
[336032.404195] Unable to handle kernel NULL pointer dereference at virtual address 00000008
[336032.417227] pgd = b66fc000
[336032.422448] [00000008] *pgd=21359831, *pte=00000000, *ppte=00000000
[336032.432174] Internal error: Oops: 17 [#1] SMP ARM
Entering kdb (current=
due to oops @ 0x802dad7c
CPU: 0 PID: 7068 Comm: mount Not tainted 4.4.0-1009-raspi2 #10-Ubuntu
Hardware name: BCM2709
task: a11aca40 ti: a7d5e000 task.ti: a7d5e000
PC is at propagate_
LR is at 0xb8be6f00
pc : [<802dad7c>] lr : [] psr: 800d0013
sp : a7d5fe40 ip : 000000de fp : a7d5fe5c
r10: 00000000 r9 : a1245cc0 r8 : b8f2f300
r7 : a7d5fe88 r6 : 00000000 r5 : b8f2f300 r4 : 81041f98
r3 : 00000001 r2 : 00000000 r1 : b8f2f540 r0 : 00000000
Flags: Nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c5383d Table: 366fc06a DAC: 00000055
CPU: 0 PID: 7068 Comm: mount Not tainted 4.4.0-1009-raspi2 #10-Ubuntu
Hardware name: BCM2709
[<80111f34>] (unwind_backtrace) from [<8010d198>] (show_stack+
[<8010d198>] (show_stack) from [<8055412c>] (dump_stack+
[<8055412c>] (dump_stack) from [<80109b3c>] (show_regs+
[<80109b3c>] (show_regs) from [<801e36b0>] (kdb_main_
[<801e36b0>] (kdb_main_loop) from [<801e6818>] (kdb_stub+
[<801e6818>] (kdb_stub) from [<801dbd30>] (kgdb_cpu_
[<801dbd30>] (kgdb_cpu_enter) from [<801dc33c>] (kgdb_handle_
[<801dc33c>] (kgdb_handle_
[<80111234>] (kgdb_notify) from [<80146528>] (notifier_
[<80146528>] (notifier_
[<801467d0>] (notify_die) from [<8010d2c8>] (die+0x12c/0x498)
[<8010d2c8>] (die) from [<8011b520>] (__do_kernel_
[<8011b520>] (__do_kernel_
[<809ce190>] (do_page_fault) from [<80101230>] (do_DataAbort+
[<80101230>] (do_DataAbort) from [<809cd7dc>] (__dabt_
Exception stack(0xa7d5fdf0 to 0xa7d5fe38)
fde0: 00000000 b8f2f540 00000000 00000001
fe00: 81041f98 b8f2f300 00000000 a7d5fe88 b8f2f300 a1245cc0 00000000 a7d5fe5c
fe20: 000000de a7d5fe40 b8be6f00 802dad7c 800d0013 ffffffff
[<809cd7dc>] (__dabt_svc) from [<802dad7c>] (propagate_
[<802dad7c>] (propagate_one) from [<802db22c>] (propagate_
[<802db22c>] (propagate_mnt) from [<802cacb8>] (attach_
[<802cacb8>] (attach_
[<802cae3c>] (graft_tree) from [<802caf08>] (do_add_
[<802caf08>] (do_add_mount) from [<802cbef4>] (do_mount+
[<802cbef4>] (do_mount) from [<802ccdcc>] (SyS_mount+
[<802ccdcc>] (SyS_mount) from [<80108d00>] (ret_fast_
Changed in linux-raspi2 (Ubuntu): | |
assignee: | nobody → Paolo Pisati (p-pisati) |
Changed in snapd: | |
assignee: | Paolo Pisati (p-pisati) → nobody |
Changed in linux-raspi2 (Ubuntu): | |
status: | New → Fix Released |
Changed in snapd: | |
status: | New → Fix Released |
Kernel version?
Please use the rpi2 16.04 image you linked above, dist-upgrade it to the latest kernel, reboot, retry and report.