Hi list.
I am using openser 1.2.0, compiled to 64 bits on Solaris 10 on Sparc
Platform.
The service starts ok, but, when I send the sip_trace comand via fifo, the
thread which writes on database crashes with segmentation fault.
This is the backtrace of the core file:
#0 0xffffffff7e990dc8 in strftime () from /lib/64/libc.so.1
#1 0xffffffff7be06a34 in time2mysql (_time=5051504780619285336,
_result=0xffffffff7bf09f4c "", _res_len=-1)
at /home/operador/openser-1.2.0-notls/modules/mysql//utils.c:54
#2 0xffffffff7be07724 in val2str (_c=0x900, _v=0, _s=0xffffffff7bf09f4c "",
_len=0x2ff) at /home/operador/openser-1.2.0-notls/modules/mysql//val.c:147
#3 0xffffffff7be02480 in db_mysql_print_values (_c=0xffffff7fffebce00,
_b=0xff <Address 0xff out of bounds>, _l=637645056, _v=0x32393038,
_n=-1360931840)
at /home/operador/openser-1.2.0-notls/modules/mysql//dbase.c:145
#4 0xffffffff7be041e4 in db_mysql_insert (_h=0xff, _k=0x10032393130,
_v=0xffffff7ffff74000, _n=744703)
at /home/operador/openser-1.2.0-notls/modules/mysql//dbase.c:584
#5 0xffffffff7910a5a8 in sip_trace (msg=0x101c0000, s1=0x2000 <Address
0x2000 out of bounds>, s2=0x2340 <Address 0x2340 out of bounds>)
at /home/operador/openser-1.2.0-notls/modules/siptrace//siptrace.c:472
#6 0x000000010000d2a4 in do_action (a=0x0, msg=0x1000eb00046) at
/home/operador/openser-1.2.0-notls//action.c:883
#7 0x000000010000e394 in run_top_route (a=0x10026fb78, msg=0x10028a0a0) at
/home/operador/openser-1.2.0-notls//action.c:131
#8 0x000000010006503c in receive_msg (buf=0x100260 <Address 0x100260 out of
bounds>, len=586177280, rcv_info=0xffffffff7ffff7a8)
at /home/operador/openser-1.2.0-notls//receive.c:156
#9 0x00000001000a1900 in udp_rcv_loop () at /home/operador/openser-
1.2.0-notls//udp_server.c:465
#10 0x000000010003465c in main (argc=117, argv=0xffffff7910acf0ff) at
/home/operador/openser-1.2.0-notls//main.c:1399
Thanks in advance for your help and attention.
Kind regards,
Sergio Gutiérrez
EPM Telecomunicaciones.
Show replies by date