Agent++/TAO Combo crashing in log routines

Stefan.Mueller-Wilken____resco.de Stefan.Mueller-Wilken____resco.de
Wed Mar 19 14:18:47 CET 2003





Hi folks!

I've just started to write a CORBA Service that is to be monitored via SNMP
using Agent++ 3.5.10c and ACE/TAO 1.2a. Unfortunately, when constructing
the Mib object, my app. crashes in AgentLog& AgentLogImpl::operator+=(const
LogEntry* log) while executing  fprintf(logfile, "%s\n", log->get_value())
with the following stacktrace:

---------------------------------------

NTDLL! 77f41baa()
NTDLL! 77f6561d()
fprintf(_iobuf * 0x005f2820 __imp__isxdigit, const char * 0x005de104
`string') line 62 + 9 bytes
AgentLogImpl::operator+=(const LogEntry * 0x00e04d28) line 391 + 38 bytes
TaskManager::TaskManager(ThreadPool * 0x00e04b78, int 65536) line 719 + 27
bytes
ThreadPool::ThreadPool(int 4) line 807 + 40 bytes
Mib::Mib() line 2653 + 33 bytes
ace_main_i(int 2, char * * 0x00dff820) line 71 + 40 bytes
main(int 2, char * * 0x00dff820) line 27 + 111 bytes
mainCRTStartup() line 338 + 17 bytes
KERNEL32! 77e614c7()

-------------------------------------

Both ACE/TAO and SNMP++/Agent++ were compiled using the "Multithreaded DLL
Debuging" code generation option. Can anyone help?

Cheers,
 Stefan




More information about the AGENTPP mailing list