Subject: wammu: Reading an empty sms causes the interface to become unusable. Package: wammu Version: 0.25-2 Severity: important
My Sony Ericsson K810i phone has received an empty sms. The command "gammu geteachsms" identifies a problem with that message, and, having reported it, continues to process the remaining messages. Using wammu, Retrieve->Messages causes wammu to raise an error window containing: Ignoring corrupted While reading, entry on location 100174 seems to be corrupted, ignoring it! Clicking the only available button, "OK", cause wammu to loop, repeating the message and so making the application unusable. >From the debug log below, the empty sms is actually at location 100175, not 100174 as reported in wammu's error window. Wammu's debug log (timestamps and sms body removed): Entering GSM_GetNextSMS Reading next message on location 100174 SMS folder 0 & location 100174 -> ATGEN folder 2 & location 174 Getting SMS SENDING frametype 0x00/length 0x0C/12 41A|54T|2B+|43C|4DM|47G|52R|3D=|311|377|344|0D AT+CMGR=174. 1 "AT+CMGR=174" 2 "+CMGR: 3,,77" 3 "0791...(edited)...C2E301" 4 "OK" RECEIVED frametype 0x00/length 0xCE/206 41A|54T|2B+|43C|4DM|47G|52R|3D=|311|377|344|0D |0D |0A |2B+|43 AT+CMGR=174...+C 4DM|47G|52R|3A:|20 |333|2C,|2C,|377|377|0D |0A |300|377|399|31 MGR: 3,,77..0791 .. (message body deleted from this bug report) 43C|322|45E|333|300|311|0D |0A |0D |0A |4FO|4BK|0D |0A C2E301....OK.. SMS type - submit ATGEN folder 2 & location 174 -> SMS folder 0 & location 100174 Leaving GSM_GetNextSMS Entering GSM_GetNextSMS Reading next message on location 100175 SMS folder 0 & location 100175 -> ATGEN folder 2 & location 175 Getting SMS SENDING frametype 0x00/length 0x0C/12 41A|54T|2B+|43C|4DM|47G|52R|3D=|311|377|355|0D AT+CMGR=175. 1 "AT+CMGR=175" 2 "+CMGR: 1,,19" 3 "0791449785788928040C9144576017748500008010419151820000" 4 "OK" RECEIVED frametype 0x00/length 0x5A/90 41A|54T|2B+|43C|4DM|47G|52R|3D=|311|377|355|0D |0D |0A |2B+|43 AT+CMGR=175...+C 4DM|47G|52R|3A:|20 |311|2C,|2C,|311|399|0D |0A |300|377|399|31 MGR: 1,,19..0791 344|344|399|377|388|355|377|388|388|399|322|388|300|344|300|43 449785788928040C 399|311|344|344|355|377|366|300|311|377|377|344|388|355|300|30 9144576017748500 300|300|388|300|311|300|344|311|399|311|355|311|388|322|300|30 0080104191518200 300|300|0D |0A |0D |0A |4FO|4BK|0D |0A 00....OK.. SMS type - deliver ATGEN folder 2 & location 175 -> SMS folder 0 & location 100175 GSM_GetNextSMS failed with error 60: Corrupted data returned by phone. Leaving GSM_GetNextSMS -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages wammu depends on: ii python 2.4.4-6 An interactive high-level object-o ii python-central 0.5.15-0.1 register and build utility for Pyt ii python-gammu 0.24-1 Python module to communicate with ii python-wxgtk2.6 2.6.3.2.2-1 wxWidgets Cross-platform C++ GUI t Versions of packages wammu recommends: ii notification-daemon 0.3.7-1+b1 a daemon that displays passive pop ii python-bluez [python-bluetoot 0.15-1 Python wrappers around BlueZ for r ii python-dbus 0.82.4-1 simple interprocess messaging syst ii timidity 2.13.2-19 Software sound renderer (MIDI sequ Versions of packages python-gammu depends on: ii libc6 2.7-6 GNU C Library: Shared libraries ii libgammu3 1.17.90-1 Mobile phone management library ii python 2.4.4-6 An interactive high-level object-o ii python-central 0.5.15-0.1 register and build utility for Pyt -- no debconf information Lycos email has 300 Megabytes of free storage... Get it now at mail.lycos.co.uk