Re: mc-2005-05-21-03: Segfault

From: Pavel Tsekov <ptsekov gmx net>
Subject: Re: mc-2005-05-21-03: Segfault
Date: Sat, 25 Jun 2005 18:55:59 +0300


On Sat, 25 Jun 2005, Meino Christian Cramer wrote:


 I have a mysterious problem:

 I compiled mc as well with my build script:

   unset CFLAGS
   unset CXXFLAGS
   proj=$(basename `pwd`)
   ./configure --prefix=/usr --disable-nls \
   --without-gnome \
   --without-ncurses \
   --with-screen=slang \
   --with-subshell \
   --with-gpm-mouse && \
   make && sudo paco -lp "$proj" "make install"

 as weel with a plain './configure --prefix=/usr'. I tried to move my
 personal ~/.mc/. out of the way.

 But regardless, what I am doing, mc segfaults directly after
 starting. No other action prior to the segfault has been noticed.

I configured MC the same way you did, but it didn't crash. Please, fetch a
current MC (CVS or and try

I fetched that version configured and installed it as the cvs-version.
Same effect.

gdb output:
[139] mccramer solfire:~> gdb /usr/bin/mc
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/".

(gdb) run
Starting program: /usr/bin/mc 

Program received signal SIGSEGV, Segmentation fault.
0xb7d46d68 in _int_malloc () from /lib/
(gdb) backtrace
#0  0xb7d46d68 in _int_malloc () from /lib/
#1  0xb7d45f6a in malloc () from /lib/
#2  0xb7c794a7 in g_malloc () from /usr/lib/
#3  0x00000006 in ?? ()
#4  0xb7e02cf8 in __DTOR_END__ () from /lib/
#5  0x08093100 in is_8bit_printable ()
Previous frame inner to this frame (corrupt stack?)

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]