Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 431296

Summary: =app-misc/vifm-0.7.2: seg faults if there is no /etc/mtab file on ppc
Product: Gentoo Linux Reporter: Anthony Basile <blueness>
Component: Current packagesAssignee: Alex Alexander (RETIRED) <wired>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 414615    

Description Anthony Basile gentoo-dev 2012-08-14 00:52:54 UTC
Here are the last few lines of an strace:

rt_sigaction(SIGTSTP, {0x1003e39c, [], SA_RESTART}, NULL, 8) = 0
open("/etc/mtab", O_RDONLY)             = -1 ENOENT (No such file or directory)
futex(0xf6f0bc4, FUTEX_WAKE_PRIVATE, 2147483647) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} ---
+++ killed by SIGSEGV +++

Even just an emtpy /etc/mtab prevents the seg fault.  On amd64, vifm simply exits if no /etc/mtab file is found.
Comment 1 Alex Alexander (RETIRED) gentoo-dev 2013-02-06 12:33:26 UTC
Can you please test with newly-added version 0.7.4b? Thanks :)