From: Paul Eggert <eggert@cs.ucla.edu>
To: Jorgen Schaefer <forcer@forcix.cx>
Cc: 17561@debbugs.gnu.org
Subject: bug#17561: Emacs can forget processes
Date: Wed, 28 May 2014 16:00:39 -0700 [thread overview]
Message-ID: <53866A97.9030404@cs.ucla.edu> (raw)
In-Reply-To: <20140528225346.227e166d@forcix.jorgenschaefer.de>
On 05/28/2014 01:53 PM, Jorgen Schaefer wrote:
> Dump of assembler code for function pthread_sigmask:
> 0x00000000005642c0 <+0>: sub $0x8,%rsp
> 0x00000000005642c4 <+4>: callq 0x405790 <sigprocmask@plt>
> 0x00000000005642c9 <+9>: xor %edx,%edx
> 0x00000000005642cb <+11>: test %eax,%eax
> 0x00000000005642cd <+13>: jns 0x5642d6 <pthread_sigmask+22>
> 0x00000000005642cf <+15>: callq 0x405a10 <__errno_location@plt>
> 0x00000000005642d4 <+20>: mov (%rax),%edx
> 0x00000000005642d6 <+22>: mov %edx,%eax
> 0x00000000005642d8 <+24>: add $0x8,%rsp
> 0x00000000005642dc <+28>: retq
Bingo! We're on the right track. sigprocmask is *definitely* the wrong
thing to call here, and would explain your symptoms. Can you please
send the preprocessed output of pthread_sigmask.c? That is, if 'make'
uses the following command to build pthread_sigmask.o:
gcc -std=gnu99 -DHAVE_CONFIG_H -I../src -g3 -O2 -c pthread_sigmask.c
then please send the output of:
gcc -std=gnu99 -DHAVE_CONFIG_H -I../src -g3 -O2 -E pthread_sigmask.c
It may be large; OK to send it as a compressed attachment. Thanks.
next prev parent reply other threads:[~2014-05-28 23:00 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-23 15:52 bug#17561: 24.4.50; Emacs can forget processes Jorgen Schaefer
2014-05-23 16:28 ` bug#17561: " Paul Eggert
2014-05-23 16:44 ` Jorgen Schaefer
2014-05-24 23:01 ` Paul Eggert
2014-05-25 7:57 ` Jorgen Schaefer
2014-05-26 17:08 ` Paul Eggert
2014-05-26 18:49 ` Jorgen Schaefer
2014-05-26 23:58 ` Paul Eggert
2014-05-27 18:27 ` Jorgen Schaefer
2014-05-27 21:42 ` Paul Eggert
2014-05-27 22:16 ` Jorgen Schaefer
2014-05-28 0:47 ` Paul Eggert
2014-05-28 20:53 ` Jorgen Schaefer
2014-05-28 23:00 ` Paul Eggert [this message]
2014-05-28 23:35 ` Jorgen Schaefer
2014-05-29 1:22 ` Paul Eggert
2014-05-29 10:08 ` Jorgen Schaefer
2014-05-29 23:15 ` Paul Eggert
2014-05-29 4:17 ` Paul Eggert
2014-05-29 11:39 ` Jorgen Schaefer
2014-05-29 15:09 ` Paul Eggert
2014-05-29 15:22 ` Andreas Schwab
2014-05-29 15:26 ` Paul Eggert
2014-05-29 17:03 ` Jorgen Schaefer
2014-05-29 17:55 ` Andreas Schwab
2014-05-29 18:23 ` Jorgen Schaefer
2014-05-29 19:06 ` Jorgen Schaefer
2014-05-29 20:27 ` Andreas Schwab
2014-05-29 19:15 ` Andreas Schwab
2014-05-30 6:07 ` Paul Eggert
2014-05-30 20:41 ` Jorgen Schaefer
2014-05-30 21:29 ` Paul Eggert
2014-05-27 4:05 ` Paul Eggert
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53866A97.9030404@cs.ucla.edu \
--to=eggert@cs.ucla.edu \
--cc=17561@debbugs.gnu.org \
--cc=forcer@forcix.cx \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).