Ticket #2141 (closed defect: worksforme)
Not work internal viewer and editor. If open archive, then error "can't spawn child process"
Reported by: | metaip | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | mc-core | Version: | 4.7.5.4 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
MC (4.6, 4.7) work fine on system with glibc 2.7.
When i upgrade glibc to 2.11 then internal viewer and editor not work, absolutely no reaction on all files except archives. If open archive, then error "cannot spawn child process".
I downgrade to glibc 2.7 and again MC work fine.
It`s a same - http://www.linux.org.ru/news/opensource/3334500/page4 (search keyword - "child"). I thing something wrong with pipe calls.
Tnx! (sorry for English)
Change History
comment:2 Changed 15 years ago by metaip
Build and install latest git version 4.7.1-145-gbccf557. Still not work.
~ $ pstree <pid> mc---bash ~ $ ~ $ gdb -p <pid> GNU gdb Red Hat Linux (6.6-35.fc8rh) Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux-gnu". Attaching to process 12674 Reading symbols from /usr/local/bin/mc...done. Using host libthread_db library "/lib/libthread_db.so.1". Reading symbols from /usr/lib/libgpm.so.1... warning: Missing the separate debug info file: /usr/lib/debug/.build-id/2e/9c5f2c20e40976707082b10317dc07bd9884ee.debug done. Loaded symbols for /usr/lib/libgpm.so.1 Reading symbols from /usr/lib/libslang.so.2... warning: Missing the separate debug info file: /usr/lib/debug/.build-id/12/2d95ac757ada781a0d28dc66a38d40243a3663.debug done. Loaded symbols for /usr/lib/libslang.so.2 Reading symbols from /lib/libgmodule-2.0.so.0... warning: Missing the separate debug info file: /usr/lib/debug/.build-id/04/f6d8de7ad12b228a6cc04ae2f6fb12c889e955.debug done. Loaded symbols for /lib/libgmodule-2.0.so.0 Reading symbols from /lib/libdl.so.2...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/libglib-2.0.so.0... warning: Missing the separate debug info file: /usr/lib/debug/.build-id/f2/fdef9db3d9f09d86f2472796b0c648fc2bb60b.debug done. Loaded symbols for /lib/libglib-2.0.so.0 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/libm.so.6...done. Loaded symbols for /lib/libm.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /lib/libnss_files.so.2...done. Loaded symbols for /lib/libnss_files.so.2 Reading symbols from /usr/lib/gconv/CP1251.so...done. Loaded symbols for /usr/lib/gconv/CP1251.so 0xb7f0d424 in __kernel_vsyscall ()
comment:3 Changed 13 years ago by slavazanko
- Status changed from new to closed
- Resolution set to worksforme
I have installed glibc-2.13.90-9.x86_64
Described issue not repeated for me. If problem still present - reopen this ticket, please.
comment:4 Changed 13 years ago by metaip
- Status changed from closed to reopened
- Version changed from 4.7.0.4 to 4.7.5.4
- Resolution worksforme deleted
- Branch state set to no branch
I have installed glibc-2.14, mc-4.7.5.4. Problem still exist.
Below strace command messages when F3/F4 pressed:
rt_sigaction(SIGINT, {SIG_IGN}, NULL, 8) = 0 select(7, [4 6], NULL, NULL, NULL) = 1 (in [4]) select(5, [4], NULL, NULL, {10, 0}) = 1 (in [4], left {9, 999997}) read(4, "\33", 1) = 1 select(5, [4], NULL, NULL, {10, 0}) = 1 (in [4], left {9, 999997}) read(4, "[", 1) = 1 select(5, [4], NULL, NULL, {10, 0}) = 1 (in [4], left {9, 999997}) read(4, "[", 1) = 1 select(5, [4], NULL, NULL, {10, 0}) = 1 (in [4], left {9, 999997}) read(4, "C", 1) = 1 ioctl(0, TIOCLINUX, 0xbfbfa72c) = -1 EINVAL (Invalid argument) stat64("/home/user/file", {st_mode=S_IFREG|0755, st_size=87, ...}) = 0 chdir("/home/user") = 0 select(5, [4], NULL, NULL, {0, 0}) = 0 (Timeout) select(5, [4], NULL, NULL, {0, 0}) = 0 (Timeout) gettimeofday({1317010708, 695521}, NULL) = 0 rt_sigaction(SIGINT, {0x8077120, [], 0}, NULL, 8) = 0 select(7, [4 6], NULL, NULL, NULL) = 1 (in [4])
~ $ ldd /usr/local/bin/mc linux-gate.so.1 => (0xb7f34000) libslang.so.2 => /usr/lib/libslang.so.2 (0x49cb3000) libgpm.so.1 => /usr/lib/libgpm.so.1 (0x4278b000) libgmodule-2.0.so.0 => /lib/libgmodule-2.0.so.0 (0x4a07d000) libdl.so.2 => /lib/libdl.so.2 (0xb7f1c000) libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0xb7e52000) libc.so.6 => /lib/libc.so.6 (0xb7ced000) libm.so.6 => /lib/libm.so.6 (0xb7cc4000) /lib/ld-linux.so.2 (0xb7f35000) ~ $ ll /lib/libc.so.6 lrwxrwxrwx 1 root root 12 sep. 23 16:33 /lib/libc.so.6 -> libc-2.14.so
comment:5 Changed 13 years ago by angel_il
metaip: can you connect with me by email il.smind@… ? i try to help you...
Sorry, can't reproduce. Can you build latest git version of mc with debug info enabled to validate bug still exists? I'd like to gather more info from mc process when it hangs: