spinlock bad magic??

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

spinlock bad magic??

3,777 次查看
xiaolong_zhang
Contributor II

this is my app VKFrame log (print this log,my system hung;kernel3.0.35 ;Constant temperature 40):

BUG: spinlock bad magic on CPU#0, QThread/1441
lock: bf52aca8, .magic: 00000000, .owner: QThread/1441, .owner_cpu: 0
[<801046d0>] (unwind_backtrace+0x0/0xf8) from [<8032fb90>] (do_raw_spin_unlock+0x80/0xc4)
[<8032fb90>] (do_raw_spin_unlock+0x80/0xc4) from [<805e8e84>] (_raw_spin_unlock_irqrestore+0xc/0x38)
[<805e8e84>] (_raw_spin_unlock_irqrestore+0xc/0x38) from [<801c1010>] (poll_freewait+0x30/0xa0)
[<801c1010>] (poll_freewait+0x30/0xa0) from [<801c2278>] (do_sys_poll+0x350/0x410)
[<801c2278>] (do_sys_poll+0x350/0x410) from [<801c23e8>] (sys_poll+0x5c/0xcc)
[<801c23e8>] (sys_poll+0x5c/0xcc) from [<800fdf80>] (ret_fast_syscall+0x0/0x30)
*** glibc detected *** ./VKFrame: malloc(): memory corruption: 0x2d00e160 ***

what to be caused by  magic = 00000000? 

标签 (1)
0 项奖励
回复
3 回复数

3,545 次查看
igorpadykov
NXP Employee
NXP Employee

Hi zhang

to avoid this message one can try to rebuild all image with custom

application from scratch. Also one can try with new kernels from nxp repository

linux-imx - i.MX Linux kernel 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

3,545 次查看
xiaolong_zhang
Contributor II

Hi igorpadykov
    There's a bunch of machines.Using the same kernel, there are two machines in the thermostat for testing. One will happen every 24 hours or so, and the other has no abnormality. How to eliminate hardware problems?

0 项奖励
回复

3,545 次查看
igorpadykov
NXP Employee
NXP Employee

Hi zhang

for every machine own image should be created, not recommended to use same binaries.

0 项奖励
回复