axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zolyomi Istvan (EXT-IT-Guru/Budapest)" <>
Subject bug in Axis.cpp
Date Wed, 14 Apr 2004 12:53:48 GMT


debugging the segfaults we have encountered, we have found a bug. 

Location: src/engine/Axis.cpp , line 270
Error handling in function initialize_module() should be reconsidered!

Symptoms: When opening config file "axiscpp.conf" in
g_pConfig->ReadConfFile() fails (e.g. because of a wrong AXIS_HOME
environment variable), it tries to write a critical failure into the
logfile. However, location of the logfile itself is described in this
config file, thus its location is still unknown. Consequently, the
logfile cannot be opened and the application crashes, a segfault occurs.

Solution: Perhaps you could write to stderr, in this case the error
message could be seen in file error_log of Apache.


ps: If your time permits, please answer my conceptional questions that I
have sent earlier to the developer list.

View raw message