Closed
Description
Hello,
when firebird.conf is not found on client machine
firebird v5.0.2 classic on windows (we are trying to migrate from v2.5.9)
c++ exception is raised when trying to make first connection to first database
we develop in Delphi and use vectoredExceptionHandler, it logs all exceptions even if they are caught and ignored by fbclient code itself
Delphi does not understand c++ call stack nor arguments nor exceptions, it just reports Exception code E06D7363
but I was able to extract following call stack using MS tools:
00000000`1431f820 636210b9 fbclient!isc_attach_database+0x249 [C:\firebird-build\src\yvalve\why.cpp @ 1656]
00000000`1431f4d8 6363e43a fbclient!Firebird::Config::getDefaultConfig+0xa [C:\firebird-build\src\common\config\config.cpp @ 475]
00000000`1431f4a8 6363d80d fbclient!Firebird::InitInstance<`anonymous namespace'::ConfigImpl,Firebird::DefaultInstanceAllocator<`anonymous namespace'::ConfigImpl>,Firebird::DeleteInstance>::operator()+0x7d [C:\firebird-build\src\common\classes\init.h @ 284]
00000000`1431f268 6363d42b fbclient!`anonymous namespace'::ConfigImpl::ConfigImpl+0x7b [C:\firebird-build\src\common\config\config.cpp @ 65]
00000000`1431f1f4 6365d467 fbclient!ConfigFile::ConfigFile+0xb7 [C:\firebird-build\src\common\config\config_file.cpp @ 223]
00000000`1431f1cc 6365d78b fbclient!`anonymous namespace'::MainStream::MainStream+0xdb [C:\firebird-build\src\common\config\config_file.cpp @ 70]
looks like the problem is in MainStream::MainStream when firebird.conf is not found (on client machine where it's not required)
Would it be possible eliminate this exception in future v5 version?
Thanks,
Paulius (GLDS)