buggnokii - Bugs: bug #23215, Duplicate sms: double free or...

 
 

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

bug #23215: Duplicate sms: double free or corruption crash

Submitted by:  michal vrabel <meesha>
Submitted on:  Fri 09 May 2008 01:17:54 PM UTC  
 
Category: smsdSeverity: 3 - Normal
Item Group: crashStatus: Works For Me
Privacy: PublicAssigned to: None
Open/Closed: Closed

Wed 27 Aug 2008 06:45:20 PM UTC, comment #4:

Hi -

I appear to get the same problem as Michal, in a different configuration. When processing larger numbers of incoming messages, smsd quits after a few dozen messages with the following error message:

      • glibc detected *** /usr/sbin/smsd: double free or corruption (!prev): 0x000cc478 ***

Here's my configuration:

Modem: Huawei E220

Machine: Linux <hostname> 2.6.25-2-ixp4xx #2 Thu Jul 17 15:33:24 BST 2008 armv5tel GNU/Linux

GNOKII Version 0.6.26

smsd - version 1.4.2 from gnokii 0.6.26

I will upload my relevant configuration files.

Thanks for looking into this.

Regards, Wilfried

(file #16369, file #16370, file #16371, file #16372)

Wilfried <wklauser>
Sun 08 Jun 2008 02:26:35 PM UTC, comment #3:

Closing due to lack of the response. Please reopen when needed.

Pawel Kot <pkot>
Project Administrator
Fri 23 May 2008 09:10:41 PM UTC, comment #2:

Please also make sure you have the valid database schema.
Add also information on what phone is this.

Pawel Kot <pkot>
Project Administrator
Fri 23 May 2008 09:32:58 AM UTC, comment #1:

Please submit debug log as well with both debug and xdebug flags set to "on".

Pawel Kot <pkot>
Project Administrator
Fri 09 May 2008 01:17:54 PM UTC, original submission:

When the "duplicate" line appears in the log, smsd crashes with the folowing information. You can find our standard configuration at the end of this message. We use smsd version 0.6.24dfs from debian/lenny package with mysql module.

~$ smsd --version
smsd - version 1.4.1 from gnokii 0.6.24
Copyright Jan Derfinak <ja@mail.upjs.sk>

Thank you for your time.
Michal

LOG GNOKII:
9 May 2008 10:00:45: Duplicated sms from <phone_number>.

      • glibc detected *** smsd: double free or corruption (!prev): 0x080ed5b0 ***

======= Backtrace: =========
/lib/libc.so.6[0xf7d3f007]
/lib/libc.so.6(cfree+0x89)[0xf7d40ca9]
gpscom-gsmsd[0x804b461]
gpscom-gsmsd[0x804aef8]
/lib/libpthread.so.0[0xf7e5cfd3]
/lib/libc.so.6(clone+0x5e)[0xf7d9ba8e]
======= Memory map: ========
08048000-0804d000 r-xp 00000000 09:00 784877 /usr/sbin/smsd
0804d000-0804e000 rw-p 00004000 09:00 784877 /usr/sbin/smsd
0804e000-0815e000 rw-p 0804e000 00:00 0 [heap]
f6600000-f6637000 rw-p f6600000 00:00 0
f6637000-f6700000 ---p f6637000 00:00 0
f6703000-f670f000 r-xp 00000000 09:00 19419 /lib/libgcc_s.so.1
f670f000-f6710000 rw-p 0000b000 09:00 19419 /lib/libgcc_s.so.1
f6718000-f6719000 ---p f6718000 00:00 0
f6719000-f6f18000 rw-p f6719000 00:00 0
f6f18000-f6f19000 ---p f6f18000 00:00 0
f6f19000-f7718000 rw-p f6f19000 00:00 0
f7718000-f7726000 r-xp 00000000 09:00 123902 /lib/libresolv-2.7.so
f7726000-f7728000 rw-p 0000d000 09:00 123902 /lib/libresolv-2.7.so
f7728000-f772a000 rw-p f7728000 00:00 0
f772a000-f772e000 r-xp 00000000 09:00 123895 /lib/libnss_dns-2.7.so
f772e000-f7730000 rw-p 00003000 09:00 123895 /lib/libnss_dns-2.7.so
f7730000-f7859000 r-xp 00000000 09:00 733 /usr/lib/libdb-4.6.so
f7859000-f785c000 rw-p 00129000 09:00 733 /usr/lib/libdb-4.6.so
f785c000-f7865000 r-xp 00000000 09:00 123896 /lib/libnss_files-2.7.so
f7865000-f7867000 rw-p 00008000 09:00 123896 /lib/libnss_files-2.7.so
f7867000-f786b000 r-xp 00000000 09:00 21170 /usr/lib/libnss_db-2.2.3.so
f786b000-f786c000 rw-p 00004000 09:00 21170 /usr/lib/libnss_db-2.2.3.so
f786c000-f7880000 r-xp 00000000 09:00 257304 /usr/lib/libz.so.1.2.3.3
f7880000-f7881000 rw-p 00013000 09:00 257304 /usr/lib/libz.so.1.2.3.3
f7881000-f78a4000 r-xp 00000000 09:00 123891 /lib/libm-2.7.so
f78a4000-f78a6000 rw-p 00022000 09:00 123891 /lib/libm-2.7.so
f78a6000-f78b9000 r-xp 00000000 09:00 123893 /lib/libnsl-2.7.so
f78b9000-f78bb000 rw-p 00012000 09:00 123893 /lib/libnsl-2.7.so
f78bb000-f78bd000 rw-p f78bb000 00:00 0
f78bd000-f78c6000 r-xp 00000000 09:00 123889 /lib/libcrypt-2.7.so
f78c6000-f78c8000 rw-p 00008000 09:00 123889 /lib/libcrypt-2.7.so
f78c8000-f78ef000 rw-p f78c8000 00:00 0
f78ef000-f7a90000 r-xp 00000000 09:00 21182 /usr/lib/libmysqlclient.so.15.0.0
f7a90000-f7ad4000 rw-p 001a0000 09:00 21182 /usr/lib/libmysqlclient.so.15.0.0
f7ad4000-f7ad5000 rw-p f7ad4000 00:00 0
f7ad6000-f7add000 r--s 00000000 09:00 18152 /usr/lib/gconv/gconv-modules.cache
f7add000-f7b6e000 r--p 00000000 09:00 11101 /usr/lib/locale/locale-archive
f7b6e000-f7b6f000 rw-p f7b6e000 00:00 0
f7b6f000-f7b73000 r-xp 00000000 09:00 16993 /usr/lib/libXdmcp.so.6.0.0
f7b73000-f7b74000 rw-p 00003000 09:00 16993 /usr/lib/libXdmcp.so.6.0.0
f7b74000-f7b76000 r-xp 00000000 09:00 16514 /usr/lib/libXau.so.6.0.0
f7b76000-f7b77000 rw-p 00001000 09:00 16514 /usr/lib/libXau.so.6.0.0
f7b77000-f7b78000 rw-p f7b77000 00:00 0
f7b78000-f7b80000 r-xp 00000000 09:00 788518 /usr/lib/libpcsclite.so.1.0.0
f7b80000-f7b81000 rw-p 00008000 09:00 788518 /usr/lib/libpcsclite.so.1.0.0
f7b81000-f7c69000 r-xp 00000000 09:00 10564 /usr/lib/libX11.so.6.2.0
f7c69000-f7c6d000 rw-p 000e8000 09:00 10564 /usr/lib/libX11.so.6.2.0
f7c6d000-f7c7c000 r-xp 00000000 09:00 19458 /usr/lib/libXpm.so.4.11.0
f7c7c000-f7c7d000 rw-p 0000e000 09:00 19458 /usr/lib/libXpm.so.4.11.0
f7c7d000-f7c8e000 r-xp 00000000 09:00 788176 /usr/lib/libbluetooth.so.2.9.6
f7c8e000-f7c8f000 rw-p 00011000 09:00 788176 /usr/lib/libbluetooth.so.2.9.6
f7c8f000-f7c95000 r-xp 00000000 09:00 11302 /lib/libusb-0.1.so.4.4.4
f7c95000-f7c97000 rw-p 00005000 09:00 11302 /lib/libusb-0.1.so.4.4.4
f7c97000-f7cbd000 r-xp 00000000 09:00 20992 /usr/lib/libpcre.so.3.12.1
f7cbd000-f7cbe000 rw-p 00025000 09:00 20992 /usr/lib/libpcre.so.3.12.1
f7cbe000-f7cbf000 rw-p f7cbe000 00:00 0
f7cbf000-f7cd6000 r-xp 00000000 09:00 3284 /lib/libselinux.so.1
f7cd6000-f7cd8000 rw-p 00016000 09:00 3284 /lib/libselinux.so.1
f7cd8000-f7e07000 r-xp 00000000 09:00 123887 /lib/libc-2.7.so
f7e07000-f7e08000 r--p 0012f000 09:00 123887 /lib/libc-2.7.so
f7e08000-f7e0a000 rw-p 00130000 09:00 123887 /lib/libc-2.7.so
f7e0a000-f7e0d000 rw-p f7e0a000 00:00 0
f7e0d000-f7e4e000 r-xp 00000000 09:00 788201 /usr/lib/libical.so.0.30.0
f7e4e000-f7e57000 rw-p 00041000 09:00 788201 /usr/lib/libical.so.0.30.0
f7e57000-f7e58000 rw-p f7e57000 00:00 0
f7e58000-f7e6b000 r-xp 00000000 09:00 123901 /lib/libpthread-2.7.so
f7e6b000-f7e6d000 rw-p 00012000 09:00 123901 /lib/libpthread-2.7.so
f7e6d000-f7e6f000 rw-p f7e6d000 00:00 0
f7e6f000-f7ee4000 r-xp 00000000 09:00 788530 /usr/lib/libgnokii.so.3.8.0
f7ee4000-f7ee9000 rw-p 00075000 09:00 788530 /usr/lib/libgnokii.so.3.8.0
f7ee9000-f7ef2000 rw-p f7ee9000 00:00 0
f7ef2000-f7f9f000 r-xp 00000000 09:00 2381 /usr/lib/libglib-2.0.so.0.1600.1
f7f9f000-f7fa0000 rw-p 000ad000 09:00 2381 /usr/lib/libglib-2.0.so.0.1600.1
f7fa0000-f7fa1000 rw-p f7fa0000 00:00 0
f7fa1000-f7fa3000 r-xp 00000000 09:00 123890 /lib/libdl-2.7.so
f7fa3000-f7fa5000 rw-p 00001000 09:00 123890 /lib/libdl-2.7.so
f7fa5000-f7fa8000 r-xp 00000000 09:00 2863 /usr/lib/libgmodule-2.0.so.0.1600.1
f7fa8000-f7fa9000 rw-p 00002000 09:00 2863 /usr/lib/libgmodule-2.0.so.0.1600.1
f7fa9000-f7faa000 r-xp 00000000 09:00 124089 /usr/lib/gconv/ISO8859-1.so
f7faa000-f7fac000 rw-p 00000000 09:00 124089 /usr/lib/gconv/ISO8859-1.so
f7fac000-f7fad000 r--p 00000000 09:00 13360 /usr/share/locale/en_GB/LC_MESSAGES/libc.mo
f7fad000-f7fb0000 r-xp 00000000 09:00 788438 /usr/lib/smsd/libsmsd_mysql.so
f7fb0000-f7fb1000 rw-p 00002000 09:00 788438 /usr/lib/smsd/libsmsd_mysql.so
f7fb1000-f7fb3000 rw-p f7fb1000 00:00 0
f7fb3000-f7fcd000 r-xp 00000000 09:00 123884 /lib/ld-2.7.so
f7fcd000-f7fcf000 rw-p 00019000 09:00 123884 /lib/ld-2.7.so
ffc1c000-ffc31000 rw-p 7ffffffea000 00:00 0 [stack]
ffffe000-fffff000 r-xp ffffe000 00:00 0 [vdso]

configuration:
********************************
[global]
port = /dev/ttyS1
model = AT
initlength = default
connection = serial
bindir = /usr/local/sbin/
use_locking = yes
serial_baudrate = 19200
smsc_timeout = 10

michal vrabel <meesha>

 

Attached Files
file #16370:  smsd.err.log added by wklauser (86KiB - application/octet-stream)
file #16371:  .gnokiirc added by wklauser (8KiB - application/octet-stream)
file #16372:  sms.tables.mysql.sql added by wklauser (2KiB - application/octet-stream)
file #16369:  smsdaemon.log added by wklauser (3KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by wklauser (Updated the item)
  • -unavailable- added by pkot (Posted a comment)
  • -unavailable- added by meesha (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 27 Aug 2008 06:45:20 PM UTCwklauserAttached File-=>Added smsd.err.log, #16370
      Attached File-=>Added .gnokiirc, #16371
      Attached File-=>Added sms.tables.mysql.sql, #16372
    Wed 27 Aug 2008 06:45:19 PM UTCwklauserAttached File-=>Added smsdaemon.log, #16369
    Sun 08 Jun 2008 02:26:35 PM UTCpkotOpen/ClosedOpen=>Closed
    Fri 23 May 2008 09:10:41 PM UTCpkotStatusNone=>Works For Me

    Back to the top


    Powered by Savane 3.1-cleanup1