This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2004年08月04日 11:43 by bertramscharpf, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Messages (8) | |||
|---|---|---|---|
| msg21932 - (view) | Author: Bertram Scharpf (bertramscharpf) | Date: 2004年08月04日 11:43 | |
On my system, running the simple smtplib Example from the Documentation results in a segmentation fault. Execution stops and no mail is submitted. I debugged into the Python source code, but my understanding of the inner mechanisms doesn't suffice to fix the problem. I update my system periodically using "apt-get update ; apt-get upgrade". I don't remember, when it was the last time Python was upgraded. I made the files availabe: http://www.bertram-scharpf.de/tmp/smtpex.py.txt http://www.bertram-scharpf.de/tmp/smtpex.desc.txt |
|||
| msg21933 - (view) | Author: Ronald Oussoren (ronaldoussoren) * (Python committer) | Date: 2004年08月07日 14:30 | |
Logged In: YES user_id=580910 I cannot reproduce this. I've tested: Python 2.3 (#1, Sep 13 2003, 00:49:11) [GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin Type "help", "copyright", "credits" or "license" for more information. Python 2.3.4 (#2, Jul 5 2004, 09:15:05) [GCC 3.3.4 (Debian 1:3.3.4-2)] on linux2 Python 2.2.3+ (#1, Jun 20 2004, 13:32:48) [GCC 3.3.4 (Debian)] on linux2 The first is the system python on MacOS X, the other two are current Debian packages (python2.3 and python2.2) on Debian stable. |
|||
| msg21934 - (view) | Author: Bertram Scharpf (bertramscharpf) | Date: 2004年08月08日 07:14 | |
Logged In: YES user_id=1097255 Indeed, I did compile python 2.2.1 with Gcc versions 2.95, 3.0 and 3.3. The segfault only occurs in the 2.95 compiled code. |
|||
| msg21935 - (view) | Author: Facundo Batista (facundobatista) * (Python committer) | Date: 2004年12月26日 22:00 | |
Logged In: YES user_id=752496 Please, could you verify if this problem persists in Python 2.3.4 or 2.4? If yes, in which version? Can you provide a test case? If the problem is solved, from which version? Note that if you fail to answer in one month, I'll close this bug as "Won't fix". Thank you! . Facundo |
|||
| msg21936 - (view) | Author: Bertram Scharpf (bertramscharpf) | Date: 2004年12月27日 10:30 | |
Logged In: YES user_id=1097255 > I'll close this bug as "Won't fix". I think that's OK. |
|||
| msg152018 - (view) | Author: Jon Bringhurst (Jon.Bringhurst) | Date: 2012年01月26日 15:41 | |
I just ran into this while using the smtplib example on: 2.6 (r26:66714, Jan 17 2012, 11:02:11) GCC 4.1.2 20080704 (Red Hat 4.1.2-44) Running the program simply gives a "Segmentation Fault (core dumped)" Running it under gdb... [Thread debugging using libthread_db enabled] [New Thread 0x2b0257007b80 (LWP 2567)] Program received signal SIGSEGV, Segmentation fault. PyEval_EvalFrameEx (f=0x17701d00, throwflag=<value optimized out>) at Python/ceval.c:4342 4342 if (!PyDict_Check(gobals)) { |
|||
| msg152114 - (view) | Author: Charles-François Natali (neologix) * (Python committer) | Date: 2012年01月27日 19:36 | |
Could you please indicate exactly the command you're running, and provide the full backtrace? |
|||
| msg184797 - (view) | Author: Terry J. Reedy (terry.reedy) * (Python committer) | Date: 2013年03月20日 21:20 | |
The original poster's links are dead. Without a reproducible problem with a current release, there is nothing we can do. Anyone who can provide such and will respond to requests for more information can reopen.
Note:
On Win 7 with 3.2, 3.3, current example exits on line
server = smtplib.SMTP('localhost')
with
socket.error: [Errno 10061] No connection could be made because the target machine actively refused it
|
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:06 | admin | set | github: 40684 |
| 2013年03月20日 21:20:34 | terry.reedy | set | status: open -> closed nosy: + terry.reedy messages: + msg184797 resolution: wont fix stage: test needed |
| 2012年01月28日 01:31:36 | jcea | set | nosy:
+ jcea |
| 2012年01月27日 19:36:35 | neologix | set | nosy:
+ neologix messages: + msg152114 |
| 2012年01月27日 09:32:12 | neologix | link | issue13877 superseder |
| 2012年01月27日 09:30:59 | neologix | set | status: closed -> open resolution: wont fix -> (no value) |
| 2012年01月26日 15:43:40 | Jon.Bringhurst | set | type: crash versions: + Python 2.6, - Python 2.2 |
| 2012年01月26日 15:41:04 | Jon.Bringhurst | set | nosy:
+ Jon.Bringhurst messages: + msg152018 |
| 2004年08月04日 11:43:34 | bertramscharpf | create | |