[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Weird Midnight Commander hangup Problem



For some weird reason, one of my Woody boxes has developed a problem
running the default Midnight Commander package that comes with Woody
(V4.5.55-1.2) - 9 times out of 10 "mc" just hangs, and never displays
anything - if I Ctrl_C then I get back to the command prompt, with no
consequent problems.  Occasionally "mc" still works as advertised.

I can't see any pattern to this at all (different user accounts,
different current directories, etc.).  I *did* recently have a full
root filesystem problem, and had to add more space - might be involved
I suppose.

I tried removing and reinstalling (using apt-get) the package, but
that made no difference.

I tried stracing the beast, to see what it's doing at the time of the
hang - here's the tail of a typical example :

 [...]
mremap(0x40264000, 450560, 454656, MREMAP_MAYMOVE) = 0x40264000
mremap(0x40264000, 454656, 454656, MREMAP_MAYMOVE) = 0x40264000
mremap(0x40264000, 454656, 454656, MREMAP_MAYMOVE) = 0x40264000
mremap(0x40264000, 454656, 454656, MREMAP_MAYMOVE) = 0x40264000
mremap(0x40264000, 454656, 458752, MREMAP_MAYMOVE) = 0x40264000
mremap(0x40264000, 458752, 458752, MREMAP_MAYMOVE) = 0x40264000
mremap(0x40264000, 458752, 458752, MREMAP_MAYMOVE) = 0x40264000
mremap(0x40264000, 458752, 458752, MREMAP_MAYMOVE) = 0x40264000
mremap(0x40264000, 458752, 462848, MREMAP_MAYMOVE) = 0x40264000
mremap(0x40264000, 462848, 462848, MREMAP_MAYMOVE) = 0x40264000
mremap(0x40264000, 462848, 462848, MREMAP_MAYMOVE) = 0x40264000
mremap(0x40264000, 462848, 462848, MREMAP_MAYMOVE) = 0x40264000
mremap(0x40264000, 462848, 466944, MREMAP_MAYMOVE) = 0x40264000
mremap(0x40264000, 466944, 466944, MREMAP_MAYMOVE) = 0x40264000
mremap(0x40264000, 466944, 466944, MREMAP_MAYMOVE) = 0x40264000
mremap(0x40264000, 466944, 466944, MREMAP_MAYMOVE) = 0x40264000
mremap(0x40264000, 466944, 471040, MREMAP_MAYMOVE) = 0x40264000
mremap(0x40264000, 471040, 471040, MREMAP_MAYMOVE) = 0x40264000
mremap(0x40264000, 471040, 471040, MREMAP_MAYMOVE) = 0x40264000
mremap(0x40264000, 471040, 471040, MREMAP_MAYMOVE) = 0x40264000
mremap(0x40264000, 471040, 475136, MREMAP_MAYMOVE) = 0x40264000
mremap(0x40264000, 475136, 475136, MREMAP_MAYMOVE) = 0x40264000
mremap(0x40264000, 475136, 475136, MREMAP_MAYMOVE) = 0x40264000
mremap(0x40264000, 475136, 475136, MREMAP_MAYMOVE) = 0x40264000
mremap(0x40264000, 475136, 479232, MREMAP_MAYMOVE) = 0x40264000
mremap(0x40264000, 479232, 479232, MREMAP_MAYMOVE) = 0x40264000
mremap(0x40264000, 479232, 479232, MREMAP_MAYMOVE) = 0x40264000
mremap(0x40264000, 479232, 479232, MREMAP_MAYMOVE) = 0x40264000
mremap(0x40264000, 479232, 483328, MREMAP_MAYMOVE) = 0x40264000
mremap(0x40264000, 483328, 483328, MREMAP_MAYMOVE) = 0x40264000
mremap(0x40264000, 483328, 483328, MREMAP_MAYMOVE) = 0x40264000
mremap(0x40264000, 483328, 483328, MREMAP_MAYMOVE) = 0x40264000
munmap(0x401d7000, 577536)              = 0
getpid()                                = 21018
getpid()                                = 21018
select(6, [5], NULL, NULL, {0, 0})      = 0 (Timeout)
write(5, "\30\5\0\0\v\0\0\0\32R\0\0\372\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
1304) = 1304
read(5,


The "read(5, " thing never terminates.  When I Ctrl_C, the words "not
terminated" appear on the same line.

Anyone any idea what might be going on here (and what all that
"mremap" stuff is all about) ?

Any clues much appreciated.

Cheers,
Nick Boyce,
Bristol, UK
--
Trying is the first step toward failure. - Homer Simpson



Reply to: