> > The output below is the one from gda-list-config. > So yes, the g_thread_init warning is there also. > Where is g_thread_init normally called?
It's called by gda_init() in the gda-init.c file. You could try to make a very simple test program without using libgda which runs 2 threads using GLib to see if you've still got the warning. > > $ ./gda-list-config-3.0 > > === Installed providers === > > ***MEMORY-WARNING***: gda-list-config-3.0.exe[2488]: GSlice: g_thread_init() > must > be called before all other GLib functions; memory corruption due to late > invocation of g_thread_init() has been detected; this program is likely to > crash, > leak or unexpectedly abort soon... > Provider: MySQL > Description: Provider for MySQL databases > Location: > C:/Prog/MinGW-mSys/home/BSAEUOPER/inst_libgda-2.99.6/lib/libgda-3.0/providers\libgda-mysql.dll > > Data source's parameters (Name / Type / Description): > DB_NAME / gchararray / Database name > HOST / gchararray / Database server > PORT / gint / Port > UNIX_SOCKET / gchararray / UNIX Socket > USE_SSL / gboolean / Require SSL > > Provider: ODBC > Description: Provider for ODBC data sources > Location: > C:/Prog/MinGW-mSys/home/BSAEUOPER/inst_libgda-2.99.6/lib/libgda-3.0/providers\libgda-odbc.dll > > Data source's parameters (Name / Type / Description): > STRING / gchararray / Connection String > > Provider: PostgreSQL > Description: Provider for PostgreSQL databases > Location: > C:/Prog/MinGW-mSys/home/BSAEUOPER/inst_libgda-2.99.6/lib/libgda-3.0/providers\libgda-postgres.dll > > Data source's parameters (Name / Type / Description): > DB_NAME / gchararray / Database name > SEARCHPATH / gchararray / Search Path > HOST / gchararray / Database server > PORT / gint / Port > OPTIONS / gchararray / Options > USE_SSL / gboolean / Require SSL > > Provider: SQLite > Description: Provider for SQLite databases > Location: > C:/Prog/MinGW-mSys/home/BSAEUOPER/inst_libgda-2.99.6/lib/libgda-3.0/providers\libgda-sqlite.dll > > Data source's parameters (Name / Type / Description): > DB_NAME / gchararray / Database name > DB_DIR / gchararray / Directory > > > === Declared data sources === It otherwise seems to work properly, except that it does not list any configured DSN, and unless you have removed it yourself, the first time you run a libgda application, il will create a "SalesTest" DSN using the sales_test.db file. Maybe that did not work in Windows. Could you check (the code which does this is in gda-init.c, function get_config_client()). Thanks, Vivien _______________________________________________ gnome-db-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gnome-db-list
