Rene This is the log when the crash occurs
Regard, Gorki 2017-01-31 17:43:52 [1914] [12] DEBUG: sms.time: 1485884632 2017-01-31 17:43:52 [1914] [12] DEBUG: sms.smsc_id: 2017-01-31 17:43:52 [1914] [12] DEBUG: Octet string at 0x8a37380: 2017-01-31 17:43:52 [1914] [12] DEBUG: len: 10 2017-01-31 17:43:52 [1914] [12] DEBUG: size: 11 2017-01-31 17:43:52 [1914] [12] DEBUG: immutable: 0 2017-01-31 17:43:52 [1914] [12] DEBUG: data: 73 6d 70 70 67 77 74 69 67 6f smppgw 2017-01-31 17:43:52 [1914] [12] DEBUG: Octet string dump ends. 2017-01-31 17:43:52 [1914] [12] DEBUG: sms.smsc_number: 2017-01-31 17:43:52 [1914] [12] DEBUG: sms.foreign_id: 2017-01-31 17:43:52 [1914] [12] DEBUG: sms.service: 2017-01-31 17:43:52 [1914] [12] DEBUG: Octet string at 0x8a342c8: 2017-01-31 17:43:52 [1914] [12] DEBUG: len: 10 2017-01-31 17:43:52 [1914] [12] DEBUG: size: 11 2017-01-31 17:43:52 [1914] [12] DEBUG: immutable: 0 2017-01-31 17:43:52 [1914] [12] DEBUG: data: 73 6d 73 6d 6b 74 63 6f 6e 74 smsmkt 2017-01-31 17:43:52 [1914] [12] DEBUG: Octet string dump ends. 2017-01-31 17:43:52 [1914] [12] DEBUG: sms.account: 2017-01-31 17:43:52 [1914] [12] DEBUG: sms.id: 294802a7-016f-4ff2-afe6- 119ce08e20cb 2017-01-31 17:43:52 [1914] [12] DEBUG: sms.sms_type: 2 2017-01-31 17:43:52 [1914] [12] DEBUG: sms.mclass: -1 2017-01-31 17:43:52 [1914] [12] DEBUG: sms.mwi: -1 2017-01-31 17:43:52 [1914] [12] DEBUG: sms.coding: 0 2017-01-31 17:43:52 [1914] [12] DEBUG: sms.compress: 0 2017-01-31 17:43:52 [1914] [12] DEBUG: sms.validity: -1 2017-01-31 17:43:52 [1914] [12] DEBUG: sms.deferred: -1 2017-01-31 17:43:52 [1914] [12] DEBUG: sms.dlr_mask: 0 2017-01-31 17:43:52 [1914] [12] DEBUG: sms.dlr_url: 2017-01-31 17:43:52 [1914] [12] DEBUG: sms.pid: 0 2017-01-31 17:43:52 [1914] [12] DEBUG: sms.alt_dcs: 0 2017-01-31 17:43:52 [1914] [12] DEBUG: sms.rpi: -1 2017-01-31 17:43:52 [1914] [12] DEBUG: sms.charset: 2017-01-31 17:43:52 [1914] [12] DEBUG: sms.boxc_id: 2017-01-31 17:43:52 [1914] [12] DEBUG: Octet string at 0x8a3c178: 2017-01-31 17:43:52 [1914] [12] DEBUG: len: 9 2017-01-31 17:43:52 [1914] [12] DEBUG: size: 10 2017-01-31 17:43:52 [1914] [12] DEBUG: immutable: 0 2017-01-31 17:43:52 [1914] [12] DEBUG: data: 73 6d 73 6d 61 72 6b 65 74 smsmark 2017-01-31 17:43:52 [1914] [12] DEBUG: Octet string dump ends. 2017-01-31 17:43:52 [1914] [12] DEBUG: sms.binfo: 2017-01-31 17:43:52 [1914] [12] DEBUG: sms.msg_left: -1 2017-01-31 17:43:52 [1914] [12] DEBUG: sms.split_parts: (nil) 2017-01-31 17:43:52 [1914] [12] DEBUG: sms.priority: 0 2017-01-31 17:43:52 [1914] [12] DEBUG: sms.resend_try: -1 2017-01-31 17:43:52 [1914] [12] DEBUG: sms.resend_time: -1 2017-01-31 17:43:52 [1914] [12] DEBUG: sms.meta_data: 2017-01-31 17:43:52 [1914] [12] DEBUG: Octet string at 0x8a3c468: 2017-01-31 17:43:52 [1914] [12] DEBUG: len: 6 2017-01-31 17:43:52 [1914] [12] DEBUG: size: 1024 2017-01-31 17:43:52 [1914] [12] DEBUG: immutable: 0 2017-01-31 17:43:52 [1914] [12] DEBUG: data: 3f 73 6d 70 70 3f ?smpp? 2017-01-31 17:43:52 [1914] [12] DEBUG: Octet string dump ends. 2017-01-31 17:43:52 [1914] [12] DEBUG: Msg object ends. 2017-01-31 17:43:52 [1914] [12] PANIC: gwlib/octstr.c:2553: seems_valid_real: Assertion `ostr->len >= 0' failed. (Called from gwlib/octstr.c:325:octstr_destroy.) 2017-01-31 17:43:52 [1914] [11] DEBUG: SMPP[smsmarket]: Sending PDU: 2017-01-31 17:43:52 [1914] [11] DEBUG: SMPP PDU 0x8a3aa68 dump: 2017-01-31 17:43:52 [1914] [11] DEBUG: type_name: submit_sm_resp 2017-01-31 17:43:52 [1914] [11] DEBUG: command_id: 2147483652 <(214)%20748-3652> = 0x80000004 2017-01-31 17:43:52 [1914] [11] DEBUG: command_status: 0 = 0x00000000 2017-01-31 17:43:52 [1914] [11] DEBUG: sequence_number: 14682 = 0x0000395a 2017-01-31 17:43:52 [1914] [11] DEBUG: message_id: 2017-01-31 17:43:52 [1914] [11] DEBUG: Octet string at 0x8a32628: 2017-01-31 17:43:52 [1914] [11] DEBUG: len: 36 2017-01-31 17:43:52 [1914] [11] DEBUG: size: 37 2017-01-31 17:43:52 [1914] [11] DEBUG: immutable: 0 2017-01-31 17:43:52 [1914] [11] DEBUG: data: 32 39 34 38 30 32 61 37 2d 30 31 36 66 2d 34 66 294802a7-016f-4f 2017-01-31 17:43:52 [1914] [11] DEBUG: data: 66 32 2d 61 66 65 36 2d 31 31 39 63 65 30 38 65 f2-afe6-119ce08e 2017-01-31 17:43:52 [1914] [11] DEBUG: data: 32 30 63 62 20cb 2017-01-31 17:43:52 [1914] [11] DEBUG: Octet string dump ends. 2017-01-31 17:43:52 [1914] [11] DEBUG: SMPP PDU dump ends. 2017-01-31 17:43:52 [1914] [12] PANIC: /usr/local/kannel/sbin/opensmppbox(gw_backtrace+0xb1) [0x80ac1f1] 2017-01-31 17:43:52 [1914] [12] PANIC: /usr/local/kannel/sbin/opensmppbox(gw_panic+0xda) [0x80ac2da] 2017-01-31 17:43:52 [1914] [12] PANIC: /usr/local/kannel/sbin/opensmppbox() [0x80add30] 2017-01-31 17:43:52 [1914] [12] PANIC: /usr/local/kannel/sbin/ opensmppbox(octstr_destroy+0x24) [0x80ae374] 2017-01-31 17:43:52 [1914] [12] PANIC: /usr/local/kannel/sbin/opensmppbox(msg_destroy+0x34) [0x805e394] 2017-01-31 17:43:52 [1914] [12] PANIC: /usr/local/kannel/sbin/ opensmppbox(gwlist_destroy+0x38) [0x80ab128] 2017-01-31 17:43:52 [1914] [12] PANIC: /usr/local/kannel/sbin/opensmppbox() [0x8057df6] 2017-01-31 17:43:52 [1914] [12] PANIC: /usr/local/kannel/sbin/opensmppbox() [0x80a20ff] 2017-01-31 17:43:52 [1914] [12] PANIC: /lib/i386-linux-gnu/i686/cmov/libpthread.so.0(+0x5c39) [0xb705bc39] 2017-01-31 17:43:52 [1914] [12] PANIC: /lib/i386-linux-gnu/i686/cmov/libc.so.6(clone+0x5e) [0xb6f7bc6e] 2017-01-31 17:43:56 [1942] [22] DEBUG: SMPP[tdxid2]: Got PDU: 2017-01-31 17:43:56 [1942] [22] DEBUG: SMPP PDU 0x91f78c8 dump: 2017-01-31 17:43:56 [1942] [22] DEBUG: type_name: enquire_link 2017-01-31 17:43:56 [1942] [22] DEBUG: command_id: 21 = 0x00000015 2017-01-31 17:43:56 [1942] [22] DEBUG: command_status: 0 = 0x00000000 2017-01-31 17:43:56 [1942] [22] DEBUG: sequence_number: 4560 = 0x000011d0 On Sun, Feb 5, 2017 at 6:39 PM, Gorki Alfaro <gork...@gmail.com> wrote: > Hi Rene > > This is the output > > root@xxxxx:~# addr2line -e /usr/local/kannel/sbin/opensmppbox 0x40ed03 > 0x413f3e 0x44e7d9 > ??:0 > ??:0 > ??:0 > > > Looks like there is nothing @ those addresses . I am running the Kannel > bearerbox version `svn-r5141 but I wonder which is the best approach to > upgrade to the latest svn > Thanks in advance > > Gorki > > On Sun, Feb 5, 2017 at 5:27 AM, Rene Kluwen <rene.klu...@chimit.nl> wrote: > >> Also in case this happens after receiving a multi-part sms message, >> please check-out latest svn version. >> >> == Rene >> >> ------ Origineel bericht ------ >> Van: "Rene Kluwen" <rene.klu...@chimit.nl> >> Aan: "Gorki Alfaro" <gork...@gmail.com>; users@kannel.org; >> chriskamutu...@gmail.com >> Verzonden: 5-2-2017 10:56:52 >> Onderwerp: Re: Opensmpp shuts down after panic twice a day >> >> Could you pass us the output, on your machine from: >> >> addr2line -e /usr/local/kannel/sbin/opensmppbox 0x40ed03 0x413f3e 0x44 >> e7d9 >> >> == Rene >> >> ------ Origineel bericht ------ >> Van: "Gorki Alfaro" <gork...@gmail.com> >> Aan: users@kannel.org; chriskamutu...@gmail.com >> Verzonden: 3-2-2017 21:56:38 >> Onderwerp: Opensmpp shuts down after panic twice a day >> >> Hello my friends/Chris >> >> >> Does anyone solve this situation? I am running `svn-r5141' and the same >> happens, crash after sending long messages. >> >> >> Thanks in advance >> >> Gorki >> >> >> ----------------------------------------------------- >> >> >> >> hello all , >> >> i have a problem with opensmpp it randomly shuts down after panic below is >> error from logs please advise whats causing this and solution >> >> [root@smpp01 sbin]# 2016-11-09 09:44:12 [21810] [13] PANIC: >> /usr/local/kannel/sbin/opensmppbox() [0x46493c] >> 2016-11-09 09:44:12 [21810] [13] PANIC: /lib64/libpthread.so.0(+0xf7e0) >> [0x7f04bbc667e0] >> 2016-11-09 09:44:12 [21810] [13] PANIC: >> /usr/local/kannel/sbin/opensmppbox() [0x458deb] >> 2016-11-09 09:44:12 [21810] [13] PANIC: >> /usr/local/kannel/sbin/opensmppbox(octstr_destroy+0x1d) [0x45b17d] >> 2016-11-09 09:44:12 [21810] [13] PANIC: >> /usr/local/kannel/sbin/opensmppbox() [0x40ed03] >> 2016-11-09 09:44:12 [21810] [13] PANIC: >> /usr/local/kannel/sbin/opensmppbox() [0x413f3e] >> 2016-11-09 09:44:12 [21810] [13] PANIC: >> /usr/local/kannel/sbin/opensmppbox() [0x44e7d9] >> 2016-11-09 09:44:12 [21810] [13] PANIC: /lib64/libpthread.so.0(+0x7aa1) >> [0x7f04bbc5eaa1] >> 2016-11-09 09:44:12 [21810] [13] PANIC: /lib64/libc.so.6(clone+0x6d) >> [0x7f04baab5aad] >> >> >> regards chris >> >> >