Re: [gnome-db] Memory leaks



Hi!

> 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
1,833
==15254==    at 0x40234B0: malloc (vg_replace_malloc.c:149)
==15254==    by 0x50F9DB5: g_malloc (in /usr/lib/libglib-2.0.so.0.1200.12)
==15254==    by 0x510D238: g_strdup (in /usr/lib/libglib-2.0.so.0.1200.12)
==15254==    by 0x508702E: tranlex (lexer.l:59)
==15254==    by 0x5085A8C: tranparse (parser.c:1412)
==15254==    by 0x50875F4: gda_sql_transaction_parse_with_error
(gda-sql-transaction-parser.c:100)
==15254==    by 0x5000B40: gda_connection_internal_treat_sql
(gda-connection.c:1807)
==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
(gda-server-provider.c:930)
==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.

Piotras





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