[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-users:07933] Re: emacs20 or emacs20-dl or emacs-dl-canna...
永田です。
At around Sat, 22 Aug 1998 14:50:14 +0900,
Ryuichi Arafune <arafune@xxxxxxxxxxxxxxxxxxxxxxxxx> may have mentioned:
> 荒船です.
> えーっと.再現しません.
> 1) .Xdefaults, .Xresouce 削除
> 2) .emacs をこのメールあったものにおきかえる .
>
> でもちゃんとmew がつかえてます.
> このメールはそうして書いています.
> strace か何かでしらべてみたら?
とりあえず、strace emacs を動かしてみました。
emacs が落ちる場合は:
stat("/usr/share/emacs20/site-lisp/mew/mew-summary.elc", {st_mode=S_IFREG|0644, st_size=47153, ...}) = 0
open("/usr/share/emacs20/site-lisp/mew/mew-summary.elc", O_RDONLY) = 6
stat("/usr/share/emacs20/site-lisp/mew/mew-summary.elc", {st_mode=S_IFREG|0644, st_size=47153, ...}) = 0
stat("/usr/share/emacs20/site-lisp/mew/mew-summary.el", 0xbffff29c) = -1 ENOENT (No such file or directory)
fcntl(6, F_GETFL) = 0 (flags O_RDONLY)
fstat(6, {st_mode=S_IFREG|0644, st_size=47153, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4030b000
lseek(6, 0, SEEK_CUR) = 0
read(6, ";ELC\23\0\0\0\n;;; Compiled by s"..., 4096) = 4096
read(6, "\"\33\r\" \"g\" mew-summary-goto"..., 4096) = 4096
--- SIGSEGV (Segmentation fault) ---
sigaction(SIGSEGV, {SIG_DFL}, {0x80baee0, [], SA_STACK|0x26bca0}) = 0
getpgrp() = 296
ioctl(0, TIOCGPGRP, [295]) = 0
open("/home/sen/.[sorry-i-changed-this]", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 7
close(7) = 0
sigaction(SIGIO, {SIG_IGN}, {0x80c5320, [], SA_STACK|0x100690}) = 0
sigprocmask(SIG_UNBLOCK, [SEGV], [SEGV]) = 0
getpid() = 296
kill(296, SIGSEGV) = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
という具合です。これは mew-summary.elc を読み込んでいる途中ではないで
しょうか?
参考のために、emacs が落ちない場合は:
stat("/usr/share/emacs20/site-lisp/mew/mew-summary.elc", {st_mode=S_IFREG|0644, st_size=47153, ...}) = 0
open("/usr/share/emacs20/site-lisp/mew/mew-summary.elc", O_RDONLY) = 6
stat("/usr/share/emacs20/site-lisp/mew/mew-summary.elc", {st_mode=S_IFREG|0644, st_size=47153, ...}) = 0
stat("/usr/share/emacs20/site-lisp/mew/mew-summary.el", 0xbffff29c) = -1 ENOENT (No such file or directory)
fcntl(6, F_GETFL) = 0 (flags O_RDONLY)
fstat(6, {st_mode=S_IFREG|0644, st_size=47153, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40323000
lseek(6, 0, SEEK_CUR) = 0
read(6, ";ELC\23\0\0\0\n;;; Compiled by s"..., 4096) = 4096
read(6, "\"\33\r\" \"g\" mew-summary-goto"..., 4096) = 4096
read(6, "ive-p) (not (equal major-mode \'"..., 4096) = 4096
read(6, "s matched to a regular expressio"..., 4096) = 4096
read(6, "which you input.\nIf executed wi"..., 4096) = 4096
read(6, "-toggle-disp-msg on mew-window-c"..., 4096) = 4096
read(6, ")\n(defalias \'mew-summary-next "..., 4096) = 4096
read(6, "\210)\201Y\0\16\v!\210\300\201Z\0"..., 4096) = 4096
read(6, "buffer-other-window find-file-no"..., 4096) = 4096
read(6, "ft-mode sit-for 0 mew-icon-p spe"..., 4096) = 4096
read(6, "cuting %s ...\" apply call-proce"..., 4096) = 4096
read(6, "f\305\230\203\32\0\16\6\24eb\210"..., 4096) = 2097
read(6, "", 4096) = 0
close(6) = 0
munmap(0x40323000, 4096) = 0
という感じです。
落ちる直前に
read(6, "\"\33\r\" \"g\" mew-summary-goto"..., 4096) = 4096
が成功しているようで、落ちた瞬間は 次の read() が呼び出される前なの
でしょうか?
-sen