Little valgrind memory leak in isc_attach_database
--------------------------------------------------

                 Key: CORE-6031
                 URL: http://tracker.firebirdsql.org/browse/CORE-6031
             Project: Firebird Core
          Issue Type: Bug
          Components: API / Client Library
    Affects Versions: 3.0.4
         Environment: Linux Firebird-debuginfo-3.0.4.33054-0.amd64.tar.gz
            Reporter: Petr Kristan


==28282== 66 bytes in 1 blocks are still reachable in loss record 2 of 2
==28282==    at 0x4C2FB0F: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==28282==    by 0x61F79B9: strdup (strdup.c:42)
==28282==    by 0x4EEADFE: _br_find_exe_for_symbol.isra.0.constprop.3 
(binreloc.c:287)
==28282==    by 0x4EEB148: Jnmy32213756385051_br_init_lib (binreloc.c:339)
==28282==    by 0x4EEAA00: ConfigRoot::osConfigInstallDir() (config_root.cpp:67)
==28282==    by 0x4E91F5B: GetInstallDir (config_root.h:84)
==28282==    by 0x4E91F5B: ConfigRoot (config_root.h:91)
==28282==    by 0x4E91F5B: create (init.h:218)
==28282==    by 0x4E91F5B: operator() (init.h:247)
==28282==    by 0x4E91F5B: getRootDirectory (PluginManager.cpp:1298)
==28282==    by 0x4E91F5B: 
Firebird::IConfigManagerBaseImpl<Firebird::ConfigManager, 
Firebird::CheckStatusWrapper, Firebird::IVersionedImpl<Firebird::ConfigManager, 
Firebird::CheckStatusWrapper, Firebird::Inherit<Firebird::IConfigManager> > 
>::cloopgetRootDirectoryDispatcher(Firebird::IConfigManager*) 
(IdlFbInterfaces.h:6841)
==28282==    by 0x4EA1B7C: InitPrefix::init() (gds.cpp:3757)
==28282==    by 0x4EA0F0D: init (init.h:190)
==28282==    by 0x4EA0F0D: GDS_init_prefix (gds.cpp:3877)
==28282==    by 0x4EA1164: gds__prefix (gds.cpp:1747)
==28282==    by 0x4F59326: fb_utils::getPrefix(unsigned int, char const*) 
(utils.cpp:1107)
==28282==    by 0x4F47108: AliasesConf (db_alias.cpp:266)
==28282==    by 0x4F47108: create (init.h:218)
==28282==    by 0x4F47108: operator() (init.h:247)
==28282==    by 0x4F47108: 
expandDatabaseName(Firebird::StringBase<Firebird::PathNameComparator>, 
Firebird::StringBase<Firebird::PathNameComparator>&, Firebird::RefPtr<Config 
const>*) (db_alias.cpp:500)
==28282==    by 0x4ECC8CF: 
Why::Dispatcher::attachOrCreateDatabase(Firebird::CheckStatusWrapper*, bool, 
char const*, unsigned int, unsigned char const*) (why.cpp:5684)
==28282==    by 0x4ECD6E9: isc_attach_database (why.cpp:1543)


db_name: eposux:/home/firebird/petr/licence.fdb

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to