How to identify the cause of " BUG: Bad page map in process python ..." kernel errors?

From: Muni Sekhar
Date: Wed Jan 18 2017 - 12:45:39 EST


Hi All,

I am observing the following statements in the kernel log while
running driver soak tests:

[ 8350.824403] BUG: Bad page map in process python pte:000000c0 pmd:950a5067

[ 8351.457234] BUG: Bad page map in process python
pte:3400000000000c0 pmd:950a5067

[ 8351.458469] BUG: Bad page map in process python
pte:406486b3be206e97 pmd:950a5067

â.

[ 8353.266053] BUG: Bad page map in process python
pte:406486b3fb696e97 pmd:950a5067

[ 8353.305982] BUG: Bad page map in process python pte:000000c0 pmd:950a5067

[ 8355.738440] BUG: Bad rss-counter state mm:ffff880138fa7100 idx:1 val:259

[ 8374.905314] general protection fault: 0000 [#1] SMP



In the kernel log, I observed that kernel reported 60 " BUG: Bad page
map in process python ..." reports and 1 âBUG: Bad rss-counter stateâ
and finally it crashed with âgeneral protection faultâ.


I would like to know what does it mean by âBUG: Bad page map in
process python ...â and how to identify the cause of it?


To debug this, do I need to consider the âgeneral protection faultâ
stack trace or the first âBUG: Bad page map in process ââ stack trace?


--
Thanks,
Sekhar