ioctl(6, 0x37 <unfinished ...> killed by SIGSEGV

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

ioctl(6, 0x37 <unfinished ...> killed by SIGSEGV

802件の閲覧回数
chetnakharkar
Contributor I

Hi,

I am using a signal handler and a threads thread1 & thred2 running continuously .

In my signal handler I have just set the flag & in thread checking the flag to take action on it accordingly.

Also to display the status I have a display driver is running in main (Not in threads) .

After some time of execution I am getting the error given below .

open("/dev/klcd", O_WRONLY|O_NONBLOCK) = 6

write(1, "KLCD IOCTL Option: Print With Sp"..., 50) = 50

ioctl(6, 0x37, 0x7e8a2bb8) = 0

close(6) = 0

write(1, "KLCD User level Test Program \n", 30) = 30

write(1, "\n", 1) = 1

write(1, " val val in main fun 1503.803101"..., 64) = 64

write(1, "ioctl command debug: 7 \n", 24) = 24

open("/dev/klcd", O_WRONLY|O_NONBLOCK) = 6

write(1, "KLCD IOCTL Option: Print With Sp"..., 50) = 50

ioctl(6, 0x37 <unfinished ...>

+++ killed by SIGSEGV +++

I thing this is because my Kernel space lcd display  driver gets interrupted by signal alarm ,it is not executing the ioctl call completely .Please help hpw to recover from this error .

I am using Linux kernel 3.12 .

ラベル(3)
0 件の賞賛
返信
1 返信

658件の閲覧回数
CarlosCasillas
NXP Employee
NXP Employee

Hi Chetna,

As kernel 3.12 is not part of the official BSP releases, you could try using the BSP L3.14.28.


Hope this will be useful for you.
Best regards!
/Carlos

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

0 件の賞賛
返信