GWAVA Crashed While Initializing CTEngine

  • 7019792
  • 22-May-2014
  • 20-Jun-2018

Environment

GWAVA 6.5

Situation

Email has stopped flowing because GWAVA crashed. The last line in the GWAVA log shows: initializing ctengine email security.

Resolution

If GWAVA keeps crashing, even after it was just started do the following:

1) Verify in the gwava/support log that it the last line is: initializing ctengine email security. This log is located in /opt/beginfinite/gwava/services/logs/gwava/support.

Note: The backtrace of the core dump looks like this:
(gdb) bt
#0  0xb57fb539 in std::basic_ifstream<char, std::char_traits<char> >::~basic_ifstream () from /opt/beginfinite/gwava/assets/bin/linux/x32/libasapsdk.so
#1  0xb57f4e2d in std::basic_ifstream<char, std::char_traits<char> >::~basic_ifstream () from /opt/beginfinite/gwava/assets/bin/linux/x32/libasapsdk.so
#2  0xb570c5bb in std::basic_ifstream<char, std::char_traits<char> >::~basic_ifstream () from /opt/beginfinite/gwava/assets/bin/linux/x32/libasapsdk.so
#3  0xb5765ce8 in std::basic_ifstream<char, std::char_traits<char> >::~basic_ifstream () from /opt/beginfinite/gwava/assets/bin/linux/x32/libasapsdk.so
#4  0x0806ea18 in ASAPSDK::IMain::SynchronizePatterns (this=0x8b0e648)
    at ../../../shared_libraries/commtouch/include/ASAPSDK_CPPWrap.h:1329
#5  0x08066efb in CCTEngineUtils::CreateEmailSecurityMain (this=0x8b070b0)
    at ../../source/common/CTEngineUtils.cpp:306
#6  0x081fb32f in CSysGlobals::InitCTEngine (this=0x84bb008)
    at ../../source/gwava/SysGlobals.cpp:4990
#7  0x0808843b in main (argc=2, argv=0xbff0c1a4)
    at ../../source/gwava/GWAVACore.cpp:2205

2) If the last line does show 'initializing ctengine email security', then you need to clear out the ctengine temp files by doing the following:

a) Stop GWAVA by typing: rcgwavaman stop

b) Remove any file that starts with cteng* in /tmp:
1) Type: cd /tmp

2) Type, to see the list of files in this directory: ll (that is two lowercase L's)

3) Type, to remove the cteng* files: rm cteng*
c) Start GWAVA back up by typing: rcgwavaman start
GWAVA should start up successfully, without crashing now.

Additional Information

This article was originally published in the GWAVA knowledgebase as article ID 2297.