From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67129 Path: news.gmane.org!not-for-mail From: anhnmncb Newsgroups: gmane.emacs.gnus.general Subject: sending queue mail make gnus segmentation fault. Date: Sat, 05 Jul 2008 09:55:26 +0800 Message-ID: <87zloxqelt.fsf@gentoo.hasee.cpu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1215223186 29646 80.91.229.12 (5 Jul 2008 01:59:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Jul 2008 01:59:46 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M15591@lists.math.uh.edu Sat Jul 05 04:00:33 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1KEx4i-00027k-LC for ding-account@gmane.org; Sat, 05 Jul 2008 04:00:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1KEx3U-0001dl-2m; Fri, 04 Jul 2008 20:59:16 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1KEx3S-0001dU-Bb for ding@lists.math.uh.edu; Fri, 04 Jul 2008 20:59:14 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1KEx3K-0004fu-H3 for ding@lists.math.uh.edu; Fri, 04 Jul 2008 20:59:14 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1KEx3b-0005e4-00 for ; Sat, 05 Jul 2008 03:59:23 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KEx3D-0001mY-Lb for ding@gnus.org; Sat, 05 Jul 2008 01:59:00 +0000 Original-Received: from 116.253.28.161 ([116.253.28.161]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Jul 2008 01:58:59 +0000 Original-Received: from anhnmncb by 116.253.28.161 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Jul 2008 01:58:59 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 32 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 116.253.28.161 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:LbV1TB9DOERZ4zLybr5prIP3k0I= X-Spam-Score: 1.9 (+) X-Spam-Report: SpamAssassin (3.1.9 2007-02-13) analysis follows Bayesian score: 0.0000 Ham tokens: 0.000-4147--16369h-0s--0d--H*UA:Emacs, 0.000-3447--13605h-0s--0d--H*UA:Gnus, 0.000-3447--13604h-0s--0d--H*u:Gnus, 0.000-3309--13061h-0s--0d--H*u:Emacs, 0.000-2567--10133h-0s--0d--H*UA:linux Spam tokens: 0.978-1--0h-2s--0d--H*F:D*sina.com, 0.978-1--0h-2s--0d--H*Ad:D*sina.com, 0.956-8893--2975h-90724s--0d--HX-Spam-Relays-External:quimby.gnus.org, 0.956-8893--2975h-90724s--0d--H*RU:quimby.gnus.org, 0.944-7877--3855h-89684s--0d--HTo:D*gnus.org Autolearn status: no 2.9 FROM_LOCAL_NOVOWEL From: localpart has series of non-vowel letters 1.5 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.2 AWL AWL: From: address is in the auto white-list List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67129 Archived-At: I have a script for receiving and sending mails (Very ugly, could someone help me to improve it? :p) : ---------------------------------------------- #!/bin/sh [ -z "`ps -C emacs -F | grep gnus-agent-batch`" ] && emacs -Q -batch -l ~/.emacs.d/init-gnus.el -l ~/.emacs.d/dot.emacs/.defuns.el -f gnus-agent-batch >> /home/anhnmncb/.emacs.d/log/misc/gnus-agent-batch.log 2>&1 || $(kill -9 `ps -C emacs -F | grep gnus-agent-batch | awk '{print $2}'` && emacs -Q -batch -l ~/.emacs.d/init-gnus.el -l ~/.emacs.d/dot.emacs/.defuns.el -f gnus-agent-batch >> /home/anhnmncb/.emacs.d/log/misc/gnus-agent-batch.log 2>&1) >---------------------------------------------- It works in this way: if the script isn't running, then fetch, send mails and put the output to a log file. Otherwise, kill the script then fetch and send mails. This script works well for news sending, but when I use it for sending mails, the log file says: >---------------------------------------------- Reading active file from archive via nnfolder...done Checking new news... Checking new news...done Sending message 1 of 1... Sending via mail... Fatal error (11) >---------------------------------------------- And the console on which it is run, says: >---------------------------------------------- $ .wm/sh/gnus_agent.sh .wm/sh/gnus_agent.sh: line 7: 25607 Segmentation fault emacs -Q -batch -l ~/.emacs.d/init-gnus.el -l ~/.emacs.d/dot.emacs/.defuns.el -f gnus-agent-batch >> /home/anhnmncb/.emacs.d/log/misc/gnus-agent-batch.log 2>&1 kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] >---------------------------------------------- What's the problem? -- Regards, anhnmncb gpg key: 44A31344