THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Juha Heinanen (jh)
Attached to Project - sip-router
Summary - auth_db crash if table_version field does not exist
Task Type - Bug Report
Category - Module
Status - New
Assigned To -
Operating System - All
Severity - Medium
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - sip router crashed at startup if auth_db module parameter version_table has
value 1 and if table_version field does not exist in version table. syslog has these
entries:
Nov 9 07:13:44 sip /usr/sbin/sip-proxy[9936]: ERROR: db_mysql [km_dbase.c:122]: driver
error on query: Unknown column 'table_version' in 'field list'
Nov 9 07:13:44 sip /usr/sbin/sip-proxy[9936]: ERROR: <core> [db_query.c:103]: error
while submitting query
Nov 9 07:13:44 sip /usr/sbin/sip-proxy[9936]: ERROR: <core> [db.c:380]: error in
db_query
Nov 9 07:13:44 sip /usr/sbin/sip-proxy[9936]: ERROR: <core> [db.c:419]: querying
version for table radcheck
Nov 9 07:13:44 sip /usr/sbin/sip-proxy[9936]: ERROR: auth_db [authdb_mod.c:259]: error
during table version check.
Nov 9 07:13:44 sip /usr/sbin/sip-proxy[9936]: ERROR: <core> [route.c:1216]: fixing
failed (code=-1) at cfg:/etc/sip-proxy/sip-proxy.cfg:1574
Nov 9 07:13:44 sip /usr/sbin/sip-proxy[9936]: ERROR: <core> [route.c:1216]: fixing
failed (code=-1) at cfg:/etc/sip-proxy/sip-proxy.cfg:1624
Nov 9 07:13:44 sip kernel: [ 9301.413409] sip-proxy[9936]: segfault at 786e6570 ip
b77a5e38 sp bffceb5c error 4 in libc-2.11.2.so[b7733000+140000]
Nov 9 07:13:45 sip sip-proxy: ERROR: <core> [daemonize.c:307]: Main process exited
before writing to pipe
and gdb reports
(gdb) where
#0 0xb77a5e38 in strcmp () from /lib/i686/cmov/libc.so.6
#1 0x080f54f9 in find_mod_export_record (mod=0xb73c1fc8 "db_mysql",
name=0xb7315353 "db_bind_api", param_no=0, flags=0, mod_if_ver=0xbffcebec)
at sr_module.c:657
#2 0x080f5756 in find_mod_export (mod=0xb73c1fc8 "db_mysql",
name=0xb7315353 "db_bind_api", param_no=0, flags=0) at sr_module.c:722
#3 0xb730c49c in db_bind_mod (mod=0xb6717944, mydbf=0x8) at db.c:209
#4 0xb67130d2 in ht_db_init_con () at ht_db.c:75
#5 0xb670a144 in destroy () at htable.c:225
#6 0x080f3684 in destroy_modules () at sr_module.c:782
#7 0x0809087c in cleanup (show_status=0) at main.c:564
#8 0x08091509 in shutdown_children (show_status=0, sig=<value optimized out>)
at main.c:706
#9 0x080940f7 in main (argc=17, argv=0xbffceeb4) at main.c:2523
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=175
You are receiving this message because you have requested it from the Flyspray bugtracking
system. If you did not expect this message or don't want to receive mails in future,
you can change your notification settings at the URL shown above.