[Python-bugs-list] [ python-Bugs-640557 ] '64-bit' systems and the dbm module

noreply@sourceforge.net noreply@sourceforge.net
Tue, 19 Nov 2002 00:10:05 -0800


Bugs item #640557, was opened at 2002-11-19 08:10
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=640557&group_id=5470

Category: Extension Modules
Group: Python 2.2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Nick Maclaren (nmm1)
Assigned to: Nobody/Anonymous (nobody)
Summary: '64-bit' systems and the dbm module

Initial Comment:
Modules/dbmmodule.c is broken on systems where long is
longer than int.
The cause is that convertsimple in Python/getargs.c
writes a length
(the '#' format descriptor) into an int, but the dsize
field of a datum
type is a long.  I have no fix, I am afraid.

The symptom on Solaris 9 with -xarch=v9b is SIGSEGV,
due to a huge
and bogus size.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=640557&group_id=5470