Ansicht
Dokumentation

Segmentation fault in dbrclu2.c:c2_mkdir() <br />Tip-No.: 2741 ( INFO2741 )

Segmentation fault in dbrclu2.c:c2_mkdir()
Tip-No.: 2741 ( INFO2741 )

Vendor Master (General Section)   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Short text

Segmentation fault in dbrclu2.c:c2_mkdir()
Tip-No.: 2741

Symptom

When accesing a clustered table, a sgmentation fault occurs in the
function c2_mkdir() of module dbrclu2.c.
E.g. observed during:
R3trans export of cluster tables
Menu selection: Tools->Customizing->Implementation Guidelines
(Accessing DSYGH, DSYGI, DSYGL in DSYO2).

Cause

Incorrect data in physical cluster table.
A cluster entry in a physical cluster table consists of a header section
and a data section. The header contains meta-info on all of the tables
represented in the data section (name, rest key length and rest entry
length (without cluster key part) etc.). In c2_mkdir(), this info is
used to create the cluster directory. Cause of the segmentation fault
is that part of the header is overwritten for some unexplained reason.

Solution

As only the header section is damaged, but can still be reconstructed
from the data section and the name tab, dbrclu2.c was expanded in
B11K008095 (11H) such that it recognizes the incorrect header and can
correct it.






TXBHW - Original Tax Base Amount in Local Currency   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 1256 Date: 20240419 Time: 203902     sap01-206 ( 15 ms )