Ticket #40 (new defect) — at Initial Version

Opened 15 years ago

Last modified 3 years ago

savannah: MC doesn't open if network gateway inaccessible.

Reported by: slavazanko Owned by:
Priority: major Milestone:
Component: mc-vfs Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

Original: http://savannah.gnu.org/bugs/?16029

Submitted by:hacinn <hacinn>Submitted on:Tue 07 Mar 2006 08:55:38 PM UTC
Category:NoneSeverity:3 - Normal
Status:NonePrivacy:Public
Assigned to:NoneOpen/Closed:Open
Release:4.6.0-pre3Operating System:GNU/Linux

Discussion:

Sun 07 Jan 2007 01:48:56 PM UTC, comment #8:

Should we close this as a duplicate of bug 5142 then?
	Leonard den Ottolander <leonardjo>
Project Member
Sun 07 Jan 2007 11:31:35 AM UTC, comment #7:

ohhh.... commenting out the eth0 interface from the smb.conf helps... thank you very much!

Sandor
	Pinter Sandor <pinter_sandor>
Sun 07 Jan 2007 11:14:57 AM UTC, comment #6:

The problem is due to the outdated samba library included with MC.
You can find out more here:

http://mail.gnome.org/archives/mc/2006-September/msg00047.html

We actually don't need info any more since we know what's the cause 
of the hang - changing the status to None.
	Pavel Tsekov <ptsekov>
Project Administrator
Sun 07 Jan 2007 11:01:01 AM UTC, comment #5:

It seems it tries to connect to the router at port 53 several 
times, which makes the hang. After that when the mc is stared, 
everything is ok.

Sandor
	Pinter Sandor <pinter_sandor>
Sun 07 Jan 2007 10:59:30 AM UTC, comment #4:

The mc hangs on startup at line 284 in the attached file from me. 
Please look more info about this at the comment of that file.
Maybe the two situation are from the same problem.
Actually I don't know what changed in my system, because I see this 
problem 2 days ago only. I think I just updated the system with 
apt-get.

Sandor
	Pinter Sandor <pinter_sandor>
Thu 23 Mar 2006 12:46:35 PM UTC, comment #3:

Ping ?
	Pavel Tsekov <ptsekov>
Project Administrator
Thu 09 Mar 2006 02:16:01 PM UTC, comment #2:

I couldn't reproduce on FC3 with latest cvs version.

Would you mind providing a strace of MC hanging ? You could do so 
by issuing the following command:

strace -o /tmp/mc.strace /usr/bin/mc

Replace /usr/bin/mc with the full path to the mc binary.
	Pavel Tsekov <ptsekov>
Project Administrator
Tue 07 Mar 2006 09:31:47 PM UTC, comment #1:

i think that's some call to gethostbyname(). if the route is known 
to be broken, it fails immediately. if the cable is pulled, it has 
to time out.
	Oswald Buddenhagen <ossi>
Tue 07 Mar 2006 08:55:38 PM UTC, original submission:

I am using Linux Debian 3.1 and i have set my interface file with:

iface eth0 inet static
address 192.168.1.10
netmask 255.255.255.0
gateway 192.168.1.1

If I unplug the network cable and try to open MC, MC doesn't open. 
If I comment field gateway in interfaces file and keep the cable 
network unpluged, then MC open normally.
If I plug the cable and uncomment field gateway, the MC open 
normally too.

Change History

Changed 15 years ago by slavazanko

added by pinter_sandor

Note: See TracTickets for help on using tickets.