--DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jul 17, 2003 at 11:37:24PM -0400, Tim Peters wrote: > Partly because of this thing, but mostly because we want to give Jason > a chance to stare at the Cygwin problems. Unfortunately, I don't have that much to report: 1. It appears that Cygwin Python is crashing without even generating the normal Cygwin stackdump file. 2. When run inside of gdb and I get reproducible SEGVs when executing test_poll and test_popen (if test_poll is excluded). The SEGVs are inside of Cygwin so I will have to build a debuggable Cygwin DLL before I can dig deeper. At first glance, it doesn't look like Python is passing garbage into Cygwin. See attached for some backtraces, if interested. 3. I am observing the same (or at least similar) behavior that Tim is seeing with Win32 Python. I will try to do some debugging over the weekend but I may not have more until Monday. Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6 --DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="test_poll.out" (gdb) bt #0 0x77f88e63 in ?? () #1 0x77ea9c13 in WaitForMultipleObjects () from /mnt/c/WINNT/system32/KERNEL32.DLL #2 0x6106ca98 in select () from /usr/bin/cygwin1.dll #3 0x6106c223 in select () from /usr/bin/cygwin1.dll #4 0x61059e7d in poll () from /usr/bin/cygwin1.dll #5 0x60d822f5 in poll_poll (self=0xad30658, args=0xa57599c) at /home/jt/src/PythonCvs/Modules/selectmodule.c:482 (gdb) p *self $3 = {_ob_next = 0xadb0178, _ob_prev = 0xadb13f4, ob_refcnt = 2, ob_type = 0x60d85260, dict = 0xadb13f4, ufd_uptodate = 1, ufd_len = 1, ufds = 0xa1d84a8} (gdb) p self->ufd_len $4 = 1 (gdb) p self->ufds $5 = (struct pollfd *) 0xa1d84a8 (gdb) p *self->ufds $6 = {fd = 8, events = 1, revents = 0} --DocE+STaALJfprDB Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: attachment; filename="test_popen.out" Content-Transfer-Encoding: 8bit (gdb) bt #0 0x77f88e63 in ?? () #1 0x77ea9c13 in WaitForMultipleObjects () from /mnt/c/WINNT/system32/KERNEL32.DLL #2 0x61005b18 in cygwin1!__assert () from /usr/bin/cygwin1.dll #3 0x610590a3 in cygwin_winpid_to_pid () from /usr/bin/cygwin1.dll #4 0x61016fb5 in cygwin_internal () from /usr/bin/cygwin1.dll #5 0x6107df3d in readv () from /usr/bin/cygwin1.dll #6 0x6107dadc in read () from /usr/bin/cygwin1.dll #7 0x610c6dc6 in wmemset () from /usr/bin/cygwin1.dll #8 0x610c5523 in wmemset () from /usr/bin/cygwin1.dll #9 0x610c2290 in wmemset () from /usr/bin/cygwin1.dll #10 0x610b39e6 in fread () from /usr/bin/cygwin1.dll #11 0x6b261e95 in Py_UniversalNewlineFread (buf=0xab9ad24 "['-c', 'foo', 'bar']\n", 'Ë' <repeats 179 times>..., n=8192, stream=0xa04229c, fobj=0xadc01e0) at ../Objects/fileobject.c:2326 #12 0x6b25e858 in file_read (f=0xadc01e0, args=0xa045034) at ../Objects/fileobject.c:804 #13 0x6b27e3ab in PyCFunction_Call (func=0xaca06fc, arg=0xa045034, kw=0x0) at ../Objects/methodobject.c:73 #14 0x6b2cca02 in call_function (pp_stack=0x22eb84, oparg=0) at ../Python/ceval.c:3439 #15 0x6b2c8d65 in eval_frame (f=0xa52b864) at ../Python/ceval.c:2116 #16 0x6b2ccd45 in fast_function (func=0xadb9994, pp_stack=0x22ed04, n=2, na=2, nk=0) at ../Python/ceval.c:3518 #17 0x6b2ccb44 in call_function (pp_stack=0x22ed04, oparg=2) at ../Python/ceval.c:3458 #18 0x6b2c8d65 in eval_frame (f=0xa5e15d4) at ../Python/ceval.c:2116 #19 0x6b2ccd45 in fast_function (func=0xadb99e4, pp_stack=0x22ee84, n=0, na=0, nk=0) at ../Python/ceval.c:3518 #20 0x6b2ccb44 in call_function (pp_stack=0x22ee84, oparg=0) at ../Python/ceval.c:3458 #21 0x6b2c8d65 in eval_frame (f=0xbfc479c) at ../Python/ceval.c:2116 #22 0x6b2ccd45 in fast_function (func=0xadb9a34, pp_stack=0x22f004, n=0, na=0, nk=0) at ../Python/ceval.c:3518 #23 0x6b2ccb44 in call_function (pp_stack=0x22f004, oparg=0) at ../Python/ceval.c:3458 #24 0x6b2c8d65 in eval_frame (f=0xa5ed21c) at ../Python/ceval.c:2116 #25 0x6b2cacf4 in PyEval_EvalCodeEx (co=0xadc0290, globals=0xadc3994, locals=0xadc3994, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:2663 #26 0x6b2c2d7f in PyEval_EvalCode (co=0xadc0290, globals=0xadc3994, locals=0xadc3994) at ../Python/ceval.c:537 --DocE+STaALJfprDB--
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4