Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127416 - Segfault in mc when trying to connect to samba share
Summary: Segfault in mc when trying to connect to samba share
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Other
: High normal (vote)
Assignee: Heinrich Wendel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 122768
  Show dependency tree
 
Reported: 2006-03-24 05:11 UTC by Sasha Polonsky
Modified: 2006-04-25 09:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Just after segfault (mc-segfault.png,14.08 KB, image/png)
2006-03-24 06:04 UTC, Sasha Polonsky
Details
Screenshot with gdb bt output (mc-segfault-gdb.png,23.45 KB, image/png)
2006-03-24 06:04 UTC, Sasha Polonsky
Details
Strace log (mc-sabma.log,91.77 KB, text/plain)
2006-03-24 06:06 UTC, Sasha Polonsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sasha Polonsky 2006-03-24 05:11:23 UTC
I have compiled Midnight Commander with Samba support on Intel Xeon (EMT64), and
every time I try to connect to samba share (Esc 9 -> Left -> SMB Link..., enter
//server/share, then login, password and Windows Domain), mc dies with Segmentation Fault. I've also seen this bug on Athlon AMD64 CPU. 

ctrl ~ # emerge --info
Portage 2.0.54 (default-linux/amd64/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r5 x86_64 Intel(R) Xeon(TM) CPU 3.20GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 apache2 berkdb bzip2 cli crypt ctype dba dri expat fastbuild force-cgi-redirect fortran ftp gd idn java jpeg junit memlimit mysql ncurses pam pcre perl png posix python readline samba session simplexml soap sockets spl ssl tcpd tokenizer truetype udev userlocales xml xsl zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-24 05:16:36 UTC
Reopen with some debugging info, please...

http://www.gentoo.org/doc/en/bugzilla-howto.xml#doc_chap3
Comment 2 Sasha Polonsky 2006-03-24 06:04:21 UTC
Created attachment 83005 [details]
Just after segfault
Comment 3 Sasha Polonsky 2006-03-24 06:04:58 UTC
Created attachment 83006 [details]
Screenshot with gdb bt output
Comment 4 Sasha Polonsky 2006-03-24 06:06:01 UTC
Created attachment 83007 [details]
Strace log
Comment 5 Sasha Polonsky 2006-03-24 06:07:06 UTC
Additional info attached
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-04-23 13:13:56 UTC
Please, try w/ 4.6.1 and report back. Thanks.
Comment 7 Sasha Polonsky 2006-04-25 09:04:04 UTC
It works. I did not carry out extensive testing - just connected to 2-3 samba shares on both Athlon 64 machine and Intel Xeon with EMT64 support machine - and transfered a pair of files and directories from samba shares. No segfaults anymore. So we can consider the bug fixed.

It'd also be nice if you incorporate a fix for this bug - http://bugs.gentoo.org/show_bug.cgi?id=127411 - into mc 4.6.1.