<br><br><div class="gmail_quote">On Wed, Apr 18, 2012 at 12:14 PM, Arun KS <span dir="ltr"><<a href="mailto:getarunks@gmail.com">getarunks@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br><div class="gmail_quote"><div class="im">Hello Guys,<br><br>System is working normal after this BUG.<br>PC is at 0x400b4614, probably a mmaped address.<br><br></div>Just wondering how can this BUG happen when a process is running in user space.<div class="im">
<br>
<br>Can it be something like this<br>
1) enter to kernel from userspace through some system call.<br>2) kernel disables the interrupt and return to user space.<br>3) and now it can happen in user space?<br><br>Any thoughts?<br><br>shell@android: # ls<br>device[ 40.603515] BUG: scheduling while atomic: Binder Thread #/1355/0x00010003<br>
[ 40.610290] Modules linked in:<br>[ 40.613342]<br>[ 40.614837] Pid: 1355, comm: Binder Thread #<br>[ 40.619506] CPU: 0 Tainted: G W (3.0.15+ #174)<br>[ 40.625061] PC is at 0x400b4614<br>[ 40.628173] LR is at 0x408d83c9<br>
[ 40.631317] pc : [<400b4614>] lr : [<408d83c9>] psr: 40000010<br>[ 40.631317] sp : 50551918 ip : 4092d1c0 fp : 505519a4<br>[ 40.642730] r10: 50551974 r9 : 5016de28 r8 : 1f600009<br>[ 40.647949] r7 : 00000000 r6 : 00000000 r5 : 5055194c r4 : 00f09f90<br>
[ 40.654418] r3 : 40931c58 r2 : 00000000 r1 : 00f09f90 r0 : 00000006<br>[ 40.660919] Flags: nZcv IRQs on FIQs on Mode USER_32 ISA ARM Segment user<br></div></div></blockquote><div><br>But if you look at the flags here, it is showing that IRQs are on.<br>
<br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_quote"><div class="im">[ 40.668121] Control: 10c53c7d Table: 91184059 DAC: 00000015<br>
<br>shell@android: #<br>shell@android: #<br>shell@android: #<br><br><br>
</div></div><br>
</blockquote></div><br>