It's definitely not running out of RAM, based on what the kernel reports. That it happened nearly immediately after a soft-reboot also tends to rule out the memory issue (you're talking about the DNS debugging spew, right?). Highest utilization I've ever seen on this device is 34%. I have a ton of features turned off.
No SPI, no USB storage, no IPv6, ad nauseum.
Here are the lines that make me think I have a JFFS2 problem from the syslog:
Jul 31 20:00:13 kernel: JFFS2 notice: (372) check_node_data: wrong data CRC in data node at 0x015ef000: read 0x4889d8cf, calculated 0xfd0f300c.
Jul 31 20:00:13 kernel: JFFS2 notice: (372) check_node_data: wrong data CRC in data node at 0x015ed9b0: read 0x2441f870, calculated 0xf07fcda0.
(The odd timestamp above is because I did a reboot just prior to the panic, and it hadn't synced the time yet.)
You mentioned somewhere that ASUS is now storing some system parameters in the JFFS2 partition. (Previously I think only TA used this in vanilla ASUSWRT). I suspect a firmware update does not erase this partition if errors were present previously. Is this correct?
If I were to ssh into the router and reinitialize the JFFS2 partition (assuming I have the privileges), then do a factory reset, am I in danger of bricking my device? Is there some feature in particular that uses JFFS2 that I should turn off first?
I did notice that a factory reset doesn't seem to reset everything on the device. For example, my DHCP reservations remained behind after a reset with some earlier firmware. I haven't hit any problems with this thanks to my near-default setup, but I'd expect somebody who changed their subnet addresses could get burned by this unless there are some safeguards in place such as checking that the table's addresses match the subnet well below the UI-level logic.
Just FYI, the same thing happened on my Netgear R7000, so this seems to be a common theme probably coming from the similar backgrounds of the firmware. This surprised me, though, because I expected a factory reset to reset everything, not just part of everything. I've been poring over the various subforums and haven't found this discussed, though I might have missed.