Ticket #3441 (new defect) — at Version 3

Opened 10 years ago

Last modified 10 years ago

Segmentation fault on startup

Reported by: asy Owned by:
Priority: critical Milestone: 4.8.15
Component: mc-core Version: 4.8.14
Keywords: Cc:
Blocked By: Blocking:
Branch state: approved Votes for changeset:

Description (last modified by andrew_b) (diff)

Version: 4.8.14-alt0.M60P.2
System: Alt Linux p6 brunch, x86_64
Possible it is a hardware specific error: mc works fine on some other systems with equivalent software installation.

strace output with debuginfo:

open("/usr/share/mc/hints/mc.hint.C", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/mc/hints/mc.hint.C", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/mc/hints/mc.hint", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=3023, ...}) = 0
read(4, "Hint: Use C-x t to copy tagged f"..., 3023) = 3023
close(4)                                = 0
write(1, "\33[41;1H\33(B\33[m\33(B\33[39m\33[49mHint: "..., 103) = 103
stat("/proc/self/mountinfo", {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
open("/proc/self/mountinfo", O_RDONLY)  = 4
fstat(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f14d0681000
read(4, "19 1 8:3 / / rw,relatime - ext3 "..., 1024) = 1024
read(4, "dev/sda8 rw,errors=continue,barr"..., 1024) = 51
read(4, "", 1024)                       = 0
close(4)                                = 0
munmap(0x7f14d0681000, 4096)            = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} ---
+++ killed by SIGSEGV +++
Segmentation fault

Change History

comment:1 Changed 10 years ago by asy

  • Version changed from master to 4.8.14

Changed 10 years ago by asy

core dump, x86_64 system

comment:2 Changed 10 years ago by asy

This is a kernel specific. MC's code for /proc/self/mountinfo does not works with some kernels of p6.
kernel-image-el-smp-2.6.32-alt31 - fail
kernel-image-ovz-el-2.6.32-alt88.M60P.1 - works

So, mc should be build without /proc/self/mountinfo support. Not a bug for mc.

comment:3 Changed 10 years ago by andrew_b

  • Description modified (diff)
Note: See TracTickets for help on using tickets.