473,327 Members | 1,919 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

bus error / crash using https

I have an application which interacts with a webserver over https
using client certificates.

Due to a bug in openssl 0.9.6, I upgraded to 0.9.7 and rebuilt python.
Now, when I access the page python is crashing with with a "bus error"
and coring.

Any insite as to what I need to do to fix this? The gdb output is
below.

-adam

[adam@goblin bin]$ gdb /usr/local/bin/python core
GNU gdb 4.18
Copyright 1998 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 "sparc-sun-solaris2.8"...
Core was generated by `/usr/local/bin/python testdriver.py -g
/home/adam/newport/inferno-iplanet.xml e'.
Program terminated with signal 9, Killed.
Reading symbols from /usr/lib/libresolv.so.2...done.
Reading symbols from /usr/lib/libsocket.so.1...done.
Reading symbols from /usr/lib/libnsl.so.1...done.
Reading symbols from /usr/lib/librt.so.1...done.
Reading symbols from /usr/lib/libdl.so.1...done.
Reading symbols from /usr/lib/libpthread.so.1...done.
Reading symbols from /usr/lib/libm.so.1...done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/lib/libmp.so.2...done.
Reading symbols from /usr/lib/libaio.so.1...done.
Reading symbols from
/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1...done.
Reading symbols from /usr/lib/libthread.so.1...done.
Reading symbols from
/usr/lib/locale/en_US.ISO8859-1/en_US.ISO8859-1.so.2...
done.
Reading symbols from
/usr/local/lib/python2.3/lib-dynload/math.so...done.
Reading symbols from
/usr/local/lib/python2.3/lib-dynload/_random.so...done.
Reading symbols from
/usr/local/lib/python2.3/lib-dynload/time.so...done.
Reading symbols from
/usr/local/lib/python2.3/lib-dynload/fcntl.so...done.
Reading symbols from
/usr/local/lib/python2.3/lib-dynload/strop.so...done.
Reading symbols from
/home/adam/work/mainline/qa/Scripts/TestDriver-devel/ldapmodules/solaris/_ldap.so...done.
Reading symbols from
/home/adam/work/mainline/qa/Scripts/TestDriver-devel/lib/libldap_r.so.2...done.
Reading symbols from
/home/adam/work/mainline/qa/Scripts/TestDriver-devel/lib/liblber.so.2...done.
Reading symbols from
/home/adam/work/mainline/qa/Scripts/TestDriver-devel/lib/libssl.so.0.9.7...done.
Reading symbols from
/home/adam/work/mainline/qa/Scripts/TestDriver-devel/lib/libcrypto.so.0.9.7...done.
Reading symbols from /usr/lib/libgen.so.1...done.
Reading symbols from
/home/adam/work/mainline/qa/Scripts/TestDriver-devel/lib/libsasl2.so.2...done.
Reading symbols from
/usr/local/lib/python2.3/lib-dynload/binascii.so...done.
Reading symbols from
/usr/local/lib/python2.3/lib-dynload/cStringIO.so...done.
Reading symbols from
/usr/local/lib/python2.3/lib-dynload/_socket.so...done.
Reading symbols from
/usr/local/lib/python2.3/lib-dynload/_ssl.so...done.
Reading symbols from
/usr/local/lib/python2.3/lib-dynload/cPickle.so...done.
Reading symbols from
/usr/local/lib/python2.3/lib-dynload/struct.so...done.
Reading symbols from
/usr/local/lib/python2.3/lib-dynload/pyexpat.so...done.
Reading symbols from
/usr/local/lib/python2.3/lib-dynload/sha.so...done.
Reading symbols from
/usr/local/lib/python2.3/lib-dynload/unicodedata.so...
done.
Reading symbols from
/usr/local/lib/python2.3/lib-dynload/itertools.so...done.
Reading symbols from
/usr/local/lib/python2.3/lib-dynload/array.so...done.
#0 0xfe6a7aa0 in ssl3_read_bytes ()
---Type <return> to continue, or q <return> to quit---
from /home/adam/work/mainline/qa/Scripts/TestDriver-devel/lib/libssl.so.0.9.7
(gdb) where
#0 0xfe6a7aa0 in ssl3_read_bytes ()
from /home/adam/work/mainline/qa/Scripts/TestDriver-devel/lib/libssl.so.0.9.7
#1 0xfe6a55c4 in ssl3_read ()
from /home/adam/work/mainline/qa/Scripts/TestDriver-devel/lib/libssl.so.0.9.7
#2 0xfe6ae9b8 in SSL_read ()
from /home/adam/work/mainline/qa/Scripts/TestDriver-devel/lib/libssl.so.0.9.7
#3 0xfe481e70 in PySSL_SSLread (self=0x1ddd98, args=0x0)
at /usr/local/src/Python-2.3.4/Modules/_ssl.c:442
#4 0xcbea0 in PyCFunction_Call (func=0x3669e0, arg=0x2ee050, kw=0x0)
at Objects/methodobject.c:108
#5 0x80554 in call_function (pp_stack=0xffbee6f0, oparg=3072080)
at Python/ceval.c:3439
#6 0x7e080 in eval_frame (f=0x1feb28) at Python/ceval.c:2116
#7 0x8078c in fast_function (func=0x34b3f0, pp_stack=0x263ac8, n=1,
na=0,
nk=1146912) at Python/ceval.c:3518
#8 0x80640 in call_function (pp_stack=0xffbee888, oparg=1)
at Python/ceval.c:3458
#9 0x7e080 in eval_frame (f=0x263960) at Python/ceval.c:2116
#10 0x7f634 in PyEval_EvalCodeEx (co=0x3484a0, globals=0x0,
locals=0x263960,
args=0x1f4f78, argcount=1, kws=0x1f4f7c, kwcount=0, defs=0x3498fc,
defcount=1, closure=0x0) at Python/ceval.c:2663
#11 0x80818 in fast_function (func=0x34b430, pp_stack=0xffbeeaa8, n=1,
na=1,
nk=0) at Python/ceval.c:3529
#12 0x80640 in call_function (pp_stack=0xffbeeaa8, oparg=1)
at Python/ceval.c:3458
#13 0x7e080 in eval_frame (f=0x1f4e20) at Python/ceval.c:2116
#14 0x7f634 in PyEval_EvalCodeEx (co=0x3452a0, globals=0x0,
locals=0x1f4e20,
args=0x38b5cc, argcount=1, kws=0x38b5d0, kwcount=0, defs=0x3498bc,
defcount=1, closure=0x0) at Python/ceval.c:2663
#15 0x80818 in fast_function (func=0x335d70, pp_stack=0xffbeecc8, n=1,
na=1,
nk=0) at Python/ceval.c:3529
#16 0x80640 in call_function (pp_stack=0xffbeecc8, oparg=1)
at Python/ceval.c:3458
#17 0x7e080 in eval_frame (f=0x38b468) at Python/ceval.c:2116
#18 0x7f634 in PyEval_EvalCodeEx (co=0x33d920, globals=0x0,
locals=0x38b468,
args=0x374dc4, argcount=2, kws=0x374dcc, kwcount=0, defs=0x35b1fc,
defcount=1, closure=0x0) at Python/ceval.c:2663
#19 0x80818 in fast_function (func=0x35c7b0, pp_stack=0xffbeeee8, n=2,
na=2,
nk=0) at Python/ceval.c:3529
#20 0x80640 in call_function (pp_stack=0xffbeeee8, oparg=2)
at Python/ceval.c:3458
#21 0x7e080 in eval_frame (f=0x374c60) at Python/ceval.c:2116
#22 0x7f634 in PyEval_EvalCodeEx (co=0x33d960, globals=0x0,
locals=0x374c60,
args=0x1780e4, argcount=1, kws=0x1780e8, kwcount=0, defs=0x35b21c,
defcount=1, closure=0x0) at Python/ceval.c:2663
#23 0x80818 in fast_function (func=0x35c7f0, pp_stack=0xffbef108, n=1,
na=1,
nk=0) at Python/ceval.c:3529
#24 0x80640 in call_function (pp_stack=0xffbef108, oparg=1)
at Python/ceval.c:3458
#25 0x7e080 in eval_frame (f=0x177f78) at Python/ceval.c:2116
#26 0x8078c in fast_function (func=0x361670, pp_stack=0x2be170, n=1,
na=0,
nk=1146912) at Python/ceval.c:3518
---Type <return> to continue, or q <return> to quit---
#27 0x80640 in call_function (pp_stack=0xffbef2a0, oparg=1)
at Python/ceval.c:3458
#28 0x7e080 in eval_frame (f=0x2bdfd0) at Python/ceval.c:2116
#29 0x8078c in fast_function (func=0x2d5af0, pp_stack=0x1ca698, n=1,
na=0,
nk=1146912) at Python/ceval.c:3518
#30 0x80640 in call_function (pp_stack=0xffbef438, oparg=1)
at Python/ceval.c:3458
#31 0x7e080 in eval_frame (f=0x1ca548) at Python/ceval.c:2116
#32 0x7f634 in PyEval_EvalCodeEx (co=0x18cb60, globals=0x0,
locals=0x1ca548,
args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0,
closure=0x0) at Python/ceval.c:2663
#33 0x82458 in PyEval_EvalCode (co=0x18cb60, globals=0x1329c0,
locals=0x1329c0)
at Python/ceval.c:537
#34 0xa5488 in run_node (n=0x122158, filename=0x18cb60 "",
globals=0x1329c0,
locals=0x1329c0, flags=0xffbef804) at Python/pythonrun.c:1267
#35 0xa5434 in run_err_node (n=0x122158, filename=0x18cb60 "",
globals=0x1329c0, locals=0x1329c0, flags=0xffbef804)
at Python/pythonrun.c:1254
#36 0xa5094 in PyRun_FileExFlags (fp=0x116fb0,
filename=0xffbefa3a "testdriver.py", start=1255872,
globals=0x1329c0,
locals=0x1329c0, closeit=1, flags=0xffbef804) at
Python/pythonrun.c:1245
#37 0xa39a8 in PyRun_SimpleFileExFlags (fp=0x116fb0,
filename=0xffbefa3a "testdriver.py", closeit=1, flags=0xffbef804)
at Python/pythonrun.c:862
#38 0xa4b88 in PyRun_AnyFileExFlags (fp=0x116fb0,
filename=0xffbefa3a "testdriver.py", closeit=1, flags=0xffbef804)
at Python/pythonrun.c:659
#39 0x1c430 in Py_Main (argc=5, argv=0xffbef8ec) at Modules/main.c:415
#40 0x1bc68 in main (argc=5, argv=0xffbef8ec) at Modules/python.c:23
(gdb)
Jul 18 '05 #1
0 1406

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Adam Bergman | last post by:
Okay, I am working on a credit card validation script, I have it working perfectly (saving the return information from the server to a variable and echoing it for now) other than this weird error...
0
by: Robert | last post by:
did you solve this problem? It seems to be still present here with py2.3.5. Robert -- From: Manish Jethani <manish.j@gmx.net> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US;...
12
by: Christian Christmann | last post by:
Hi, assert and error handling can be used for similar purposes. When should one use assert instead of try/catch and in which cases the error handling is preferable? I've read somewhere that...
3
by: Antti Keskinen | last post by:
Hello ppl ! Since this newsgroup is a place where Microsoft MVPs or related visit somewhat often, could someone give me an advice with possible causes of this error. Note that it does not happen...
11
by: Tomas Kepic | last post by:
Hi, i'm trying to create my first ASP.NET project ( HelloASPWorld project) but an error occured when I put OK button in NewProject. ERROR: "The Web server reported the following error when...
0
by: parthikteli | last post by:
Hi, I have some webservices running on windows 2003 machine over SSL. I made a client in VB6 which uses SoapToolKit 3 to access the webservices. Everythign works fine if i use the client on...
6
gregerly
by: gregerly | last post by:
Hello all, I appologize if this is the wrong place for this post. Not sure where else it would go. I am building a shopping cart with PHP. I know that on a page where you would collect the user...
3
by: graphicssl | last post by:
Okay, so first of all, I'm a designer first and a light coder second (I'm only really trained with HTML and CSS). So I apologize for having to post about something that's probably super-trivial! ...
1
by: gagonm | last post by:
Hi I had security audit of my applications. I have two applications 1) .NET 1.0 2) .NET 1.1 Here Request is sent in either form of https://DNSName:443/virtualdir/~default.aspx...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.