Your message dated Sat, 8 Mar 2008 11:42:26 +0530
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#466177: smbnetfs crashes
has caused the Debian Bug report #466177,
regarding smbnetfs crashes
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
466177: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466177
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: smbnetfs
Version: 0.3.10-2
Hello!
Smbnetfs crashes and doesn't work
That's what I try to do:
# smbnetfs -o allow_other -d /smb >log1 2>log2
*** glibc detected *** smbnetfs: free(): invalid pointer: 0xb67ae28c ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6[0xb7bea735]
/lib/i686/cmov/libc.so.6(cfree+0x90)[0xb7bee1a0]
/usr/lib/libsmbclient.so.0[0xb7d3e25e]
smbnetfs(UpdateRoot+0x8b)[0x804fa6b]
smbnetfs(UpdateSambaTree+0x3d)[0x804fbfd]
smbnetfs(UpdateThread+0xb2)[0x80520e2]
/lib/i686/cmov/libpthread.so.0[0xb7cd14fb]
/lib/i686/cmov/libc.so.6(clone+0x5e)[0xb7c5560e]
======= Memory map: ========
08048000-08056000 r-xp 00000000 03:01 274072 /usr/bin/smbnetfs
08056000-08057000 rw-p 0000e000 03:01 274072 /usr/bin/smbnetfs
08057000-08224000 rw-p 08057000 00:00 0 [heap]
b5e00000-b5e21000 rw-p b5e00000 00:00 0
b5e21000-b5f00000 ---p b5e21000 00:00 0
b5f96000-b5fa2000 r-xp 00000000 03:01 254584 /lib/libgcc_s.so.1
b5fa2000-b5fa3000 rw-p 0000b000 03:01 254584 /lib/libgcc_s.so.1
b5fae000-b5faf000 ---p b5fae000 00:00 0
b5faf000-b67af000 rw-p b5faf000 00:00 0
b67af000-b67b0000 ---p b67af000 00:00 0
b67b0000-b6fd2000 rw-p b67b0000 00:00 0
b6fd2000-b6fd3000 ---p b6fd2000 00:00 0
b6fd3000-b77f5000 rw-p b6fd3000 00:00 0
b77f5000-b77f7000 r-xp 00000000 03:01 29707 /usr/lib/gconv/KOI-8.so
b77f7000-b77f9000 rw-p 00001000 03:01 29707 /usr/lib/gconv/KOI-8.so
b77f9000-b77fb000 r-xp 00000000 03:01 29641
/usr/lib/gconv/IBM866.so
b77fb000-b77fd000 rw-p 00001000 03:01 29641
/usr/lib/gconv/IBM866.so
b77fd000-b780d000 r--s 00000000 03:01 25617
/usr/share/samba/valid.dat
b780d000-b782d000 r--s 00000000 03:01 25493
/usr/share/samba/lowcase.dat
b782d000-b784d000 r--s 00000000 03:01 25531
/usr/share/samba/upcase.dat
b784d000-b786d000 r--p 00000000 03:01 242614
/usr/share/locale/ru/LC_MESSAGES/libc.mo
b786d000-b7876000 r-xp 00000000 03:01 28890
/lib/i686/cmov/libnss_files-2.7.so
b7876000-b7878000 rw-p 00008000 03:01 28890
/lib/i686/cmov/libnss_files-2.7.so
b7878000-b7880000 r-xp 00000000 03:01 29041
/lib/i686/cmov/libnss_nis-2.7.so
b7880000-b7882000 rw-p 00007000 03:01 29041
/lib/i686/cmov/libnss_nis-2.7.so
b7882000-b7889000 r-xp 00000000 03:01 28884
/lib/i686/cmov/libnss_compat-2.7.so
b7889000-b788b000 rw-p 00006000 03:01 28884
/lib/i686/cmov/libnss_compat-2.7.so
b788f000-b7890000 rw-s 00000000 03:01 507
/var/run/samba/gencache.tdb
b7890000-b7892000 r-xp 00000000 03:01 29739
/usr/lib/gconv/UTF-16.so
b7892000-b7894000 rw-p 00001000 03:01 29739
/usr/lib/gconv/UTF-16.so
b7894000-b7896000 rw-p b7894000 00:00 0
b7896000-b78ec000 r--p 00000000 03:01 44381
/usr/lib/locale/locale-archive
b78ec000-b78ee000 rw-p b78ec000 00:00 0
b78ee000-b793d000 r-xp 00000000 03:01 10843
/usr/lib/libgcrypt.so.11.2.3
b793d000-b793f000 rw-p 0004f000 03:01 10843
/usr/lib/libgcrypt.so.11.2.3
b793f000-b7940000 rw-p b793f000 00:00 0
b7940000-b7954000 r-xp 00000000 03:01 66401
/usr/lib/libz.so.1.2.3.3
b7954000-b7955000 rw-p 00013000 03:01 66401
/usr/lib/libz.so.1.2.3.3
b7955000-b7958000 r-xp 00000000 03:01 4557
/usr/lib/libgpg-error.so.0.3.0
b7958000-b7959000 rw-p 00002000 03:01 4557
/usr/lib/libgpg-error.so.0.3.0
b7959000-b7968000 r-xp 00000000 03:01 3619
/usr/lib/libtasn1.so.3.0.9
b7968000-b7969000 rw-p 0000e000 03:01 3619
/usr/lib/libtasn1.so.3.0.9
b7969000-b79da000 r-xp 00000000 03:01 253545
/usr/lib/libgnutls.so.13.9.1
b79da000-b79e0000 rw-p 00070000 03:01 253545
/usr/lib/libgnutls.so.13.9.1
b79e0000-b79f5000 r-xp 00000000 03:01 3936
/usr/lib/libsasl2.so.2.0.22
b79f5000-b79f6000 rw-p 00015000 03:01 3936
/usr/lib/libsasl2.so.2.0.22
b79f6000-b79f7000 rw-p b79f6000 00:00 0
b79f7000-b79f9000 r-xp 00000000 03:01 3981 /lib/libkeyutils-1.2.so
b79f9000-b79fa000 rw-p 00001000 03:01 3981 /lib/libkeyutils-1.2.so
b79fa000-b7a05000 r-xp 00000000 03:01 10849
/usr/lib/liblber.so.2.0.130
b7a05000-b7a06000 rw-p 0000b000 03:01 10849
/usr/lib/liblber.so.2.0.130
b7a06000-b7a3a000 r-xp 00000000 03:01 10850
/usr/lib/libldap_r.so.2.0.130
b7a3a000-b7a3b000 rw-Аварийный останов
("emergency stop", it says. My locale is ru_RU.KOI8-R)
# ls /smb
ls: /smb: Transport endpoint is not connected
# umount /smb
# ls /smb
#
That's what I expect it to hapen:
# smbnetfs -o allow_other -d /smb 2>log2
It should stay attached and shouldn't stop
# ls /smb
It should list network
--------------------------------------------------------
dependency tree in my system:
smbnetfs 0.3.10-2
-- libc6 2.7-4
-- libfuse2 2.6.3-2
-- libsmbclient 3.0.24-6etch9
libc6 2.7-4
-- libgcc1 1:4.3-20080116-1
libgcc1 1:4.3-20080116-1
-- gcc-4.3-base 4.3-20080116-1
-- libc6 2.7-4
libfuse2 2.6.3-2
-- libc6 2.7-4
libsmbclient 3.0.24-6etch9
-- libc6 2.7-4
-- libcomerr2 1.39+1.40-WIP-2006.11.14+dfsg-2etch1
-- libkrb53 1.6.dfsg.3~beta1-2
-- libldap2 2.1.30-13.4
libcomerr2 1.39+1.40-WIP-2006.11.14+dfsg-2etch1
-- libc6 2.7-4
libkrb53 1.6.dfsg.3~beta1-2
-- libc6 2.7-4
-- libcomerr2 1.39+1.40-WIP-2006.11.14+dfsg-2etch1
-- libkeyutils1 1.2-5
libkeyutils1 1.2-5
-- libc6 2.7-4
libldap2 2.1.30-13.4
-- libc6 2.7-4
-- libgnutls13 2.0.4-1
-- libsasl2-2 2.1.22.dfsg1-8
libgnutls13 2.0.4-1
-- libc6 2.7-4
-- libgcrypt11 1.2.4-2
-- libgpg-error0 1.4-2
-- liblzo2-2 2.02-3
-- libopencdk10 0.6.6-1
-- libtasn1-3 0.3.9-1
-- zlib1g 1:1.2.3.3.dfsg-7
libgcrypt11 1.2.4-2
-- libc6 2.7-4
-- libgpg-error0 1.4-2
libgpg-error0 1.4-2
-- libc6 2.7-4
liblzo2-2 2.02-3
-- libc6 2.7-4
libopencdk10 0.6.6-1
-- libc6 2.7-4
-- libgcrypt11 1.2.4-2
-- zlib1g 1:1.2.3.3.dfsg-7
libtasn1-3 0.3.9-1
-- libc6 2.7-4
zlib1g 1:1.2.3.3.dfsg-7
-- libc6 2.7-4
libsasl2-2 2.1.22.dfsg1-8
-- libc6 2.7-4
-- libdb4.2 4.2.52+dfsg-2
libdb4.2 4.2.52+dfsg-2
-- libc6 2.7-4
$ uname -a
Linux llaptop 2.6.22-3-686 #1 SMP Mon Nov 12 08:32:57 UTC 2007 i686
GNU/Linux
$ ls -l /lib/libc.so.6
lrwxrwxrwx 1 root root 11 2007-12-22 15:05 /lib/libc.so.6 -> libc-2.7.so
$ dpkg -s libc6 | grep ^Version
Version: 2.7-4
$
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)
Shell: /bin/sh linked to /bin/bash
Versions of packages smbnetfs depends on:
ii libc6 2.7-4 GNU C Library: Shared
libraries
ii libfuse2 2.6.3-2 Filesystem in USErspace
library
ii libsmbclient 3.0.24-6etch9 shared library that allows
applica
smbnetfs recommends no packages.
-- no debconf information
some files
======= /root/.smb/smbnetfs.conf =========================
#################################
# #
# SMBNETFS sample config file #
# #
#################################
#---------------------------------------------------------------------
# time_delta is a sleep time between checking for scheduled events.
# Increase it if smbnetfs eat to much cpu without loading.
#
# Default: 5 sec
#---------------------------------------------------------------------
time_delta 5
#---------------------------------------------------------------------
# config_update_interval is a time interval before next reading of
# config file
#
# Default: 300 sec
#---------------------------------------------------------------------
config_update_interval 300
#---------------------------------------------------------------------
# SMBNetFs debug level. Most of people should not use debug level
# greater then 6.
# Possible value: 0 <= smbnetfs_debug <= 10
#
# Default: 0
#---------------------------------------------------------------------
smbnetfs_debug 10
#---------------------------------------------------------------------
# Samba debug level
#
# Default: 0
#---------------------------------------------------------------------
smb_debug 0
#---------------------------------------------------------------------
# The time between workgroup refresh
#
# Default: 300 sec
#---------------------------------------------------------------------
smb_refresh_time 300
#---------------------------------------------------------------------
# The time to live of automatically founded computer/workgroup
#
# Default: (3 * refresh_time)
#---------------------------------------------------------------------
smb_name_ttl 900
#---------------------------------------------------------------------
# The maximun number of samba context. Reduse it if
# smbnetfs eat a lot of memory
#
# Default: 15
#---------------------------------------------------------------------
smb_ctx_max 15
#---------------------------------------------------------------------
# The time between samba context refresh. This is used to preserve
# samba connection alive. Reduse it if the connection closed by
# timeout often.
#
# Default: 300 sec
#---------------------------------------------------------------------
smb_ctx_refresh_time 300
#---------------------------------------------------------------------
# The maximum number of opened files.
#
# Default: 100
#---------------------------------------------------------------------
smb_open_files_max 100
#---------------------------------------------------------------------
# The maximum number of buffers to convert filenames to/from samba
# encoding.
#
# Default: 15
#---------------------------------------------------------------------
buf_count_max 15
#---------------------------------------------------------------------
# The maximum number of slice in array. Each slice is may contain up
# to 128 host/group/link entries. This value limit the amount of
# memory allocated by all arrays. Please do not touch this value
# unless you is a smbnetfs developer.
#
# Default: 1024
#---------------------------------------------------------------------
array_slice_max 1024
#---------------------------------------------------------------------
# This option define the free space size reported by SMBNetFS. This is
# mostly required for Nautilus (Gnome project), as it check the amount
# of free space before any write attempt.
# WARNING!!! free_space_size = free_space_blocks * 4Kb.
#
# Default: 0
#---------------------------------------------------------------------
free_space_blocks 0
#---------------------------------------------------------------------
# The maximum size of read/write block. The block size should be
# closed to 4Kb boundary. Currently libsmbclient does not support
# block_size >= 64Kb, so maximum possible block_size is 61440 (60Kb)
#
# Default: 32768
#---------------------------------------------------------------------
block_size 32768
#---------------------------------------------------------------------
# If quiet_flag enabled, then chown/chgroup will return succcess, else
# chmod/chown will always fail.
# Possible value: true, false, yes, no
#
# Default: true
#---------------------------------------------------------------------
quiet_flag "true"
#---------------------------------------------------------------------
# If query_browsers disabled, then smbnetfs will show only static
# host/group/link.
# Possible value: true, false, yes, no
#
# Default: true
#---------------------------------------------------------------------
query_browsers "true"
#---------------------------------------------------------------------
# If show_$_shares disabled, then smbnetfs will not show shares with $
# at the end.
# Possible value: true, false, yes, no
#
# Default: false
#---------------------------------------------------------------------
show_$_shares "true"
#---------------------------------------------------------------------
# konqueror search for '.directory' subdir in any directory and its
# subdirectories. This slow a groups/shares listing. The value below
# specify the number of path component checked for ".directory". Use
# the value of -1 to check all path component.
#
# Set kde_workaround to 3 or above if you browse SMBNetFs with
# konqueror. Other people can use 0 value.
# Possible value: -1, 0, 1, 2, ...
#
# Default: "3"
#---------------------------------------------------------------------
kde_workaround "0"
#---------------------------------------------------------------------
# Samba do not support truncate file operation. It's easy to emulate
# it if (new_size = 0) or (new_size >= old_size). Normally SMBNetFS
# will return error if (0 < new_size < old_size), but if unsafe_truncate
# enabled, then SMBNetFS will delete old file and create new one of
# required size for this situation.
# Possible value: true, false, yes, no
#
# Default: false
#---------------------------------------------------------------------
unsafe_truncate "false"
#---------------------------------------------------------------------
# SMBNetFS can perform Á finalize steps on umount. It can take a
huge
# amount of time on buggy (unmaintained) network. It's wise to skip
# this steps unless perform debuging or searching memory leaks.
# Possible value: true, false, yes, no
#
# Default: true
#---------------------------------------------------------------------
fast_shutdown "true"
#---------------------------------------------------------------------
# Local charset
#
# Default: autodetected
#---------------------------------------------------------------------
local_charset "koi8-r"
#---------------------------------------------------------------------
# Charset used by samba
#
# Default: utf-8
#---------------------------------------------------------------------
samba_charset "koi8-r"
#---------------------------------------------------------------------
# File to store SMBNETFS debug messages
#
# Default: print to stderr
#---------------------------------------------------------------------
#log_file "/tmp/smbnetfs.log"
#---------------------------------------------------------------------
# Computer netbios name
#
# Default: ""
#---------------------------------------------------------------------
#netbios_name ""
#---------------------------------------------------------------------
# Set auth information for samba network resource. If share name is
# omited then the auth data applied to all computer "computer" shares.
# Omit "computer/share" to specify default auth patameters.
#
# PS: You can use "cd mountpoint/domain:user:[EMAIL PROTECTED]"
# command to enter to remote computer as domain/workgroup
# "domain_or_workgroup" user "user" with password "password".
#
# Syntax:
# auth [computer[/share]] [domain_or_workgroup/]user password
#
# Default:
# auth "user_login_name" ""
#
#---------------------------------------------------------------------
#auth "guest" ""
# read auth data from ~/.smb/smbnetfs.auth
include "smbnetfs.auth"
#---------------------------------------------------------------------
# This section describe a static host/group/link.
#
# host computer_name
# group group_name
# link link_name link_contents
# link group/link_name [link_contents]
#---------------------------------------------------------------------
# read host/group/link from ~/.smb/smbnetfs.host
include "smbnetfs.host"
==========================================================
======= log1 =============================================
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56
INIT: 7.8
flags=0x00000003
max_readahead=0x00020000
INIT: 7.8
flags=0x00000000
max_readahead=0x00020000
max_write=0x00020000
unique: 1, error: 0 (Success), outsize: 40
==========================================================
======= log2 =============================================
4723->SetSmbDebugLevel: level=0
4723->SetSmbItemUpdateInterval: interval=300
4723->GetUpdateTimeDelta: delta=5
4723->SetSmbItemTime2Live: ttl=900
4723->SetMaxSmbCtxCount: count=15
4723->GetUpdateTimeDelta: delta=5
4723->SetSmbCtxUpdateInterval: interval=300
4723->SetMaxBufferCount: name=OpenFiles, count=100
4723->SetMaxBufferCount: name=Convert, count=15
4723->SetMaxBufferCount: name=Array, count=1024
4723->SetFsFreeSpaceBlocks: blocks=0
4723->SetFsBlockSize: size=32768
4723->SetFsQuietFlag: flag=1
4723->SetQueryBrowserFlag: flag=1
4723->SetShowDollarShares: flag=1
4723->SetKDEworkaround: count=0
4723->SetUnsafeTruncate: flag=0
4723->SetFastShutdown: flag=1
4723->set_local_charset: local_charset=koi8-r
4723->set_samba_charset: samba_charset=koi8-r
4723->SetLogFile: filename=/tmp/smbnetfs.log
==========================================================
--
http://www.fastmail.fm - The professional email service
--- End Message ---
--- Begin Message ---
Hi Alexey,
On Thu, 21 Feb, 2008 at 09:37:43PM +0300, Alexey Bashtanov wrote:
> Hi, Varun
>
> > What is the status of this bug? Has this been resolved and can I
> > close this bug now?
>
> The bug is hardly replicatable, unfortantly. I'll try to detect it once
> more.
I have uploaded a new version of smbnetfs to unstable which fixes many
bugs. Please give it a try.
I am closing this bug. Try the new package and if you are able to
reproduce this bug again please feel free to reopen this bug.
Thanks
Varun
--
Varun Hiremath
Undergraduate Student,
Aerospace Engineering Department,
Indian Institute of Technology Madras,
Chennai, India
-------------------------------------
Homepage: http://varun.travisbsd.org
--- End Message ---