DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23415>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23415 Improved handling of out memory condition Summary: Improved handling of out memory condition Product: Xerces-C++ Version: Nightly build (please specify the date) Platform: All OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Miscellaneous AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When xercesc runs out of memory it is possible to get illegal instructions or segmentation faults. In investigating these problems I found that when memory is allocated there was no check to see that it actually worked. I modified the default memory manager to check if memory was allocated properly. If it wasn't allocated then I throw an exception that doesn't need more memory (the XMLException class may need more memory to copy strings or create a mutex). To do this I created a new class, OutOfMemoryException. In order to pass the OutOfMemoryException on, all occurrences of catch(...) needed to have an additional check for OutOfMemoryException so it could be rethrown. I will attach two files, one containing the source updates to existing src files, Makefile.in, and the MS V6/V7 project files. The second file is the new header file, OutOfMemoryException.hpp. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
