[LG Optimus 2x] mas2112:
I managed to catch some logs for a crash on my phone. My phone received some sort of notification (played the sound, maybe an SMS, e-mail, WhatsApp), then the phone BSODed as I was trying to wake up my phone to see what the notification was.

I'm using Stock based ICS 4.0.4 V30A + KK M1 new BL with RH.

Judging by the last_kmsg, it looks like a null pointer exception (see below). Does this look like a bug?

I attached the full last_kmsg log. Here's the stack dump.

Edit: I looked into the code a bit on GitHub, and it seems like a watchdog timer fired in __device_suspend of "kernel/lge/star/drivers/base/power/main.c" for a suspend request from tegra-snd-wm8994.

[13:09:27 18:00:39.119] **** DPM device timeout: tegra-snd-wm8994.0 (tegra-snd-wm8994)
[13:09:27 18:00:39.119] dpm suspend stack:
[13:09:27 18:00:39.119] [<c057cee8>] (schedule+0x760/0x844) from [<c057d6b0>] (schedule_timeout+0x2b8/0x2f8)
[13:09:27 18:00:39.139] [<c057d6b0>] (schedule_timeout+0x2b8/0x2f8) from [<c057c540>] (wait_for_common+0xd0/0x164)
[13:09:27 18:00:39.149] [<c057c540>] (wait_for_common+0xd0/0x164) from [<c03ab808>] (tegra_i2c_xfer+0x270/0x3b8)
[13:09:27 18:00:39.159] [<c03ab808>] (tegra_i2c_xfer+0x270/0x3b8) from [<c03a8174>] (i2c_transfer+0xb0/0x104)
[13:09:27 18:00:39.169] [<c03a8174>] (i2c_transfer+0xb0/0x104) from [<c03a824c>] (i2c_master_send+0x38/0x48)
[13:09:27 18:00:39.179] [<c03a824c>] (i2c_master_send+0x38/0x48) from [<c030f194>] (wm8994_i2c_write_device+0x44/0x60)
[13:09:27 18:00:39.189] [<c030f194>] (wm8994_i2c_write_device+0x44/0x60) from [<c030f314>] (wm8994_write+0x34/0x3c)
[13:09:27 18:00:39.199] [<c030f314>] (wm8994_write+0x34/0x3c) from [<c030f4f0>] (wm8994_reg_write+0x30/0x44)
[13:09:27 18:00:39.209] [<c030f4f0>] (wm8994_reg_write+0x30/0x44) from [<c04253b4>] (snd_soc_write+0xb8/0xc0)
[13:09:27 18:00:39.229] [<c04253b4>] (snd_soc_write+0xb8/0xc0) from [<c042833c>] (snd_soc_update_bits+0x3c/0x50)
[13:09:27 18:00:39.239] [<c042833c>] (snd_soc_update_bits+0x3c/0x50) from [<c0430134>] (wm8994_set_bias_level+0x1e4/0x210)
[13:09:27 18:00:39.249] [<c0430134>] (wm8994_set_bias_level+0x1e4/0x210) from [<c0430574>] (wm8994_suspend+0x9c/0xc8)
[13:09:27 18:00:39.259] [<c0430574>] (wm8994_suspend+0x9c/0xc8) from [<c04281a8>] (snd_soc_suspend+0x2c0/0x360)
[13:09:27 18:00:39.269] [<c04281a8>] (snd_soc_suspend+0x2c0/0x360) from [<c02fab8c>] (platform_pm_suspend+0x2c/0x5c)
[13:09:27 18:00:39.280] [<c02fab8c>] (platform_pm_suspend+0x2c/0x5c) from [<c02fd800>] (pm_op+0x4c/0xa8)
[13:09:27 18:00:39.290] [<c02fd800>] (pm_op+0x4c/0xa8) from [<c02fd960>] (__device_suspend+0x104/0x1a0)
[13:09:27 18:00:39.300] [<c02fd960>] (__device_suspend+0x104/0x1a0) from [<c02fe308>] (dpm_suspend_start+0x2dc/0x3c8)
[13:09:27 18:00:39.310] [<c02fe308>] (dpm_suspend_start+0x2dc/0x3c8) from [<c00b33e8>] (suspend_devices_and_enter+0xdc/0x38c)
[13:09:27 18:00:39.320] [<c00b33e8>] (suspend_devices_and_enter+0xdc/0x38c) from [<c00b3740>] (enter_state+0xa8/0xd4)
[13:09:27 18:00:39.339] [<c00b3740>] (enter_state+0xa8/0xd4) from [<c00b45a4>] (suspend+0x58/0x11c)
[13:09:27 18:00:39.349] [<c00b45a4>] (suspend+0x58/0x11c) from [<c009628c>] (process_one_work+0x278/0x45c)
[13:09:27 18:00:39.359] [<c009628c>] (process_one_work+0x278/0x45c) from [<c00967d4>] (worker_thread+0x1a8/0x2a4)
[13:09:27 18:00:39.370] [<c00967d4>] (worker_thread+0x1a8/0x2a4) from [<c009a788>] (kthread+0x7c/0x84)
[13:09:27 18:00:39.380] [<c009a788>] (kthread+0x7c/0x84) from [<c0047158>] (kernel_thread_exit+0x0/0x8)
[13:09:27 18:00:39.390] kernel BUG at /Volumes/CM/src/kernel/lge/star/drivers/base/power/main.c:615!
[13:09:27 18:00:39.400] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[13:09:27 18:00:39.410] pgd = c0004000
[13:09:27 18:00:39.410] [00000000] *pgd=00000000
[13:09:27 18:00:39.419] Internal error: Oops: 817 [#1] PREEMPT SMP
[13:09:27 18:00:39.419] last sysfs file: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state
[13:09:27 18:00:39.419] Modules linked in: wireless zram(C) bthid
[13:09:27 18:00:39.419] CPU: 0 Tainted: G WC (2.6.39.4-Kowalski-Stable-M1 #1)
[13:09:27 18:00:39.419] PC is at __bug+0x1c/0x28
[13:09:27 18:00:39.419] LR is at __bug+0x18/0x28
[13:09:27 18:00:39.419] pc : [<c0049874>] lr : [<c0049870>] psr: 20000113
[13:09:27 18:00:39.419] sp : d1b5fd60 ip : 0000000c fp : 0000000a
[13:09:27 18:00:39.419] r10: 00000001 r9 : d1b5e000 r8 : c02fd6c8
[13:09:27 18:00:39.419] r7 : d62fbe40 r6 : 00000103 r5 : d1b5e000 r4 : d1c69ba0
[13:09:27 18:00:39.419] r3 : 00000000 r2 : d1b5fd54 r1 : c0695089 r0 : 0000006b
[13:09:27 18:00:39.419] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
[13:09:27 18:00:39.419] Control: 10c5387d Table: 150cc04a DAC: 00000015