From: Oleg Drokin <green@linuxhacker.ru>
To: Jeff Dike <jdike@addtoit.com>
Cc: m.a.young@durham.ac.uk, user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] Sleeping process getting segfault signal
Date: Mon, 3 Nov 2003 14:21:14 +0200 [thread overview]
Message-ID: <20031103122114.GA10845@linuxhacker.ru> (raw)
In-Reply-To: <200311030236.hA32aggX002499@ccure.karaya.com>
Hello!
On Sun, Nov 02, 2003 at 09:36:42PM -0500, Jeff Dike wrote:
> > Jeff: I finally hit the problem yesterday with extra debug code to
> > save the sigmask. Here's what I see. (also include sigjump buffer that
> > was setup later than sigprocmask was run).
> > sigmask = {__val = {134284288
> (gdb) p/x 134284288
> $1 = 0x8010400
> Thats SIGSEGV (the one that matters here), SIGCHLD, and SIGIO. So, we have
> to figure out how we're getting there with SIGSEGV blocked. What's the stack
> at that point?
(gdb) bt
#0 0xa01658e3 in memcpy () at proc_fs.h:154
#1 0xa00d8075 in __do_user_copy (to=0x9fffef14, from=0xa02df7e0, n=800,
fault_addr=0xa57c0284, fault_catcher=0xa57c0288,
op=0xa00d8088 <__do_copy>, faulted_out=0xa57c3a80) at uaccess_user.c:29
#2 0xa00d80bb in __do_copy_to_user (to=0x9fffef14, from=0xa02df7e0, n=800,
fault_addr=0xa57c0284, fault_catcher=0xa57c0288) at uaccess_user.c:54
#3 0xa00cfd69 in setup_signal_stack_sc (stack_top=800, sig=17,
handler=2684350228, restorer=0x4004a978, regs=0xa57c0274, mask=0xa57c3b2c)
at uaccess.h:61
#4 0xa00d4c87 in handle_signal (regs=0xa57c0274, signr=17, ka=0xa39586c4,
info=0xa57c3bf4, oldset=0x320, error=0) at signal_kern.c:114
#5 0xa00d4fdc in kern_do_signal (regs=0xa57c0274, oldset=0xa57c02f0, error=0)
at signal_kern.c:231
#6 0xa00d5126 in do_signal (error=0) at signal_kern.c:262
#7 0xa00d32ce in interrupt_end () at process_kern.c:136
#8 0xa00db199 in sig_handler_common_tt (sig=11, sc_ptr=0x58) at trap_user.c:40
#9 0xa00d7f7a in sig_handler (sig=11, sc=
Bye,
Oleg
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next prev parent reply other threads:[~2003-11-03 12:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-01 21:51 [uml-devel] Sleeping process getting segfault signal M A Young
2003-11-02 9:23 ` Oleg Drokin
2003-11-03 2:36 ` Jeff Dike
2003-11-03 12:21 ` Oleg Drokin [this message]
2003-11-02 14:24 ` Jeff Dike
2003-11-03 2:43 ` Jeff Dike
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031103122114.GA10845@linuxhacker.ru \
--to=green@linuxhacker.ru \
--cc=jdike@addtoit.com \
--cc=m.a.young@durham.ac.uk \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox