Re: [gnome-db] Status of libgda's trunk



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Vivien,

I've found a crasher on libgda-trunk.

You can reproduce that just adding a

run_sql_non_select (cnc, "\n");

on samples/SimpleExample/example.c inside create_table () function.

backtrace
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1217751360 (LWP 29102)]
0xb7f13838 in sqlite3_clear_bindings (pStmt=0x0) at sqlite3.c:37988
37988	  sqlite3_mutex *mutex = ((Vdbe*)pStmt)->db->mutex;
(gdb) bt
#0  0xb7f13838 in sqlite3_clear_bindings (pStmt=0x0) at sqlite3.c:37988
#1  0xb7ef9bb8 in gda_sqlite_provider_statement_execute
(provider=0x8080f60,
    cnc=0x80c67c0, stmt=0x80b4ac0, params=0x0,
    model_usage=GDA_STATEMENT_MODEL_RANDOM_ACCESS, col_types=0x80b44e8,
    last_inserted_row=0x0, task_id=0x0, async_cb=0, cb_data=0x0,
    error=0xbfbb3478) at gda-sqlite-provider.c:1600
#2  0xb7e9a449 in gda_connection_statement_execute_v (cnc=0x80c67c0,
    stmt=0x80b4ac0, params=0x0,
model_usage=GDA_STATEMENT_MODEL_RANDOM_ACCESS,
    last_inserted_row=0x0, error=0xbfbb3478) at gda-connection.c:1210
#3  0xb7e9d773 in gda_connection_statement_execute_non_select
(cnc=0x80c67c0,
    stmt=0x80b4ac0, params=0x0, last_insert_row=0x0, error=0xbfbb3478)
    at gda-connection.c:1309
#4  0x08048bd3 in run_sql_non_select (cnc=0x80c67c0, sql=0x8048d97 "\n")
    at example.c:112
#5  0x08048a1f in create_table (cnc=0x80c67c0) at example.c:60
#6  0x0804891f in main (argc=135012808, argv=0x1) at example.c:18

I've found this while recursively calling run_sql_non_select () to parse
a table.sql file, where there are instructions to many 'create table
functions'.

thanks and regards,
Massimo

Vivien Malerba wrote:
> On Thu, Mar 13, 2008 at 12:11 PM, Murray Cumming <murrayc murrayc com> wrote:
>>  On Thu, 2008-03-06 at 09:20 +0100, Vivien Malerba wrote:
>>  > Hi!
>>  >
>>  > During the past few week I've been working on the next V4 version of
>>  > Libgda, which breaks the API (and the ABI), but
>>  > which is much cleaner and hopefully easier to use. The documentation
>>  > has also been much improved (specially regarding the
>>  > implementation of database providers with two skeleton implementations
>>  > which can be used as a starting point); as a side note
>>  > running "make PDF" in the doc/C directory will generate a nice looking
>>  > PDF file for the whole documentation.
>>  >
>>  > The documentation includes a migration from V3.X section which
>>  > explains all the changes.
>>
>>  If you make a tarball release then we can get it on to
>>  library.gnome.org. Then we can mentinon URLs in these emails.
>>
>>  It's a good idea to keep it distchecking regularly anyway.
> 
> Ok, will do it ASAP.
> 
> Cheers,
> 
> Vivien
> _______________________________________________
> gnome-db-list mailing list
> gnome-db-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-db-list
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFH3T7QcfVTgMRILk0RAvDoAJ9c4unAVfmenjSsOHeSP6j7FSCQCwCdHLvd
JMkwpj6xSK/vVpiIUUZKpXA=
=iM0O
-----END PGP SIGNATURE-----


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