getgrouplist segfault?
Pavel Tsekov
ptsekov at gmx.net
Mon Jul 4 15:46:18 UTC 2005
Hello,
On Sat, 2 Jul 2005, Anton Monroe wrote:
> I've never used CVS before, but I think I did it right. I downloaded
> and compiled versions of MC as of various dates, and narrowed down my
> problem to something that changed on January 30, 2005.
>
> The symptom is that when I try to start MC as root, it immediately gives
> a segmentation fault. When I start it as a normal user, it works. The
> only thing I can see that changed on January 30 is something called
> 'getgrouplist'. I don't know what that is. Below is a complete diff
> between the version that works for me and the one that doesn't. This is
> on a Linux machine; originally SuSE 7.3 but with updated versions of a
> lot of things.
>
> Any ideas? Any more information I should give you?
It would be usefull if you could provide a backtrace from the crash. To
do this grab MC from CVS and build it with debugging information . You can
instruct the compiler to generate debug info at configure time by doing
this:
$ CFLAGS="-g -O0" ./configure ...
Next, run MC under gdb and when it crashes type `bt'. Post the output of
`bt' to the list.
More information about the mc-devel
mailing list