Re: [OpenSIPS-Users] OpenSIPS libmysqlclient.so segfault after MySQL restart

2009-03-15 Thread Bogdan-Andrei Iancu
Hi Om, Thanks for the help and for the testing! Regards, Bogdan Om Bikram Thapa wrote: > Hi Bogdan, > > The latest SVN has fixed the libmysqlclient segmentation fault issue. > > Thank you. > Om. > > On Tue, Mar 3, 2009 at 10:21 PM, Bogdan-Andrei Iancu > wrote: > >> Hi Om, >> >> Thanks again

Re: [OpenSIPS-Users] OpenSIPS libmysqlclient.so segfault after MySQL restart

2009-03-15 Thread Om Bikram Thapa
Hi Bogdan, The latest SVN has fixed the libmysqlclient segmentation fault issue. Thank you. Om. On Tue, Mar 3, 2009 at 10:21 PM, Bogdan-Andrei Iancu wrote: > Hi Om, > > Thanks again for your help in fixing this. With the log you sent me I > figured out what was wrong - when a reconnect even was

Re: [OpenSIPS-Users] OpenSIPS libmysqlclient.so segfault after MySQL restart

2009-03-15 Thread Om Bikram Thapa
Hi Bogdan, This SVN has definitely fixed the bug! Thank you very much. Best regards, Om. On Mon, Feb 16, 2009 at 11:40 AM, Om Bikram Thapa wrote: > Hi, > > OpenSIPS is dying with "libmysqlclient.so Segmentation Fault" after > MySQL server restart. The log shows > "opensips[16769]: segfault at

Re: [OpenSIPS-Users] OpenSIPS libmysqlclient.so segfault after MySQL restart

2009-03-03 Thread Bogdan-Andrei Iancu
Hi Om, Thanks again for your help in fixing this. With the log you sent me I figured out what was wrong - when a reconnect even was detected, previously, I was re-initializing only the current statements. But on a mysql connection you can have multiple statements, so you need to reset all of t

Re: [OpenSIPS-Users] OpenSIPS libmysqlclient.so segfault after MySQL restart

2009-03-02 Thread Bogdan-Andrei Iancu
Hi Om, Can you send me the full debug log (debug=6) for this scenario (you can send it privately, if too big). I just want to check exactly what is going one. Thanks for your help, Bogdan Om Bikram Thapa wrote: > Hi Bogdan, > > Seems like I replied too soon. OpenSIPS again crashed on INVITE, >

Re: [OpenSIPS-Users] OpenSIPS libmysqlclient.so segfault after MySQL restart

2009-03-01 Thread Om Bikram Thapa
Hi Bogdan, Seems like I replied too soon. OpenSIPS again crashed on INVITE, although REGISTER operation was fine after a couple of MySQL restarts. I again restarted MySQL and got the server crashing on REGISTER as well. gdb trace for both the event crashes point to the same code: --- Core was gen

Re: [OpenSIPS-Users] OpenSIPS libmysqlclient.so segfault after MySQL restart

2009-02-28 Thread Om Bikram Thapa
Hi Bogdan, Solved! OpenSIPS (latest SVN) no longer crashes after MySQL restarts. Thanks, Om. On Sun, Mar 1, 2009 at 11:33 AM, Om Bikram Thapa wrote: > Hi Bogdan, > > I will update and let you know the results. > > Regards, > Om. > > On Sat, Feb 28, 2009 at 3:08 AM, Bogdan-Andrei Iancu > wrote:

Re: [OpenSIPS-Users] OpenSIPS libmysqlclient.so segfault after MySQL restart

2009-02-28 Thread Om Bikram Thapa
Hi Bogdan, I will update and let you know the results. Regards, Om. On Sat, Feb 28, 2009 at 3:08 AM, Bogdan-Andrei Iancu wrote: > Hi Om, > > finally, after some struggle with the libmysqlclient, I hope the issue is > solve. Please give it another try and let me know the result. > > Thanks and r

Re: [OpenSIPS-Users] OpenSIPS libmysqlclient.so segfault after MySQL restart

2009-02-27 Thread Bogdan-Andrei Iancu
Hi Om, finally, after some struggle with the libmysqlclient, I hope the issue is solve. Please give it another try and let me know the result. Thanks and regards, Bogdan Om Bikram Thapa wrote: > Hi Bogdan, > > Just updated to latest svn, but I still see crashes after MySQL > restart. The syslog

Re: [OpenSIPS-Users] OpenSIPS libmysqlclient.so segfault after MySQL restart

2009-02-19 Thread Bogdan-Andrei Iancu
Hi Om, I seein my tests, I get a different error (Lost connection to Mysql server)...let me see Regards, Bogdan Om Bikram Thapa wrote: > Hi Bogdan, > > Just updated to latest svn, but I still see crashes after MySQL > restart. The syslog shows following 3 lines after MySQL restart and >

Re: [OpenSIPS-Users] OpenSIPS libmysqlclient.so segfault after MySQL restart

2009-02-18 Thread Om Bikram Thapa
Hi Bogdan, Just updated to latest svn, but I still see crashes after MySQL restart. The syslog shows following 3 lines after MySQL restart and registration attempt: -- Feb 19 12:17:43 proxy /usr/local/sbin/opensips[2333]: ERROR:db_mysql:db_mysql_do_prepared_query: mysql_stmt_execute() failed: (1)

Re: [OpenSIPS-Users] OpenSIPS libmysqlclient.so segfault after MySQL restart

2009-02-18 Thread Om Bikram Thapa
Thanks Bogdan. I will update and let you know. Regards, Om. On Thu, Feb 19, 2009 at 2:48 AM, Bogdan-Andrei Iancu wrote: > Hi Om, > > There is a fix available on SVN - please update and see if it works now. > > Thanks and regards, > Bogdan > > Om Bikram Thapa wrote: >> >> Hi Bogdan, >> >> I have

Re: [OpenSIPS-Users] OpenSIPS libmysqlclient.so segfault after MySQL restart

2009-02-18 Thread Bogdan-Andrei Iancu
Hi Om, There is a fix available on SVN - please update and see if it works now. Thanks and regards, Bogdan Om Bikram Thapa wrote: > Hi Bogdan, > > I have submitted the bug on the tracker. > > Thanks, > Om. > > On Tue, Feb 17, 2009 at 3:50 AM, Bogdan-Andrei Iancu > wrote: > >> Hi Om, >> >> Th

Re: [OpenSIPS-Users] OpenSIPS libmysqlclient.so segfault after MySQL restart

2009-02-18 Thread Bogdan-Andrei Iancu
I see Let me try to reproduce thisThanks for the update! Regards, bogdan Om Bikram Thapa wrote: > Hi Bogdan, > > Just to follow up on this issue, the crash is happening even without > restarting MySQL server. It seems to show up every morning when > registration (or maybe any db operatio

Re: [OpenSIPS-Users] OpenSIPS libmysqlclient.so segfault after MySQL restart

2009-02-17 Thread Om Bikram Thapa
Hi Bogdan, Just to follow up on this issue, the crash is happening even without restarting MySQL server. It seems to show up every morning when registration (or maybe any db operation) is performed. I think the issue has to do with some kind of timeout related to OpenSIPS and libmysqlclient after

Re: [OpenSIPS-Users] OpenSIPS libmysqlclient.so segfault after MySQL restart

2009-02-17 Thread Bogdan-Andrei Iancu
Hi Om, Ok - got it (2608188) - thank you again for your report. Regards, Bogdan Om Bikram Thapa wrote: > Hi Bogdan, > > I have submitted the bug on the tracker. > > Thanks, > Om. > > On Tue, Feb 17, 2009 at 3:50 AM, Bogdan-Andrei Iancu > wrote: > >> Hi Om, >> >> Thanks for the report - I ma

Re: [OpenSIPS-Users] OpenSIPS libmysqlclient.so segfault after MySQL restart

2009-02-16 Thread Om Bikram Thapa
Hi Bogdan, I have submitted the bug on the tracker. Thanks, Om. On Tue, Feb 17, 2009 at 3:50 AM, Bogdan-Andrei Iancu wrote: > Hi Om, > > Thanks for the report - I may have an idea what is the problem; I will try > to reproduce the crash in the following days. > > Could you please open a bug rep

Re: [OpenSIPS-Users] OpenSIPS libmysqlclient.so segfault after MySQL restart

2009-02-16 Thread Bogdan-Andrei Iancu
Hi Om, Thanks for the report - I may have an idea what is the problem; I will try to reproduce the crash in the following days. Could you please open a bug report on the tracker - just not to forget about it :D (see http://www.opensips.org/index.php?n=Development.Tracker) Regards, Bogdan Om B

[OpenSIPS-Users] OpenSIPS libmysqlclient.so segfault after MySQL restart

2009-02-15 Thread Om Bikram Thapa
Hi, OpenSIPS is dying with "libmysqlclient.so Segmentation Fault" after MySQL server restart. The log shows "opensips[16769]: segfault at 4c8 ip 7f36728bf283 sp 7fff7ba11a90 error 4 in libmysqlclient.so.15.0.0[7f3672862000+1bf000]" and gdb bt shows: - #0 0x7f36728bf283 in mysql_