Package: gammu
Version: 1.05.00-4
Severity: normal
When I run
$ gammu --smsd FILES smsd.rc
Log filename is "log/smsd.log"
*** glibc detected *** free(): invalid pointer: 0xb7d2aff4 ***
Aborted
the smsd.rc is:
[gammu]
port = /dev/ttyS0
model = 6150
connection = fbus
synchronizetime = yes
logfile = log/gammu.log
logformat = textall
use_locking = yes
gammuloc = gammu.us
startinfo = yes
[smsd]
PIN = 2225
logfile = log/smsd.log
commtimeout = 1
sendtimeout = 10
inboxpath = spool/sms/in/
outboxpath = spool/sms/out/
sentsmspath = spool/sms/sent/
errorsmspath = spool/sms/error/
#inboxformat = unicode
#transmitformat = auto
#receivefrequency = 0
deliveryreport = log
The strace information:
...
write(2, "Log filename is \"log/smsd.log\"\n", 31Log filename is
"log/smsd.log"
) = 31
time(NULL) = 1144314597
open("/etc/localtime", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
fstat64(5, {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7f48000
read(5, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\f\0\0\0\f\0"...,
4096) = 815
close(5) = 0
munmap(0xb7f48000, 4096) = 0
write(4, "Thu 2006/04/06 13:09:57 : Start "..., 43) = 43
munmap(0xcec7e08d, 3908062329) = -1 EINVAL (Invalid argument)
open("/dev/tty", O_RDWR|O_NONBLOCK|O_NOCTTY) = 5
writev(5, [{"*** glibc detected *** ", 23}, {"free(): invalid pointer",
23}, {": 0x", 4}, {"b7ca1ff4", 8}, {" ***\n", 5}], 5*** glibc detected
*** free(): invalid pointer: 0xb7ca1ff4 ***
) = 63
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(22451, 22451, SIGABRT) = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++
It's bug only SMSD mode, for example I run gammu for identify phone, and
all is OK, see below:
$ cat /home/andrey/.gammurc
[gammu]
port = /dev/ttyS0
model = 6150
connection = fbus
synchronizetime = yes
logfile = log/gammu.log
logformat = textall
use_locking = yes
#gammuloc = gammu.us
startinfo = yes
$ gammu --identify
Manufacturer : Nokia
Model : 6150 (NSM-1)
Firmware : 5.22 A (10-11-99)
Hardware : 2360
IMEI : 449208102567417
Original IMEI : 449208102567417
Manufactured : 0500
Product code : 0501888
Simlock 1 : MCC+MNC 00101, opened, factory, counter 0
Simlock 2 : GID1 0000, opened, factory, counter 0
Simlock 3 : GID2 0000, opened, factory, counter 0
Simlock 4 : MSIN 0000000001, opened, factory, counter 0
MSID : 8257c97afa72ee6946d3ffddd7
MCU checksum : E453
DSP ROM : 4
$ _
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-686-smp
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)
Versions of packages gammu depends on:
ii libbluetooth1 2.25-1 Library to use the BlueZ Linux Blu
ii libc6 2.3.6-5 GNU C Library: Shared libraries an
ii libgammu0 1.05.00-4 Mobile phone management library
ii libmysqlclient15off 5.0.19-3 mysql database client library
ii zlib1g 1:1.2.3-11 compression library - runtime
gammu recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]