Thu 12 Jun 2008 11:05:10 AM UTC, original submission:
1. VERSIONS: gnokii, smsd, libgnokii version used
-- GNOKII Version 0.6.26
-- smsd - version 1.4.2 from gnokii 0.6.26
-- "ldconfig -v | grep libgnokii", reports "libgnokii.so.3 -> libgnokii.so.3.9.0"
2. DESCRIPTION: bug description (expected behaviour, behaviour seen)
-- Gnokii works fine
-- Gnokii-smsd is not working fine. Sometimes when an SMS is received, the program prints error messages and stops.
-- Also it is kind of strange that "connection=dlr3p" is seen on the screen, although connection=dku5 is specified in the configuration file gnokiirc.
-- Also in the database, sometimes empty SMSes are stored, but please do not troubleshoot this separate and minor problem for now.
3. LOG: debug log (for gnokii debug = on, for smsd/xgnokii xdebug = on)
-- The program output is attached: "gnokii_log_2008.06.12.1334.txt". Here are a few lines from the crash log:
--------BEGIN----------------------------
Deleting SMS...
Error: Invalid type of memory.
*** glibc detected *** smsd: double free or corruption (!prev): 0x080923c0 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7d3da85]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb7d414f0]
smsd[0x804b5a6]
smsd[0x804b019]
/lib/tls/i686/cmov/libpthread.so.0[0xb7e264fb]
/lib/tls/i686/cmov/libc.so.6(clone+0x5e)[0xb7da8e5e]
======= Memory map: ========
08048000-0804d000 r-xp 00000000 08:08 229810 /usr/local/bin/smsd
0804d000-0804e000 rw-p 00004000 08:08 229810 /usr/local/bin/smsd
0804e000-080fb000 rw-p 0804e000 00:00 0 [heap]
...
--------END------------------------------
4. HW: hardware details (phone, cable with usb ids)
-- Phone: Nokia 6021, V 04.10 07-09-05, RM-94
-- Cable: CA-42, "lsusb" reports: "Bus 001 Device 003: ID 0ea0:6858 Ours Technology, Inc.". Driver: "oti6858".
-- PC: IBM R60e, Ubuntu 8.04 + all updates (including universe).
5. REPRODUCIBILITY: steps to reproduce the problem
-- Install Ubuntu 8.04 and allow all "Downloadable from the Internet" sources from System->Administration->Software Sources
-- Update your system and reboot. "uname -a" reports kernel: "2.6.24-16-generic".
-- apt-get install gcc g++ automake gettext mysql-server libglib2.0-dev libmysqlclient15-dev
-- download gnokii 0.6.26
-- tar -zxvf gnokii and cd to gnokii
-- ./configure
-- make
-- make install
-- verify the gnokii --version and smsd --version
-- configure gnokii as per the attached configuration file
-- configure smsd as per http://www.x11.net/wiki/index.php/Setting_up_an_SMS_Gateway
-- Execute: smsd -u root -p password -d smsgw -c localhost -m mysql
-- The problem is reproduced only sometimes. The content of the SMS doesn't seem to matter (I send 5 digits only each time).
6. Additional troubleshooting notes:
-- During the tests additionally a DKU-5 cable was tested (lsusb reports 6547:0232, driver is ark3116).
Thank you!
|