Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82258 - mc segfaults when starting
Summary: mc segfaults when starting
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: utf8 herd (RETIRED)
URL:
Whiteboard:
Keywords:
: 78331 83709 (view as bug list)
Depends on:
Blocks: 122768
  Show dependency tree
 
Reported: 2005-02-16 09:05 UTC by Zoltan NAGY
Modified: 2006-04-17 13:03 UTC (History)
2 users (show)

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 Zoltan NAGY 2005-02-16 09:05:40 UTC
after emerge sync && emerge world, slang got emerged,
and mc got upgraded;
however, after the upgrade, when I start mc it just segfaults.

no error message, or anything.

if I do mcedit something, then I get:
Warning: file /var/tmp/portage/mc-4.6.0-r13/image//usr/share/mc/extfs/extfs.ini not found
Warning: file /var/tmp/portage/mc-4.6.0-r13/image//usr/share/mc/extfs/sfs.ini not found
Warning: file /var/tmp/portage/mc-4.6.0-r13/image//usr/share/mc/mc.charsets not found

however, when I do:
USE="-slang" emerge mc,
then it works.. 

thanks for your help!

Reproducible: Always
Steps to Reproduce:
1. run mc
2.
3.

Actual Results:  
it just segfaulted :)


Expected Results:  
start, with two panels..


it's x86, emerged a few minutes ago, compiled with -O2 -pip -march=pentium3
-fomit-frame-pointer
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2005-02-19 12:01:06 UTC
*** Bug 78331 has been marked as a duplicate of this bug. ***
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2005-02-19 12:01:28 UTC
seems to be slang/unicode related
Comment 3 Meder Bakirov 2005-02-20 21:36:46 UTC
I can confirm that mc works fine with USE="-slang" (i.e. without slang support)
Comment 4 Heinrich Wendel (RETIRED) gentoo-dev 2005-03-02 00:49:46 UTC
*** Bug 83709 has been marked as a duplicate of this bug. ***
Comment 5 Heinrich Wendel (RETIRED) gentoo-dev 2005-06-06 04:45:32 UTC
does recompiling help? 
Comment 6 Johan Swensson 2005-06-16 04:52:31 UTC
It works for me with slang
Comment 7 Piotrek 2006-01-19 01:30:40 UTC
I had the same problem( on gentoo 2005.1)  after emerge world and slang emerged my mc is segfaulting too.
When i run gdb mc && run i'am getting 0xb7d9a513 in strlen() from () /lib/libc/so.6
Comment 8 Piotrek 2006-01-19 08:03:08 UTC
(In reply to comment #7)
> I had the same problem( on gentoo 2005.1)  after emerge world and slang emerged
> my mc is segfaulting too.
> When i run gdb mc && run i'am getting 0xb7d9a513 in strlen() from ()
> /lib/libc/so.6
> 
Ok I solved problem. I have  emerged  mc without slang flag(USE="-X -slang")
Then i have runned mc closed him and re-emrged again with USE="-pam" 
And mc is working with slang support is not segfaulting no more.
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-04-17 13:03:44 UTC
Please, try with mc-4.6.1 and latest slang (1.4.9-r2) and report back. Thanks.