Re: [gnome-db] Memory leaks


> I think this problem may be linked to a problem Carlos is having,
> which corrupts everything. I've made a correction which is now in SVN
> trunk (g_free() was called twice on the same string...)
> Could you now check (Carlos as well)?

I just built gda from trunk and problem still exists.

Valgrind still reports leaks in gda_mysql_recordset_new.
And in translex:

==15254== 20 bytes in 4 blocks are definitely lost in loss record 1,178 of
==15254==    at 0x40234B0: malloc (vg_replace_malloc.c:149)
==15254==    by 0x50F9DB5: g_malloc (in /usr/lib/
==15254==    by 0x510D238: g_strdup (in /usr/lib/
==15254==    by 0x508702E: tranlex (lexer.l:59)
==15254==    by 0x5085A8C: tranparse (parser.c:1412)
==15254==    by 0x50875F4: gda_sql_transaction_parse_with_error
==15254==    by 0x5000B40: gda_connection_internal_treat_sql
==15254==    by 0x52A6B5A: process_sql_commands (gda-mysql-provider.c:530)
==15254==    by 0x52A970B: get_mysql_tables (gda-mysql-provider.c:1237)
==15254==    by 0x507A17D: gda_server_provider_get_schema
==15254==    by 0x5000E53: gda_connection_get_schema (gda-connection.c:1558)
==15254==    by 0x4F86C9C: ???

I need to investigate it and resolve this issue ASAP so if I can help
somehow with debugging , please let me know.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]