[OpenSER-Devel] [ openser-Bugs-1836441 ] dbtext don't work
SourceForge.net
noreply at sourceforge.net
Mon Nov 26 13:17:32 UTC 2007
Bugs item #1836441, was opened at 2007-11-22 12:43
Message generated for change (Comment added) made by henningw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1836441&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: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: Henning Westerholt (henningw)
Assigned to: Daniel-Constantin Mierla (miconda)
Summary: dbtext don't work
Initial Comment:
Hi,
dbtext don't work for trunk at the moment.
Steps to reproduce:
$openser-trunk:/ cd test && ./15.sh
causes:
Nov 22 13:39:07 ca ../openser[19757]: core:main: version: openser 1.3.0-pre1-notls (i386/linux)
Nov 22 13:39:07 ca ../openser[19757]: dbtext:dbt_cache_get_db: dbtext cache is not initialized!
Nov 22 13:39:07 ca ../openser[19757]: dbtext:dbt_init: cannot get the link to database
Nov 22 13:39:07 ca ../openser[19757]: dispatcher:init_ds_db: unable to connect to the database
Nov 22 13:39:07 ca ../openser[19757]: dispatcher:mod_init: could not initiate a connect to the database
Nov 22 13:39:07 ca ../openser[19757]: core:init_mod: failed to initialize module dispatcher
Nov 22 13:39:07 ca ../openser[19757]: core:main: error while initializing modules
Nov 22 13:39:07 ca ../openser[19757]: core:qm_free: bad pointer (nil) (out of memory block!) - aborting
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:3190M
@(#) $Id: main.c 3189 2007-11-22 10:43:25Z henningw $
main.c compiled on 13:36:20 Nov 22 2007 with gcc 4.1.3
Cheers,
Henning
----------------------------------------------------------------------
>Comment By: Henning Westerholt (henningw)
Date: 2007-11-26 13:17
Message:
Logged In: YES
user_id=337916
Originator: YES
Hi Daniel,
i was not aware of this issue, i assumed that it works the same way like
mysql.
Solved for dbtext, test work now. Thank you,
Henning
----------------------------------------------------------------------
Comment By: Daniel-Constantin Mierla (miconda)
Date: 2007-11-26 13:01
Message:
Logged In: YES
user_id=1246013
Originator: NO
The issue is because the dbtext is loaded after the module that is using
it (e.g., dispatcher). Unlike the other database drivers, dbtext needs to
be loaded before, because it has to do some internal initialization (for
the others, the initialization is done by the client library at load
time).
I have made the log message a bit more explicit, to suggest the issue.
Note that there other modules that have such loading dependencies (e.g.,
usrloc with registrar/nathelper).
Can you test and see if this resolves the issue?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1836441&group_id=139143
More information about the Devel
mailing list