gnokii-users
[Top][All Lists]
Advanced

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

--getsms with N6310i core dumps


From: Vitezslav Samel
Subject: --getsms with N6310i core dumps
Date: Fri, 7 Feb 2003 16:21:18 +0100
User-agent: Mutt/1.4i

        Hi!

  I'm trying to get SMS from my phone using gnokii (current CVS), but it
(sometimes) segfaults in NK6510_GetSMSFolderStatus() see below the debug
output and gdb session on the core dump. What should I do to get SMS from
my phone?

        Cheers,
                Vita


pc11:/tmp/gnokii-CVS/gnokii> ./gnokii --getsms IN 0
GNOKII Version 0.5.0pre6
Opened configuration file /home/samel/.gnokiirc
Added new section global
Adding key/value port//dev/ttyS1
Adding key/value model/6310i
Adding key/value initlength/default
Adding key/value connection/dlr3p
Adding key/value bindir//usr/local/sbin/
Adding key/value serial_baudrate/19200
Added new section sms
Adding key/value timeout/10
phone instance config:
model: 6310i
port_device: /dev/ttyS1
connection_type: 2
init_length: 0
serial_baudrate: 19200
serial_write_usleep: -1
hardware_handshake: 0
require_dcd: 0
smsc_timeout: 100
connect_script: 
disconnect_script: 
Connecting
Serial device: opening device /dev/ttyS1
Serial device: setting RTS to low and DTR to low
Serial device: setting RTS to high and DTR to high
Serial device: setting speed to 19200
Serial device: setting speed to 115200
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01 00                               |                 
[Received Ack of type 1b, seq: 80]
[Sending Ack of type 1b, seq: 1]
Message received: 0x1b / 0x0032
01 2f 00 08 00 01 58 2d 00 26 56 20 35 2e 32 32 |  /    X- &V 5.22
20 20 20 20 20 0a 31 35 2d 31 31 2d 30 32 0a 4e |       15-11-02 N
50 4c 2d 31 0a 28 63 29 20 4e 4d 50 2e 0a 4c 00 | PL-1 (c) NMP. L 
00 00                                           |                 
Received message type 1b
model length: 5
Received model NPL-1
Getting SMS...
Getting SMS Folders...
Message sent: 0x14 / 0x0006
00 01 00 12 00 00                               |                 
[Received Ack of type 14, seq:  1]
[Sending Ack of type 14, seq: 2]
SM_Block Retry - 0
Message sent: 0x14 / 0x0006
00 01 00 12 00 00                               |                 
[Sending Ack of type 14, seq: 3]
Message received: 0x14 / 0x00a6
01 44 00 13 00 04 01 28 02 07 00 50 01 59 00 69 |  D     (   P Y i
00 6a 00 61 00 74 00 e9 00 00 31 41 af fe d1 ce |  j a t é  1AŻţŃÎ
de ad 00 00 00 25 01 00 00 00 00 08 cf 6c 01 28 | Ţ­   %      Ďl (
03 09 00 4f 00 64 00 65 00 73 00 ed 00 6c 00 61 |    O d e s í l a
00 6e 00 e9 00 00 00 00 02 05 31 41 af fe d1 ce |  n é      1AŻţŃÎ
de ad 00 00 00 25 01 28 04 06 00 41 00 72 00 63 | Ţ­   % (   A r c
00 68 00 ed 00 76 00 00 00 00 00 00 00 00 00 00 |  h í v          
00 00 00 00 00 00 00 00 02 01 31 41 af fe 01 28 |           1AŻţ (
05 07 01 60 00 61 00 62 00 6c 00 6f 00 6e 00 79 |    ` a b l o n y
00 00 00 66 00 00 00 00 00 00 00 00 00 00 00 00 |    f            
00 00 00 00 00 00                               |                 
Received message type 14
Message: 4 SMS Folders received:
Folder(2) name: Přijaté
Folder(3) name: Odesílané
Folder(4) name: Archív
Folder(5) name: Šablony
Getting SMS Folder (2) status (2)...
Special case IN/OUTBOX in GetSMSFolderStatus!
Message sent: 0x14 / 0x000a
00 01 00 0c 02 02 0f 55 55 55                   |        UUU      
[Received Ack of type 14, seq:  2]
[Sending Ack of type 14, seq: 4]
[Received Ack of type 14, seq:  3]
[Sending Ack of type 14, seq: 5]
Message received: 0x14 / 0x00a6
01 44 00 13 00 04 01 28 02 07 00 50 01 59 00 69 |  D     (   P Y i
00 6a 00 61 00 74 00 e9 00 00 01 ce de ad 00 09 |  j a t é   ÎŢ­  
46 cc 1e 0c 00 14 00 7a 00 00 00 00 00 00 01 28 | FĚ     z       (
03 09 00 4f 00 64 00 65 00 73 00 ed 00 6c 00 61 |    O d e s í l a
00 6e 00 e9 00 00 00 08 d1 bc 00 05 d6 b0 00 00 |  n é    Ńź  Ö°  
00 00 00 00 00 00 01 28 04 06 00 41 00 72 00 63 |        (   A r c
00 68 00 ed 00 76 00 00 00 00 00 00 00 00 00 00 |  h í v          
00 00 00 00 00 00 00 00 01 01 31 41 af fe 01 28 |           1AŻţ (
05 07 01 60 00 61 00 62 00 6c 00 6f 00 6e 00 79 |    ` a b l o n y
00 00 00 08 d7 40 00 0d 00 00 00 02 00 03 00 02 |     ×@          
06 03 31 41 af fe                               |   1AŻţ          
Received message type 14
Message: 4 SMS Folders received:
Folder(2) name: Přijaté
Folder(3) name: Odesílané
Folder(4) name: Archív
Folder(5) name: Šablony
Message sent: 0x14 / 0x000a
00 01 00 0c 01 02 0f 55 55 55                   |        UUU      
[Sending Ack of type 14, seq: 6]
[Received Ack of type 14, seq:  4]
[Sending Ack of type 14, seq: 7]
SM_Block Retry - 0
Message sent: 0x14 / 0x000a
00 01 00 0c 01 02 0f 55 55 55                   |        UUU      
[Sending Ack of type 14, seq: 0]
[Received Ack of type 14, seq:  5]
[Sending Ack of type 14, seq: 1]
SM_Block Retry - 1
Message sent: 0x14 / 0x000a
00 01 00 0c 01 02 0f 55 55 55                   |        UUU      
[Sending Ack of type 14, seq: 2]
[Received Ack of type 14, seq:  6]
[Sending Ack of type 14, seq: 3]
[Sending Ack of type 14, seq: 4]
Message received: 0x14 / 0x0334
01 44 00 0d 00 dc 00 00 cf 6c 31 41 af fe d1 ce |  D   Ü  Ďl1AŻţŃÎ
de ad 00 00 00 cb 1d 00 00 00 00 08 cf 6c 01 01 | Ţ­   Ë      Ďl  
00 00 01 00 06 01 01 01 01 00 00 00 00 00 00 00 |                 
00 00 00 00 00 00 00 00 00 00 00 00 00 09 0d 00 |                 
01 00 04 01 25 00 00 00 00 00 00 01 12 ff fb e0 |     %        ˙űŕ
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 
00 44 62 32 f0 20 06 b6 00 00 00 00 00 00 00 00 |  Db2đ  ś        
00 00 00 00 00 00 00 00 00 00 00 00 00 20 00 00 |                 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 
00 00 00 00 00 00 00 00 00 01 01 01 00 00 00 00 |                 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |                 
00 00 00 00 00 24 00 25 00 26 00 27 00 28 00 2d |      $ % & ' ( -
00 31 00 3d 00 3e 00 3f 00 40 00 41 00 42 00 43 |  1 = > ? @ A B C
00 44 00 45 00 46 00 51 00 60 ff ff ff ff ff ff |  D E F Q `˙˙˙˙˙˙
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff | ˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff | ˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff | ˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff | ˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff | ˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙
ff ff ff ff 01 30 c0 2d 00 00 00 00 00 01 05 00 | ˙˙˙˙ 0Ŕ-        
00 00 00 00 00 00 01 00 00 00 00 00 00 00 01 01 |                 
00 06 04 00                                     |                 
Received message type 14
Message: SMS Folder status received
Message: Number of Entries: 0
Message: IDs of Entries : 
Neoprávněný přístup do paměti (SIGSEGV) (core dumped)
pc11:/tmp/gnokii-CVS/gnokii> gdb gnokii core.9502 
GNU gdb 5.2.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
Core was generated by `./gnokii --getsms IN 0'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/gconv/ISO8859-2.so...done.
Loaded symbols for /usr/lib/gconv/ISO8859-2.so
#0  0x08075667 in NK6510_GetSMSFolderStatus (data=0x80ba0e0, state=0x80b9e00)
    at nk6510.c:944
944                             
data->sms_folder->locations[data->sms_folder->number] = phone.locations[i] + 
1024;
(gdb) print data->sms_folder->number
$1 = 134572309
(gdb) print i
$2 = 191
(gdb) q
pc11:/tmp/gnokii-CVS/gnokii> exit




reply via email to

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