Kbase P107525: Setting TPE_DATADIR crashes SQL-92 _sqlsrv2 in 9.1x and 10.0x
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  03/09/2008 |
|
Status: Verified
SYMPTOM(s):
sql-92 server memory violation
_sqlsrv2 memory violation
SYSTEM ERROR: Memory violation. (49)
_sqlsrv2 produces stack trace
Progress stack trace reads:
_doprnt()
vsnprintf()
"Database not started" received by sql-92 clients
"Database not started" received by SQL explorer
Manually brings up _sqlsrv2 creats the same stack trace
_sqlsrv2 executable does not have SUID bit set
_sqlsrv2 can start under root
_sqlsrv2 can start under some users
_sqlsrv2 can not start under other users
TPE_DATADIR is defined for the user that can not start _sqlsrv2
FACT(s) (Environment):
Progress 9.x
OpenEdge 10.x
CAUSE:
Bug 20050817-036
CAUSE:
It is a bug in _sqlsrv2. The code looks at the TPE_DATADIR environment variable, and if set this overrides the value of the WRKDIR environment variable. and a path through our code is followed where there is a failure to initialize another variable and this causes the problem (defererence ofuninitialized pointer).
FIX:
Bug is fixed in 10.1 or
Unset environment variable TPE_DATADIR