* strace and sigprocmask
@ 2014-05-09 12:56 Henry S. Thompson
2014-05-09 14:31 ` Christopher Faylor
0 siblings, 1 reply; 2+ messages in thread
From: Henry S. Thompson @ 2014-05-09 12:56 UTC (permalink / raw)
To: cygwin
Running on Windows 8.1, with 32-bit Cygwin v1.7.29.
I've taken straces of a problematic area of xemacs, tidied them, and
am trying to locate significant differences.
I'm seeing something I don't understand, which isn't causing a crash
so probably isn't significant, but I'd like to understand it better.
strace 1 has:
[main] PID1 sigprocmask: 0 = sigprocmask(2647444, 0xNULL, 0xNULL)
where strace 2 has:
[main] PID1 sigprocmask: 0 = sigprocmask(2649272, 0xNULL, 0xADDR)
Similar lines appear frequently in both straces.
Either I don't understand strace output, or this is bizarre -- the
first arg to sigprocmask should always be 0, 1 or 2, right?
I'd welcome any help in understanding how I should be reading this,
and more generally, how I could have found the answer to my question
myself.
Thanks,
ht
--
Henry S. Thompson, School of Informatics, University of Edinburgh
10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
URL: http://www.ltg.ed.ac.uk/~ht/
[mail from me _always_ has a .sig like this -- mail without it is forged spam]
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: strace and sigprocmask
2014-05-09 12:56 strace and sigprocmask Henry S. Thompson
@ 2014-05-09 14:31 ` Christopher Faylor
0 siblings, 0 replies; 2+ messages in thread
From: Christopher Faylor @ 2014-05-09 14:31 UTC (permalink / raw)
To: cygwin
On Fri, May 09, 2014 at 01:55:51PM +0100, Henry S. Thompson wrote:
>Running on Windows 8.1, with 32-bit Cygwin v1.7.29.
>
>I've taken straces of a problematic area of xemacs, tidied them, and
>am trying to locate significant differences.
>
>I'm seeing something I don't understand, which isn't causing a crash
>so probably isn't significant, but I'd like to understand it better.
>
>strace 1 has:
> [main] PID1 sigprocmask: 0 = sigprocmask(2647444, 0xNULL, 0xNULL)
>where strace 2 has:
> [main] PID1 sigprocmask: 0 = sigprocmask(2649272, 0xNULL, 0xADDR)
>
>Similar lines appear frequently in both straces.
>
>Either I don't understand strace output, or this is bizarre -- the
>first arg to sigprocmask should always be 0, 1 or 2, right?
>
>I'd welcome any help in understanding how I should be reading this,
>and more generally, how I could have found the answer to my question
>myself.
This is a a bug (now fixed) in the source. The first argument to
sigprocmask was not being sent to the strace printf, pushing all of the
arguments left.
As to how you could have found the answer, it's the standard answer for
free software projects - look at the source.
cgf
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-05-09 14:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-09 12:56 strace and sigprocmask Henry S. Thompson
2014-05-09 14:31 ` Christopher Faylor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).