[email protected]
[Top] [All Lists]

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

Subject: Re: mc-2005-05-21-03: Segfault
From: Meino Christian Cramer
Date: Sat, 25 Jun 2005 18:22:44 +0200 CEST
From: Pavel Tsekov <[email protected]>
Subject: Re: mc-2005-05-21-03: Segfault
Date: Sat, 25 Jun 2005 18:55:59 +0300



> Hello,
> 
> On Sat, 25 Jun 2005, Meino Christian Cramer wrote:
> 
> >
> > Hi,
> >
> >  I have a mysterious problem:
> >
> >  I compiled mc as well with my build script:
> >
> >    #!/bin/bash
> >    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 http://pavelsh.pp.ru/mc/mc-4.6.1-pre4.tar.bz2) and try
> again.
> 

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

gdb output:
[139] [email protected]:~> 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/libthread_db.so.1".

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

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

_______________________________________________
Mc mailing list
http://mail.gnome.org/mailman/listinfo/mc

<Prev in Thread] Current Thread [Next in Thread>