Re[8]: OpenSMPPBox Panic

2017-06-13 Thread Педченко Владимир
Hi Rene / Users! Can U please make a daily snapshot. Last snapshot was made Wed Jan 18 06:04:23 CET 2017.Thank U! 



RE: OPENSMPPBOX Panic

2017-05-22 Thread Wan Md Arif Noor Bin. Wan Nizam
Hi Again,

I'm getting the PANIC more and more each day and I still can't find what 
causing it. I can just revert to the old version, however the old version has 
another issue with "Garbage PDU" which I like to avoid as it keeps 
disconnecting user, but PANIC issue is more troubling as it crashed and 
disconnecting all user instead of one.

Below are the latest 2 crashes log :

2017-05-22 23:03:34 [3366] [83] PANIC: gwlib/octstr.c:2569: seems_valid_real: 
Assertion `ostr->data[ostr->len] == '\0'' failed. (Called from 
gwlib/octstr.c:325:octstr_destroy.)
2017-05-22 23:03:34 [3366] [83] PANIC: 
/usr/local/kannel2/sbin/opensmppbox(gw_backtrace+0xae) [0x45db6e]
2017-05-22 23:03:34 [3366] [83] PANIC: 
/usr/local/kannel2/sbin/opensmppbox(gw_panic+0x159) [0x45dcd9]
2017-05-22 23:03:34 [3366] [83] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x45f95b]
2017-05-22 23:03:34 [3366] [83] PANIC: 
/usr/local/kannel2/sbin/opensmppbox(octstr_destroy+0x1d) [0x461c8d]
2017-05-22 23:03:34 [3366] [83] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x40e7bd]
2017-05-22 23:03:34 [3366] [83] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x41105f]
2017-05-22 23:03:34 [3366] [83] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x4546a9]
2017-05-22 23:03:34 [3366] [83] PANIC: /lib64/libpthread.so.0(+0x7aa1) 
[0x7fa32a0eaaa1]
2017-05-22 23:03:34 [3366] [83] PANIC: /lib64/libc.so.6(clone+0x6d) 
[0x7fa3297e693d]

addr2line -e /usr/local/kannel2/sbin/opensmppbox 0x45db6e 0x45dcd9 0x45f95b 
0x461c8d 0x40e7bd 0x41105f 0x4546a9

/home/trunk/gwlib/log.c:572
/home/trunk/gwlib/log.c:608
/home/trunk/gwlib/octstr.c:2571
/home/trunk/gwlib/octstr.c:326
/home/opensmppbox/trunk/gw/opensmppbox.c:1788
/home/opensmppbox/trunk/gw/opensmppbox.c:2150
/home/trunk/gwlib/gwthread-pthread.c:391


2017-05-22 23:21:28 [31827] [79] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x46b3fc]
2017-05-22 23:21:28 [31827] [79] PANIC: /lib64/libpthread.so.0(+0xf7e0) 
[0x7fd664b747e0]
2017-05-22 23:21:28 [31827] [79] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x45f992]
2017-05-22 23:21:28 [31827] [79] PANIC: 
/usr/local/kannel2/sbin/opensmppbox(octstr_destroy+0x1d) [0x461c8d]
2017-05-22 23:21:28 [31827] [79] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x40e787]
2017-05-22 23:21:28 [31827] [79] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x41105f]
2017-05-22 23:21:28 [31827] [79] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x4546a9]
2017-05-22 23:21:28 [31827] [79] PANIC: /lib64/libpthread.so.0(+0x7aa1) 
[0x7fd664b6caa1]
2017-05-22 23:21:28 [31827] [79] PANIC: /lib64/libc.so.6(clone+0x6d) 
[0x7fd66426893d]

addr2line -e /usr/local/kannel2/sbin/opensmppbox 0x46b3fc 0x45f992 0x461c8d 
0x40e787 0x41105f 0x4546a9

/home/trunk/gwlib/utils.c:168
/home/trunk/gwlib/octstr.c:2568
/home/trunk/gwlib/octstr.c:326
/home/opensmppbox/trunk/gw/opensmppbox.c:1779
/home/opensmppbox/trunk/gw/opensmppbox.c:2150
/home/trunk/gwlib/gwthread-pthread.c:391

Kindly need your assistance on this, do let me know if you need more 
information.

Thanks!
Arif Noor

From: users [mailto:users-boun...@kannel.org] On Behalf Of Wan Md Arif Noor 
Bin. Wan Nizam
Sent: Tuesday, May 16, 2017 10:42 AM
To: users@kannel.org
Subject: RE: OPENSMPPBOX Panic

Hi Users,

Anyone having this same issue?  Need assist urgently.


Thank you and Regards,
Arif Noor

From: users [mailto:users-boun...@kannel.org] On Behalf Of Wan Md Arif Noor 
Bin. Wan Nizam
Sent: Thursday, May 11, 2017 9:49 AM
To: users@kannel.org<mailto:users@kannel.org>
Subject: OPENSMPPBOX Panic


This sender failed our fraud detection checks and may not be who they appear to 
be. Learn about spoofing<http://aka.ms/LearnAboutSpoofing>

Feedback<http://aka.ms/SafetyTipsFeedback>

Hi Kannel Users,

I'm having issues with Opensmppbox which will go into PANIC with below error 
every day after upgrading to new SVN 'svn-r5186M'

09th May

2017-05-09 05:52:42 [29877] [97] PANIC: gwlib/octstr.c:2564: seems_valid_real: 
Assertion `ostr->data != NULL' failed. (Called from 
gwlib/octstr.c:325:octstr_destroy.)
2017-05-09 05:52:42 [29877] [97] PANIC: 
/usr/local/kannel2/sbin/opensmppbox(gw_backtrace+0xae) [0x45db6e]
2017-05-09 05:52:42 [29877] [97] PANIC: 
/usr/local/kannel2/sbin/opensmppbox(gw_panic+0x159) [0x45dcd9]
2017-05-09 05:52:42 [29877] [97] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x45fb60]
2017-05-09 05:52:42 [29877] [97] PANIC: 
/usr/local/kannel2/sbin/opensmppbox(octstr_destroy+0x1d) [0x461c8d]
2017-05-09 05:52:42 [29877] [97] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x40e787]
2017-05-09 05:52:42 [29877] [97] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x41105f]
2017-05-09 05:52:42 [29877] [97] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x4546a9]
2017-05-09 05:52:42 [29877] [97] PANIC: /lib64/libpthread.so.0(+0x7aa1) 
[0x7fde85adeaa1]
2017-05-09 05:52:42 [29877] [97] PANIC: /lib64/libc.so.6(clone+0x6d) 
[0x7fde851da93d]

2017-05-09 12:53:12 [6023] [88] PANIC: /usr/local/kannel2/sbin

RE: OPENSMPPBOX Panic

2017-05-15 Thread Wan Md Arif Noor Bin. Wan Nizam
Hi Users,

Anyone having this same issue?  Need assist urgently.


Thank you and Regards,
Arif Noor

From: users [mailto:users-boun...@kannel.org] On Behalf Of Wan Md Arif Noor 
Bin. Wan Nizam
Sent: Thursday, May 11, 2017 9:49 AM
To: users@kannel.org
Subject: OPENSMPPBOX Panic


This sender failed our fraud detection checks and may not be who they appear to 
be. Learn about spoofing<http://aka.ms/LearnAboutSpoofing>

Feedback<http://aka.ms/SafetyTipsFeedback>

Hi Kannel Users,

I'm having issues with Opensmppbox which will go into PANIC with below error 
every day after upgrading to new SVN 'svn-r5186M'

09th May

2017-05-09 05:52:42 [29877] [97] PANIC: gwlib/octstr.c:2564: seems_valid_real: 
Assertion `ostr->data != NULL' failed. (Called from 
gwlib/octstr.c:325:octstr_destroy.)
2017-05-09 05:52:42 [29877] [97] PANIC: 
/usr/local/kannel2/sbin/opensmppbox(gw_backtrace+0xae) [0x45db6e]
2017-05-09 05:52:42 [29877] [97] PANIC: 
/usr/local/kannel2/sbin/opensmppbox(gw_panic+0x159) [0x45dcd9]
2017-05-09 05:52:42 [29877] [97] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x45fb60]
2017-05-09 05:52:42 [29877] [97] PANIC: 
/usr/local/kannel2/sbin/opensmppbox(octstr_destroy+0x1d) [0x461c8d]
2017-05-09 05:52:42 [29877] [97] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x40e787]
2017-05-09 05:52:42 [29877] [97] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x41105f]
2017-05-09 05:52:42 [29877] [97] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x4546a9]
2017-05-09 05:52:42 [29877] [97] PANIC: /lib64/libpthread.so.0(+0x7aa1) 
[0x7fde85adeaa1]
2017-05-09 05:52:42 [29877] [97] PANIC: /lib64/libc.so.6(clone+0x6d) 
[0x7fde851da93d]

2017-05-09 12:53:12 [6023] [88] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x46b3fc]
2017-05-09 12:53:12 [6023] [88] PANIC: /lib64/libpthread.so.0(+0xf7e0) 
[0x7f27f82977e0]
2017-05-09 12:53:12 [6023] [88] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x45f8fb]
2017-05-09 12:53:12 [6023] [88] PANIC: 
/usr/local/kannel2/sbin/opensmppbox(octstr_get_cstr_real+0x13) [0x45fb83]
2017-05-09 12:53:12 [6023] [88] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x41051a]
2017-05-09 12:53:12 [6023] [88] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x4546a9]
2017-05-09 12:53:12 [6023] [88] PANIC: /lib64/libpthread.so.0(+0x7aa1) 
[0x7f27f828faa1]
2017-05-09 12:53:12 [6023] [88] PANIC: /lib64/libc.so.6(clone+0x6d) 
[0x7f27f798b93d]

10th May

2017-05-10 16:00:40 [27593] [72] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x46b3fc]
2017-05-10 16:00:40 [27593] [72] PANIC: /lib64/libpthread.so.0(+0xf7e0) 
[0x7f1b36cd17e0]
2017-05-10 16:00:40 [27593] [72] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x45f8fb]
2017-05-10 16:00:40 [27593] [72] PANIC: 
/usr/local/kannel2/sbin/opensmppbox(octstr_get_cstr_real+0x13) [0x45fb83]
2017-05-10 16:00:40 [27593] [72] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x41051a]
2017-05-10 16:00:40 [27593] [72] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x4546a9]
2017-05-10 16:00:40 [27593] [72] PANIC: /lib64/libpthread.so.0(+0x7aa1) 
[0x7f1b36cc9aa1]
2017-05-10 16:00:40 [27593] [72] PANIC: /lib64/libc.so.6(clone+0x6d) 
[0x7f1b363c593d]

Opensmppbox Configuration

group = core
dlr-storage = mysql

group = opensmppbox
opensmppbox-id = FSMPP
opensmppbox-port = 3476
bearerbox-host = localhost
bearerbox-port = 14002
log-level = 0
log-file = "/var/log/kannel/smppbox/debug.log"
our-system-id = fSystem
use-systemid-as-smsboxid = 1
smpp-logins = "/opt/kannel/smpplogins.txt"

group = mysql-connection
id = mydlr
host = localhost
username = *
password = *
database = kannel
max-connections = 6

group = dlr-db
id = mydlr
table = dlr_smpp
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 = boxcid

Kindly assist

Regards and thanks,
Arif Noor



OPENSMPPBOX Panic

2017-05-10 Thread Wan Md Arif Noor Bin. Wan Nizam
Hi Kannel Users,

I'm having issues with Opensmppbox which will go into PANIC with below error 
every day after upgrading to new SVN 'svn-r5186M'

09th May

2017-05-09 05:52:42 [29877] [97] PANIC: gwlib/octstr.c:2564: seems_valid_real: 
Assertion `ostr->data != NULL' failed. (Called from 
gwlib/octstr.c:325:octstr_destroy.)
2017-05-09 05:52:42 [29877] [97] PANIC: 
/usr/local/kannel2/sbin/opensmppbox(gw_backtrace+0xae) [0x45db6e]
2017-05-09 05:52:42 [29877] [97] PANIC: 
/usr/local/kannel2/sbin/opensmppbox(gw_panic+0x159) [0x45dcd9]
2017-05-09 05:52:42 [29877] [97] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x45fb60]
2017-05-09 05:52:42 [29877] [97] PANIC: 
/usr/local/kannel2/sbin/opensmppbox(octstr_destroy+0x1d) [0x461c8d]
2017-05-09 05:52:42 [29877] [97] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x40e787]
2017-05-09 05:52:42 [29877] [97] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x41105f]
2017-05-09 05:52:42 [29877] [97] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x4546a9]
2017-05-09 05:52:42 [29877] [97] PANIC: /lib64/libpthread.so.0(+0x7aa1) 
[0x7fde85adeaa1]
2017-05-09 05:52:42 [29877] [97] PANIC: /lib64/libc.so.6(clone+0x6d) 
[0x7fde851da93d]

2017-05-09 12:53:12 [6023] [88] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x46b3fc]
2017-05-09 12:53:12 [6023] [88] PANIC: /lib64/libpthread.so.0(+0xf7e0) 
[0x7f27f82977e0]
2017-05-09 12:53:12 [6023] [88] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x45f8fb]
2017-05-09 12:53:12 [6023] [88] PANIC: 
/usr/local/kannel2/sbin/opensmppbox(octstr_get_cstr_real+0x13) [0x45fb83]
2017-05-09 12:53:12 [6023] [88] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x41051a]
2017-05-09 12:53:12 [6023] [88] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x4546a9]
2017-05-09 12:53:12 [6023] [88] PANIC: /lib64/libpthread.so.0(+0x7aa1) 
[0x7f27f828faa1]
2017-05-09 12:53:12 [6023] [88] PANIC: /lib64/libc.so.6(clone+0x6d) 
[0x7f27f798b93d]

10th May

2017-05-10 16:00:40 [27593] [72] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x46b3fc]
2017-05-10 16:00:40 [27593] [72] PANIC: /lib64/libpthread.so.0(+0xf7e0) 
[0x7f1b36cd17e0]
2017-05-10 16:00:40 [27593] [72] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x45f8fb]
2017-05-10 16:00:40 [27593] [72] PANIC: 
/usr/local/kannel2/sbin/opensmppbox(octstr_get_cstr_real+0x13) [0x45fb83]
2017-05-10 16:00:40 [27593] [72] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x41051a]
2017-05-10 16:00:40 [27593] [72] PANIC: /usr/local/kannel2/sbin/opensmppbox() 
[0x4546a9]
2017-05-10 16:00:40 [27593] [72] PANIC: /lib64/libpthread.so.0(+0x7aa1) 
[0x7f1b36cc9aa1]
2017-05-10 16:00:40 [27593] [72] PANIC: /lib64/libc.so.6(clone+0x6d) 
[0x7f1b363c593d]

Opensmppbox Configuration

group = core
dlr-storage = mysql

group = opensmppbox
opensmppbox-id = FSMPP
opensmppbox-port = 3476
bearerbox-host = localhost
bearerbox-port = 14002
log-level = 0
log-file = "/var/log/kannel/smppbox/debug.log"
our-system-id = fSystem
use-systemid-as-smsboxid = 1
smpp-logins = "/opt/kannel/smpplogins.txt"

group = mysql-connection
id = mydlr
host = localhost
username = *
password = *
database = kannel
max-connections = 6

group = dlr-db
id = mydlr
table = dlr_smpp
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 = boxcid

Kindly assist

Regards and thanks,
Arif Noor



RE: Re[6]: OpenSMPPBox Panic

2017-02-13 Thread Davor Spasoski
Checked and now opensmppbox does not cause panic on startup, nor on sending 
concatenated SMS.

Thanks

Davor Spasoski
VAS Cloud & ICT Development Team Leader / Online and VAS Development

M: +38975400608
e-mail: davor.spaso...@onevip.mk

one.Vip DOO Skopje | Filip Vtori Makedonski 3, DC Soravia 8th floor | 1000 
Skopje | Macedonia
From: Rene Kluwen [mailto:rene.klu...@chimit.nl]
Sent: 09 February 2017 00:47
To: Davor Spasoski <davor.spaso...@onevip.mk>; Davor Spasoski 
<davor.spaso...@onevip.mk>; spameden <spame...@gmail.com>
Cc: users@kannel.org
Subject: Re[6]: OpenSMPPBox Panic

Please be so kind to check out latest svn again.
Probably store-type was not given in your config, but this is not needed with 
internal/mysql storage.

I need to get an better fix for this. But I am curious to know if it works for 
you now.
Apologies for the inconvenience.

== Rene


-- Origineel bericht --
Van: "Davor Spasoski" 
<davor.spaso...@onevip.mk<mailto:davor.spaso...@onevip.mk>>
Aan: "Davor Spasoski" 
<davor.spaso...@onevip.mk<mailto:davor.spaso...@onevip.mk>>; "spameden" 
<spame...@gmail.com<mailto:spame...@gmail.com>>
Cc: "users@kannel.org<mailto:users@kannel.org>" 
<users@kannel.org<mailto:users@kannel.org>>
Verzonden: 8-2-2017 14:38:05
Onderwerp: RE: Re[4]: OpenSMPPBox Panic

This is what I get when called with internal or with mysql storage. Can someone 
check please

vas@smpp-proxy:~/sources/gateway-1.5-svn-06-02-2017/addons/opensmppbox/gw$<mailto:vas@smpp-proxy:~/sources/gateway-1.5-svn-06-02-2017/addons/opensmppbox/gw$>
 /vas/bin/opensmppbox -v 1 /vas/config/kannel/opensmppbox_simple.conf
2017-02-08 14:36:14 [1332] [0] INFO: Debug_lvl = 1, log_file = , log_lvl 
= 0
2017-02-08 14:36:14 [1332] [0] INFO: DLR using storage type: internal
2017-02-08 14:36:14 [1332] [0] PANIC: /vas/bin/opensmppbox() [0x442788]
2017-02-08 14:36:14 [1332] [0] PANIC: 
/lib/x86_64-linux-gnu/libpthread.so.0(+0x113d0) [0x7f662ca5a3d0]
2017-02-08 14:36:14 [1332] [0] PANIC: /vas/bin/opensmppbox() [0x4530ba]
2017-02-08 14:36:14 [1332] [0] PANIC: 
/vas/bin/opensmppbox(octstr_str_compare+0x20) [0x454a40]
2017-02-08 14:36:14 [1332] [0] PANIC: /vas/bin/opensmppbox(store_init+0x2a) 
[0x41412a]
2017-02-08 14:36:14 [1332] [0] PANIC: /vas/bin/opensmppbox(main+0x263) 
[0x40a443]
2017-02-08 14:36:14 [1332] [0] PANIC: 
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f662c397830]
2017-02-08 14:36:14 [1332] [0] PANIC: /vas/bin/opensmppbox(_start+0x29) 
[0x40b349]

2017-02-08 14:34:35 [1330] [0] INFO: Debug_lvl = 1, log_file = , log_lvl 
= 0
2017-02-08 14:34:35 [1330] [0] INFO: MYSQL: Connected to server at localhost.
2017-02-08 14:34:35 [1330] [0] INFO: MYSQL: server version 
5.7.13-0ubuntu0.16.04.2, client version 5.7.17.
2017-02-08 14:34:35 [1330] [0] INFO: DLR using storage type: mysql
2017-02-08 14:34:35 [1330] [0] PANIC: /vas/bin/opensmppbox() [0x442788]
2017-02-08 14:34:35 [1330] [0] PANIC: 
/lib/x86_64-linux-gnu/libpthread.so.0(+0x113d0) [0x7f525dbc83d0]
2017-02-08 14:34:35 [1330] [0] PANIC: /vas/bin/opensmppbox() [0x4530ba]
2017-02-08 14:34:35 [1330] [0] PANIC: 
/vas/bin/opensmppbox(octstr_str_compare+0x20) [0x454a40]
2017-02-08 14:34:35 [1330] [0] PANIC: /vas/bin/opensmppbox(store_init+0x2a) 
[0x41412a]
2017-02-08 14:34:35 [1330] [0] PANIC: /vas/bin/opensmppbox(main+0x263) 
[0x40a443]
2017-02-08 14:34:35 [1330] [0] PANIC: 
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f525d505830]
2017-02-08 14:34:35 [1330] [0] PANIC: /vas/bin/opensmppbox(_start+0x29) 
[0x40b349]

Davor Spasoski
From: users [mailto:users-boun...@kannel.org<mailto:users-boun...@kannel.org>] 
On Behalf Of Davor Spasoski
Sent: 08 February 2017 13:32
To: spameden <spame...@gmail.com<mailto:spame...@gmail.com>>
Cc: users@kannel.org<mailto:users@kannel.org>
Subject: RE: Re[4]: OpenSMPPBox Panic

This shouldn’t be the case. I tried internal as DLR and it panics, too.

Davor Spasoski
From: spameden [mailto:spame...@gmail.com]
Sent: 06 February 2017 13:46
To: Davor Spasoski <davor.spaso...@onevip.mk<mailto:davor.spaso...@onevip.mk>>
Cc: Garry Macasieb <garry.macas...@gmail.com<mailto:garry.macas...@gmail.com>>; 
Rene Kluwen <rene.klu...@chimit.nl<mailto:rene.klu...@chimit.nl>>; 
users@kannel.org<mailto:users@kannel.org>
Subject: Re: Re[4]: OpenSMPPBox Panic

Can only guess it's something to do with store format. Maybe in the new version 
it's different that's why OpenSMPPBox panics.

Try deleting store file / spool and restarting opensmppbox.

2017-02-06 13:53 GMT+03:00 Davor Spasoski 
<davor.spaso...@onevip.mk<mailto:davor.spaso...@onevip.mk>>:
Hi,

I compiled the latest opensmppbox this morning with the hope for the PANIC 
after concatenated SMS.

Now I can’t even start it. I receive panic on startup. Same config file as ever.

/vas/bin/opensmppbox -v 1 /

Re[8]: OpenSMPPBox Panic

2017-02-13 Thread Rene Kluwen

Ideally the versions of kannel & opensmppbox should be the same.


-- Origineel bericht --
Van: "Davor Spasoski" <davor.spaso...@onevip.mk>
Aan: "Rene Kluwen" <rene.klu...@chimit.nl>
Verzonden: 13-2-2017 10:43:26
Onderwerp: Re: Re[6]: OpenSMPPBox Panic


Which version of kannel should I compile against? Stabel 1.4.4 or svn?
On Feb 9, 2017, at 12:46 AM, Rene Kluwen wrote:


Please be so kind to check out latest svn again.
Probably store-type was not given in your config, but this is not 
needed with internal/mysql storage.


I need to get an better fix for this. But I am curious to know if it 
works for you now.

Apologies for the inconvenience.

== Rene


-- Origineel bericht --
Van: "Davor Spasoski" <davor.spaso...@onevip.mk>
Aan: "Davor Spasoski" <davor.spaso...@onevip.mk>; "spameden" 
<spame...@gmail.com>

Cc: "users@kannel.org" <users@kannel.org>
Verzonden: 8-2-2017 14:38:05
Onderwerp: RE: Re[4]: OpenSMPPBox Panic

This is what I get when called with internal or with mysql storage. 
Can someone check please


vas@smpp-proxy:~/sources/gateway-1.5-svn-06-02-2017/addons/opensmppbox/gw$ 
/vas/bin/opensmppbox -v 1 /vas/config/kannel/opensmppbox_simple.conf
2017-02-08 14:36:14 [1332] [0] INFO: Debug_lvl = 1, log_file = 
, log_lvl = 0

2017-02-08 14:36:14 [1332] [0] INFO: DLR using storage type: internal
2017-02-08 14:36:14 [1332] [0] PANIC: /vas/bin/opensmppbox() 
[0x442788]
2017-02-08 14:36:14 [1332] [0] PANIC: 
/lib/x86_64-linux-gnu/libpthread.so.0(+0x113d0) [0x7f662ca5a3d0]
2017-02-08 14:36:14 [1332] [0] PANIC: /vas/bin/opensmppbox() 
[0x4530ba]
2017-02-08 14:36:14 [1332] [0] PANIC: 
/vas/bin/opensmppbox(octstr_str_compare+0x20) [0x454a40]
2017-02-08 14:36:14 [1332] [0] PANIC: 
/vas/bin/opensmppbox(store_init+0x2a) [0x41412a]
2017-02-08 14:36:14 [1332] [0] PANIC: 
/vas/bin/opensmppbox(main+0x263) [0x40a443]
2017-02-08 14:36:14 [1332] [0] PANIC: 
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) 
[0x7f662c397830]
2017-02-08 14:36:14 [1332] [0] PANIC: 
/vas/bin/opensmppbox(_start+0x29) [0x40b349]


2017-02-08 14:34:35 [1330] [0] INFO: Debug_lvl = 1, log_file = 
, log_lvl = 0
2017-02-08 14:34:35 [1330] [0] INFO: MYSQL: Connected to server at 
localhost.
2017-02-08 14:34:35 [1330] [0] INFO: MYSQL: server version 
5.7.13-0ubuntu0.16.04.2, client version 5.7.17.

2017-02-08 14:34:35 [1330] [0] INFO: DLR using storage type: mysql
2017-02-08 14:34:35 [1330] [0] PANIC: /vas/bin/opensmppbox() 
[0x442788]
2017-02-08 14:34:35 [1330] [0] PANIC: 
/lib/x86_64-linux-gnu/libpthread.so.0(+0x113d0) [0x7f525dbc83d0]
2017-02-08 14:34:35 [1330] [0] PANIC: /vas/bin/opensmppbox() 
[0x4530ba]
2017-02-08 14:34:35 [1330] [0] PANIC: 
/vas/bin/opensmppbox(octstr_str_compare+0x20) [0x454a40]
2017-02-08 14:34:35 [1330] [0] PANIC: 
/vas/bin/opensmppbox(store_init+0x2a) [0x41412a]
2017-02-08 14:34:35 [1330] [0] PANIC: 
/vas/bin/opensmppbox(main+0x263) [0x40a443]
2017-02-08 14:34:35 [1330] [0] PANIC: 
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) 
[0x7f525d505830]
2017-02-08 14:34:35 [1330] [0] PANIC: 
/vas/bin/opensmppbox(_start+0x29) [0x40b349]


Davor Spasoski
From: users [mailto:users-boun...@kannel.org] On Behalf Of Davor 
Spasoski

Sent: 08 February 2017 13:32
To: spameden <spame...@gmail.com>
Cc: users@kannel.org
Subject: RE: Re[4]: OpenSMPPBox Panic

This shouldn’t be the case. I tried internal as DLR and it panics, 
too.


Davor Spasoski
From: spameden [mailto:spame...@gmail.com]
Sent: 06 February 2017 13:46
To: Davor Spasoski <davor.spaso...@onevip.mk>
Cc: Garry Macasieb <garry.macas...@gmail.com>; Rene Kluwen 
<rene.klu...@chimit.nl>; users@kannel.org

Subject: Re: Re[4]: OpenSMPPBox Panic

Can only guess it's something to do with store format. Maybe in the 
new version it's different that's why OpenSMPPBox panics.


Try deleting store file / spool and restarting opensmppbox.

2017-02-06 13:53 GMT+03:00 Davor Spasoski <davor.spaso...@onevip.mk>:

Hi,

I compiled the latest opensmppbox this morning with the hope for the 
PANIC after concatenated SMS.


Now I can’t even start it. I receive panic on startup. Same config 
file as ever.


/vas/bin/opensmppbox -v 1 /vas/config/kannel/opensmppbox.conf
2017-02-06 11:35:38 [17516] [0] INFO: Debug_lvl = 1, log_file = 
, log_lvl = 0
2017-02-06 11:35:38 [17516] [0] INFO: MYSQL: Connected to server at 
localhost.
2017-02-06 11:35:38 [17516] [0] INFO: MYSQL: server version 
5.7.13-0ubuntu0.16.04.2, client version 5.7.17.

2017-02-06 11:35:38 [17516] [0] INFO: DLR using storage type: mysql
2017-02-06 11:35:38 [17516] [0] PANIC: /vas/bin/opensmppbox() 
[0x442788]
2017-02-06 11:35:38 [17516] [0] PANIC: 
/lib/x86_64-linux-gnu/libpthread.so.0(+0x113d0) [0x7f7a4312e3d0]
2017-02-06 11:35:38 [17516] [0] PANIC: /vas/bin/opensmppbox() 
[0x4530ba]
2017-02-06 11:35:38 [17516] [0] PANIC: 
/vas/bin/opensmppbox(octstr_str_compare+0x20) [0x454a

RE: Re[4]: OpenSMPPBox Panic

2017-02-08 Thread Davor Spasoski
This is what I get when called with internal or with mysql storage. Can someone 
check please

vas@smpp-proxy:~/sources/gateway-1.5-svn-06-02-2017/addons/opensmppbox/gw$ 
/vas/bin/opensmppbox -v 1 /vas/config/kannel/opensmppbox_simple.conf
2017-02-08 14:36:14 [1332] [0] INFO: Debug_lvl = 1, log_file = , log_lvl 
= 0
2017-02-08 14:36:14 [1332] [0] INFO: DLR using storage type: internal
2017-02-08 14:36:14 [1332] [0] PANIC: /vas/bin/opensmppbox() [0x442788]
2017-02-08 14:36:14 [1332] [0] PANIC: 
/lib/x86_64-linux-gnu/libpthread.so.0(+0x113d0) [0x7f662ca5a3d0]
2017-02-08 14:36:14 [1332] [0] PANIC: /vas/bin/opensmppbox() [0x4530ba]
2017-02-08 14:36:14 [1332] [0] PANIC: 
/vas/bin/opensmppbox(octstr_str_compare+0x20) [0x454a40]
2017-02-08 14:36:14 [1332] [0] PANIC: /vas/bin/opensmppbox(store_init+0x2a) 
[0x41412a]
2017-02-08 14:36:14 [1332] [0] PANIC: /vas/bin/opensmppbox(main+0x263) 
[0x40a443]
2017-02-08 14:36:14 [1332] [0] PANIC: 
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f662c397830]
2017-02-08 14:36:14 [1332] [0] PANIC: /vas/bin/opensmppbox(_start+0x29) 
[0x40b349]

2017-02-08 14:34:35 [1330] [0] INFO: Debug_lvl = 1, log_file = , log_lvl 
= 0
2017-02-08 14:34:35 [1330] [0] INFO: MYSQL: Connected to server at localhost.
2017-02-08 14:34:35 [1330] [0] INFO: MYSQL: server version 
5.7.13-0ubuntu0.16.04.2, client version 5.7.17.
2017-02-08 14:34:35 [1330] [0] INFO: DLR using storage type: mysql
2017-02-08 14:34:35 [1330] [0] PANIC: /vas/bin/opensmppbox() [0x442788]
2017-02-08 14:34:35 [1330] [0] PANIC: 
/lib/x86_64-linux-gnu/libpthread.so.0(+0x113d0) [0x7f525dbc83d0]
2017-02-08 14:34:35 [1330] [0] PANIC: /vas/bin/opensmppbox() [0x4530ba]
2017-02-08 14:34:35 [1330] [0] PANIC: 
/vas/bin/opensmppbox(octstr_str_compare+0x20) [0x454a40]
2017-02-08 14:34:35 [1330] [0] PANIC: /vas/bin/opensmppbox(store_init+0x2a) 
[0x41412a]
2017-02-08 14:34:35 [1330] [0] PANIC: /vas/bin/opensmppbox(main+0x263) 
[0x40a443]
2017-02-08 14:34:35 [1330] [0] PANIC: 
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f525d505830]
2017-02-08 14:34:35 [1330] [0] PANIC: /vas/bin/opensmppbox(_start+0x29) 
[0x40b349]

Davor Spasoski
From: users [mailto:users-boun...@kannel.org] On Behalf Of Davor Spasoski
Sent: 08 February 2017 13:32
To: spameden <spame...@gmail.com>
Cc: users@kannel.org
Subject: RE: Re[4]: OpenSMPPBox Panic

This shouldn’t be the case. I tried internal as DLR and it panics, too.

Davor Spasoski
From: spameden [mailto:spame...@gmail.com]
Sent: 06 February 2017 13:46
To: Davor Spasoski <davor.spaso...@onevip.mk<mailto:davor.spaso...@onevip.mk>>
Cc: Garry Macasieb <garry.macas...@gmail.com<mailto:garry.macas...@gmail.com>>; 
Rene Kluwen <rene.klu...@chimit.nl<mailto:rene.klu...@chimit.nl>>; 
users@kannel.org<mailto:users@kannel.org>
Subject: Re: Re[4]: OpenSMPPBox Panic

Can only guess it's something to do with store format. Maybe in the new version 
it's different that's why OpenSMPPBox panics.

Try deleting store file / spool and restarting opensmppbox.

2017-02-06 13:53 GMT+03:00 Davor Spasoski 
<davor.spaso...@onevip.mk<mailto:davor.spaso...@onevip.mk>>:
Hi,

I compiled the latest opensmppbox this morning with the hope for the PANIC 
after concatenated SMS.

Now I can’t even start it. I receive panic on startup. Same config file as ever.

/vas/bin/opensmppbox -v 1 /vas/config/kannel/opensmppbox.conf
2017-02-06 11:35:38 [17516] [0] INFO: Debug_lvl = 1, log_file = , log_lvl 
= 0
2017-02-06 11:35:38 [17516] [0] INFO: MYSQL: Connected to server at localhost.
2017-02-06 11:35:38 [17516] [0] INFO: MYSQL: server version 
5.7.13-0ubuntu0.16.04.2, client version 5.7.17.
2017-02-06 11:35:38 [17516] [0] INFO: DLR using storage type: mysql
2017-02-06 11:35:38 [17516] [0] PANIC: /vas/bin/opensmppbox() [0x442788]
2017-02-06 11:35:38 [17516] [0] PANIC: 
/lib/x86_64-linux-gnu/libpthread.so.0(+0x113d0) [0x7f7a4312e3d0]
2017-02-06 11:35:38 [17516] [0] PANIC: /vas/bin/opensmppbox() [0x4530ba]
2017-02-06 11:35:38 [17516] [0] PANIC: 
/vas/bin/opensmppbox(octstr_str_compare+0x20) [0x454a40]
2017-02-06 11:35:38 [17516] [0] PANIC: /vas/bin/opensmppbox(store_init+0x2a) 
[0x41412a]
2017-02-06 11:35:38 [17516] [0] PANIC: /vas/bin/opensmppbox(main+0x263) 
[0x40a443]
2017-02-06 11:35:38 [17516] [0] PANIC: 
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f7a42a6b830]
2017-02-06 11:35:38 [17516] [0] PANIC: /vas/bin/opensmppbox(_start+0x29) 
[0x40b349]
Segmentation fault (core dumped)

Davor Spasoski
VAS Cloud & ICT Development Team Leader / Online and VAS Development

M: +38975400608
e-mail: davor.spaso...@onevip.mk<mailto:davor.spaso...@onevip.mk>

one.Vip DOO Skopje | Filip Vtori Makedonski 3, DC Soravia 8th floor | 1000 
Skopje | Macedonia
From: Garry Macasieb 
[mailto:garry.macas...@gmail.com<mailto:garry.macas...@gmail.com>]
Sent: 01 February 2017 05:47
To: Rene Kluwen <rene.klu...@chimit.nl<mailto:rene.klu...@chimit.nl>>

RE: Re[4]: OpenSMPPBox Panic

2017-02-08 Thread Davor Spasoski
This shouldn’t be the case. I tried internal as DLR and it panics, too.

Davor Spasoski
From: spameden [mailto:spame...@gmail.com]
Sent: 06 February 2017 13:46
To: Davor Spasoski <davor.spaso...@onevip.mk>
Cc: Garry Macasieb <garry.macas...@gmail.com>; Rene Kluwen 
<rene.klu...@chimit.nl>; users@kannel.org
Subject: Re: Re[4]: OpenSMPPBox Panic

Can only guess it's something to do with store format. Maybe in the new version 
it's different that's why OpenSMPPBox panics.

Try deleting store file / spool and restarting opensmppbox.

2017-02-06 13:53 GMT+03:00 Davor Spasoski 
<davor.spaso...@onevip.mk<mailto:davor.spaso...@onevip.mk>>:
Hi,

I compiled the latest opensmppbox this morning with the hope for the PANIC 
after concatenated SMS.

Now I can’t even start it. I receive panic on startup. Same config file as ever.

/vas/bin/opensmppbox -v 1 /vas/config/kannel/opensmppbox.conf
2017-02-06 11:35:38 [17516] [0] INFO: Debug_lvl = 1, log_file = , log_lvl 
= 0
2017-02-06 11:35:38 [17516] [0] INFO: MYSQL: Connected to server at localhost.
2017-02-06 11:35:38 [17516] [0] INFO: MYSQL: server version 
5.7.13-0ubuntu0.16.04.2, client version 5.7.17.
2017-02-06 11:35:38 [17516] [0] INFO: DLR using storage type: mysql
2017-02-06 11:35:38 [17516] [0] PANIC: /vas/bin/opensmppbox() [0x442788]
2017-02-06 11:35:38 [17516] [0] PANIC: 
/lib/x86_64-linux-gnu/libpthread.so.0(+0x113d0) [0x7f7a4312e3d0]
2017-02-06 11:35:38 [17516] [0] PANIC: /vas/bin/opensmppbox() [0x4530ba]
2017-02-06 11:35:38 [17516] [0] PANIC: 
/vas/bin/opensmppbox(octstr_str_compare+0x20) [0x454a40]
2017-02-06 11:35:38 [17516] [0] PANIC: /vas/bin/opensmppbox(store_init+0x2a) 
[0x41412a]
2017-02-06 11:35:38 [17516] [0] PANIC: /vas/bin/opensmppbox(main+0x263) 
[0x40a443]
2017-02-06 11:35:38 [17516] [0] PANIC: 
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f7a42a6b830]
2017-02-06 11:35:38 [17516] [0] PANIC: /vas/bin/opensmppbox(_start+0x29) 
[0x40b349]
Segmentation fault (core dumped)

Davor Spasoski
VAS Cloud & ICT Development Team Leader / Online and VAS Development

M: +38975400608
e-mail: davor.spaso...@onevip.mk<mailto:davor.spaso...@onevip.mk>

one.Vip DOO Skopje | Filip Vtori Makedonski 3, DC Soravia 8th floor | 1000 
Skopje | Macedonia
From: Garry Macasieb 
[mailto:garry.macas...@gmail.com<mailto:garry.macas...@gmail.com>]
Sent: 01 February 2017 05:47
To: Rene Kluwen <rene.klu...@chimit.nl<mailto:rene.klu...@chimit.nl>>
Cc: Davor Spasoski <davor.spaso...@onevip.mk<mailto:davor.spaso...@onevip.mk>>; 
users@kannel.org<mailto:users@kannel.org>
Subject: Re: Re[4]: OpenSMPPBox Panic

Hi Rene,

BIG THANKS. As tested, issue has been fixed.

Kind regards,

Garry

2017-01-31 19:57 GMT+08:00 Rene Kluwen 
<rene.klu...@chimit.nl<mailto:rene.klu...@chimit.nl>>:
I invite you to try again with a fresh svn update.
It should be fixed now.

== Rene

-- Origineel bericht --
Van: "Davor Spasoski" 
<davor.spaso...@onevip.mk<mailto:davor.spaso...@onevip.mk>>
Aan: "Rene Kluwen" <rene.klu...@chimit.nl<mailto:rene.klu...@chimit.nl>>
Cc: "Garry Macasieb" 
<garry.macas...@gmail.com<mailto:garry.macas...@gmail.com>>; 
"users@kannel.org<mailto:users@kannel.org>" 
<users@kannel.org<mailto:users@kannel.org>>
Verzonden: 28-1-2017 20:03:48
Onderwerp: Re: Re[2]: OpenSMPPBox Panic

Hi,

Just start opensmppbox normally. Connect a client that takes care how to split 
the SMS in two using UDH. I used kannel and let it split the message that I 
entered on smsbox's http interface.

BR,
Davor
On Jan 28, 2017, at 1:15 PM, Rene Kluwen wrote:
 I promise to look into this one of these days and provide a patch.
 Meanwhile, could somebody send me steps to reproduce?

 == Rene

 -- Origineel bericht --
 Van: "Davor Spasoski" 
<davor.spaso...@onevip.mk<mailto:davor.spaso...@onevip.mk>>
 Aan: "Garry Macasieb" 
<garry.macas...@gmail.com<mailto:garry.macas...@gmail.com>>
 Cc: "rene.klu...@chimit.nl<mailto:rene.klu...@chimit.nl>" 
<rene.klu...@chimit.nl<mailto:rene.klu...@chimit.nl>>; 
"users@kannel.org<mailto:users@kannel.org>" 
<users@kannel.org<mailto:users@kannel.org>>
 Verzonden: 27-1-2017 17:16:39
 Onderwerp: Re: OpenSMPPBox Panic
 I second this. The panic happens on receiving the second part. I used kannel 
as a client and the concatenation mechanism used is udh based.
 On Jan 27, 2017, at 2:13 PM, Garry Macasieb 
<garry.macas...@gmail.com<mailto:garry.macas...@gmail.com>> wrote:

 Hi Rene / Users,

 Greetings!

 Wish to consult you about the PANIC i'm getting from Opensmppbox module 
whenever sending concatenated message:

 PANIC: gwlib/octstr.c:2562: seems_valid_real: Assertion `ostr->len + 1 <= 
ostr->size' failed. (Called from gwlib/octstr.c:325:octstr_destroy.

Re: Re[4]: OpenSMPPBox Panic

2017-02-06 Thread spameden
Can only guess it's something to do with store format. Maybe in the new
version it's different that's why OpenSMPPBox panics.

Try deleting store file / spool and restarting opensmppbox.

2017-02-06 13:53 GMT+03:00 Davor Spasoski <davor.spaso...@onevip.mk>:

> Hi,
>
>
>
> I compiled the latest opensmppbox this morning with the hope for the PANIC
> after concatenated SMS.
>
>
>
> Now I can’t even start it. I receive panic on startup. Same config file as
> ever.
>
>
>
> /vas/bin/opensmppbox -v 1 /vas/config/kannel/opensmppbox.conf
>
> 2017-02-06 11:35:38 [17516] [0] INFO: Debug_lvl = 1, log_file = ,
> log_lvl = 0
>
> 2017-02-06 11:35:38 [17516] [0] INFO: MYSQL: Connected to server at
> localhost.
>
> 2017-02-06 11:35:38 [17516] [0] INFO: MYSQL: server version
> 5.7.13-0ubuntu0.16.04.2, client version 5.7.17.
>
> 2017-02-06 11:35:38 [17516] [0] INFO: DLR using storage type: mysql
>
> 2017-02-06 11:35:38 [17516] [0] PANIC: /vas/bin/opensmppbox() [0x442788]
>
> 2017-02-06 11:35:38 [17516] [0] PANIC: 
> /lib/x86_64-linux-gnu/libpthread.so.0(+0x113d0)
> [0x7f7a4312e3d0]
>
> 2017-02-06 11:35:38 [17516] [0] PANIC: /vas/bin/opensmppbox() [0x4530ba]
>
> 2017-02-06 11:35:38 [17516] [0] PANIC: 
> /vas/bin/opensmppbox(octstr_str_compare+0x20)
> [0x454a40]
>
> 2017-02-06 11:35:38 [17516] [0] PANIC: /vas/bin/opensmppbox(store_init+0x2a)
> [0x41412a]
>
> 2017-02-06 11:35:38 [17516] [0] PANIC: /vas/bin/opensmppbox(main+0x263)
> [0x40a443]
>
> 2017-02-06 11:35:38 [17516] [0] PANIC: 
> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)
> [0x7f7a42a6b830]
>
> 2017-02-06 11:35:38 [17516] [0] PANIC: /vas/bin/opensmppbox(_start+0x29)
> [0x40b349]
>
> Segmentation fault (core dumped)
>
>
>
> *Davor Spasoski*
>
> VAS Cloud & ICT Development Team Leader / Online and VAS Development
>
>
>
> M: +38975400608
>
> e-mail: davor.spaso...@onevip.mk
>
>
>
> one.Vip DOO Skopje | Filip Vtori Makedonski 3, DC Soravia 8th floor | 1000
> Skopje | Macedonia
>
> *From:* Garry Macasieb [mailto:garry.macas...@gmail.com]
> *Sent:* 01 February 2017 05:47
> *To:* Rene Kluwen <rene.klu...@chimit.nl>
> *Cc:* Davor Spasoski <davor.spaso...@onevip.mk>; users@kannel.org
> *Subject:* Re: Re[4]: OpenSMPPBox Panic
>
>
>
> Hi Rene,
>
>
>
> BIG THANKS. As tested, issue has been fixed.
>
>
>
> Kind regards,
>
>
>
> Garry
>
>
>
> 2017-01-31 19:57 GMT+08:00 Rene Kluwen <rene.klu...@chimit.nl>:
>
> I invite you to try again with a fresh svn update.
> It should be fixed now.
>
> == Rene
>
> -- Origineel bericht --
> Van: "Davor Spasoski" <davor.spaso...@onevip.mk>
> Aan: "Rene Kluwen" <rene.klu...@chimit.nl>
> Cc: "Garry Macasieb" <garry.macas...@gmail.com>; "users@kannel.org" <
> users@kannel.org>
> Verzonden: 28-1-2017 20:03:48
> Onderwerp: Re: Re[2]: OpenSMPPBox Panic
>
>
>
> Hi,
>
> Just start opensmppbox normally. Connect a client that takes care how to
> split the SMS in two using UDH. I used kannel and let it split the message
> that I entered on smsbox's http interface.
>
> BR,
> Davor
> On Jan 28, 2017, at 1:15 PM, Rene Kluwen wrote:
>
>  I promise to look into this one of these days and provide a patch.
>  Meanwhile, could somebody send me steps to reproduce?
>
>  == Rene
>
>  -- Origineel bericht --
>  Van: "Davor Spasoski" <davor.spaso...@onevip.mk>
>  Aan: "Garry Macasieb" <garry.macas...@gmail.com>
>  Cc: "rene.klu...@chimit.nl" <rene.klu...@chimit.nl>; "users@kannel.org" <
> users@kannel.org>
>  Verzonden: 27-1-2017 17:16:39
>  Onderwerp: Re: OpenSMPPBox Panic
>
>  I second this. The panic happens on receiving the second part. I used
> kannel as a client and the concatenation mechanism used is udh based.
>
>  On Jan 27, 2017, at 2:13 PM, Garry Macasieb <garry.macas...@gmail.com>
> wrote:
>
>  Hi Rene / Users,
>
>  Greetings!
>
>  Wish to consult you about the PANIC i'm getting from Opensmppbox module
> whenever sending concatenated message:
>
>  PANIC: gwlib/octstr.c:2562: seems_valid_real: Assertion `ostr->len + 1 <=
> ostr->size' failed. (Called from gwlib/octstr.c:325:octstr_destroy.)
>
>  Do you have a work around for this or a working patch?
>
>  Thanks and looking forward to your response.
>
>  --
>  Garry
>
>  ===
> ===
>
>
>  
>
>  Disclaimer: one.Vip 

RE: Re[4]: OpenSMPPBox Panic

2017-02-06 Thread Davor Spasoski
Hi,

I compiled the latest opensmppbox this morning with the hope for the PANIC 
after concatenated SMS.

Now I can’t even start it. I receive panic on startup. Same config file as ever.

/vas/bin/opensmppbox -v 1 /vas/config/kannel/opensmppbox.conf
2017-02-06 11:35:38 [17516] [0] INFO: Debug_lvl = 1, log_file = , log_lvl 
= 0
2017-02-06 11:35:38 [17516] [0] INFO: MYSQL: Connected to server at localhost.
2017-02-06 11:35:38 [17516] [0] INFO: MYSQL: server version 
5.7.13-0ubuntu0.16.04.2, client version 5.7.17.
2017-02-06 11:35:38 [17516] [0] INFO: DLR using storage type: mysql
2017-02-06 11:35:38 [17516] [0] PANIC: /vas/bin/opensmppbox() [0x442788]
2017-02-06 11:35:38 [17516] [0] PANIC: 
/lib/x86_64-linux-gnu/libpthread.so.0(+0x113d0) [0x7f7a4312e3d0]
2017-02-06 11:35:38 [17516] [0] PANIC: /vas/bin/opensmppbox() [0x4530ba]
2017-02-06 11:35:38 [17516] [0] PANIC: 
/vas/bin/opensmppbox(octstr_str_compare+0x20) [0x454a40]
2017-02-06 11:35:38 [17516] [0] PANIC: /vas/bin/opensmppbox(store_init+0x2a) 
[0x41412a]
2017-02-06 11:35:38 [17516] [0] PANIC: /vas/bin/opensmppbox(main+0x263) 
[0x40a443]
2017-02-06 11:35:38 [17516] [0] PANIC: 
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f7a42a6b830]
2017-02-06 11:35:38 [17516] [0] PANIC: /vas/bin/opensmppbox(_start+0x29) 
[0x40b349]
Segmentation fault (core dumped)

Davor Spasoski
VAS Cloud & ICT Development Team Leader / Online and VAS Development

M: +38975400608
e-mail: davor.spaso...@onevip.mk

one.Vip DOO Skopje | Filip Vtori Makedonski 3, DC Soravia 8th floor | 1000 
Skopje | Macedonia
From: Garry Macasieb [mailto:garry.macas...@gmail.com]
Sent: 01 February 2017 05:47
To: Rene Kluwen <rene.klu...@chimit.nl>
Cc: Davor Spasoski <davor.spaso...@onevip.mk>; users@kannel.org
Subject: Re: Re[4]: OpenSMPPBox Panic

Hi Rene,

BIG THANKS. As tested, issue has been fixed.

Kind regards,

Garry

2017-01-31 19:57 GMT+08:00 Rene Kluwen 
<rene.klu...@chimit.nl<mailto:rene.klu...@chimit.nl>>:
I invite you to try again with a fresh svn update.
It should be fixed now.

== Rene

-- Origineel bericht --
Van: "Davor Spasoski" 
<davor.spaso...@onevip.mk<mailto:davor.spaso...@onevip.mk>>
Aan: "Rene Kluwen" <rene.klu...@chimit.nl<mailto:rene.klu...@chimit.nl>>
Cc: "Garry Macasieb" 
<garry.macas...@gmail.com<mailto:garry.macas...@gmail.com>>; 
"users@kannel.org<mailto:users@kannel.org>" 
<users@kannel.org<mailto:users@kannel.org>>
Verzonden: 28-1-2017 20:03:48
Onderwerp: Re: Re[2]: OpenSMPPBox Panic

Hi,

Just start opensmppbox normally. Connect a client that takes care how to split 
the SMS in two using UDH. I used kannel and let it split the message that I 
entered on smsbox's http interface.

BR,
Davor
On Jan 28, 2017, at 1:15 PM, Rene Kluwen wrote:
 I promise to look into this one of these days and provide a patch.
 Meanwhile, could somebody send me steps to reproduce?

 == Rene

 -- Origineel bericht --
 Van: "Davor Spasoski" 
<davor.spaso...@onevip.mk<mailto:davor.spaso...@onevip.mk>>
 Aan: "Garry Macasieb" 
<garry.macas...@gmail.com<mailto:garry.macas...@gmail.com>>
 Cc: "rene.klu...@chimit.nl<mailto:rene.klu...@chimit.nl>" 
<rene.klu...@chimit.nl<mailto:rene.klu...@chimit.nl>>; 
"users@kannel.org<mailto:users@kannel.org>" 
<users@kannel.org<mailto:users@kannel.org>>
 Verzonden: 27-1-2017 17:16:39
 Onderwerp: Re: OpenSMPPBox Panic
 I second this. The panic happens on receiving the second part. I used kannel 
as a client and the concatenation mechanism used is udh based.
 On Jan 27, 2017, at 2:13 PM, Garry Macasieb 
<garry.macas...@gmail.com<mailto:garry.macas...@gmail.com>> wrote:

 Hi Rene / Users,

 Greetings!

 Wish to consult you about the PANIC i'm getting from Opensmppbox module 
whenever sending concatenated message:

 PANIC: gwlib/octstr.c:2562: seems_valid_real: Assertion `ostr->len + 1 <= 
ostr->size' failed. (Called from gwlib/octstr.c:325:octstr_destroy.)

 Do you have a work around for this or a working patch?

 Thanks and looking forward to your response.

 --
 Garry

 
==


 

 Disclaimer: one.Vip DOO Skopje
 This e-mail (including any attachments) is confidential and may be protected 
by legal privilege. If you are not the intended recipient, you should not copy 
it, re-transmit it, use it or disclose its contents, but should return it to 
the sender immediately and delete your copy from your system. Any unauthorized 
use or dissemination of this message in whole or in part is strictly 
prohibited. Please note that e-mails are susceptible to change. one.Vip DOO 
Skopje shall not be liable for the improper or incomplete transmission of the 
information contained in this communicatio

Re: Re[4]: OpenSMPPBox Panic

2017-01-31 Thread Garry Macasieb
Hi Rene,

BIG THANKS. As tested, issue has been fixed.

Kind regards,

Garry

2017-01-31 19:57 GMT+08:00 Rene Kluwen <rene.klu...@chimit.nl>:

> I invite you to try again with a fresh svn update.
> It should be fixed now.
>
> == Rene
>
> -- Origineel bericht --
> Van: "Davor Spasoski" <davor.spaso...@onevip.mk>
> Aan: "Rene Kluwen" <rene.klu...@chimit.nl>
> Cc: "Garry Macasieb" <garry.macas...@gmail.com>; "users@kannel.org" <
> users@kannel.org>
> Verzonden: 28-1-2017 20:03:48
> Onderwerp: Re: Re[2]: OpenSMPPBox Panic
>
>
> Hi,
>>
>> Just start opensmppbox normally. Connect a client that takes care how to
>> split the SMS in two using UDH. I used kannel and let it split the message
>> that I entered on smsbox's http interface.
>>
>> BR,
>> Davor
>> On Jan 28, 2017, at 1:15 PM, Rene Kluwen wrote:
>>
>>  I promise to look into this one of these days and provide a patch.
>>>  Meanwhile, could somebody send me steps to reproduce?
>>>
>>>  == Rene
>>>
>>>  -- Origineel bericht --
>>>  Van: "Davor Spasoski" <davor.spaso...@onevip.mk>
>>>  Aan: "Garry Macasieb" <garry.macas...@gmail.com>
>>>  Cc: "rene.klu...@chimit.nl" <rene.klu...@chimit.nl>; "users@kannel.org"
>>> <users@kannel.org>
>>>  Verzonden: 27-1-2017 17:16:39
>>>  Onderwerp: Re: OpenSMPPBox Panic
>>>
>>>  I second this. The panic happens on receiving the second part. I used
>>>> kannel as a client and the concatenation mechanism used is udh based.
>>>>
>>>>  On Jan 27, 2017, at 2:13 PM, Garry Macasieb <garry.macas...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>  Hi Rene / Users,
>>>>>
>>>>>  Greetings!
>>>>>
>>>>>  Wish to consult you about the PANIC i'm getting from Opensmppbox
>>>>> module whenever sending concatenated message:
>>>>>
>>>>>  PANIC: gwlib/octstr.c:2562: seems_valid_real: Assertion `ostr->len +
>>>>> 1 <= ostr->size' failed. (Called from gwlib/octstr.c:325:octstr_dest
>>>>> roy.)
>>>>>
>>>>>  Do you have a work around for this or a working patch?
>>>>>
>>>>>  Thanks and looking forward to your response.
>>>>>
>>>>>  --
>>>>>  Garry
>>>>>
>>>>>  ===
>>>>> ===
>>>>>
>>>>>
>>>>>
>>>>  
>>>>
>>>>  Disclaimer: one.Vip DOO Skopje
>>>>  This e-mail (including any attachments) is confidential and may be
>>>> protected by legal privilege. If you are not the intended recipient, you
>>>> should not copy it, re-transmit it, use it or disclose its contents, but
>>>> should return it to the sender immediately and delete your copy from your
>>>> system. Any unauthorized use or dissemination of this message in whole or
>>>> in part is strictly prohibited. Please note that e-mails are susceptible to
>>>> change. one.Vip DOO Skopje shall not be liable for the improper or
>>>> incomplete transmission of the information contained in this communication
>>>> nor for any delay in its receipt or damage to your system.
>>>>  Please, do not print this e-mail unless it is necessary! Think about
>>>> saving the environment!
>>>>
>>>>  Напомена: оне.Вип ДОО Скопје
>>>>  Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и
>>>> може да биде заштитена со правни привилегии. Доколку не сте лицето на кое
>>>> таа му е наменета пораката, не треба да ја копирате, дистрибуирате или да
>>>> ја откривате нејзината содржина, туку веднаш да ја препратите до испраќачот
>>>> и да ја избришете оригиналната порака и сите нејзини копии од Вашиот
>>>> компјутерски систем. Секое неовластено користење на оваа порака во целост
>>>> или делови од истата е строго забрането. Ве молиме да забележите дека
>>>> електронските пораки се подложни на промени. оне.Вип ДОО Скопје не презема
>>>> одговорност за несоодветно или нецелосно пренесување на информациите
>>>> содржани во оваа комуникација, ниту пак за било какво задоцнување на
>>>> приемот или оштетувања на вашио

Re[4]: OpenSMPPBox Panic

2017-01-31 Thread Rene Kluwen

I invite you to try again with a fresh svn update.
It should be fixed now.

== Rene

-- Origineel bericht --
Van: "Davor Spasoski" <davor.spaso...@onevip.mk>
Aan: "Rene Kluwen" <rene.klu...@chimit.nl>
Cc: "Garry Macasieb" <garry.macas...@gmail.com>; "users@kannel.org" 
<users@kannel.org>

Verzonden: 28-1-2017 20:03:48
Onderwerp: Re: Re[2]: OpenSMPPBox Panic


Hi,

Just start opensmppbox normally. Connect a client that takes care how 
to split the SMS in two using UDH. I used kannel and let it split the 
message that I entered on smsbox's http interface.


BR,
Davor
On Jan 28, 2017, at 1:15 PM, Rene Kluwen wrote:


 I promise to look into this one of these days and provide a patch.
 Meanwhile, could somebody send me steps to reproduce?

 == Rene

 -- Origineel bericht --
 Van: "Davor Spasoski" <davor.spaso...@onevip.mk>
 Aan: "Garry Macasieb" <garry.macas...@gmail.com>
 Cc: "rene.klu...@chimit.nl" <rene.klu...@chimit.nl>; 
"users@kannel.org" <users@kannel.org>

 Verzonden: 27-1-2017 17:16:39
 Onderwerp: Re: OpenSMPPBox Panic

 I second this. The panic happens on receiving the second part. I 
used kannel as a client and the concatenation mechanism used is udh 
based.


 On Jan 27, 2017, at 2:13 PM, Garry Macasieb 
<garry.macas...@gmail.com> wrote:


 Hi Rene / Users,

 Greetings!

 Wish to consult you about the PANIC i'm getting from Opensmppbox 
module whenever sending concatenated message:


 PANIC: gwlib/octstr.c:2562: seems_valid_real: Assertion `ostr->len 
+ 1 <= ostr->size' failed. (Called from 
gwlib/octstr.c:325:octstr_destroy.)


 Do you have a work around for this or a working patch?

 Thanks and looking forward to your response.

 --
 Garry

 
==





 

 Disclaimer: one.Vip DOO Skopje
 This e-mail (including any attachments) is confidential and may be 
protected by legal privilege. If you are not the intended recipient, 
you should not copy it, re-transmit it, use it or disclose its 
contents, but should return it to the sender immediately and delete 
your copy from your system. Any unauthorized use or dissemination of 
this message in whole or in part is strictly prohibited. Please note 
that e-mails are susceptible to change. one.Vip DOO Skopje shall not 
be liable for the improper or incomplete transmission of the 
information contained in this communication nor for any delay in its 
receipt or damage to your system.
 Please, do not print this e-mail unless it is necessary! Think about 
saving the environment!


 Напомена: оне.Вип ДОО Скопје
 Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и 
може да биде заштитена со правни привилегии. Доколку не сте лицето на 
кое таа му е наменета пораката, не треба да ја копирате, 
дистрибуирате или да ја откривате нејзината содржина, туку веднаш да 
ја препратите до испраќачот и да ја избришете оригиналната порака и 
сите нејзини копии од Вашиот компјутерски систем. Секое неовластено 
користење на оваа порака во целост или делови од истата е строго 
забрането. Ве молиме да забележите дека електронските пораки се 
подложни на промени. оне.Вип ДОО Скопје не презема одговорност за 
несоодветно или нецелосно пренесување на информациите содржани во 
оваа комуникација, ниту пак за било какво задоцнување на приемот или 
оштетувања на вашиот систем.
 Ве молиме не ја печатете оваа порака освен ако не е неопходно! 
Зачувајте ја природата!










Disclaimer: one.Vip DOO Skopje
This e-mail (including any attachments) is confidential and may be 
protected by legal privilege. If you are not the intended recipient, 
you should not copy it, re-transmit it, use it or disclose its 
contents, but should return it to the sender immediately and delete 
your copy from your system. Any unauthorized use or dissemination of 
this message in whole or in part is strictly prohibited. Please note 
that e-mails are susceptible to change. one.Vip DOO Skopje shall not be 
liable for the improper or incomplete transmission of the information 
contained in this communication nor for any delay in its receipt or 
damage to your system.
Please, do not print this e-mail unless it is necessary! Think about 
saving the environment!


Напомена: оне.Вип ДОО Скопје
Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може 
да биде заштитена со правни привилегии. Доколку не сте лицето на кое 
таа му е наменета пораката, не треба да ја копирате, дистрибуирате или 
да ја откривате нејзината содржина, туку веднаш да ја препратите до 
испраќачот и да ја избришете оригиналната порака и сите нејзини копии 
од Вашиот компјутерски систем. Секое неовластено користење на оваа 
порака во целост или делови од истата е строго забрането. Ве молиме да 
забележите дека ел

Re: Re[2]: OpenSMPPBox Panic

2017-01-28 Thread Davor Spasoski
Hi,

Just start opensmppbox normally. Connect a client that takes care how to split 
the SMS in two using UDH. I used kannel and let it split the message that I 
entered on smsbox's http interface.

BR,
Davor
On Jan 28, 2017, at 1:15 PM, Rene Kluwen wrote:

> I promise to look into this one of these days and provide a patch.
> Meanwhile, could somebody send me steps to reproduce?
>
> == Rene
>
> -- Origineel bericht --
> Van: "Davor Spasoski" <davor.spaso...@onevip.mk>
> Aan: "Garry Macasieb" <garry.macas...@gmail.com>
> Cc: "rene.klu...@chimit.nl" <rene.klu...@chimit.nl>; "users@kannel.org" 
> <users@kannel.org>
> Verzonden: 27-1-2017 17:16:39
> Onderwerp: Re: OpenSMPPBox Panic
>
>> I second this. The panic happens on receiving the second part. I used kannel 
>> as a client and the concatenation mechanism used is udh based.
>>
>>> On Jan 27, 2017, at 2:13 PM, Garry Macasieb <garry.macas...@gmail.com> 
>>> wrote:
>>>
>>> Hi Rene / Users,
>>>
>>> Greetings!
>>>
>>> Wish to consult you about the PANIC i'm getting from Opensmppbox module 
>>> whenever sending concatenated message:
>>>
>>> PANIC: gwlib/octstr.c:2562: seems_valid_real: Assertion `ostr->len + 1 <= 
>>> ostr->size' failed. (Called from gwlib/octstr.c:325:octstr_destroy.)
>>>
>>> Do you have a work around for this or a working patch?
>>>
>>> Thanks and looking forward to your response.
>>>
>>> --
>>> Garry
>>>
>>> ==
>>>
>>>
>>
>> 
>>
>> Disclaimer: one.Vip DOO Skopje
>> This e-mail (including any attachments) is confidential and may be protected 
>> by legal privilege. If you are not the intended recipient, you should not 
>> copy it, re-transmit it, use it or disclose its contents, but should return 
>> it to the sender immediately and delete your copy from your system. Any 
>> unauthorized use or dissemination of this message in whole or in part is 
>> strictly prohibited. Please note that e-mails are susceptible to change. 
>> one.Vip DOO Skopje shall not be liable for the improper or incomplete 
>> transmission of the information contained in this communication nor for any 
>> delay in its receipt or damage to your system.
>> Please, do not print this e-mail unless it is necessary! Think about saving 
>> the environment!
>>
>> Напомена: оне.Вип ДОО Скопје
>> Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да 
>> биде заштитена со правни привилегии. Доколку не сте лицето на кое таа му е 
>> наменета пораката, не треба да ја копирате, дистрибуирате или да ја 
>> откривате нејзината содржина, туку веднаш да ја препратите до испраќачот и 
>> да ја избришете оригиналната порака и сите нејзини копии од Вашиот 
>> компјутерски систем. Секое неовластено користење на оваа порака во целост 
>> или делови од истата е строго забрането. Ве молиме да забележите дека 
>> електронските пораки се подложни на промени. оне.Вип ДОО Скопје не презема 
>> одговорност за несоодветно или нецелосно пренесување на информациите 
>> содржани во оваа комуникација, ниту пак за било какво задоцнување на приемот 
>> или оштетувања на вашиот систем.
>> Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте ја 
>> природата!
>>
>
>




Disclaimer: one.Vip DOO Skopje
This e-mail (including any attachments) is confidential and may be protected by 
legal privilege. If you are not the intended recipient, you should not copy it, 
re-transmit it, use it or disclose its contents, but should return it to the 
sender immediately and delete your copy from your system. Any unauthorized use 
or dissemination of this message in whole or in part is strictly prohibited. 
Please note that e-mails are susceptible to change. one.Vip DOO Skopje shall 
not be liable for the improper or incomplete transmission of the information 
contained in this communication nor for any delay in its receipt or damage to 
your system.
Please, do not print this e-mail unless it is necessary! Think about saving the 
environment!

Напомена: оне.Вип ДОО Скопје
Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да биде 
заштитена со правни привилегии. Доколку не сте лицето на кое таа му е наменета 
пораката, не треба да ја копирате, дистрибуирате или да ја откривате нејзината 
содржина, туку веднаш да ја препратите до испраќачот и да ја избришете 
оригиналната порака и сите нејзини копии од Вашиот компјутерски систем. Секое 
неовластено користење на оваа порака во целост или делови од истата е строго 
забрането. Ве молиме да забележите дека електронските пораки се подложни на 
промени. оне.Вип ДОО Скопје не презема одговорност за несоодветно или нецелосно 
пренесување на информациите содржани во оваа комуникација, ниту пак за било 
какво задоцнување на приемот или оштетувања на вашиот систем.
Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте ја 
природата!


Re[2]: OpenSMPPBox Panic

2017-01-28 Thread Rene Kluwen

I promise to look into this one of these days and provide a patch.
Meanwhile, could somebody send me steps to reproduce?

== Rene

-- Origineel bericht --
Van: "Davor Spasoski" <davor.spaso...@onevip.mk>
Aan: "Garry Macasieb" <garry.macas...@gmail.com>
Cc: "rene.klu...@chimit.nl" <rene.klu...@chimit.nl>; "users@kannel.org" 
<users@kannel.org>

Verzonden: 27-1-2017 17:16:39
Onderwerp: Re: OpenSMPPBox Panic

I second this. The panic happens on receiving the second part. I used 
kannel as a client and the concatenation mechanism used is udh based.


 On Jan 27, 2017, at 2:13 PM, Garry Macasieb 
<garry.macas...@gmail.com> wrote:


 Hi Rene / Users,

 Greetings!

 Wish to consult you about the PANIC i'm getting from Opensmppbox 
module whenever sending concatenated message:


 PANIC: gwlib/octstr.c:2562: seems_valid_real: Assertion `ostr->len + 
1 <= ostr->size' failed. (Called from 
gwlib/octstr.c:325:octstr_destroy.)


 Do you have a work around for this or a working patch?

 Thanks and looking forward to your response.

 --
 Garry

 
==







Disclaimer: one.Vip DOO Skopje
This e-mail (including any attachments) is confidential and may be 
protected by legal privilege. If you are not the intended recipient, 
you should not copy it, re-transmit it, use it or disclose its 
contents, but should return it to the sender immediately and delete 
your copy from your system. Any unauthorized use or dissemination of 
this message in whole or in part is strictly prohibited. Please note 
that e-mails are susceptible to change. one.Vip DOO Skopje shall not be 
liable for the improper or incomplete transmission of the information 
contained in this communication nor for any delay in its receipt or 
damage to your system.
Please, do not print this e-mail unless it is necessary! Think about 
saving the environment!


Напомена: оне.Вип ДОО Скопје
Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може 
да биде заштитена со правни привилегии. Доколку не сте лицето на кое 
таа му е наменета пораката, не треба да ја копирате, дистрибуирате или 
да ја откривате нејзината содржина, туку веднаш да ја препратите до 
испраќачот и да ја избришете оригиналната порака и сите нејзини копии 
од Вашиот компјутерски систем. Секое неовластено користење на оваа 
порака во целост или делови од истата е строго забрането. Ве молиме да 
забележите дека електронските пораки се подложни на промени. оне.Вип 
ДОО Скопје не презема одговорност за несоодветно или нецелосно 
пренесување на информациите содржани во оваа комуникација, ниту пак за 
било какво задоцнување на приемот или оштетувања на вашиот систем.
Ве молиме не ја печатете оваа порака освен ако не е неопходно! 
Зачувајте ја природата!







Re: OpenSMPPBox Panic

2017-01-27 Thread Davor Spasoski
I second this. The panic happens on receiving the second part. I used kannel as 
a client and the concatenation mechanism used is udh based.

> On Jan 27, 2017, at 2:13 PM, Garry Macasieb  wrote:
>
> Hi Rene / Users,
>
> Greetings!
>
> Wish to consult you about the PANIC i'm getting from Opensmppbox module 
> whenever sending concatenated message:
>
> PANIC: gwlib/octstr.c:2562: seems_valid_real: Assertion `ostr->len + 1 <= 
> ostr->size' failed. (Called from gwlib/octstr.c:325:octstr_destroy.)
>
> Do you have a work around for this or a working patch?
>
> Thanks and looking forward to your response.
>
> --
> Garry
>
> ==
>
>



Disclaimer: one.Vip DOO Skopje
This e-mail (including any attachments) is confidential and may be protected by 
legal privilege. If you are not the intended recipient, you should not copy it, 
re-transmit it, use it or disclose its contents, but should return it to the 
sender immediately and delete your copy from your system. Any unauthorized use 
or dissemination of this message in whole or in part is strictly prohibited. 
Please note that e-mails are susceptible to change. one.Vip DOO Skopje shall 
not be liable for the improper or incomplete transmission of the information 
contained in this communication nor for any delay in its receipt or damage to 
your system.
Please, do not print this e-mail unless it is necessary! Think about saving the 
environment!

Напомена: оне.Вип ДОО Скопје
Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може да биде 
заштитена со правни привилегии. Доколку не сте лицето на кое таа му е наменета 
пораката, не треба да ја копирате, дистрибуирате или да ја откривате нејзината 
содржина, туку веднаш да ја препратите до испраќачот и да ја избришете 
оригиналната порака и сите нејзини копии од Вашиот компјутерски систем. Секое 
неовластено користење на оваа порака во целост или делови од истата е строго 
забрането. Ве молиме да забележите дека електронските пораки се подложни на 
промени. оне.Вип ДОО Скопје не презема одговорност за несоодветно или нецелосно 
пренесување на информациите содржани во оваа комуникација, ниту пак за било 
какво задоцнување на приемот или оштетувања на вашиот систем.
Ве молиме не ја печатете оваа порака освен ако не е неопходно! Зачувајте ја 
природата!


OpenSMPPBox Panic

2017-01-27 Thread Garry Macasieb
Hi Rene / Users,

Greetings!

Wish to consult you about the PANIC i'm getting from Opensmppbox module
whenever sending concatenated message:

PANIC: gwlib/octstr.c:2562: seems_valid_real: Assertion `ostr->len + 1 <=
ostr->size' failed. (Called from gwlib/octstr.c:325:octstr_destroy.)

Do you have a work around for this or a working patch?

Thanks and looking forward to your response.

-- 
Garry

==


OpenSMPPBOX Panic

2016-02-26 Thread Arif Noor
Sorry, wrong subject for the previous email.

From: users [mailto:users-boun...@kannel.org] On Behalf Of Arif Noor
Sent: Saturday, February 27, 2016 3:23 AM
To: users@kannel.org
Subject: FW: Kannel support only GSM Commands?

Greetings,

I’m having issues with opensmppbox where sending concatenated MT will cause it 
to crash, giving error as below. Is this a bug? And how can I mend this.


2016-02-27 01:32:24 [6013] [16] PANIC: gwlib/octstr.c:2565: seems_valid_real: 
Assertion `ostr->data != NULL' failed. (Called from 
gwlib/octstr.c:325:octstr_destroy.)
2016-02-27 01:32:24 [6013] [16] PANIC: 
/usr/local/kannel/sbin/opensmppbox(gw_backtrace+0xae) [0x45c67e]
2016-02-27 01:32:24 [6013] [16] PANIC: 
/usr/local/kannel/sbin/opensmppbox(gw_panic+0x159) [0x45c7e9]
2016-02-27 01:32:24 [6013] [16] PANIC: /usr/local/kannel/sbin/opensmppbox() 
[0x45e670]
2016-02-27 01:32:24 [6013] [16] PANIC: 
/usr/local/kannel/sbin/opensmppbox(octstr_destroy+0x1d) [0x46079d]
2016-02-27 01:32:24 [6013] [16] PANIC: 
/usr/local/kannel/sbin/opensmppbox(msg_destroy+0x26) [0x416a26]
2016-02-27 01:32:24 [6013] [16] PANIC: 
/usr/local/kannel/sbin/opensmppbox(gwlist_destroy+0x42) [0x45b7c2]
2016-02-27 01:32:24 [6013] [16] PANIC: /usr/local/kannel/sbin/opensmppbox() 
[0x40ff58]
2016-02-27 01:32:24 [6013] [16] PANIC: /usr/local/kannel/sbin/opensmppbox() 
[0x4531e9]
2016-02-27 01:32:24 [6013] [16] PANIC: /lib64/libpthread.so.0(+0x7aa1) 
[0x7f85a9b03aa1]
2016-02-27 01:32:24 [6013] [16] PANIC: /lib64/libc.so.6(clone+0x6d) 
[0x7f85a920193d]


Using opensmppbox below :

2016-02-27 01:22:39 [6013] [0] DEBUG: Kannel opensmppbox version svn-r84 gwlib 
version `svn-r5154M'.
Build `Feb  8 2016 12:04:24', compiler `4.4.7 20120313 (Red Hat 4.4.7-16)'.
System Linux, release 2.6.32-573.18.1.el6.x86_64, version #1 SMP Tue Feb 9 
22:46:17 UTC 2016, machine x86_64.
Hostname localhost, IP 127.0.0.1.
Libxml version 2.6.27.
Using OpenSSL 1.0.1e-fips 11 Feb 2013.
Compiled with MySQL 5.1.73, using MySQL 5.1.73.
Using native malloc.

Thanks in advance.



Re: Opensmppbox Panic

2014-04-30 Thread Saurabh Pandey
Solved: Just pass a proper Octet string:

msgid = *octstr_duplicate*(gwlist_get(parts,gwlist_len(parts)-1));



On Wed, Apr 30, 2014 at 6:37 AM, Saurabh Pandey
sam.it.develo...@gmail.comwrote:

 Hi, please anyone help me. I've tried everything, studied about Octet
 string, used all functions, this isn't getting fixed. According to the
 Logs,the problem seems to be: *ostr-data[ostr-len] == '\0'' failed*
 which I understood that last char of the octet string should be \0. I've
 tried everything but I'm not able to fix this. C experts, Kannel experts
 please help me here.

 Thanks in advance




 On Wed, Apr 30, 2014 at 2:53 AM, Saurabh Pandey 
 sam.it.develo...@gmail.com wrote:

 Hi,

 I have this setup:

 SMSC-Bearerbox - Sqlbox --Opensmppbox - SMPP
 client

 Everything runs fine untill Opensmppbox send deliver_sm to smpp client.
 It crashes with following error in the log:

 -
 2014-04-29 18:05:30 [10020] [1] PANIC: gwlib/octstr.c:2509:
 seems_valid_real: Assertion `ostr-data[ostr-len] == '\0'' failed. (Called
 from opensmppbox.c:828:msg_to_pdu.)
 2014-04-29 18:05:30 [10020] [1] PANIC: ./opensmppbox(gw_panic+0x147)
 [0x441527]
 2014-04-29 18:05:30 [10020] [1] PANIC: ./opensmppbox() [0x44255b]
 2014-04-29 18:05:30 [10020] [1] PANIC:
 ./opensmppbox(octstr_duplicate_real+0x2e) [0x4459fe]
 2014-04-29 18:05:30 [10020] [1] PANIC: ./opensmppbox() [0x40c1fc]
 2014-04-29 18:05:30 [10020] [1] PANIC: ./opensmppbox() [0x40f391]
 2014-04-29 18:05:30 [10020] [1] PANIC: ./opensmppbox() [0x43918e]
 2014-04-29 18:05:30 [10020] [1] PANIC: /lib64/libpthread.so.0()
 [0x3b1ea079d1]
 2014-04-29 18:05:30 [10020] [1] PANIC: /lib64/libc.so.6(clone+0x6d)
 [0x3b1e6e8b6d]

 -
  I inspected the line number mentioned and found this line:

 pdu-u.deliver_sm.receipted_message_id = octstr_duplicate(msgid);

 Now I have played around with the field msgid. Originally it was:
 msgid = gwlist_extract_first(parts); /* extracting first item */
 and I changed it to:
 msgid = gwlist_get(parts,gwlist_len(parts)-1); /* extracting last item */

 Now I don't think return type of the functions are different to in both
 cases msgid must be of same type. I fail to understand why the error is
 thrown. I've seen this error in the mail-archives also but couldn't find
 the solution. I'd appreciate any help.

 Thanks in advance.
 -Sam





Opensmppbox Panic

2014-04-29 Thread Saurabh Pandey
Hi,

I have this setup:

SMSC-Bearerbox - Sqlbox --Opensmppbox - SMPP client

Everything runs fine untill Opensmppbox send deliver_sm to smpp client. It
crashes with following error in the log:
-
2014-04-29 18:05:30 [10020] [1] PANIC: gwlib/octstr.c:2509:
seems_valid_real: Assertion `ostr-data[ostr-len] == '\0'' failed. (Called
from opensmppbox.c:828:msg_to_pdu.)
2014-04-29 18:05:30 [10020] [1] PANIC: ./opensmppbox(gw_panic+0x147)
[0x441527]
2014-04-29 18:05:30 [10020] [1] PANIC: ./opensmppbox() [0x44255b]
2014-04-29 18:05:30 [10020] [1] PANIC:
./opensmppbox(octstr_duplicate_real+0x2e) [0x4459fe]
2014-04-29 18:05:30 [10020] [1] PANIC: ./opensmppbox() [0x40c1fc]
2014-04-29 18:05:30 [10020] [1] PANIC: ./opensmppbox() [0x40f391]
2014-04-29 18:05:30 [10020] [1] PANIC: ./opensmppbox() [0x43918e]
2014-04-29 18:05:30 [10020] [1] PANIC: /lib64/libpthread.so.0()
[0x3b1ea079d1]
2014-04-29 18:05:30 [10020] [1] PANIC: /lib64/libc.so.6(clone+0x6d)
[0x3b1e6e8b6d]
-
 I inspected the line number mentioned and found this line:

pdu-u.deliver_sm.receipted_message_id = octstr_duplicate(msgid);

Now I have played around with the field msgid. Originally it was:
msgid = gwlist_extract_first(parts); /* extracting first item */
and I changed it to:
msgid = gwlist_get(parts,gwlist_len(parts)-1); /* extracting last item */

Now I don't think return type of the functions are different to in both
cases msgid must be of same type. I fail to understand why the error is
thrown. I've seen this error in the mail-archives also but couldn't find
the solution. I'd appreciate any help.

Thanks in advance.
-Sam


Re: Opensmppbox Panic

2014-04-29 Thread Saurabh Pandey
Hi, please anyone help me. I've tried everything, studied about Octet
string, used all functions, this isn't getting fixed. According to the
Logs,the problem seems to be: *ostr-data[ostr-len] == '\0'' failed*
which I understood that last char of the octet string should be \0. I've
tried everything but I'm not able to fix this. C experts, Kannel experts
please help me here.

Thanks in advance




On Wed, Apr 30, 2014 at 2:53 AM, Saurabh Pandey
sam.it.develo...@gmail.comwrote:

 Hi,

 I have this setup:

 SMSC-Bearerbox - Sqlbox --Opensmppbox - SMPP client

 Everything runs fine untill Opensmppbox send deliver_sm to smpp client. It
 crashes with following error in the log:

 -
 2014-04-29 18:05:30 [10020] [1] PANIC: gwlib/octstr.c:2509:
 seems_valid_real: Assertion `ostr-data[ostr-len] == '\0'' failed. (Called
 from opensmppbox.c:828:msg_to_pdu.)
 2014-04-29 18:05:30 [10020] [1] PANIC: ./opensmppbox(gw_panic+0x147)
 [0x441527]
 2014-04-29 18:05:30 [10020] [1] PANIC: ./opensmppbox() [0x44255b]
 2014-04-29 18:05:30 [10020] [1] PANIC:
 ./opensmppbox(octstr_duplicate_real+0x2e) [0x4459fe]
 2014-04-29 18:05:30 [10020] [1] PANIC: ./opensmppbox() [0x40c1fc]
 2014-04-29 18:05:30 [10020] [1] PANIC: ./opensmppbox() [0x40f391]
 2014-04-29 18:05:30 [10020] [1] PANIC: ./opensmppbox() [0x43918e]
 2014-04-29 18:05:30 [10020] [1] PANIC: /lib64/libpthread.so.0()
 [0x3b1ea079d1]
 2014-04-29 18:05:30 [10020] [1] PANIC: /lib64/libc.so.6(clone+0x6d)
 [0x3b1e6e8b6d]

 -
  I inspected the line number mentioned and found this line:

 pdu-u.deliver_sm.receipted_message_id = octstr_duplicate(msgid);

 Now I have played around with the field msgid. Originally it was:
 msgid = gwlist_extract_first(parts); /* extracting first item */
 and I changed it to:
 msgid = gwlist_get(parts,gwlist_len(parts)-1); /* extracting last item */

 Now I don't think return type of the functions are different to in both
 cases msgid must be of same type. I fail to understand why the error is
 thrown. I've seen this error in the mail-archives also but couldn't find
 the solution. I'd appreciate any help.

 Thanks in advance.
 -Sam