Changes between Initial Version and Version 9 of Ticket #3108


Ignore:
Timestamp:
02/21/25 07:57:20 (2 days ago)
Author:
zaytsev
Comment:

Closed as duplicate of #2244.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3108

    • Property Status changed from new to closed
    • Property Version changed from 4.8.7 to
    • Property Resolution changed from to duplicate
    • Property Milestone changed from Future Releases to
  • Ticket #3108 – Description

    initial v9  
    11Sometimes mc process consumed 100% of CPU core. As I recognized it's only from root account, so by sudo mc or from simple sudo -i. I recompile it' many times with different options without success. 
    22 
     3{{{ 
    34strace -o /tmp/trc -fp PID gave me a very big file with next cyclic content 
    459740  read(0, "", 1)                    = 0 
     
    42439740  select(4, [0 3], NULL, NULL, {0, 100000}) = 1 (in [0], left {0, 99999}) 
    43449740  select(4, [0 3], NULL, NULL, NULL) = 1 (in [0]) 
     45}}} 
    4446 
     47{{{ 
    4548uname -a 
    4649Linux oops 3.10.17-gentoo #1 SMP Mon Nov 4 09:03:59 MSK 2013 x86_64 Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz GenuineIntel GNU/Linux 
     50}}} 
    4751 
    4852but many cores changed after I found this bug. I can't make stable testcase, but very often found CPU load :( 
    4953 
     54{{{ 
    5055LC_MESSAGES=C mc -V 
    5156GNU Midnight Commander 4.8.7 
     
    8489mc --configure-options 
    8590 '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' '--disable-silent-rules' '--disable-dependency-tracking' '--enable-nls' '--enable-vfs' '--enable-vfs-undelfs' '--enable-charset' '--without-x' '--disable-vfs-smb' '--disable-vfs-sftp' '--disable-aspell' '--without-gpm-mouse' '--with-screen=ncurses' '--with-edit' '--enable-mclib' '--disable-tests' '--with-homedir=.mc' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-march=native -mtune=native -O2 -pipe -fomit-frame-pointer' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' 'PKG_CONFIG_PATH=/usr/lib64/pkgconfig' 
     91 
     92}}}