buggnokii - Bugs: bug #20767, Segmentation Violation when trying...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #20767: Segmentation Violation when trying to read SMS on a Huawei E220

Submitter:  ElChef <elchef>
Submitted:  Mon 13 Aug 2007 11:09:07 AM UTC
   
 
Category:  libgnokii Severity:  3 - Normal
Item Group:  None Status:  Invalid
Privacy:  Public Assigned to:  pkot
Open/Closed:  Closed

Tue 04 Sep 2007 07:15:47 AM UTC, comment #3: 

Yes, you got the answer!!
Adding the unstable repository to the /etc/apt/sources.list

deb http://ftp.de.debian.org/debian/ unstable main

and:
# apt-get update
# apt-get install libgnokii3

solves the problem!!

Thanks a lot for solve this problem!!

ElChef <elchef>
Thu 23 Aug 2007 02:36:09 PM UTC, comment #2: 

I think this is some kind of misinstallation. Please make sure that you have no old libgnokii versions installed. That should work just fine with 0.6.18. You can also try CVS version.

Pawel Kot <pkot>
Group administrator
Mon 13 Aug 2007 03:46:20 PM UTC, comment #1: 

Added core dump:

(gdb) bt full
#0  0xb7d2f61b in strtouq () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#1  0xb7d2f37f in __strtol_internal () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#2  0xb7e8cd0d in gn_line_get () from /usr/lib/libgnokii.so.3
No symbol table info available.
#3  0xb7e51f50 in gn_sm_functions () from /usr/lib/libgnokii.so.3
No symbol table info available.
#4  0xb7e91eed in gn_line_get () from /usr/lib/libgnokii.so.3
No symbol table info available.
#5  0xb7e5209f in gn_sm_loop () from /usr/lib/libgnokii.so.3
No symbol table info available.
#6  0xb7e5237d in gn_sm_loop () from /usr/lib/libgnokii.so.3
No symbol table info available.
#7  0xb7e52438 in gn_sm_loop () from /usr/lib/libgnokii.so.3
No symbol table info available.
#8  0xb7e8a90c in gn_line_get () from /usr/lib/libgnokii.so.3
No symbol table info available.
#9  0xb7e8bf2a in gn_line_get () from /usr/lib/libgnokii.so.3
No symbol table info available.
#10 0xb7e51d4b in gn_sm_functions () from /usr/lib/libgnokii.so.3
No symbol table info available.
#11 0xb7e61938 in gn_sms_request () from /usr/lib/libgnokii.so.3
No symbol table info available.
#12 0xb7e6384d in gn_sms_get () from /usr/lib/libgnokii.so.3
No symbol table info available.
#13 0x0805811f in ?? ()
No symbol table info available.
#14 0x080787c0 in ?? ()
No symbol table info available.
#15 0x08078430 in ?? ()
No symbol table info available.
#16 0x00004a64 in ?? ()
No symbol table info available.
#17 0xbfeb89c4 in ?? ()
No symbol table info available.
#18 0x00000000 in ?? ()
No symbol table info available.

ElChef <elchef>
Mon 13 Aug 2007 11:09:07 AM UTC, original submission:  

SMSServer:~# gnokii --getsms SM 0
GNOKII Version 0.6.18
LOG: debug mask is 0x1
phone instance config:
model: AT-HW
port_device: /dev/ttyUSB1
connection_type: 0
init_length: 0
serial_baudrate: 19200
serial_write_usleep: -1
hardware_handshake: 0
require_dcd: 0
smsc_timeout: 200
connect_script:
disconnect_script:
rfcomm_cn: 1
sm_retry: off
Initializing AT capable mobile phone ...
Serial device: opening device /dev/ttyUSB1
Serial device: setting RTS to high and DTR to high
Serial device: setting RTS to high and DTR to low
Serial device: setting RTS to high and DTR to high
Message sent: 0x00 / 0x0004
41 54 5a 0d                                     | ATZ
write: [ATZ<cr>]
read : [ATZ<cr><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x000a
02 41 54 5a 0d 0d 0a 4f 4b 0d                   |  ATZ   OK
Received message type 00
Message sent: 0x00 / 0x0005
41 54 45 31 0d                                  | ATE1
write: [ATE1<cr>]
read : [ATE1<cr><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x000b
02 41 54 45 31 0d 0d 0a 4f 4b 0d                |  ATE1   OK
Received message type 00
Message sent: 0x00 / 0x000a
41 54 2b 43 4d 45 45 3d 31 0d                   | AT+CMEE=1
write: [AT+CMEE=1<cr>]
read : [AT+CMEE=1<cr><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x0010
02 41 54 2b 43 4d 45 45 3d 31 0d 0d 0a 4f 4b 0d |  AT+CMEE=1   OK
Received message type 00
Message sent: 0x06 / 0x0008
41 54 2b 43 47 4d 4d 0d                         | AT+CGMM
write: [AT+CGMM<cr>]
read : [AT+CGMM<cr><cr><lf>E220<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0016
02 41 54 2b 43 47 4d 4d 0d 0d 0a 45 32 32 30 0d |  AT+CGMM   E220
0a 0d 0a 4f 4b 0d                               |    OK
Received message type 06
Message sent: 0x06 / 0x0008
41 54 2b 43 47 4d 49 0d                         | AT+CGMI
write: [AT+CGMI<cr>]
read : [AT+CGMI<cr><cr><lf>huawei<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0018
02 41 54 2b 43 47 4d 49 0d 0d 0a 68 75 61 77 65 |  AT+CGMI   huawe
69 0d 0a 0d 0a 4f 4b 0d                         | i    OK
Received message type 06
Message sent: 0x61 / 0x0009
41 54 2b 43 53 43 53 3f 0d                      | AT+CSCS?
write: [AT+CSCS?<cr>]
read : [AT+CSCS?<cr><cr><lf>+CSCS: "IRA"<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x61 / 0x001f
02 41 54 2b 43 53 43 53 3f 0d 0d 0a 2b 43 53 43 |  AT+CSCS?   +CSC
53 3a 20 22 49 52 41 22 0d 0a 0d 0a 4f 4b 0d    | S: "IRA"    OK
Received message type 61
Initialisation completed
Message sent: 0x12 / 0x0009
41 54 2b 43 50 4d 53 3f 0d                      | AT+CPMS?
write: [AT+CPMS?<cr>]
read : [AT+CPMS?<cr><cr><lf>+CPMS:
"SM",0,50,"SM",0,50,"SM",0,50<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x12 / 0x0037
02 41 54 2b 43 50 4d 53 3f 0d 0d 0a 2b 43 50 4d |  AT+CPMS?   +CPM
53 3a 20 22 53 4d 22 2c 30 2c 35 30 2c 22 53 4d | S: "SM",0,50,"SM
22 2c 30 2c 35 30 2c 22 53 4d 22 2c 30 2c 35 30 | ",0,50,"SM",0,50
0d 0a 0d 0a 4f 4b 0d                            |     OK
Received message type 12
Message sent: 0x00 / 0x0017
41 54 2b 43 50 4d 53 3d 22 53 4d 22 2c 22 53 4d | AT+CPMS="SM","SM
22 2c 22 53 4d 22 0d                            | ","SM"
write: [AT+CPMS="SM","SM","SM"<cr>]
read : [AT+CPMS="SM","SM","SM"<cr><cr><lf>+CPMS:
0,50,0,50,0,50<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x0036
02 41 54 2b 43 50 4d 53 3d 22 53 4d 22 2c 22 53 |  AT+CPMS="SM","S
4d 22 2c 22 53 4d 22 0d 0d 0a 2b 43 50 4d 53 3a | M","SM"   +CPMS:
20 30 2c 35 30 2c 30 2c 35 30 2c 30 2c 35 30 0d |  0,50,0,50,0,50
0a 0d 0a 4f 4b 0d                               |    OK
Received message type 00
Message sent: 0x63 / 0x000a
41 54 2b 43 4d 47 46 3d 30 0d                   | AT+CMGF=0
write: [AT+CMGF=0<cr>]
read : [AT+CMGF=0<cr><cr><lf>OK<cr><lf>]
Message received: 0x63 / 0x0010
02 41 54 2b 43 4d 47 46 3d 30 0d 0d 0a 4f 4b 0d |  AT+CMGF=0   OK
Received message type 63
PDU mode set
Message sent: 0x18 / 0x000a
41 54 2b 43 4d 47 52 3d 30 0d                   | AT+CMGR=0
write: [AT+CMGR=0<cr>]
read : [AT+CMGR=0<cr><cr><lf>OK<cr><lf>]
Message received: 0x18 / 0x0010
02 41 54 2b 43 4d 47 52 3d 30 0d 0d 0a 4f 4b 0d |  AT+CMGR=0   OK
Received message type 18
ViolaciĆ³n de segmento
Segmentation violation

My /etc/gnokiirc

# This is a sample ~/.gnokiirc file. Copy it into your
# home directory and name it .gnokiirc.
#

[global]
port = /dev/ttyUSB1
model = AT-HW
initlength = default
connection = serial
use_locking = yes
serial_baudrate = 115200
handshake = hardware
smsc_timeout = 30

[gnokiid]
bindir = /usr/sbin/

[connect_script]

[disconnect_script]

[logging]

# where to log the debug output (on: stderr, off: /dev/null)
debug = on
# where to log the rlp debug output (on: stderr, off: /dev/null)
rlpdebug = off
# where to log X debug output (on: stderr, off: /dev/null)
xdebug = off

What can I do?

ElChef <elchef>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pkot (Posted a comment)
  • -email is unavailable- added by elchef (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-08-23 pkot CategoryNone libgnokii
        StatusNone Invalid
        Assigned toNone pkot
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code