I will try the patch right away. Here is some more information I got from gdb:
Ok here is some output from gdb, i set the breakpoint to octstr_compare. And here is the bt: Breakpoint 18, octstr_compare (ostr1=0x81cc350, ostr2=0x81f2250) at gwlib/octstr.c:724 724 { (gdb) bt #0 octstr_compare (ostr1=0x81cc350, ostr2=0x81f2250) at gwlib/octstr.c:724 #1 0x80591ae in item_has_key (item=0x81f2210, key=0x81cc350) at gwlib/dict.c:47 #2 0x8060d91 in list_search (list=0x81f2090, pattern=0x81cc350, cmp=0x8059198 <item_has_key>) at gwlib/list.c:358 #3 0x80595cd in dict_get (dict=0x81e8890, key=0x81cc350) at gwlib/dict.c:239 #4 0x8051ec2 in urltrans_find_service (trans=0x81e8610, msg=0x81f9a10) at gw/urltrans.c:229 #5 0x804c01b in obey_request_thread (arg=0x0) at gw/smsbox.c:794 #6 0x805b4a3 in new_thread (arg=0x81fa250) at gwlib/gwthread-pthread.c:283 #7 0x280ece73 in _thread_start () from /usr/lib/libc_r.so.4 #8 0x0 in ?? () (gdb) c Continuing. 2001-12-31 23:21:43 [4] INFO: Starting delivery report <stefan> from <46708443600> 2001-12-31 23:21:43 [4] PANIC: gwlib/octstr.c:260: octstr_copy_real: Assertion `len >= 0' failed. Program exited with code 01. (gdb) On Tue, 1 Jan 2002, Stipe Tolj wrote: > > When using DLR with my SMSC that uses SMPP kannel crashes (cvs > > version): > > > > 2001-12-31 21:42:27 [9] DEBUG: **********>>>>>>>>>>>>>> SMPP handle_pdu > > Got DELIVER REPORT > > > > 2001-12-31 21:42:27 [9] > > PANIC: gwlib/octstr.c:2032: seems_valid_real: Assertion `ostr != NULL' > > failed. (Called from gwlib/octstr.c:728:octstr_compare.) > > it seems that there is a octstr_compare() call within smsc_smpp.c at > line 449-450 that cause this assertion. > > The following atteched patch should fix this NULL pointer assertion > for octstr_compare?! > Stefan, please try this patch and report and if there are no > objections we will commit the patch to cvs. > > Stipe > > [EMAIL PROTECTED] > ------------------------------------------------------------------- > Wapme Systems AG > > Münsterstr. 248 > 40470 Düsseldorf > > Tel: +49-211-74845-0 > Fax: +49-211-74845-299 > > E-Mail: [EMAIL PROTECTED] > Internet: http://www.wapme-systems.de > ------------------------------------------------------------------- > wapme.net - wherever you are