|
From: | João Areias |
Subject: | Problem with gnokii 0.6.31git, smsd segmentation fault |
Date: | Mon, 30 May 2011 19:47:16 +0100 |
Hello, I’ve downloaded the latest version of gnokii 0.6.31 plus the patch to resolve the mysql cpu problem. I’m having problems sending messages from a phone. The smsd stops with a segmentation fault. The problem appears to only occur when we send messages to numbers not in the same network as the gsm card. I have other phones I the same machine running the same smsd but don’t have any problem. One is the same model and is connected In the same way. Config: [phone_1] port = /dev/ttyS0 model = 6210 sm_retry = 0 initlength = default connection = serial bindir = /usr/local/sbin/ use_locking = yes serial_baudrate = 38400 smsc_timeout = 10 [phone_2] port = /dev/ttyS1 model = 6210 sm_retry = 0 initlength = default connection = serial bindir = /usr/local/sbin/ use_locking = yes serial_baudrate = 38400 smsc_timeout = 10 ## Nokia 3109c [phone_3] model = series40 port = 1 connection = dku2libusb sm_retry = 0 use_locking = no smsc_timeout = 5 The problem is only in phone 1. The debug: ~# /usr/sbin/smsd -u xxxx -p xxx -d xxx -c xxx -m mysql -t 1 -b IN -f /var/log/smsdaemon1.log smsd - version 1.5.1 from gnokii 0.6.31git LOG: debug mask is 0x1 Config read from file /root/.gnokiirc. Lockfile /var/lock/LCK..ttyS0 is stale. Overriding it... phone instance config: model = 6210 port = /dev/ttyS0 connection = serial initlength = default serial_baudrate = 38400 serial_write_usleep = -1 handshake = software require_dcd = 0 smsc_timeout = 10 rfcomm_channel = 0 sm_retry = 0 Connecting Serial device: opening device /dev/ttyS0 Serial device: setting speed to 115200 Serial device: setting RTS to low and DTR to low Getting model... Message sent: 0x1b / 0x0006 00 01 00 03 01 32 | 2 [Received Ack of type 1b, seq: 0] [Sending Ack of type 1b, seq: 7] Message received: 0x1b / 0x0037 01 1c 00 04 00 56 20 30 35 2e 30 31 0a 31 34 2d | V 05.01 14- 30 33 2d 30 31 0a 4e 50 45 2d 33 0a 28 63 29 20 | 03-01 NPE-3 (c) 4e 4d 50 2e 00 0c 03 0d 03 0e 03 0f 03 11 03 13 | NMP. 03 14 03 15 00 33 06 | 3 Received message type 1b Received model NPE-3 Message sent: 0x40 / 0x0004 00 01 64 01 | d [Received Ack of type 40, seq: 1] [Sending Ack of type 40, seq: 0] Message received: 0x40 / 0x000c 01 01 64 02 01 4c 0d 01 01 01 1b 58 | d L X Received message type 40 Unknown security command Message: Extended commands enabled. Identifying... Message sent: 0x1b / 0x0004 00 01 00 01 | Message sent: 0x1b / 0x0006 00 01 00 03 01 32 | 2 [Received Ack of type 1b, seq: 2] [Received Ack of type 1b, seq: 3] [Sending Ack of type 1b, seq: 1] Message received: 0x1b / 0x0014 01 1c 00 02 33 35 30 31 33 38 32 30 32 33 35 31 | 350138202351 35 38 35 00 | 585 Received message type 1b Received imei xxxxxxxxxxxxxx [Sending Ack of type 1b, seq: 2] Message received: 0x1b / 0x0037 01 1c 00 04 00 56 20 30 35 2e 30 31 0a 31 34 2d | V 05.01 14- 30 33 2d 30 31 0a 4e 50 45 2d 33 0a 28 63 29 20 | 03-01 NPE-3 (c) 4e 4d 50 2e 00 4d 50 2e 00 0c 03 0d 03 0e 03 0f | NMP. MP. 03 11 03 13 03 14 03 | Received message type 1b Received model NPE-3 Received revision 05.01 No flags section in the config file. Found model "NPE-3" No flags section in the config file. Message sent: 0x02 / 0x0006 00 01 00 33 64 01 | 3d [Received Ack of type 02, seq: 4] [Sending Ack of type 02, seq: 3] Message received: 0x02 / 0x0022 01 24 00 34 01 f1 00 00 03 00 03 0f 03 11 03 13 | $ 4 03 14 03 15 ff 07 91 53 91 26 01 00 00 ff ff ff | S & 00 00 | Received message type 02 SMSC Received 1 =====> ENTER gn_sms_send() enc_chars: 77 ext_chars: 0 total: 68 size of the input string: 77 bytes number of characters in the input string: 77 chars =====> ENTER sms_send_single() General Data Coding Default Alphabet size: 68 offset: 0 encoded size: 68 rawsms length: 77 rawsms user data length: 68 dcs: 0x00 Length: 0x4d user_data_length: 0x44 ValidityIndicator: 2 user_data: F4F29C5E0691CBA0B2DB9E7E83C865D0BC3D773514C4F27C5C67C3C320EADB8D7E83E0F2F2383D0FDBC3207219546F8372335743D1503414CA77F80D0ACACBE9F0BCA100 Input is 77 bytes long SMS is 68 octets long Sending Message sent: 0x02 / 0x006e 00 01 00 01 02 00 07 91 53 91 26 01 00 00 00 00 | S & 00 00 11 00 00 00 4d 0c 91 53 91 83 64 21 32 00 | M S d!2 00 00 00 a9 00 00 00 00 00 00 f4 f2 9c 5e 06 91 | ^ cb a0 b2 db 9e 7e 83 c8 65 d0 bc 3d 77 35 14 c4 | ~ e =w5 f2 7c 5c 67 c3 c3 20 ea db 8d 7e 83 e0 f2 f2 38 | |\g ~ 8 3d 0f db c3 20 72 19 54 6f 83 72 33 57 43 d1 50 | = r To r3WC P 34 14 ca 77 f8 0d 0a ca cb e9 f0 bc a1 00 | 4 w [Received Ack of type 02, seq: 5] [Sending Ack of type 02, seq: 4] Message received: 0x02 / 0x0008 01 24 00 03 65 01 15 00 | $ e Received message type 02 SMS sending failed Event 0 failed with return code 1! Getting SMS Folder (8) status ... Special case INBOX in GetSMSFolderStatus! Message sent: 0x14 / 0x0007 00 01 00 6b 08 0f 01 | k [Received Ack of type 14, seq: 6] [Sending Ack of type 14, seq: 5] Message received: 0x14 / 0x0006 01 25 00 6c 00 00 | % l Received message type 14 Message: SMS Folder status received Message: Number of Entries: 0 Message: IDs of Entries : Message sent: 0x14 / 0x0007 00 01 00 6b f8 0f 01 | k [Received Ack of type 14, seq: 7] [Sending Ack of type 14, seq: 6] Message received: 0x14 / 0x0006 01 25 00 6c 00 00 | % l Received message type 14 Message: SMS Folder status received Message: Number of Entries: 0 Message: IDs of Entries : =====> ENTER gn_sms_send() enc_chars: 77 ext_chars: 0 total: 68 size of the input string: 77 bytes number of characters in the input string: 77 chars =====> ENTER sms_send_single() General Data Coding Default Alphabet size: 68 offset: 0 encoded size: 68 rawsms length: 77 rawsms user data length: 68 dcs: 0x00 Length: 0x4d user_data_length: 0x44 ValidityIndicator: 2 user_data: F4F29C5E0691CBA0B2DB9E7E83C865D0BC3D773514C4F27C5C67C3C320EADB8D7E83E0F2F2383D0FDBC3207219546F8372335743D1503414CA77F80D0ACACBE9F0BCA100 Input is 77 bytes long SMS is 68 octets long Sending Message sent: 0x02 / 0x006e 00 01 00 01 02 00 07 91 53 91 26 01 00 00 00 00 | S & 00 00 11 00 00 00 4d 0c 91 53 91 83 64 21 32 00 | M S d!2 00 00 00 a9 00 00 00 00 00 00 f4 f2 9c 5e 06 91 | ^ cb a0 b2 db 9e 7e 83 c8 65 d0 bc 3d 77 35 14 c4 | ~ e =w5 f2 7c 5c 67 c3 c3 20 ea db 8d 7e 83 e0 f2 f2 38 | |\g ~ 8 3d 0f db c3 20 72 19 54 6f 83 72 33 57 43 d1 50 | = r To r3WC P 34 14 ca 77 f8 0d 0a ca cb e9 f0 bc a1 00 | 4 w [Received Ack of type 02, seq: 0] [Sending Ack of type 02, seq: 7] Message received: 0x02 / 0x0008 01 24 00 03 65 01 15 00 | $ e Received message type 02 SMS sending failed Segmentation fault João Areias 3000 - 135 Coimbra - Portugal
|
[Prev in Thread] | Current Thread | [Next in Thread] |