[gnome-db] where is it the sql_parse_with_error function?



I have segmentation foult in my app (using 1.3.91 libgda/libgnomedb),
and trying to find the problem, I put some debug messages in:

gnome_db_query_new_from_sql

it calls to: 

gnome_db_new

and 

gnome_db_query_set_sql_text; and this to sql_parse_with_error, but I
can't find where is it.

In gnome-db-sql-parser.c, exist "gnome_db_sql_parse_with_error", but
not sql_parse_with_error.

AND..

In gnome-db-sql-parser.c define "gnome_db_sqlparse" but the code don't exist.

If I call the backtrace from gdb it gives (I compile the libs with
--enable-debug):

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1224280992 (LWP 26733)]
0xb7443196 in getenv () from /lib/tls/i686/cmov/libc.so.6
(gdb) BT
#0  0xb7443196 in getenv () from /lib/tls/i686/cmov/libc.so.6
#1  0x00000026 in ?? ()
#2  0xb7085698 in ?? ()
#3  0x4f4c0000 in ?? ()
#4  0x00000005 in ?? ()
#5  0xb7543038 in ?? () from /lib/tls/i686/cmov/libc.so.6
#6  0xb7532ca5 in in6addr_loopback () from /lib/tls/i686/cmov/libc.so.6
#7  0x00000001 in ?? ()
#8  0xbffff588 in ?? ()
#9  0xb7438266 in setlocale () from /lib/tls/i686/cmov/libc.so.6
Previous frame inner to this frame (corrupt stack?)

-- 
Trabajar, la mejor arma para tu superación



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