fusesmb.cache crashes with double-free or corruption

Bug #673730 reported by rickyrockrat
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
fusesmb (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: fusesmb

fusesmb does not work on Lucid 10.04 (mounts, but no data, and fusesmb.cache not running)
The fusesmb.cache.pid file gets created but that is all.
libc, libsmbclient, and fusesmb are current as of Wed Nov 10 13:48:21 MST 2010

Linux cosmo 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:05:27 UTC 2010 x86_64 GNU/Linux
lsb_release -rd
Description: Ubuntu 10.04.1 LTS
Release: 10.04
apt-cache policy fusesmb
fusesmb:
  Installed: 0.8.7-1.1
  Candidate: 0.8.7-1.1
  Version table:
 *** 0.8.7-1.1 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status

apt-cache policy libsmbclient
libsmbclient:
  Installed: 2:3.4.7~dfsg-1ubuntu3.2
  Candidate: 2:3.4.7~dfsg-1ubuntu3.2
  Version table:
 *** 2:3.4.7~dfsg-1ubuntu3.2 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
        500 http://security.ubuntu.com/ubuntu/ lucid-security/main Packages
        100 /var/lib/dpkg/status
     2:3.4.7~dfsg-1ubuntu3 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages

This looks like the same bug in Gentoo:
http://forums.gentoo.org/viewtopic-t-837725-start-0.html

fusesmb.cache -debug
*** glibc detected *** fusesmb.cache: double free or corruption (fasttop): 0x000000000107d700 ***
======= Backtrace: =========
/lib/libc.so.6(+0x775b6)[0x7f61a053e5b6]
/lib/libc.so.6(cfree+0x73)[0x7f61a0544e83]
/usr/lib/libsmbclient.so.0(+0x843b5)[0x7f61a08ce3b5]
/usr/lib/libsmbclient.so.0(smbc_set_credentials_with_fallback+0x104)[0x7f61a087bb44]
/usr/lib/libsmbclient.so.0(+0x38e21)[0x7f61a0882e21]
/usr/lib/libsmbclient.so.0(+0x358c3)[0x7f61a087f8c3]
fusesmb.cache[0x402196]
/lib/libpthread.so.0(+0x69ca)[0x7f61a0f259ca]
/lib/libc.so.6(clone+0x6d)[0x7f61a05ad70d]
======= Memory map: ========
00400000-00406000 r-xp 00000000 08:03 3974994 /usr/bin/fusesmb.cache
00605000-00606000 r--p 00005000 08:03 3974994 /usr/bin/fusesmb.cache
00606000-00607000 rw-p 00006000 08:03 3974994 /usr/bin/fusesmb.cache
00607000-00608000 rw-p 00000000 00:00 0
0107c000-011d2000 rw-p 00000000 00:00 0 [heap]
7f6194000000-7f6194021000 rw-p 00000000 00:00 0
7f6194021000-7f6198000000 ---p 00000000 00:00 0
7f619b75f000-7f619b775000 r-xp 00000000 08:03 5423349 /lib/libgcc_s.so.1
7f619b775000-7f619b974000 ---p 00016000 08:03 5423349 /lib/libgcc_s.so.1
7f619b974000-7f619b975000 r--p 00015000 08:03 5423349 /lib/libgcc_s.so.1
7f619b975000-7f619b976000 rw-p 00016000 08:03 5423349 /lib/libgcc_s.so.1
7f619b976000-7f619b977000 ---p 00000000 00:00 0
7f619b977000-7f619c177000 rw-p 00000000 00:00 0
7f619c177000-7f619c178000 ---p 00000000 00:00 0
7f619c178000-7f619c978000 rw-p 00000000 00:00 0
7f619c978000-7f619c979000 ---p 00000000 00:00 0
7f619c979000-7f619d179000 rw-p 00000000 00:00 0
7f619d179000-7f619d17b000 r-xp 00000000 08:03 4350299 /usr/lib/gconv/IBM850.so
7f619d17b000-7f619d37a000 ---p 00002000 08:03 4350299 /usr/lib/gconv/IBM850.so
7f619d37a000-7f619d37b000 r--p 00001000 08:03 4350299 /usr/lib/gconv/IBM850.so
7f619d37b000-7f619d37c000 rw-p 00002000 08:03 4350299 /usr/lib/gconv/IBM850.so
7f619d37c000-7f619d37f000 r-xp 00000000 08:03 4350287 /usr/lib/gconv/UTF-16.so
7f619d37f000-7f619d57e000 ---p 00003000 08:03 4350287 /usr/lib/gconv/UTF-16.so
7f619d57e000-7f619d57f000 r--p 00002000 08:03 4350287 /usr/lib/gconv/UTF-16.so
7f619d57f000-7f619d580000 rw-p 00003000 08:03 4350287 /usr/lib/gconv/UTF-16.so
7f619d580000-7f619d583000 r-xp 00000000 08:03 5423355 /lib/libgpg-error.so.0.4.0
7f619d583000-7f619d782000 ---p 00003000 08:03 5423355 /lib/libgpg-error.so.0.4.0
7f619d782000-7f619d783000 r--p 00002000 08:03 5423355 /lib/libgpg-error.so.0.4.0
7f619d783000-7f619d784000 rw-p 00003000 08:03 5423355 /lib/libgpg-error.so.0.4.0
7f619d784000-7f619d7f9000 r-xp 00000000 08:03 5423351 /lib/libgcrypt.so.11.5.2
7f619d7f9000-7f619d9f8000 ---p 00075000 08:03 5423351 /lib/libgcrypt.so.11.5.2
7f619d9f8000-7f619d9f9000 r--p 00074000 08:03 5423351 /lib/libgcrypt.so.11.5.2
7f619d9f9000-7f619d9fc000 rw-p 00075000 08:03 5423351 /lib/libgcrypt.so.11.5.2
7f619d9fc000-7f619da0c000 r-xp 00000000 08:03 8800827 /usr/lib/libtasn1.so.3.1.7
7f619da0c000-7f619dc0b000 ---p 00010000 08:03 8800827 /usr/lib/libtasn1.so.3.1.7
7f619dc0b000-7f619dc0c000 r--p 0000f000 08:03 8800827 /usr/lib/libtasn1.so.3.1.7
7f619dc0c000-7f619dc0d000 rw-p 00010000 08:03 8800827 /usr/lib/libtasn1.so.3.1.7
7f619dc0d000-7f619dca9000 r-xp 00000000 08:03 8800102 /usr/lib/libgnutls.so.26.14.12
7f619dca9000-7f619dea8000 ---p 0009c000 08:03 8800102 /usr/lib/libgnutls.so.26.14.12
7f619dea8000-7f619deae000 r--p 0009b000 08:03 8800102 /usr/lib/libgnutls.so.26.14.12
7f619deae000-7f619deaf000 rw-p 000a1000 08:03 8800102 /usr/lib/libgnutls.so.26.14.12
7f619deaf000-7f619dec8000 r-xp 00000000 08:03 8800767 /usr/lib/libsasl2.so.2.0.23
7f619dec8000-7f619e0c7000 ---p 00019000 08:03 8800767 /usr/lib/libsasl2.so.2.0.23
7f619e0c7000-7f619e0c8000 r--p 00018000 08:03 8800767 /usr/lib/libsasl2.so.2.0.23
7f619e0c8000-7f619e0c9000 rw-p 00019000 08:03 8800767 /usr/lib/libsasl2.so.2.0.23
7f619e0c9000-7f619e0cb000 r-xp 00000000 08:03 5423365 /lib/libkeyutils-1.2.so
7f619e0cb000-7f619e2ca000 ---p 00002000 08:03 5423365 /lib/libkeyutils-1.2.so
7f619e2ca000-7f619e2cb000 r--p 00001000 08:03 5423365 /lib/libkeyutils-1.2.so
7f619e2cb000-7f619e2cc000 rw-p 00002000 08:03 5423365 /lib/libkeyutils-1.2.so
7f619e2cc000-7f619e2d3000 r-xp 00000000 08:03 8801609 /usr/lib/libkrb5support.so.0.1
7f619e2d3000-7f619e4d2000 ---p 00007000 08:03 8801609 /usr/lib/libkrb5support.so.0.1
7f619e4d2000-7f619e4d3000 r--p 00006000 08:03 8801609 /usr/lib/libkrb5support.so.0.1
7f619e4d3000-7f619e4d4000 rw-p 00007000 08:03 8801609 /usr/lib/libkrb5support.so.0.1
7f619e4d4000-7f619e4d8000 r-xp 00000000 08:03 5423186 /lib/libattr.so.1.1.0
7f619e4d8000-7f619e6d7000 ---p 00004000 08:03 5423186 /lib/libattr.so.1.1.0
7f619e6d7000-7f619e6d8000 r--p 00003000 08:03 5423186 /lib/libattr.so.1.1.0
7f619e6d8000-7f619e6d9000 rw-p 00004000 08:03 5423186 /lib/libattr.so.1.1.0
7f619e6d9000-7f619e6ef000 r-xp 00000000 08:03 5423467 /lib/libz.so.1.2.3.3
7f619e6ef000-7f619e8ee000 ---p 00016000 08:03 5423467 /lib/libz.so.1.2.3.3
7f619e8ee000-7f619e8ef000 r--p 00015000 08:03 5423467 /lib/libz.so.1.2.3.3
7f619e8ef000-7f619e8f0000 rw-p 00016000 08:03 5423467 /lib/libz.so.1.2.3.3
7f619e8f0000-7f619e8fd000 r-xp 00000000 08:03 8798285 /usr/lib/liblber-2.4.so.2.5.4
7f619e8fd000-7f619eafc000 ---p 0000d000 08:03 8798285 /usr/lib/liblber-2.4.so.2.5.4
7f619eafc000-7f619eafd000 r--p 0000c000 08:03 8798285 /usr/lib/liblber-2.4.so.2.5.4Aborted

Revision history for this message
James Snyder (jbsnyder-fanplastic) wrote :
Download full text (6.7 KiB)

I'm getting about the same on 10.10 as well:

jsnyder@Erlanger:~$ lsb_release -rd
Description: Ubuntu 10.10
Release: 10.10
jsnyder@Erlanger:~$ apt-cache policy fusesmb
fusesmb:
  Installed: 0.8.7-1.1
  Candidate: 0.8.7-1.1
  Version table:
 *** 0.8.7-1.1 0
        500 http://mirror.anl.gov/pub/ubuntu/ maverick/universe amd64 Packages
        100 /var/lib/dpkg/status

jsnyder@Erlanger:~/Network$ fusesmb.cache --help
Kinit failed: Configuration file does not specify default realm
*** glibc detected *** fusesmb.cache: double free or corruption (fasttop): 0x0000000000b337a0 ***
======= Backtrace: =========
/lib/libc.so.6(+0x774b6)[0x7f5686f3d4b6]
/lib/libc.so.6(cfree+0x73)[0x7f5686f43c83]
/usr/lib/libsmbclient.so.0(+0x98932)[0x7f56872e1932]
/usr/lib/libsmbclient.so.0(+0x5fd30)[0x7f56872a8d30]
/usr/lib/libsmbclient.so.0(+0x669ef)[0x7f56872af9ef]
/usr/lib/libsmbclient.so.0(+0x66b0e)[0x7f56872afb0e]
/usr/lib/libsmbclient.so.0(+0x673d4)[0x7f56872b03d4]
/usr/lib/libsmbclient.so.0(+0x4bf03)[0x7f5687294f03]
/usr/lib/libsmbclient.so.0(smbc_new_context+0x37f)[0x7f568729549f]
fusesmb.cache[0x403929]
fusesmb.cache[0x402156]
/lib/libpthread.so.0(+0x7971)[0x7f5687a85971]
/lib/libc.so.6(clone+0x6d)[0x7f5686fac92d]
======= Memory map: ========
00400000-00406000 r-xp 00000000 00:10 813375 /usr/bin/fusesmb.cache
00605000-00606000 r--p 00005000 00:10 813375 /usr/bin/fusesmb.cache
00606000-00607000 rw-p 00006000 00:10 813375 /usr/bin/fusesmb.cache
00607000-00608000 rw-p 00000000 00:00 0
00b33000-00c5e000 rw-p 00000000 00:00 0 [heap]
7f567c000000-7f567c021000 rw-p 00000000 00:00 0
7f567c021000-7f5680000000 ---p 00000000 00:00 0
7f568245e000-7f5682473000 r-xp 00000000 00:10 3134 /lib/libgcc_s.so.1
7f5682473000-7f5682672000 ---p 00015000 00:10 3134 /lib/libgcc_s.so.1
7f5682672000-7f5682673000 r--p 00014000 00:10 3134 /lib/libgcc_s.so.1
7f5682673000-7f5682674000 rw-p 00015000 00:10 3134 /lib/libgcc_s.so.1
7f5682674000-7f5682675000 ---p 00000000 00:00 0
7f5682675000-7f5682e75000 rw-p 00000000 00:00 0
7f5682e75000-7f5682e76000 ---p 00000000 00:00 0
7f5682e76000-7f5683676000 rw-p 00000000 00:00 0
7f5683676000-7f5683678000 r-xp 00000000 00:10 713205 /usr/lib/gconv/IBM850.so
7f5683678000-7f5683877000 ---p 00002000 00:10 713205 /usr/lib/gconv/IBM850.so
7f5683877000-7f5683878000 r--p 00001000 00:10 713205 /usr/lib/gconv/IBM850.so
7f5683878000-7f5683879000 rw-p 00002000 00:10 713205 /usr/lib/gconv/IBM850.so
7f5683879000-7f568387c000 r-xp 00000000 00:10 713315 /usr/lib/gconv/UTF-16.so
7f568387c000-7f5683a7b000 ---p 00003000 00:10 713315 /usr/lib/gconv/UTF-16.so
7f5683a7b000-7f5683a7c000 r--p 00002000 00:10 713315 /usr/lib/gconv/UTF-16.so
7f5683a7c000-7f5683a7d000 rw-p 00003000 00:10 713315 /usr/lib/gconv/UTF-16.so
7f5683a7d000-7f5683f74000 r--p 00000000 00:10 15426 /usr/lib/locale/locale-arc...

Read more...

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in fusesmb (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.