[Nexus One Android Development] mikerackhabit:
Okay, it's an "Alignment Trap"

Thanks for the info, now I can at least see the fault that's happening. It's an "Alignment trap". I assume this means one of the binaries I've created is messed up somehow. Any ideas on what/how to do about it much appreciated.

Note that this happens if I run 'fusermount -u mountpoint' and also if I run 'umount mountpoint'.

Relevant bits of /proc/last_kmsg:

[ 4323.039703] Alignment trap: not handling instruction e1903f9f at [<c00cc5dc>]
[ 4323.040069] Unhandled fault: alignment exception (0x011) at 0x00000001
[ 4323.040679] Internal error: : 11 [#1] PREEMPT
[ 4323.041015] last sysfs file: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state
[ 4323.041625] Modules linked in: fuse bcm4329
[ 4323.042877] CPU: 0 Tainted: G W (2.6.34-cyanogenmod #1)
[ 4323.043518] PC is at __destroy_inode+0x7c/0xa0
[ 4323.043853] LR is at __destroy_inode+0x28/0xa0
[ 4323.044494] pc : [<c00cc5e0>] lr : [<c00cc58c>] psr: 20000013
[ 4323.044525] sp : c54b5ee0 ip : 00000010 fp : 00100100
[ 4323.045440] r10: c30358f0 r9 : 00000000 r8 : 00200200
[ 4323.045776] r7 : 00000001 r6 : c54b4000 r5 : 00000000 r4 : c6b41d40
[ 4323.046417] r3 : 00000000 r2 : c54b5ec8 r1 : c54b5ec8 r0 : 00000001
[ 4323.046752] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 4323.047393] Control: 10c5787d Table: 261bc019 DAC: 00000015
[ 4323.048004]
[ 4323.048004] PC: 0xc00cc560:
----snip lots of register dumps-----
[ 4323.264343] Process fusermount (pid: 2455, stack limit = 0xc54b42f0)
[ 4323.264953] Stack: (0xc54b5ee0 to 0xc54b6000)
-----snip fusermount stack dump--
[ 4323.270294] [<c00cc5e0>] (__destroy_inode+0x7c/0xa0) from [<c00cc610>] (destroy_inode+0xc/0x44)
[ 4323.270935] [<c00cc610>] (destroy_inode+0xc/0x44) from [<c00cba80>] (iput+0x64/0x74)
[ 4323.271575] [<c00cba80>] (iput+0x64/0x74) from [<c00c9f84>] (shrink_dcache_for_umount_subtree+0x24c/0x2e4)
[ 4323.272216] [<c00c9f84>] (shrink_dcache_for_umount_subtree+0x24c/0x2e4) from [<c00ca068>] (shrink_dcache_for_umount+0x4c/0x60)
[ 4323.272888] [<c00ca068>] (shrink_dcache_for_umount+0x4c/0x60) from [<c00bab08>] (generic_shutdown_super+0x1c/0x13c)
[ 4323.273559] [<c00bab08>] (generic_shutdown_super+0x1c/0x13c) from [<c00bac64>] (kill_anon_super+0xc/0x78)
[ 4323.274230] [<c00bac64>] (kill_anon_super+0xc/0x78) from [<c00bb0ec>] (deactivate_super+0x68/0x80)
[ 4323.274597] [<c00bb0ec>] (deactivate_super+0x68/0x80) from [<c00d07dc>] (sys_umount+0x2f8/0x328)
[ 4323.275268] [<c00d07dc>] (sys_umount+0x2f8/0x328) from [<c0025f00>] (ret_fast_syscall+0x0/0x30)
[ 4323.275909] Code: 88bd8010 e3500000 08bd8010 e1903f9f (e2433001)
[ 4323.277313] ---[ end trace 1b75b31a2719ed1f ]---
[ 4323.277954] Kernel panic - not syncing: Fatal exception
[ 4323.278381] [<c002a9ac>] (unwind_backtrace+0x0/0xf0) from [<c03141f0>] (panic+0x58/0xd4)
[ 4323.279052] [<c03141f0>] (panic+0x58/0xd4) from [<c00297f8>] (die+0x2b4/0x304)
[ 4323.279693] [<c00297f8>] (die+0x2b4/0x304) from [<c0025314>] (do_DataAbort+0x80/0x94)
[ 4323.280059] [<c0025314>] (do_DataAbort+0x80/0x94) from [<c0025a2c>] (__dabt_svc+0x4c/0x60)
[ 4323.280700] Exception stack(0xc54b5e98 to 0xc54b5ee0)
[ 4323.281311] 5e80: 00000001 c54b5ec8
[ 4323.281768] 5ea0: c54b5ec8 00000000 c6b41d40 00000000 c54b4000 00000001 00200200 00000000
[ 4323.282409] 5ec0: c30358f0 00100100 00000010 c54b5ee0 c00cc58c c00cc5e0 20000013 ffffffff
[ 4323.283081] [<c0025a2c>] (__dabt_svc+0x4c/0x60) from [<c00cc5e0>] (__destroy_inode+0x7c/0xa0)
[ 4323.283447] [<c00cc5e0>] (__destroy_inode+0x7c/0xa0) from [<c00cc610>] (destroy_inode+0xc/0x44)
[ 4323.284118] [<c00cc610>] (destroy_inode+0xc/0x44) from [<c00cba80>] (iput+0x64/0x74)
[ 4323.284759] [<c00cba80>] (iput+0x64/0x74) from [<c00c9f84>] (shrink_dcache_for_umount_subtree+0x24c/0x2e4)
[ 4323.285430] [<c00c9f84>] (shrink_dcache_for_umount_subtree+0x24c/0x2e4) from [<c00ca068>] (shrink_dcache_for_umount+0x4c/0x60)
[ 4323.286102] [<c00ca068>] (shrink_dcache_for_umount+0x4c/0x60) from [<c00bab08>] (generic_shutdown_super+0x1c/0x13c)
[ 4323.286773] [<c00bab08>] (generic_shutdown_super+0x1c/0x13c) from [<c00bac64>] (kill_anon_super+0xc/0x78)
[ 4323.287414] [<c00bac64>] (kill_anon_super+0xc/0x78) from [<c00bb0ec>] (deactivate_super+0x68/0x80)
[ 4323.287780] [<c00bb0ec>] (deactivate_super+0x68/0x80) from [<c00d07dc>] (sys_umount+0x2f8/0x328)
[ 4323.288421] [<c00d07dc>] (sys_umount+0x2f8/0x328) from [<c0025f00>] (ret_fast_syscall+0x0/0x30)
[ 4323.289062] Rebooting in 5 seconds..
[ 4328.263732] Restarting Linux version 2.6.34-cyanogenmod (shade@toxygene) (gcc version 4.4.0 (GCC) ) #1 PREEMPT Mon Jun 28 20:07:00 EDT 2010