On Fri, 24 Mar 2006, Armin Schindler wrote:
> On Fri, 24 Mar 2006, Bartek Kania wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > On Fri, 24 Mar 2006, Armin Schindler wrote:
> > > On Fri, 24 Mar 2006, Nathan C. Smith wrote:
> > >> I also believe several bugs have been cleaned up since the version you 
> > >> are
> > >> using.  Please consider trying the pre-0.2 release.
> > > If it is a problem with sqlite, it should not be different? Was sqlite
> > > changed in the last weeks?
> > 
> > It isn't necessarily in sqlite.
> > It might be a memory corruption in some other parts that just happened
> > to poke a hole in sqlite's memory.
> 
> Yes, I agree.
>  
> > Is this something you can reproduce? Or is it just a fluke?
> 
> The system ran for over 1 month now without error, so it is not
> really reproducable.
> 
> > It would be great if you could check with a newer revision.
> > I've fixed some memory bugs, but I can't remember when I found the
> > last one.
> 
> I will try to use newer version.

I tried new pre-0.2 now and the problem still exist. After 5 days of perfect 
run, the segfault happens at the same place again:

#0  0xb7ab9697 in mALLINFo (av=0x522f5049) at malloc.c:5228
#1  0xb7d18821 in sqlite3FreeX (p=0x8) at src/util.c:322
#2  0xb7cf346f in freeIndex (p=0xb7d327cc) at src/build.c:241
#3  0xb7cf3662 in sqlite3DeleteTable (db=0x8191018, pTable=0x81a5660) at 
src/build.c:260
#4  0xb7cf37e0 in sqlite3ResetInternalSchema (db=0x8191018, iDb=0) at 
src/build.c:323
#5  0xb7d01741 in sqlite3_close (db=0x8191018) at src/main.c:163
#6  0xb7f96605 in opbx_db_put (family=0x81a91b8 "insert into odb 
values('SIP/Registry','446','172.24.2.190:5060:900:446:sip:[EMAIL 
PROTECTED]:5060')", keys=0xb7fc8341 "db.c", value=0xb668def8 "?h\037k?\fiM") at 
db.c:239
#7  0xb66aab41 in parse_register_contact (pvt=0x81c4670, p=0x811b668, 
req=0xb6690ca0)    at chan_sip.c:6507
#8  0xb66bed1f in handle_request_register (p=0x81c4670, req=0xb6690ca0, 
debug=0, ignore=0, sin=0xb6690c90, e=0xb6690ec1 "sip:[EMAIL PROTECTED]") at 
chan_sip.c:6987
#9  0xb66bfb3d in handle_request (p=0x81c4670, req=0xb6690ca0, sin=0xb6690c90, 
recount=0xb6690b10,     nounlock=0xb6690b14) at chan_sip.c:11720
#10 0xb66c173a in sipsock_read (id=0x804e010, fd=12, events=1, ignore=0x0) at 
chan_sip.c:11846
#11 0xb7f48a44 in opbx_io_wait (ioc=0x8100f88, howlong=135270280) at io.c:287
#12 0xb66c6841 in do_monitor (data=0x0) at chan_sip.c:11993

So I think the problem is sqlite.
I think of moving to another database. Does anyone uses mysql?

Armin
_______________________________________________
Openpbx-dev mailing list
[email protected]
http://lists.openpbx.org/mailman/listinfo/openpbx-dev

Reply via email to