i have compiled kannel with libsdb support and libsdb with postgresql (7.2.1) support. It seems to work ok but there is problem of kannel crash when sending a message with cgi-bin/send -interface. Message will be sent to phone ok and kannel writes line to postgresql dlr table but there comes following error and kannel crashes:
2003-12-09 14:06:51 [6] PANIC: gwlib/thread.c:65: mutex_lock_real: Assertion `mutex != NULL' failed.
I found page of similiar looking case here: http://www.mail-archive.com/[EMAIL PROTECTED]/msg00894.html
There is also patch included in the message but I couldn't apply patch to my 1.2.1 stable release:
Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: gw/dlr.c |=================================================================== |RCS file: /home/cvs/gateway/gw/dlr.c,v |retrieving revision 1.30 |diff -u -u -r1.30 dlr.c |--- gw/dlr.c 15 Oct 2002 19:59:37 -0000 1.30 |+++ gw/dlr.c 1 Jul 2003 11:12:12 -0000 -------------------------- Patching file gw/dlr.c using Plan A... Hunk #1 FAILED at 686. Hunk #2 FAILED at 727. Hunk #3 succeeded at 735 with fuzz 2. Hunk #4 FAILED at 756. Hunk #5 FAILED at 767. Hunk #6 FAILED at 814. Hunk #7 succeeded at 833. 5 out of 7 hunks FAILED -- saving rejects to file gw/dlr.c.rej done
Does anyone have similiar problems with kannel/libsdb/postgresql and how did you solve the issue?
Thank you for your support.
-- Antti Puranen <antti.puranen at cidercone.com>
