[gnome-db] Postgres Provider Error handling Segfault Backtrace



Gonzalo,

I have a backtrace of the segfault that occurs during any error handling
for the postgres provider.

- Daniel

------------------------------------
SQL Test 2 = "select * from pg_tables;"
  gda_command_new
  gda_connection_execute_command

Breakpoint 1, execute_sql (client=0x8054498, cnc=0x80594d8, testno=2, 
    text=0x80493d9 "select * from pg_tables;") at errorcrash.c:72
72		list = gda_connection_execute_command (cnc, select_command, NULL);
(gdb) cont
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x4035ef77 in g_strdup (str=0xfbad2a84 <Address 0xfbad2a84 out of bounds>)
    at gstrfuncs.c:89
89	gstrfuncs.c: No such file or directory.
	in gstrfuncs.c
(gdb) bt
#0  0x4035ef77 in g_strdup (str=0xfbad2a84 <Address 0xfbad2a84 out of bounds>)
    at gstrfuncs.c:89
#1  0x4027d49c in gda_error_set_description (error=0x8059a38, 
    description=0xfbad2a84 <Address 0xfbad2a84 out of bounds>)
    at gda-error.c:330
#2  0x4027ce93 in gda_error_list_from_exception (ev=0xbffff650)
    at gda-error.c:149
#3  0x4027b0aa in gda_connection_execute_command (cnc=0x80594d8, 
    cmd=0x80577c4, params=0x0) at gda-connection.c:413
#4  0x08048f8f in execute_sql (client=0x8054498, cnc=0x80594d8, testno=2, 
    text=0x80493d9 "select * from pg_tables;") at errorcrash.c:72
#5  0x08048e6b in do_tests () at errorcrash.c:41
#6  0x080491b3 in run_gda_test (user_data=0x0) at errorcrash.c:129
#7  0x4027daf6 in idle_cb (user_data=0x80552b0) at gda-init.c:78
#8  0x40350c64 in g_idle_dispatch (source=0x80552c0, 
    callback=0x4027daa0 <idle_cb>, user_data=0x80552b0) at gmain.c:3129
#9  0x4034e632 in g_main_dispatch (context=0x8053e60) at gmain.c:1617
#10 0x4034f449 in g_main_context_dispatch (context=0x8053e60) at gmain.c:2161
#11 0x4034f7dc in g_main_context_iterate (context=0x8053e60, block=1, 
    dispatch=1, self=0x8054828) at gmain.c:2242
#12 0x4034fe82 in g_main_loop_run (loop=0x8055310) at gmain.c:2462
#13 0x4017fe6a in bonobo_main () at bonobo-main.c:290
#14 0x4027db4d in gda_main_run (init_func=0x80491a8 <run_gda_test>, 
---Type <return> to continue, or q <return> to quit---
    user_data=0x0) at gda-init.c:110
#15 0x080491e9 in main (argc=1, argv=0xbffff8e4) at errorcrash.c:139
#16 0x40047507 in __libc_start_main (main=0x80491bc <main>, argc=1, 
    ubp_av=0xbffff8e4, init=0x80489d0 <_init>, fini=0x8049240 <_fini>, 
    rtld_fini=0x4000dc14 <_dl_fini>, stack_end=0xbffff8dc)
    at ../sysdeps/generic/libc-start.c:129
(


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