pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/37872: python bus

>Number:         37872
>Category:       pkg
>Synopsis:       python bus
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 25 19:50:01 +0000 2008
>Originator:     Danijel Tasov
>Release:        none
Darwin freitag.local 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 
PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc

python2.4 dumps core on Mac OS X, when using ssl sockets

Here is a litte python script:

import socket
res = socket.getaddrinfo("", 443, 0, socket.SOCK_STREAM)
af, socktype, proto, canonname, sa = res[0]
sock = socket.socket(af, socktype, proto)
sslobj = socket.ssl(sock)
del sslobj; # this dumps core
print "i'm alive";

freitag:~ danielt$ /usr/opt/pkg/bin/python2.4 
Bus error (core dumped)

freitag:~ danielt$ /usr/bin/python2.3 
i'm alive

freitag:/cores danielt$ gdb -core core.16699 /usr/opt/pkg/bin/python2.4 
GNU gdb 6.3.50-20050815 (Apple version gdb-696) (Sat Oct 20 18:20:28 GMT 2007)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "powerpc-apple-darwin"...
warning: --arch option not supported in this gdb.
Reading symbols for shared libraries ... done

Core was generated by `/usr/opt/pkg/bin/python2.4'.
Reading symbols for shared libraries . done
Reading symbols for shared libraries ....... done
#0  0x91a207d4 in CRYPTO_add_lock ()
(gdb) bt
#0  0x91a207d4 in CRYPTO_add_lock ()
#1  0x95053940 in SSL_CTX_free ()
#2  0x950521e0 in SSL_free ()
#3  0x0015657c in PySSL_dealloc ()
#4  0x0004d0f0 in PyDict_DelItem ()
#5  0x0007b284 in PyEval_EvalFrame ()
#6  0x0007e814 in PyEval_EvalCodeEx ()
#7  0x0007e9c0 in PyEval_EvalCode ()
#8  0x0000bdfc in run_node ()
#9  0x0000d1e0 in PyRun_SimpleFileExFlags ()
#10 0x00006d08 in Py_Main ()
#11 0x000022ec in _start ()
#12 0x00001ff0 in start ()


Home | Main Index | Thread Index | Old Index