From: Pavel Tsekov <[email protected]>
Subject: Re: mc-2005-05-21-03: Segfault
Date: Sat, 25 Jun 2005 16:56:28 +0300
I compiled and installed mc-2005-05-21-03 with "-g -O0" on a Linux
The final ./configure output was:
Source code location: .
Compiler flags: -O0 -g
File system: Midnight Commander Virtual File System
cpiofs, extfs, tarfs, ftpfs, fish, undelfs
Screen library: S-Lang library (installed on the system)
Mouse support: gpm and xterm
X11 events support: yes
With subshell support: yes
Internal editor: yes
Support for charset: no
I started mc with gdb an dgit the following backtrace:
(my personal $HOME/.mc was not active at that moment.)
Script done, file is make.log
The mail in /var/spool/mail/home has been read.
[email protected]:mc-2005-05-21-03> me make.log
[email protected]:mc-2005-05-21-03> 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
Starting program: /usr/bin/mc
Program received signal SIGSEGV, Segmentation fault.
0xb7d55d68 in _int_malloc () from /lib/libc.so.6
#0 0xb7d55d68 in _int_malloc () from /lib/libc.so.6
#1 0xb7d54f6a in malloc () from /lib/libc.so.6
#2 0xb7c884a7 in g_malloc () from /usr/lib/libglib-2.0.so.0
#3 0x00000006 in ?? ()
#4 0xb7e11cf8 in __DTOR_END__ () from /lib/libc.so.6
#5 0x08093388 in is_8bit_printable (c=0 '\0') at util.c:79
Previous frame inner to this frame (corrupt stack?)
> On Sat, 25 Jun 2005, Pavel Tsekov wrote:
> > Hello,
> > On Sat, 25 Jun 2005, Meino Christian Cramer wrote:
> > > 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.
> > >
> > > Does something fundamental has changed ? What did I wrong ?
> > Which version of MC are you trying to use ? On which platform ? If you're
> Ok, the first question in answered in the subject . Just ignore it.
> Mc mailing list
Mc mailing list