Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 431296 - =app-misc/vifm-0.7.2: seg faults if there is no /etc/mtab file on ppc
Summary: =app-misc/vifm-0.7.2: seg faults if there is no /etc/mtab file on ppc
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alex Alexander (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 414615
  Show dependency tree
 
Reported: 2012-08-14 00:52 UTC by Anthony Basile
Modified: 2013-02-06 12:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 :)