Thanks for the backtrace. In DB, what do you have for the "attr" value ? NULL or an empty string ?

In gdb, could you do:
    f 1
    p (vals+6)->val.string_val

Thanks,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 05.06.2014 06:15, Pasan Meemaduma wrote:
oops sorry I forgot opensips-dbg :) bt reattached.

I have change some sensitive values with 'x' as below, hope it wont affect u r investigations

        contact = {s = 0xf91eab "sip:[email protected]", len = 29}


On Thursday, 5 June 2014, 8:34, Pasan Meemaduma <[email protected]> wrote:


Hi Bogdan,

I double checked the schema and it is correct. btw doc needs fixing its missing attr column which is needed by 1.10 for location table otherwise I'll get below error.

Jun 5 12:57:26 x/usr/sbin/opensips[30176]: CRITICAL:db_mysql:wrapper_single_mysql_real_query: driver error (1054): Unknown column 'attr' in 'field list' Jun 5 12:57:26 x /usr/sbin/opensips[30177]: DBG:core:db_do_init: connection 0x7f4dc04c1c28 inserted in pool as 0x7f4dc04c1d30 Jun 5 12:57:26 x /usr/sbin/opensips[30176]: ERROR:core:db_do_query: error while submitting query - [select username,contact,expires,q,callid,cseq,flags,cflags,user_agent,received,path,socket,methods,last_modified,sip_instance,attr from location ] Jun 5 12:57:26 anacardium3backup /usr/sbin/opensips[30176]: ERROR:usrloc:preload_udomain: db_query (1) failed

:)

I got the backtrace as you requested , It doesn't seems right to me. does it make any sense ? or did I miss something getting it ?




_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to