buggnokii - Bugs: bug #23842, 6210 crash (double free or...

 
 

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

bug #23842: 6210 crash (double free or corruption)

Submitted by:  Julius <thespy>
Submitted on:  Sun 13 Jul 2008 10:54:19 PM UTC  
Votes:  10  
 
Category: smsdSeverity: 3 - Normal
Item Group: crashStatus: Ready For Test
Privacy: PublicAssigned to: Jan Derfinak <ja>
Open/Closed: Closed

Mon 17 Nov 2008 07:30:47 PM UTC, comment #2:

Today I commited a fix for double free error to CVS. Thanks to Paul Praet.

Jan Derfinak <ja>
Project MemberIn charge of this item.
Sun 27 Jul 2008 04:38:06 PM UTC, comment #1:

Can you provide backtrace from gdb?

Pawel Kot <pkot>
Project Administrator
Sun 13 Jul 2008 10:54:19 PM UTC, original submission:

after sometime of working...

[Sending Ack of type 14, seq: 0]
Message received: 0x14 / 0x0047
01 25 00 7b 04 08 00 49 00 6e 00 62 00 6f 00 78 | % { I n b o x

    1. 00 10 00 4f 00 75 00 74 00 62 00 6f 00 78 00 | O u t b o x
    2. 18 00 41 00 72 00 63 00 68 00 69 00 76 00 65 | A r c h i v e
    3. 00 20 00 54 00 65 00 6d 00 70 00 6c 00 61 00 | T e m p l a

74 00 65 00 73 00 00 | t e s
Received message type 14
Message: 4 SMS Folders received:
Folder Index: 14 Folder name: Inbox
Folder Index: 15 Folder name: Outbox
Folder Index: 16 Folder name: Archive
Folder Index: 17 Folder name: Templates
Getting SMS Folder (8) status ...
Special case INBOX in GetSMSFolderStatus!
Message sent: 0x14 / 0x0007

    1. 01 00 6b 08 0f 01 | k

Everything OK
Inserting Event: 1
[Received Ack of type 14, seq: 3]
[Sending Ack of type 14, seq: 1]
Message received: 0x14 / 0x0006
01 25 00 6c 00 00 | % l
Received message type 14
Message: SMS Folder status received
Message: Number of Entries: 0
Message: IDs of Entries :
Message sent: 0x14 / 0x0007

    1. 01 00 6b f8 0f 01 | kø

[Received Ack of type 14, seq: 4]
[Sending Ack of type 14, seq: 2]
Message received: 0x14 / 0x000a
01 25 00 6c 00 02 00 02 00 01 | % l
Received message type 14
Message: SMS Folder status received
Message: Number of Entries: 2
Message: IDs of Entries : 2, 1,
Message sent: 0x14 / 0x0008

    1. 01 00 0a 08 00 02 01 |

[Received Ack of type 14, seq: 5]
[Sending Ack of type 14, seq: 3]
Message received: 0x14 / 0x0004
01 25 00 0b | %
Received message type 14
SMS deleted
Error: No error.
Processing Event: 1
Deleting SMS 2
Removing SMS 2
Getting SMS Folders...
Message sent: 0x14 / 0x0006

    1. 01 00 7a 00 00 | z

[Received Ack of type 14, seq: 6]
[Sending Ack of type 14, seq: 4]
Message received: 0x14 / 0x0047
01 25 00 7b 04 08 00 49 00 6e 00 62 00 6f 00 78 | % { I n b o x

    1. 00 10 00 4f 00 75 00 74 00 62 00 6f 00 78 00 | O u t b o x
    2. 18 00 41 00 72 00 63 00 68 00 69 00 76 00 65 | A r c h i v e
    3. 00 20 00 54 00 65 00 6d 00 70 00 6c 00 61 00 | T e m p l a

74 00 65 00 73 00 00 | t e s
Received message type 14
Message: 4 SMS Folders received:
Folder Index: 14 Folder name: Inbox
Folder Index: 15 Folder name: Outbox
Folder Index: 16 Folder name: Archive
Folder Index: 17 Folder name: Templates
Getting SMS Folder (8) status ...
Special case INBOX in GetSMSFolderStatus!
Message sent: 0x14 / 0x0007

    1. 01 00 6b 08 0f 01 | k

[Received Ack of type 14, seq: 7]
[Sending Ack of type 14, seq: 5]
Message received: 0x14 / 0x0006
01 25 00 6c 00 00 | % l
Received message type 14
Message: SMS Folder status received
Message: Number of Entries: 0
Message: IDs of Entries :
Message sent: 0x14 / 0x0007

    1. 01 00 6b f8 0f 01 | kø

[Received Ack of type 14, seq: 0]
[Sending Ack of type 14, seq: 6]
Message received: 0x14 / 0x0008
01 25 00 6c 00 01 00 01 | % l
Received message type 14
Message: SMS Folder status received
Message: Number of Entries: 1
Message: IDs of Entries : 1,
Message sent: 0x14 / 0x0008

    1. 01 00 0a 08 00 00 01 |

[Received Ack of type 14, seq: 1]
[Sending Ack of type 14, seq: 7]
Message received: 0x14 / 0x0004
01 25 00 0b | %
Received message type 14
SMS deleted
Error: No error.
Processing Event: 1
Deleting SMS 0
Removing SMS 0
Error: Invalid type of memory.

      • glibc detected *** /usr/local/bin/smsd: double free or corruption (!prev): 0 x080be270 ***

======= Backtrace: =========
/lib/libc.so.6[0xb7d458c4]
/lib/libc.so.6(cfree+0x90)[0xb7d49370]
/usr/local/bin/smsd[0x804b0db]
/usr/local/bin/smsd[0x804ac11]
/lib/libpthread.so.0[0xb7e2b383]
/lib/libc.so.6(clone+0x5e)[0xb7db005e]
======= Memory map: ========
08048000-0804c000 r-xp 00000000 16:01 1384452 /usr/local/bin/smsd
0804c000-0804d000 rw-p 00004000 16:01 1384452 /usr/local/bin/smsd
0804d000-0813a000 rw-p 0804d000 00:00 0 [heap]
b6800000-b6821000 rw-p b6800000 00:00 0
b6821000-b6900000 ---p b6821000 00:00 0
b691b000-b6925000 r-xp 00000000 16:01 524321 /usr/lib/libgcc_s.so.1
b6925000-b6926000 rw-p 00009000 16:01 524321 /usr/lib/libgcc_s.so.1
b6926000-b6927000 ---p b6926000 00:00 0
b6927000-b7126000 rwxp b6927000 00:00 0
b7126000-b7127000 ---p b7126000 00:00 0
b7127000-b7926000 rwxp b7127000 00:00 0
b7926000-b792f000 r-xp 00000000 16:01 2269263 /lib/libnss_files-2.7.so
b792f000-b7931000 rw-p 00008000 16:01 2269263 /lib/libnss_files-2.7.so
b7931000-b7a58000 r-xp 00000000 16:01 526070 /usr/lib/libcrypto.so.0.9.8
b7a58000-b7a6d000 rw-p 00126000 16:01 526070 /usr/lib/libcrypto.so.0.9.8
b7a6d000-b7a70000 rw-p b7a6d000 00:00 0
b7a70000-b7aac000 r-xp 00000000 16:01 526069 /usr/lib/libssl.so.0.9.8
b7aac000-b7ab0000 rw-p 0003b000 16:01 526069 /usr/lib/libssl.so.0.9.8
b7ab0000-b7ad4000 r-xp 00000000 16:01 2269258 /lib/libm-2.7.so
b7ad4000-b7ad6000 rw-p 00023000 16:01 2269258 /lib/libm-2.7.so
b7ad6000-b7aea000 r-xp 00000000 16:01 2269260 /lib/libnsl-2.7.so
b7aea000-b7aec000 rw-p 00013000 16:01 2269260 /lib/libnsl-2.7.so
b7aec000-b7aee000 rw-p b7aec000 00:00 0
b7aee000-b7af7000 r-xp 00000000 16:01 2269256 /lib/libcrypt-2.7.so
b7af7000-b7af9000 rw-p 00008000 16:01 2269256 /lib/libcrypt-2.7.so
b7af9000-b7b20000 rw-p b7af9000 00:00 0
b7b20000-b7b33000 r-xp 00000000 16:01 524304 /usr/lib/libz.so.1.2.3
b7b33000-b7b34000 rw-p 00012000 16:01 524304 /usr/lib/libz.so.1.2.3
b7b41000-b7c54000 r-xp 00000000 16:01 583537 /usr/lib/mysql/libmysqlclient.s o.15.0.0
b7c54000-b7c83000 rw-p 00113000 16:01 583537 /usr/lib/mysql/libmysqlclient.s o.15.0.0
b7c83000-b7c84000 rw-p b7c83000 00:00 0
b7c84000-b7c87000 r-xp 00000000 16:01 763121 /usr/local/lib/smsd/libsmsd_mys ql.so
b7c87000-b7c88000 rw-p 00002000 16:01 763121 /usr/local/lib/smsd/libsmsd_mys ql.so
b7c88000-b7cbe000 r--p 00000000 16:01 722300 /usr/lib/locale/en_US/LC_CTYPE
b7cbe000-b7cbf000 rw-p b7cbe000 00:00 0
b7cbf000-b7cd0000 r-xp 00000000 16:01 527345 /usr/lib/libbluetooth.so.2.9.4
b7cd0000-b7cd1000 rw-p 00011000 16:01 527345 /usr/lib/libbluetooth.so.2.9.4
b7cd1000-b7cd7000 r-xp 00000000 16:01 524310 /usr/lib/libusb-0.1.so.4.4.4
b7cd7000-b7cd9000 rw-p 00005000 16:01 524310 /usr/lib/libusb-0.1.so.4.4.4
b7cd9000-b7cda000 rw-p b7cd9000 00:00 0
b7cda000-b7e20000 r-xp 00000000 16:01 2269254 /lib/libc-2.7.so
b7e20000-b7e21000 r--p 00146000 16:01 2269254 /lib/libc-2.7.so
b7e21000-b7e23000 rw-p 00147000 16:01 2269254 /lib/libc-2.7.so
b7e23000-b7e26000 rw-p b7e23000 00:00 0
b7e26000-b7e39000 r-xp 00000000 16:01 2269268 /lib/libpthread-2.7.so
b7e39000-b7e3b000 rw-p 00013000 16:01 2269268 /lib/libpthread-2.7.so
b7e3b000-b7e3d000 rw-p b7e3b000 00:00 0
b7e3d000-b7ead000 r-xp 00000000 16:01 508363 /usr/local/lib/libgnokii.so.3.9 .0
b7ead000-b7eb2000 rw-p 0006f000 16:01 508363 /usr/local/lib/libgnokii.so.3.9 .0
b7eb2000-b7ebb000 rw-p b7eb2000 00:00 0
b7ebb000-b7f76000 r-xp 00000000 16:01 524335 /usr/lib/libglib-2.0.so.0.1400. 6
b7f76000-b7f77000 rw-p 000bb000 16:01 524335 /usr/lib/libglib-2.0.so.0.1400. 6
b7f77000-b7f79000 r-xp 00000000 16:01 2269257 /lib/libdl-2.7.so
sms@TT:~/smsd$

Julius <thespy>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by agron12 (Voted in favor of this item)
  • -unavailable- added by ja (Posted a comment)
  • -unavailable- added by pkot (Posted a comment)
  • -unavailable- added by thespy (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 10 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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 08 Apr 2010 09:01:01 PM UTCpkotOpen/ClosedOpen=>Closed
    Wed 21 Oct 2009 03:08:43 PM UTCagron12Carbon-Copy-=>Added agron12
    Mon 17 Nov 2008 07:30:47 PM UTCjaStatusNone=>Ready For Test
      Assigned toNone=>ja

    Back to the top


    Powered by Savane 3.1-cleanup1