> -----Original Message----- > From: Andre Reitz [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 05, 2003 1:34 PM > To: [EMAIL PROTECTED] > Subject: Critical Bug with LOBs [...] > The Bug only occurs if the LONG-data has a certain size. > [...] > Output: > 64896 > 64897 > 64898 > ABEND: sqlabort called > Speicherzugriffsfehler > -------------------------------------------------------------- > -------------- > > - The Seg-fault only occurs when len(data1) is near 65536 and > multiples of 65536 (*2,*3,...) > - The error does not occur when connecting to sapdb-instance 7.3.0.21 > - The error also occurs with python-driver 7.4.0.3 > (sapdb-python-linux-i386-7.4.03.12a.tgz) > > Questions: > ---------- > > - Daniel: Could you please help me finding out if it is a > problem of the python-driver or > if it is a problem of the database (7.3.0.29) [VERY IMPORTANT!!!!]
It is probably related to the size of the communication package (kernel parameter _PACKET_SIZE) and very probably a bug in the python driver (hunch based on experience). > - CVS of sapdb-7.3: ./sys/src/in/vin77.cpp What is this file for? That's a leftover from some time when I thought I could use C++ in the driver > - CVS of sapdb-7.3: ./sys/src/in/vin77.c What is this file > for? (which one is for sapdbmodule.so?) This is the actual implementation of the python driver. > - Are there other files needed (included) for the python-driver? vin28.c contains the interface to the communication packet. If the core happens during the sqlX, you'll have to look into the routines vin77.c:putLongvals If it happes during the read, the routine is probably vin77.c:doGetval. A Vtrace would be interesting (http://sapdb.2scale.net/moin.cgi/VTrace), but only the very last part. This would show whether the problem occurs during the first chunk or during a later package. Daniel Dittmar -- Daniel Dittmar SAP DB, SAP Labs Berlin [EMAIL PROTECTED] http://www.sapdb.org/ _______________________________________________ sapdb.general mailing list [EMAIL PROTECTED] http://listserv.sap.com/mailman/listinfo/sapdb.general
