libdbi crash on startup, maint branch on Ubuntu 14.04

Geert Janssens janssens-geert at telenet.be
Mon May 5 14:04:55 EDT 2014


On Saturday 03 May 2014 14:14:38 Colin Law wrote:
> On 3 May 2014 12:20, Colin Law <clanlaw at gmail.com> wrote:
> > The crash on running GC built on Ubuntu 14.04 is triggered by the
> > commit Make compatible to libdbi >= 0.9.0 on 2014-04-15.
> > 
> > Backtrace attached, it starts
> > 
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x00007fffcc5b4dac in dbi_initialize_r ()
> > 
> >    from /usr/lib/x86_64-linux-gnu/libdbi.so.1
> > 
> > (gdb) bt full
> > #0  0x00007fffcc5b4dac in dbi_initialize_r ()
> > 
> >    from /usr/lib/x86_64-linux-gnu/libdbi.so.1
> > 
> > No symbol table info available.
> > #1  0x00007fffcca02528 in gnc_module_init_backend_dbi ()
> > 
> >     at ../../../../src/backend/dbi/gnc-backend-dbi.c:1872
> >     
> >         prov = 0x9316c0
> >         driver_dir = 0x0
> >         num_drivers = 0
> >         have_sqlite3_driver = 0
> >         have_mysql_driver = 0
> >         have_pgsql_driver = 0
> >         __FUNCTION__ = "gnc_module_init_backend_dbi"
> > 
> > #2  0x00007fffcca02926 in qof_backend_module_init ()
> > 
> > libdbi-dev is version 0.9.0
> 
> I think the problem may be that a db_inst object is being passed to
> dbi_initialize_r rather than a pointer, but I don't know enough about
> how the code works to know what the fix should be.
> 
Did I tell you that was a good catch ? If not I did now :)

Geert


More information about the gnucash-devel mailing list