<div><br>Hi,<br>I'm trying to use db_text database with the presence module of OpenSER(1.2.x).<br>User agent is X-Lite(3.0). When I try to send a REGISTER message to OpenSER, OpenSER still works.<br>But if i sent a SUBSCRIBE or a PUBLISH message, then openser crashes.
<br>If i use the MySQL database, then everything works just fine. But i prefer to use the db_text database.<br>Here is the core file that was generated when OpenSER crashed.<br><br>Core generated:<br><br>Program terminated with signal 11, Segmentation fault.
<br>#0 0xa7ced659 in msg_active_watchers_clean (ticks=100, param=0x0) at subscribe.c:610<br>610 subs.event_id.len = strlen(row_vals[event_id_col].val.str_val.s);<br>(gdb) bt<br>#0 0xa7ced659 in msg_active_watchers_clean (ticks=100, param=0x0) at
subscribe.c:610<br>#1 0x080a3f6c in timer_ticker () at timer.c:141<br>#2 0x0806b51f in main_loop () at main.c:724<br>#3 0x0806d43b in main (argc=3, argv=0xaff0a2e4) at main.c:1438<br>(gdb) frame 0<br>#0 0xa7ced659 in msg_active_watchers_clean (ticks=100, param=0x0) at
subscribe.c:610<br>610 subs.event_id.len = strlen(row_vals[event_id_col].val.str_val.s);<br>(gdb) list<br>605<br>606 subs.from_domain.s = row_vals[from_domain_col].val.str_val.s;<br>607 subs.from_domain.len = strlen(row_vals[from_domain_col].val.str_val.s);
<br>608<br>609 subs.event_id.s = row_vals[event_id_col].val.str_val.s;<br>610 subs.event_id.len = strlen(row_vals[event_id_col].val.str_val.s);<br>611<br>612 subs.to_tag.s = row_vals[to_tag_col].val.str_val.s;<br>613 subs.to_tag.len
= strlen(row_vals[to_tag_col].val.str_val.s);<br>614<br>(gdb)<br>615 subs.from_tag.s = row_vals[from_tag_col].val.str_val.s;<br>616 subs.from_tag.len = strlen(row_vals[from_tag_col].val.str_val.s);<br>617<br>618 subs.callid.s
= row_vals[callid_col].val.str_val.s;<br>619 subs.callid.len = strlen(row_vals[callid_col].val.str_val.s);<br>620<br>621 subs.contact.s = row_vals[contact_col].val.str_val.s;<br>622 subs.contact.len = strlen(row_vals[contact_col].val.str_val.s);
<br>623<br>624 subs.cseq = row_vals[cseq_col].val.int_val;<br><br><br>I really hope that someone can help me with this problem. Thanks in advance.<br><br>Kind regards,<br><br>Kc</div>