Re: Strange PANIC in gwlib/conn.c
Paul Bagyenda <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Alexander, Will try that and see if my mileage improves. Thanks Paul. On Feb 17, 2011, at 12:44, Alexander Malysh wrote: > Hi Paul, > > that seems to be some sort of race condition and errors are mostly because conn already destroyed. > try gwlib from 1.5.0 I remember to fix some races but don't know exactly when. > And for debugging just try to enable memory debug in configure or use valgrind. > > Thanks, > Alexander Malysh > > Am 16.02.2011 um 14:33 schrieb Paul Bagyenda: > >> Hi guys, >> >> I have a strange crash in my application that uses gwlib (from 1.4.2). Every so often, we see: >> >> PANIC: gwlib/thread.c:139: mutex_lock_real: Mutex failure! (Called from gwlib/conn.c:202:lock_out.) >> >> or >> >> PANIC: gwlib/conn.c:200: lock_out: Assertion `gwthread_self() == conn->claiming_thread' failed. >> >> Now, the most we are doing is receiving http calls or making http calls. Multi-threaded of course. This error occurs under load. Any ideas why these would happen? >> >> Much appreciated. >> >> Paul. >> >> > >