sqlbox segmentation fault

Aleksander Ulitin <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hello! Need some help with this bug. I have freebsd server, latest svn
kannel, latest svn sqlbox. Kannel works, but sqlbox do not start due
to segmentation fault.
Logs and confs:

(gdb) run /usr/local/etc/kannel-sqlbox.conf
Starting program: /usr/local/sbin/sqlbox /usr/local/etc/kannel-sqlbox.conf
[New LWP 100570]
[New Thread 801e041c0 (LWP 100570)]
2011-03-09 00:09:48 [77046] [0] INFO: Debug_lvl = -1, log_file =
<none>, log_lvl = 0
2011-03-09 00:09:48 [77046] [0] DEBUG: Kannel sqlbox version `svn-r4879'.
Build `Mar  8 2011 02:07:37', compiler `4.2.1 20070719  [FreeBSD]'.
System FreeBSD, release 8.1-RELEASE-p2, version FreeBSD 8.1-RELEASE-p2
#0: Tue Jan  4 14:15:30 MSK 2011
[email protected]:/usr/obj/usr/src/sys/ISPSERVER, machine amd64.
Hostname flines.ru, IP 188.120.246.159.
Libxml version 2.7.8.
Using OpenSSL 0.9.8n 24 Mar 2010.
Compiled with MySQL 5.5.9, using MySQL 5.5.9.
Using native malloc.

2011-03-09 00:09:48 [77046] [0] INFO: Starting to log to file
/var/log/kannel/kannel-sqlbox.log level 0
2011-03-09 00:09:48 [77046] [0] INFO: Added logfile
`/var/log/kannel/kannel-sqlbox.log' with level `0'.
2011-03-09 00:09:48 [77046] [0] INFO: MYSQL: Connected to server at localhost.
2011-03-09 00:09:48 [77046] [0] INFO: MYSQL: server version 5.5.9,
client version 5.5.9.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 801e041c0 (LWP 100570)]
0x0000000000405465 in main (argc=Variable "argc" is not available.
) at sqlbox.c:746
746	    gw_sql_enter(cfg);

kannel-sqlbox.conf:

group = sqlbox
id = sqlbox-db
smsbox-id = sqlbox
bearerbox-host = localhost
bearerbox-port = 13001
smsbox-port = 13005
smsbox-port-ssl = false
sql-log-table = sent_sms
sql-insert-table = send_sms
log-file = "/var/log/kannel/kannel-sqlbox.log"
log-level = 0
#smsbox-port = 13003
#smsbox-id = sqlbox
#global-sender = 000037

group = mysql-connection
id = sqlbox-db
host = localhost
username = root
password = xxx
database = gameengine
#max-connections = 1
#port = 3306

kannel.conf:

group = core
admin-port = 13000
admin-password = xxx
log-file = "/var/log/kannel/bearerbox.log"
#log-level = 1
access-log = "/var/log/kannel/access_kannel.log"
store-file = "/var/log/kannel/store_sms"
smsbox-port = 13001
dlr-storage = internal

...
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.