gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Gnokii 6.0.22, Gnokii working fine, but smsd is coredumping


From: Peter Toi
Subject: Gnokii 6.0.22, Gnokii working fine, but smsd is coredumping
Date: Fri, 22 Feb 2008 00:08:02 +0100

Hi everyone,
Im struggling to get the gnokii freebsd port (version 0.6.22) to work
properly. I am primary using the smsd for sending smsd thru the spool
directory and retrieving the phone messages. The thing is that I got it to
work in a earlier version, I think it was .18, but now the smsd returns with
a coredump, after updating it.

I can with no problem get the -sendsms or -identify to work, here is a dump:

----------------------------------------------------

serv013cph# gnokii --identify
GNOKII Version 0.6.22
LOG: debug mask is 0x1
LOG: rlpdebug mask is 0x1
LOG: xdebug mask is 0x1
Config read from file /root/.gnokiirc.
phone instance config:
model = 6150
port = /dev/cuaa0
connection = serial
initlength = default
serial_baudrate = 19200
serial_write_usleep = -1
handshake = software
require_dcd = 0
smsc_timeout = 40
rfcomm_channel = 1
sm_retry = 3
Serial device: opening device /dev/cuaa0
Serial device: setting speed to 115200
Serial device: setting RTS to low and DTR to high
Message sent: 0x40 / 0x0004
00 01 64 01                                     |   d
SM_Block Retry - 0
Message sent: 0x40 / 0x0004
00 01 64 01                                     |   d
[Received Ack of type 40, seq: 81]
[Sending Ack of type 40, seq: 6]
Message received: 0x40 / 0x000c
01 01 64 03 01 2c 0d 01 01 01 1b 58             |   d  ,     X
Received message type 40
Message: Extended commands enabled.
Message sent: 0x40 / 0x0003
00 01 66                                        |   f
[Received Ack of type 40, seq:  2]
[Sending Ack of type 40, seq: 7]
Message received: 0x40 / 0x0014
01 01 66 01 34 39 33 30 30 36 31 30 39 38 30 31 |   f 493006109801
33 32 35 00                                     | 325
Received message type 40
IMEI: 493006109801325
Message sent: 0x40 / 0x0004
00 01 64 01                                     |   d
[Received Ack of type 40, seq:  3]
[Sending Ack of type 40, seq: 0]
Message received: 0x40 / 0x000c
01 01 64 03 01 2c 0d 01 01 01 1b 58             |   d  ,     X
Received message type 40
Message: Extended commands enabled.
Message sent: 0x40 / 0x0004
00 01 c8 01                                     |
[Received Ack of type 40, seq:  4]
[Sending Ack of type 40, seq: 1]
Message received: 0x40 / 0x0025
01 01 c8 01 00 56 20 20 35 2e 30 32 0a 30 32 2d |      V  5.02 02-
30 32 2d 39 39 0a 4e 53 4d 2d 31 0a 28 63 29 20 | 02-99 NSM-1 (c)
4e 4d 50 2e 00                                  | NMP.
Received message type 40
Received SW  5.02
Received model NSM-1
Message sent: 0x40 / 0x0004
00 01 64 01                                     |   d
[Received Ack of type 40, seq:  5]
[Sending Ack of type 40, seq: 2]
Message received: 0x40 / 0x000c
01 01 64 03 01 2c 0d 01 01 01 1b 58             |   d  ,     X
Received message type 40
Message: Extended commands enabled.
Message sent: 0x40 / 0x0004
00 01 c8 05                                     |
[Received Ack of type 40, seq:  6]
[Sending Ack of type 40, seq: 3]
Message received: 0x40 / 0x000a
01 01 c8 05 00 32 33 35 30 00                   |      2350
Received message type 40
Received SW  5.02, HW 2350
Found model "NSM-1"
Getting phone info (new way)...
Message sent: 0x64 / 0x0004
00 01 00 10                                     |
[Received Ack of type 64, seq:  7]
[Sending Ack of type 64, seq: 4]
Message received: 0x64 / 0x0036
01 08 00 11 4e 4f 4b 49 41 34 39 33 30 30 36 31 |     NOKIA4930061
30 39 38 30 31 33 32 35 00 4e 53 4d 2d 31 00 30 | 09801325 NSM-1 0
35 30 31 38 38 38 00 32 33 35 30 00 20 35 2e 30 | 501888 2350  5.0
32 00 c5 d5 61 af                               | 2   a
Received message type 64
Received imei 493006109801325
Received model NSM-1
Received revision SW 5.02, HW 2350
Message: Mobile phone identification received:
        IMEI: 493006109801325
        Model: NSM-1
        Production Code: 0501888
        HW: 2350
        Firmware:  5.02
        Magic bytes: c5 d5 61 af
Message sent: 0x02 / 0x0007
00 01 00 0d 00 00 02                            |
[Received Ack of type 02, seq:  0]
[Sending Ack of type 02, seq: 5]
Message received: 0x02 / 0x0004
01 08 00 0e                                     |
Received message type 02
Message sent: 0x02 / 0x0005
00 01 00 20 02                                  |
[Received Ack of type 02, seq:  1]
[Sending Ack of type 02, seq: 6]
Message received: 0x02 / 0x0004
01 08 00 21                                     |    !
Received message type 02
Setting CellBroadcast successful
Message sent: 0x02 / 0x0007
00 01 00 0d 01 00 02                            |
[Received Ack of type 02, seq:  2]
[Sending Ack of type 02, seq: 7]
Message received: 0x02 / 0x0004
01 08 00 0e                                     |
Received message type 02
Getting phone info (new way)...
Message sent: 0x64 / 0x0004
00 01 00 10                                     |
[Received Ack of type 64, seq:  3]
[Sending Ack of type 64, seq: 0]
Message received: 0x64 / 0x0036
01 08 00 11 4e 4f 4b 49 41 34 39 33 30 30 36 31 |     NOKIA4930061
30 39 38 30 31 33 32 35 00 4e 53 4d 2d 31 00 30 | 09801325 NSM-1 0
35 30 31 38 38 38 00 32 33 35 30 00 20 35 2e 30 | 501888 2350  5.0
32 00 c5 d5 61 af                               | 2   a
Received message type 64
Message: Mobile phone identification received:
        IMEI: 493006109801325
        Model: NSM-1
        Production Code: 0501888
        HW: 2350
        Firmware:  5.02
        Magic bytes: c5 d5 61 af
Message sent: 0x64 / 0x002d
00 01 00 12 01 ef f6 72 e4 6b 3b 6f 38 3b 3b 08 |        r k;o8;;
cf de 6a af 4e 4f 4b 49 41 26 4e 4f 4b 49 41 61 |   j NOKIA&NOKIAa
63 63 65 73 73 6f 72 79 00 00 00 00 f8          | ccessory
Message sent: 0x0c / 0x0005
00 01 00 40 01                                  |    @
[Received Ack of type 64, seq:  4]
[Received Ack of type 0c, seq:  5]
[Sending Ack of type 0c, seq: 1]
Message received: 0x0c / 0x0077
01 08 00 41 2e 2c 3f 21 2d 2b 31 00 61 62 63 32 |    A.,?!-+1 abc2
e6 e5 e4 e0 bb bc be 00 64 65 66 33 e9 e8 c1 c0 |         def3
00 67 68 69 34 c3 c8 ec c2 90 b8 00 6a 6b 6c 35 |  ghi4       jkl5
00 6d 6e 6f 36 f8 f6 cb f1 f2 ca 00 70 71 72 73 |  mno6       pqrs
37 df 24 00 74 75 76 38 fc f9 cf cd 00 77 78 79 | 7 $ tuv8     wxy
7a 39 00 20 30 00 00 00 2e 2c 3f 21 3a 3b 2d 2b | z9  0   .,?!:;-+
23 2a 28 29 27 22 5f 40 26 24 a3 25 2f 3c 3e bf | #*()'"_@&$ %/<>
a1 a7 3d a4 d3 a5 00                            |   =
Received message type 0c
IMEI         : 493006109801325
Manufacturer : Nokia
Found model "NSM-1"
Model        : 6150
Product name : NSM-1
Revision     : SW 5.02, HW 2350
Serial device: closing device
serv013cph#
---------------------------------------------------------------------------



And this is what smsd returns, with a " fbusinit: error 0"  - could anyone
tell me what going on? - when making this test, no sms in the spool
directory nor in the phone:



----------------------------------------------------------------------------
--------------------------------------

serv013cph# /usr/local/sbin/smsd --module file -c /var/spool/smsd/ -u
/home/smsd/action.pl
LOG: debug mask is 0x1
LOG: rlpdebug mask is 0x1
LOG: xdebug mask is 0x1
Config read from file /root/.gnokiirc.
phone instance config:
model = 6150
port = /dev/cuaa0
connection = serial
initlength = default
serial_baudrate = 19200
serial_write_usleep = -1
handshake = software
require_dcd = 0
smsc_timeout = 40
rfcomm_channel = 1
sm_retry = 3
Serial device: opening device /dev/cuaa0
Serial device: setting speed to 115200
Serial device: setting RTS to low and DTR to high
Message sent: 0x40 / 0x0004
00 01 64 01                                     |   d
[Sending Ack of type 0a, seq: 4]
Message received: 0x0a / 0x0013
01 08 00 71 01 00 01 0b 01 02 06 2e 02 31 32 f8 |    q       . 12
10 00 00                                        |
Received message type 0a
Message: Network Info Received
[Received Ack of type 40, seq: 80]
[Sending Ack of type 0a, seq: 5]
Message received: 0x0a / 0x0013
01 08 00 71 01 00 01 0b 01 02 01 25 02 31 32 f8 |    q       % 12
10 00 00                                        |
Received message type 0a
Message: Network Info Received
[Sending Ack of type 40, seq: 6]
Message received: 0x40 / 0x000c
01 01 64 03 01 2c 0d 01 01 01 1b 58             |   d  ,     X
Received message type 40
Message: Extended commands enabled.
Message sent: 0x40 / 0x0003
00 01 66                                        |   f
[Received Ack of type 40, seq:  1]
[Sending Ack of type 40, seq: 7]
Message received: 0x40 / 0x0014
01 01 66 01 34 39 33 30 30 36 31 30 39 38 30 31 |   f 493006109801
33 32 35 00                                     | 325
Received message type 40
IMEI: 493006109801325
Message sent: 0x40 / 0x0004
00 01 64 01                                     |   d
[Received Ack of type 40, seq:  2]
[Sending Ack of type 40, seq: 0]
Message received: 0x40 / 0x000c
01 01 64 03 01 2c 0d 01 01 01 1b 58             |   d  ,     X
Received message type 40
Message: Extended commands enabled.
Message sent: 0x40 / 0x0004
00 01 c8 01                                     |
[Received Ack of type 40, seq:  3]
[Sending Ack of type 40, seq: 1]
Message received: 0x40 / 0x0025
01 01 c8 01 00 56 20 20 35 2e 30 32 0a 30 32 2d |      V  5.02 02-
30 32 2d 39 39 0a 4e 53 4d 2d 31 0a 28 63 29 20 | 02-99 NSM-1 (c)
4e 4d 50 2e 00                                  | NMP.
Received message type 40
Received SW  5.02
Received model NSM-1
Message sent: 0x40 / 0x0004
00 01 64 01                                     |   d
[Received Ack of type 40, seq:  4]
[Sending Ack of type 40, seq: 2]
Message received: 0x40 / 0x000c
01 01 64 03 01 2c 0d 01 01 01 1b 58             |   d  ,     X
Received message type 40
Message: Extended commands enabled.
Message sent: 0x40 / 0x0004
00 01 c8 05                                     |
[Received Ack of type 40, seq:  5]
[Sending Ack of type 40, seq: 3]
Message received: 0x40 / 0x000a
01 01 c8 05 00 32 33 35 30 00                   |      2350
Received message type 40
Received SW  5.02, HW 2350
Found model "NSM-1"
Getting phone info (new way)...
Message sent: 0x64 / 0x0004
00 01 00 10                                     |
[Received Ack of type 64, seq:  6]
[Sending Ack of type 64, seq: 4]
Message received: 0x64 / 0x0036
01 08 00 11 4e 4f 4b 49 41 34 39 33 30 30 36 31 |     NOKIA4930061
30 39 38 30 31 33 32 35 00 4e 53 4d 2d 31 00 30 | 09801325 NSM-1 0
35 30 31 38 38 38 00 32 33 35 30 00 20 35 2e 30 | 501888 2350  5.0
32 00 bb f8 d1 32                               | 2    2
Received message type 64
Received imei 493006109801325
Received model NSM-1
Received revision SW 5.02, HW 2350
Message: Mobile phone identification received:
        IMEI: 493006109801325
        Model: NSM-1
        Production Code: 0501888
        HW: 2350
        Firmware:  5.02
        Magic bytes: bb f8 d1 32
Message sent: 0x02 / 0x0007
00 01 00 0d 00 00 02                            |
[Received Ack of type 02, seq:  7]
[Sending Ack of type 02, seq: 5]
Message received: 0x02 / 0x0004
01 08 00 0e                                     |
Received message type 02
Message sent: 0x02 / 0x0005
00 01 00 20 02                                  |
[Received Ack of type 02, seq:  0]
[Sending Ack of type 02, seq: 6]
Message received: 0x02 / 0x0004
01 08 00 21                                     |    !
Received message type 02
Setting CellBroadcast successful
Message sent: 0x02 / 0x0007
00 01 00 0d 01 00 02                            |
[Received Ack of type 02, seq:  1]
[Sending Ack of type 02, seq: 7]
Message received: 0x02 / 0x0004
01 08 00 0e                                     |
Received message type 02
Getting phone info (new way)...
Message sent: 0x64 / 0x0004
00 01 00 10                                     |
[Received Ack of type 64, seq:  2]
[Sending Ack of type 64, seq: 0]
Message received: 0x64 / 0x0036
01 08 00 11 4e 4f 4b 49 41 34 39 33 30 30 36 31 |     NOKIA4930061
30 39 38 30 31 33 32 35 00 4e 53 4d 2d 31 00 30 | 09801325 NSM-1 0
35 30 31 38 38 38 00 32 33 35 30 00 20 35 2e 30 | 501888 2350  5.0
32 00 bb f8 d1 32                               | 2    2
Received message type 64
Message: Mobile phone identification received:
        IMEI: 493006109801325
        Model: NSM-1
        Production Code: 0501888
        HW: 2350
        Firmware:  5.02
        Magic bytes: bb f8 d1 32
Message sent: 0x64 / 0x002d
00 01 00 12 d0 da fa 50 3a 7a 7b 3e 69 6a 6a 7e |        P:z{>ijj~
e1 fa db 68 4e 4f 4b 49 41 26 4e 4f 4b 49 41 61 |    hNOKIA&NOKIAa
63 63 65 73 73 6f 72 79 00 00 00 00 f8          | ccessory
Message sent: 0x0c / 0x0005
00 01 00 40 01                                  |    @
[Received Ack of type 64, seq:  3]
[Received Ack of type 0c, seq:  4]
[Sending Ack of type 0c, seq: 1]
Message received: 0x0c / 0x0077
01 08 00 41 2e 2c 3f 21 2d 2b 31 00 61 62 63 32 |    A.,?!-+1 abc2
e6 e5 e4 e0 bb bc be 00 64 65 66 33 e9 e8 c1 c0 |         def3
00 67 68 69 34 c3 c8 ec c2 90 b8 00 6a 6b 6c 35 |  ghi4       jkl5
00 6d 6e 6f 36 f8 f6 cb f1 f2 ca 00 70 71 72 73 |  mno6       pqrs
37 df 24 00 74 75 76 38 fc f9 cf cd 00 77 78 79 | 7 $ tuv8     wxy
7a 39 00 20 30 00 00 00 2e 2c 3f 21 3a 3b 2d 2b | z9  0   .,?!:;-+
23 2a 28 29 27 22 5f 40 26 24 a3 25 2f 3c 3e bf | #*()'"_@&$ %/<>
a1 a7 3d a4 d3 a5 00                            |   =
Received message type 0c
fbusinit: error 0
Segmentation fault (core dumped)
serv013cph#





reply via email to

[Prev in Thread] Current Thread [Next in Thread]