Re: [OpenSIPS-Users] db_mysql segfault

2011-03-30 Thread Mark Carbonaro
Thanks, I'll look into the mysql library and see what I can find. Mark On 03/29/11 22:22, Vlad Paiu wrote: Hi, Just took a look at the code and it seems to be a problem somehow related with the mysql library on your machine. At startup, OpenSIPS tries to fetch all dialog info from DB, and it

Re: [OpenSIPS-Users] db_mysql segfault

2011-03-30 Thread Mark Carbonaro
Hi Vlad, Thanks again for looking into this issue, you were spot on the mysql library was different on each server and it came down to the order in which the packages were installed. Just in case anyone else has this issue you need to installed mysql-devel last, due to an issue with error

Re: [OpenSIPS-Users] db_mysql segfault

2011-03-29 Thread Mark Carbonaro
Hi Vlad, Thanks for the reply, below is the output of bt full. Mark #0 0x7fb9cd8cde57 in db_mysql_get_columns (_h=value optimized out, _r=0x796490) at res.c:71 col = 1 fields = value optimized out __FUNCTION__ = db_mysql_get_columns #1 0x7fb9cd8c7e36 in

Re: [OpenSIPS-Users] db_mysql segfault

2011-03-29 Thread Vlad Paiu
Hi, Just took a look at the code and it seems to be a problem somehow related with the mysql library on your machine. At startup, OpenSIPS tries to fetch all dialog info from DB, and it first gets the column names and column types from the dialog table. It seems that in your case, the mysql

[OpenSIPS-Users] db_mysql segfault

2011-03-28 Thread Mark Carbonaro
Hi, I have an issue when when starting opensips where it immediately segfaults in db_mysql.so. This happens with in Centos 5.5 (plus all patches) when running VirtualBox and on a Rackspace cloud server, but works fine on an Amazon EC2 server setup in the same way (same config file, patches,