Skip to contentSkip to conversation

SIGSEGV handle in UML TT mode

uml-devel Alex LIU 1 participant 1 message Jul 23, 2005 User-mode Linux (UML)

lore
Share & tools
lore

Alex LIU

author
#0 lore raw

Hi,all:

I run a process in UML TT mode. Because of some reason(I don't know yet) the process will run it's SIGSEGV signal handler segv_handler then call segv and at last call force_sig_info(SIGSEGV,&si,current).

Now I have 2 questions:

1.after tracing I found the process hadn't receive a SIGSEGV signal. Since it didn't call handle_signal before that. And it seems that send_signal hadn't be called to send the SIGSEGV signal to the process. So in UML TT mode,is there any posibility that a process can run the segv_handler without a SIGSEGV signal?

2.in segv,why it will call force_sig_info(SIGSEGV,&si,current) to send the SIGSEGV signal to itself again? Since it has been in the SIGSEGV handler.

And is there any good way to trace the reason which cause the SIGSEGV signal in UML TT mode?

Thanks a lot!

Alex

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op�k
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel