was running an older version of trunk from march 2011 until dec when i've 
upgraded. However this crash has only appeared once so far since the upgrade. 
It's difficult to pinpoint as many revisions since 2011. Thought there may be 
something specific in the submit_sm thats caused it. However comparing packets 
for multiple messages  I cannot see any differences....any idea what would 
cause this panic? 

-------- Original message --------
From: Rene Kluwen <[email protected]> 
Date:29/01/2014  21:58  (GMT+00:00) 
To: 'Lee Vidor' <[email protected]> 
Cc: [email protected] 
Subject: RE: gwlib/octstr.c:2565: seems_valid_real: Assertion `ostr->data != 
NULL' failed 

Did this happen after an update then?

-----Original Message-----
From: Lee Vidor [mailto:[email protected]] 
Sent: woensdag 29 januari 2014 16:55
To: Rene Kluwen
Cc: [email protected]
Subject: Re: gwlib/octstr.c:2565: seems_valid_real: Assertion `ostr->data !=
NULL' failed

Hi Rene

There is an opensmppbox-id set however not sure if it's required.
Everything works fine for many smppbox connections and thousands of messages
daily for years. Then just this random crash. 

opensmppbox.conf:

group = core
dlr-storage = pgsql

group = opensmppbox
opensmppbox-id = OurSMPP
opensmppbox-port = 2775
bearerbox-host = 127.0.0.1
bearerbox-port = 13001
our-system-id = OurSMPP
smpp-logins = /usr/local/kannelnew/conf/smpplogins.txt
use-systemid-as-smsboxid = true
route-to-smsc = OurSMSC
log-file = /usr/local/kannelnew/logs/smppbox.log

group = pgsql-connection
id = mydlr
host = localhost
username = username
password = password
database = dlr
max-connections =20

group = dlr-db
id = mydlr
table = dlr
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc


Thanks 

Lee


On 29 Jan 2014, at 15:30, Rene Kluwen <[email protected]> wrote:

> What is your config?
> Do you set opensmppbox-id in group = opensmppbox?
> 
> == Rene
> 
> -----Original Message-----
> From: users [mailto:[email protected]] On Behalf Of Lee Vidor
> Sent: woensdag 29 januari 2014 15:39
> To: [email protected]
> Subject: gwlib/octstr.c:2565: seems_valid_real: Assertion `ostr->data 
> != NULL' failed
> 
> Hi
> 
> Using a recent trunk version of Kannel bearerbox version `svn-r'. 
> Build `Dec
> 6 2013 14:12:55.
> When receiving a submit_sm packet in openSMPPbox add-on we are 
> experiencing a random crash.
> Part of the log below:
> 
> 2014-01-23 04:45:40 [22086] [70] DEBUG:  sms.sms_type: 2
> 2014-01-23 04:45:40 [22086] [70] DEBUG:  sms.mclass: 0
> 2014-01-23 04:45:40 [22086] [70] DEBUG:  sms.mwi: 0
> 2014-01-23 04:45:40 [22086] [70] DEBUG:  sms.coding: 0
> 2014-01-23 04:45:40 [22086] [70] DEBUG:  sms.compress: 0
> 2014-01-23 04:45:40 [22086] [70] DEBUG:  sms.validity: 0
> 2014-01-23 04:45:40 [22086] [70] DEBUG:  sms.deferred: 0
> 2014-01-23 04:45:40 [22086] [70] DEBUG:  sms.dlr_mask: 0
> 2014-01-23 04:45:40 [22086] [70] DEBUG:  sms.dlr_url:
> 2014-01-23 04:45:40 [22086] [70] DEBUG:  sms.pid: 0
> 2014-01-23 04:45:40 [22086] [70] DEBUG:  sms.alt_dcs: 0
> 2014-01-23 04:45:40 [22086] [70] DEBUG:  sms.rpi: 0
> 2014-01-23 04:45:40 [22086] [70] DEBUG:  sms.charset:
> 2014-01-23 04:45:40 [22086] [70] DEBUG:  sms.boxc_id:
> 2014-01-23 04:45:40 [22086] [70] PANIC: gwlib/octstr.c:2565:
> seems_valid_real: Assertion `ostr->data != NULL' failed. (Called from
> gwlib/octstr.c:1999:octstr_dump_debug.)
> 2014-01-23 04:45:40 [22086] [70] PANIC:
> /usr/local/kannelnew/sbin/opensmppbox(gw_backtrace+0x9e) [0x45315e]
> 2014-01-23 04:45:40 [22086] [70] PANIC:
> /usr/local/kannelnew/sbin/opensmppbox(gw_panic+0x148) [0x4532b8]
> 2014-01-23 04:45:40 [22086] [70] PANIC:
> /usr/local/kannelnew/sbin/opensmppbox [0x453ba0]
> 2014-01-23 04:45:40 [22086] [70] PANIC:
> /usr/local/kannelnew/sbin/opensmppbox [0x454b35]
> 2014-01-23 04:45:40 [22086] [70] PANIC:
> /usr/local/kannelnew/sbin/opensmppbox(octstr_dump_real+0x68) 
> [0x4551e8]
> 2014-01-23 04:45:40 [22086] [70] PANIC:
> /usr/local/kannelnew/sbin/opensmppbox(msg_dump+0x6f1) [0x4155b1]
> 2014-01-23 04:45:40 [22086] [70] PANIC:
> /usr/local/kannelnew/sbin/opensmppbox [0x4100bc]
> 2014-01-23 04:45:40 [22086] [70] PANIC:
> /usr/local/kannelnew/sbin/opensmppbox [0x449b73]
> 2014-01-23 04:45:40 [22086] [70] PANIC: /lib64/libpthread.so.0 
> [0x3a0f806367]
> 2014-01-23 04:45:40 [22086] [70] PANIC: /lib64/libc.so.6(clone+0x6d) 
> [0x3a0ecd2f7d]
> 
> The data is the rest of the log is sensitive so difficult to print 
> here. Any advise on what is cause this type error would be great.
> 
> Thanks
> 
> Lee
> 
> 
> 



Reply via email to