Issue566006
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 2002-06-07 21:56 by bosna, last changed 2022-04-10 16:05 by admin. This issue is now closed.
Messages (5) | |||
---|---|---|---|
msg11100 - (view) | Author: Rikard Bosnjakovic (bosna) | Date: 2002-06-07 21:56 | |
I have a machine without network and it does not run DNS. It runs an irc-server, and when doing the following, Python crashes and dumps core: >>> import telnetlib >>> a = telnetlib.Telnet("localhost", 6667) >>> dir(a) (crash) If i do /bin/telnet localhost 6667 it works fine, so the irc-server is not broken. Gdb gives me this backtrace: (gdb) bt #0 0x00000000 in ?? () #1 0x080bed79 in dict_dealloc (mp=0x815aef4) at Objects/dictobject.c:700 #2 0x080569ff in PyObject_Dir (arg=0x815cb0c) at Objects/object.c:1502 #3 0x080c405d in builtin_dir (self=0x0, args=0x8114f6c) at Python/bltinmodule.c:436 #4 0x080c0e4d in PyCFunction_Call (func=0x80f7c38, arg=0x8114f6c, kw=0x0) at Objects/methodobject.c:80 #5 0x08072ff3 in eval_frame (f=0x810a34c) at Python/ceval.c:1974 #6 0x08074002 in PyEval_EvalCodeEx (co=0x8142a68, globals=0x8104b7c, locals=0x8104b7c, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:2545 #7 0x08075f90 in PyEval_EvalCode (co=0x8142a68, globals=0x8104b7c, locals=0x8104b7c) at Python/ceval.c:482 #8 0x08091061 in run_node (n=0x8141878, filename=0x80c5795 "<stdin>", globals=0x8104b7c, locals=0x8104b7c, flags=0xbffff8f4) at Python/pythonrun.c:1065 #9 0x0808f6c0 in PyRun_InteractiveOneFlags (fp=0x401672e0, filename=0x80c5795 "<stdin>", flags=0xbffff8f4) at Python/pythonrun.c:579 #10 0x080909c1 in PyRun_InteractiveLoopFlags (fp=0x401672e0, filename=0x80c5795 "<stdin>", flags=0xbffff8f4) at Python/pythonrun.c:515 #11 0x080907bb in PyRun_AnyFileExFlags (fp=0x401672e0, filename=0x80c5795 "<stdin>", closeit=0, flags=0xbffff8f4) at Python/pythonrun.c:478 #12 0x08053022 in Py_Main (argc=2, argv=0xbffff984) at Modules/main.c:366 #13 0x080528ea in main (argc=2, argv=0xbffff984) at Modules/python.c:10 #14 0x4007b542 in __libc_start_main () from /lib/libc.so.6 The crash is reproducible. It crashes everytime I try the code above. Python 2.2, I have not been able to try it with a newer version. |
|||
msg11101 - (view) | Author: Martin v. Löwis (loewis) * | Date: 2002-06-09 08:35 | |
Logged In: YES user_id=21627 What operating system? Does it fail for every port, or just for the IRC port? |
|||
msg11102 - (view) | Author: Guido van Rossum (gvanrossum) * | Date: 2002-06-10 19:37 | |
Logged In: YES user_id=6380 Your line numbers seem off. Can you try again with a debug build? |
|||
msg11103 - (view) | Author: Rikard Bosnjakovic (bosna) | Date: 2002-06-10 22:46 | |
Logged In: YES user_id=98428 It seems that the version I'm using is 2.2a1 (I guess that's why the line numbers seem to be wrong), I will try to download the latest version and compile with debuginfo and see if I can reproduce the error. And no, it does not fail to any other port (ftp, telnet, sshd, etc), just the IRC one. |
|||
msg11104 - (view) | Author: Guido van Rossum (gvanrossum) * | Date: 2002-06-11 00:19 | |
Logged In: YES user_id=6380 Um, that alpha version had many bugs, being an alpha. :-) I don't expect you can reproduce this with 2.2.1. I'm closing this issue. If you do, please open a new bug report. It would be nice to know what the irc server is saying. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-10 16:05:23 | admin | set | github: 36710 |
2002-06-07 21:56:49 | bosna | create |