I just made a change to gw/opensmppbox.c which will fix this bug.
== Rene From: users-boun...@vm1.kannel.org [mailto:users-boun...@vm1.kannel.org] On Behalf Of Rene Kluwen Sent: Friday, 17 August, 2012 18:59 To: 'Christopher Burke'; us...@vm1.kannel.org Subject: RE: [Opensmppbox] `Random' crashes of opensmppbox I noticed this as well. It started happening after the major client-route update last time, even though I don't use them. I am looking into the matter now. Possibly it has to do with a connection that is not available temporarily. >From the logs that you are providing, there has been no link activity for exactly 5 minutes. That should give a clue. Opensmppbox is correct about terminating the connection. But it shouldn't shutdown, but instead wait for a re-connection. == Rene From: users-boun...@vm1.kannel.org [mailto:users-boun...@vm1.kannel.org] On Behalf Of Christopher Burke Sent: Friday, 17 August, 2012 17:01 To: us...@vm1.kannel.org Subject: [Opensmppbox] `Random' crashes of opensmppbox I have noticed some random crashes of opensmppbox which I have not been able to reproduce. I've attached the output of the opensmppbox log if anybody could provide me with any pointers as to why this could be happening? Many thanks in advance! 2012-08-14 09:00:02 [15763] [2] DEBUG: SMPP[VMA]: Got PDU: 2012-08-14 09:00:02 [15763] [2] DEBUG: SMPP PDU 0x7fd9300013e0 dump: 2012-08-14 09:00:02 [15763] [2] DEBUG: type_name: enquire_link 2012-08-14 09:00:02 [15763] [2] DEBUG: command_id: 21 = 0x00000015 2012-08-14 09:00:02 [15763] [2] DEBUG: command_status: 0 = 0x00000000 2012-08-14 09:00:02 [15763] [2] DEBUG: sequence_number: 2511 = 0x000009cf 2012-08-14 09:00:02 [15763] [2] DEBUG: SMPP PDU dump ends. 2012-08-14 09:00:02 [15763] [2] DEBUG: SMPP[VMA]: Sending PDU: 2012-08-14 09:00:02 [15763] [2] DEBUG: SMPP PDU 0x7fd9300015a0 dump: 2012-08-14 09:00:02 [15763] [2] DEBUG: type_name: enquire_link_resp 2012-08-14 09:00:02 [15763] [2] DEBUG: command_id: 2147483669 = 0x80000015 2012-08-14 09:00:02 [15763] [2] DEBUG: command_status: 0 = 0x00000000 2012-08-14 09:00:02 [15763] [2] DEBUG: sequence_number: 2511 = 0x000009cf 2012-08-14 09:00:02 [15763] [2] DEBUG: SMPP PDU dump ends. 2012-08-14 09:05:03 [15763] [1] ERROR: opensmppbox: bearerbox_to_smpp: thread terminates 2012-08-14 09:05:03 [15763] [0] INFO: No more waiting for SMPP connections. 2012-08-14 09:05:03 [15763] [0] DEBUG: Thread 1 (opensmppbox.c:function) still running 2012-08-14 09:05:03 [15763] [0] DEBUG: Thread 2 (opensmppbox.c:smpp_to_bearerbox) still running 2012-08-14 09:05:03 [15763] [0] DEBUG: Immutable octet strings: 189.