[OpenSER-Devel] [ openser-Bugs-1836601 ] db_berkeley don't work
SourceForge.net
noreply at sourceforge.net
Thu Nov 22 18:18:51 UTC 2007
Bugs item #1836601, was opened at 2007-11-22 18:18
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1836601&group_id=139143
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver devel
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Henning Westerholt (henningw)
Assigned to: Will Quan (will_quan)
Summary: db_berkeley don't work
Initial Comment:
Hi,
db_berkeley don't work in trunk at the moment.
Steps to reproduce:
$openser-trunk:/ cd test && ./18.sh
causes:
Nov 22 19:13:57 ca ../openser[29559]: core:main: version: openser 1.3.0-pre1-notls (i386/linux)
Nov 22 19:13:57 ca ../openser[29559]: db_berkeley:bdblib_get_db: _cachedb is not initialized!
Nov 22 19:13:57 ca ../openser[29559]: db_berkeley:bdb_init: cannot get the link to database
Nov 22 19:13:57 ca ../openser[29559]: dispatcher:init_ds_db: unable to connect to the database
Nov 22 19:13:57 ca ../openser[29559]: dispatcher:mod_init: could not initiate a connect to the database
Nov 22 19:13:57 ca ../openser[29559]: core:init_mod: failed to initialize module dispatcher
Nov 22 19:13:57 ca ../openser[29559]: core:main: error while initializing modules
Nov 22 19:13:57 ca ../openser[29559]: core:qm_free: bad pointer (nil) (out of memory block!) - aborting
This is probably related to some missing/ wrong cache pointer initialization. One potential candiate could be line 59 in bdb_lib.c.
Will, could you please take a look?
Output from openser -V:
version: openser 1.3.0-pre1-notls (i386/linux)
flags: STATS: Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, DBG_QM_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
svnrevision: 2:3197M
@(#) $Id: main.c 3189 2007-11-22 10:43:25Z henningw $
main.c compiled on 18:28:44 Nov 22 2007 with gcc 4.1.3
Thank you,
Henning
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1836601&group_id=139143
More information about the Devel
mailing list