Bug#371195: [Pkg-db-devel] Bug#371195: libdb4.4: segfault when libdb4.3-dev is installed

Josef Spillner 2005 at kuarepoti-dju.net
Fri Jun 9 09:43:28 UTC 2006


[Repost to bugs.d.o, sorry I forgot this earlier]

Hi,

Alle 20:00, mercoledì, 7. giugno 2006, hai scritto:
> > When libdb4.4 is installed, it doesn't prevent libdb4.3-dev to be
> > installed at the same time. However, this combination is guaranteed to
> > cause a segfault on the DB_ENV->open() call.
>
> Huh?  How so?  Could you provide an example program?

I don't have a stripped-down example yet but it happens when you use the 
sources for the ggz-server package, e.g. from:	
http://ftp.belnet.be/packages/ggzgamingzone/ggz/0.0.13/ggz-server-0.0.13.tar.gz

You need to apt-get install libggz-dev before testing this.
It will take some weeks before ggz-server hits sid, sorry for having 
to ./configure by yourself, running it without arguments should select the 
db4 backend by default.

Apparently some struct changed so that the DB_ENV->open pointer itself is NULL 
even after db_env_create() returns successfully.

In our project, we always have a tight dependency between the -dev package and 
the related library package. This drops a bit of flexibility but gives a 
whole lot of stability instead.

Josef




More information about the Pkg-db-devel mailing list