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/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