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.

classification
Title: test_bsddb skipped -- Failed to load on HP-UX 11.2i
Type: behavior Stage: test needed
Components: Extension Modules Versions: Python 2.6
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: ajaksu2, georg.brandl, nnorwitz, shashikala
Priority: low Keywords:

Created on 2006-04-27 07:07 by shashikala, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
pythontest.txt shashikala, 2006-04-28 04:35 logfile
Messages (6)
msg28356 - (view) Author: shashi (shashikala) Date: 2006-04-27 07:07
 Hi ,

 Iam building Python-2.4.3 on HP-UX 11.2i , while 
testing its npt able import the _bsddb.sl module and 
hence that is skipped . In previous versions the test 
is passing. what can be done to pass the test?.


Thanks,
shashi
 
msg28357 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2006-04-28 03:11
Logged In: YES 
user_id=33168

The test can't pass without being able to import _bsddb.sl.
 Why can't this file be imported?  When you build python it
should print out what version of bsddb is found.  It will
look something like this:

running build
running build_ext
db.h: found (4, 1) in /usr/include
db lib: using (4, 1) db-4.1

What version of bsddb was found on your box?  Are there
compile errors when building bsddb?
msg28358 - (view) Author: shashi (shashikala) Date: 2006-04-28 04:35
Logged In: YES 
user_id=1506183

Hi,
 I am having db-4.4.20 installed, It looks like Python 
doesn't support 4.4.20 version , hence i built 4.2.52 , now 
I am getting segmentation fault (memory fault) and its 
dumping core . I want to know the versions of the  
dependent libraries Python-2.4.3 supports and also while 
testing the Python test_subprocess.py is also dumping core. 
I am sending out the outputs of test_bsddb and 
test_subprocess.

  Thanks,
   shashi
msg28359 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2006-04-28 04:45
Logged In: YES 
user_id=33168

Support for db-4.4 was added late.  I believe the only thing
you need to do to enable it is modify setup.py, line 496
(proabably that line) should be:
        max_db_ver = (4, 4)

From what I've seen, you are much better off with newer
versions of bdb.

As for the seg faults, I wonder if your ulimits are too low.
 What is the output of:  ulimit -a

Also, can you attach the output of ./python
Lib/test/regrtest.py -v -u bsddb test_subprocess

and do the same for test_bsddb3 (or test_bsddb whichever is
crashing).
msg83912 - (view) Author: Daniel Diniz (ajaksu2) * (Python triager) Date: 2009-03-21 02:44
I guess this isn't a valid issue, then?
msg85492 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2009-04-05 13:35
Seems like that's the case.
History
Date User Action Args
2022-04-11 14:56:17adminsetgithub: 43284
2009-04-05 13:35:16georg.brandlsetstatus: open -> closed

nosy: + georg.brandl
messages: + msg85492

resolution: wont fix
2009-03-21 02:44:28ajaksu2setpriority: normal -> low

type: behavior
versions: + Python 2.6, - Python 2.4
nosy: + ajaksu2

messages: + msg83912
stage: test needed
2006-04-27 07:07:46shashikalacreate