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 = <none>,
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 = <none>,
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 =
<none>, 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 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!
Напомена: оне.Вип ДОО Скопје
Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и
може да биде заштитена со правни привилегии. Доколку не сте лицето
на кое таа му е наменета пораката, не треба да ја копирате,
дистрибуирате или да ја откривате нејзината содржина, туку веднаш да
ја препратите до испраќачот и да ја избришете оригиналната порака и
сите нејзини копии од Вашиот компјутерски систем. Секое неовластено
користење на оваа порака во целост или делови од истата е строго
забрането. Ве молиме да забележите дека електронските пораки се
подложни на промени. оне.Вип ДОО Скопје не презема одговорност за
несоодветно или нецелосно пренесување на информациите содржани во
оваа комуникација, ниту пак за било какво задоцнување на приемот или
оштетувања на вашиот систем.
Ве молиме не ја печатете оваа порака освен ако не е неопходно!
Зачувајте ја природата!
--
Garry L. Macasieb
======================================================================================
Let Him have all your worries and cares, for He is always thinking
about you and watching everything that concerns you.
- 1 Peter 5:7 -
--------------------------------------------------------------------------------
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!
Напомена: оне.Вип ДОО Скопје
Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може
да биде заштитена со правни привилегии. Доколку не сте лицето на кое
таа му е наменета пораката, не треба да ја копирате, дистрибуирате или
да ја откривате нејзината содржина, туку веднаш да ја препратите до
испраќачот и да ја избришете оригиналната порака и сите нејзини копии
од Вашиот компјутерски систем. Секое неовластено користење на оваа
порака во целост или делови од истата е строго забрането. Ве молиме да
забележите дека електронските пораки се подложни на промени. оне.Вип
ДОО Скопје не презема одговорност за несоодветно или нецелосно
пренесување на информациите содржани во оваа комуникација, ниту пак за
било какво задоцнување на приемот или оштетувања на вашиот систем.
Ве молиме не ја печатете оваа порака освен ако не е неопходно!
Зачувајте ја природата!
--------------------------------------------------------------------------------
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!
Напомена: оне.Вип ДОО Скопје
Оваа електронска порака (вклучувајќи ги и прилозите) е доверлива и може
да биде заштитена со правни привилегии. Доколку не сте лицето на кое
таа му е наменета пораката, не треба да ја копирате, дистрибуирате или
да ја откривате нејзината содржина, туку веднаш да ја препратите до
испраќачот и да ја избришете оригиналната порака и сите нејзини копии
од Вашиот компјутерски систем. Секое неовластено користење на оваа
порака во целост или делови од истата е строго забрането. Ве молиме да
забележите дека електронските пораки се подложни на промени. оне.Вип
ДОО Скопје не презема одговорност за несоодветно или нецелосно
пренесување на информациите содржани во оваа комуникација, ниту пак за
било какво задоцнување на приемот или оштетувања на вашиот систем.
Ве молиме не ја печатете оваа порака освен ако не е неопходно!
Зачувајте ја природата!