[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mutt-dev
Subject:    bug#1162: marked as done (mutt-1.3.28i: segfault when changing mailboxes)
From:       bugmaster () guug ! de (GUUG bug Tracking System)
Date:       2002-04-27 1:49:49
[Download RAW message or body]

Your message dated Fri, 26 Apr 2002 21:50:24 -0400
with message-id <20020427015023.GB1976@xanadu.kublai.com>
and subject line not a mutt bug
has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Herr der Kaefer
(administrator, GUUG bugs database)

--------------------------------------
Received: (at submit) by bugs.guug.de; 21 Apr 2002 14:59:49 +0000
From btt@nethouse.com Sun Apr 21 16:59:49 2002
Received: from 242829hfc118.tampabay.rr.com ([24.28.29.118] helo=nethouse.com)
	by trithemius.gnupg.org with esmtp (Exim 3.35 #1 (Debian))
	id 16zIoe-00054q-00
	for <submit@bugs.guug.de>; Sun, 21 Apr 2002 16:59:49 +0200
Received: by nethouse.com (Postfix, from userid 1000)
	id 558DC193E80; Sun, 21 Apr 2002 11:01:21 -0400 (EDT)
Subject: mutt-1.3.28i: segfault when changing mailboxes
To: submit@bugs.guug.de
Message-Id: <20020421150121.558DC193E80@nethouse.com>
Date: Sun, 21 Apr 2002 11:01:21 -0400 (EDT)
From: btt@nethouse.com

Package: mutt
Version: 1.3.28i
Severity: normal

-- Please type your report below this line

Greetings,

Any ideas what would be causing the following crash?

The disk happens to be an pdcraid/ataraid raid1 array (boot/root fs)
and I think the crash is somehow related to that as it started when I
started booting from the ataraid array. However if I boot from a
normal hard drive, mount the ataraid partitions, chroot into the
ataraid root, mutt appears to work fine. Also, I am not seeing any
other crashes with any other applications (X 4.2.0, KDE, heavy
compiling, etc.).

My intuition tells me that it is perhaps a kernel bug with the ataraid
drivers and/or the fs driver (xfs), but i thought I'd run it by
mutt-dev in case you folks see something out of the ordinary and can
offer some advice on what to do next.

Please cc: me in replies... thanks.

-- Build environment information

(Note: This is the build environment installed on the system
muttbug is run on.  Information may or may not match the environment
used to build mutt.)

   **It does match, mutt was compiled on this machine**

- gcc version information
gcc
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/specs
gcc version 2.95.3 20010315 (release)

- CFLAGS
-Wall -pedantic -g

-- Mutt Version Information

Mutt 1.3.28i (2002-03-13)
Copyright (C) 1996-2001 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 2.4.19-r1 (i686) [using ncurses 5.2]
Compile options:
-DOMAIN
+DEBUG
+HOMESPOOL  -USE_SETGID  +USE_DOTLOCK  -DL_STANDALONE  
+USE_FCNTL  -USE_FLOCK
+USE_POP  +USE_IMAP  -USE_GSS  +USE_SSL  -USE_SASL  
-HAVE_REGCOMP  +USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET  
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM  
+HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET  +HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_GETSID  +HAVE_GETADDRINFO  
-ISPELL
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="Maildir"
PKGDATADIR="/usr/share/mutt"
SYSCONFDIR="/etc/mutt"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to <mutt-dev@mutt.org>.
To report a bug, please use the flea(1) utility.


-- Core Dump Analysis Output

GNU gdb 5.1.1
Copyright 2002 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"...
Core was generated by `mutt'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libsandbox.so...done.
Loaded symbols for /lib/libsandbox.so
Reading symbols from /lib/libncurses.so.5...done.
Loaded symbols for /lib/libncurses.so.5
Reading symbols from /usr/lib/libssl.so.0.9.6...done.
Loaded symbols for /usr/lib/libssl.so.0.9.6
Reading symbols from /usr/lib/libcrypto.so.0.9.6...done.
Loaded symbols for /usr/lib/libcrypto.so.0.9.6
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_compat.so.2...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /usr/lib/gconv/ISO8859-1.so...done.
Loaded symbols for /usr/lib/gconv/ISO8859-1.so
#0  0x401bb3bf in _IO_seekoff () from /lib/libc.so.6
#0  0x401bb3bf in _IO_seekoff () from /lib/libc.so.6
#1  0x401ba4a8 in ftell () from /lib/libc.so.6
#2  0x0807f762 in mbox_sync_mailbox (ctx=0x810d6c0, index_hint=0xbfffec10)
    at mbox.c:798
#3  0x08088540 in sync_mailbox (ctx=0x810d6c0, index_hint=0xbfffec10)
    at mx.c:779
#4  0x08088dc0 in mx_close_mailbox (ctx=0x810d6c0, index_hint=0xbfffec10)
    at mx.c:999
#5  0x0806234d in mutt_index_menu () at curs_main.c:1016
#6  0x0807d74a in main (argc=1, argv=0xbffff8e4) at main.c:841
#7  0x4017066d in __libc_start_main () from /lib/libc.so.6
435	
436	#define M_IGNORE  (1<<0)	/* -z */
437	#define M_BUFFY   (1<<1)	/* -Z */
438	#define M_NOSYSRC (1<<2)	/* -n */
439	#define M_RO      (1<<3)	/* -R */
440	#define M_SELECT  (1<<4)	/* -y */
441	
442	int main (int argc, char **argv)
443	{
444	  char folder[_POSIX_PATH_MAX] = "";

** Here's some more core info that might be useful, the gdb startup
   messages have been skipped: identical to above.

#0  0x401bb3bf in _IO_seekoff () from /lib/libc.so.6
(gdb) bt
#0  0x401bb3bf in _IO_seekoff () from /lib/libc.so.6
#1  0x401ba4a8 in ftell () from /lib/libc.so.6
#2  0x0807f762 in mbox_sync_mailbox (ctx=0x8103190, index_hint=0xbfffedc0)
    at mbox.c:798
#3  0x08088540 in sync_mailbox (ctx=0x8103190, index_hint=0xbfffedc0)
    at mx.c:779
#4  0x08088dc0 in mx_close_mailbox (ctx=0x8103190, index_hint=0xbfffedc0)
    at mx.c:999
#5  0x0806234d in mutt_index_menu () at curs_main.c:1016
#6  0x0807d74a in main (argc=1, argv=0xbffffa94) at main.c:841
#7  0x4017066d in __libc_start_main () from /lib/libc.so.6
(gdb) frame 2
#2  0x0807f762 in mbox_sync_mailbox (ctx=0x8103190, index_hint=0xbfffedc0)
    at mbox.c:798
798		mutt_message (_("Writing messages... %d (%d%%)"), i,
(gdb) list
793	    
794	    if (! ctx->hdrs[i]->deleted)
795	    {
796	      j++;
797	      if (!ctx->quiet && WriteInc && ((i % WriteInc) == 0 || j
== 1))
798		mutt_message (_("Writing messages... %d (%d%%)"), i,
799			      ftell (ctx->fp) / (ctx->size / 100 + 1));
800	
801	      if (ctx->magic == M_MMDF)
802	      {
(gdb) print *ctx
$1 = {path = 0x8103b18 "/home/btt/Mail/freebsd-questions", fp =
0x8102530, 
  mtime = 1019386278, mtime_cur = 0, size = 22648, vsize = 22642, 
  pattern = 0x0, limit_pattern = 0x0, hdrs = 0x8103b40, tree = 0x0, 
  id_hash = 0x0, subj_hash = 0x0, thread_hash = 0x0, v2r = 0x8103ba8, 
  hdrmax = 25, msgcount = 6, vcount = 6, tagged = 0, new = 0, unread =
4, 
  deleted = 0, flagged = 0, msgnotreadyet = -1, data = 0x0, magic = 1, 
  locked = 1, changed = 1, readonly = 0, dontwrite = 0, append = 0,
quiet = 0, 
  collapsed = 0, closing = 1}
(gdb) print *ctx->fp
$2 = {_flags = -72539008, _IO_read_ptr = 0x0, _IO_read_end = 0x0, 
  _IO_read_base = 0x0, _IO_write_base = 0x0, _IO_write_ptr = 0x0, 
  _IO_write_end = 0x0, _IO_buf_base = 0x0, _IO_buf_end = 0x0, 
  _IO_save_base = 0x0, _IO_backup_base = 0x0, _IO_save_end = 0x0, 
  _markers = 0x0, _chain = 0x81192e0, _fileno = 3, _blksize = 0, 
  _old_offset = 22648, _cur_column = 0, _vtable_offset = -72 '¸', 
  _shortbuf = "", _lock = 0x8102580, _offset = -1, __pad1 = 0x0, __pad2
= 0x0, 
  _mode = 0, 
  _unused2 =
"\000\000\000\000\000\000\000\000p\000\000\000)\000\000\000/home/btt/Mail/freebsd-questions\000\000\000"}
(gdb) quit


--- Begin /home/btt/.muttrc
set editor='emacs -f mail-mode'
set mail_check=30
set folder_format="%2C %u %d %t %N %f"
set index_format="%3C %Z %[!%m.%d] %-15.15F (%?M?C%3M&%4l? %N) %s"
set sort=threads
set from=btt@nethouse.com
set folder=/home/btt/Mail
mailboxes +freebsd-stable +freebsd-questions +freebsd-net
mailboxes +freebsd-security +freebsd-multimedia
mailboxes +debian-user +debian-testing +gatos-devel
mailboxes +futurec +postgres-sql
mailboxes +gentoo
ignore *
unignore From:
unignore To
unignore Date
unignore Subject
unignore Cc
unignore Reply-To
unignore Apparently-To
unignore X-Mailer 
unignore X-Http-User-Agent
unignore User-Agent
color normal	white black
color attachment brightyellow black
color hdrdefault cyan black
color indicator black cyan
color markers	brightred black
color quoted	green black
color signature cyan black
color status	brightgreen blue
color tilde	blue black
color tree	red black
--- End /home/btt/.muttrc


--- Begin /etc/mutt/Muttrc
set mbox_type=Maildir
set folder=~/.maildir
set spoolfile=~/.maildir/
set record=~/.maildir-sent/
unset mbox
set move=no
set index_format="%4C %Z %{%b %d} %-16.16L  %s"
--- End /etc/mutt/Muttrc


---------------------------------------
Received: (at 1162-done) by bugs.guug.de; 27 Apr 2002 01:48:46 +0000
From brendan@kublai.com Sat Apr 27 03:48:46 2002
Received: from 66-65-100-217.nyc.rr.com ([66.65.100.217] helo=xanadu.kublai.com)
	by trithemius.gnupg.org with esmtp (Exim 3.35 #1 (Debian))
	id 171HKQ-0006WB-00
	for <1162-done@bugs.guug.de>; Sat, 27 Apr 2002 03:48:46 +0200
Received: by xanadu.kublai.com (Postfix, from userid 1000)
	id 44D443BA6; Fri, 26 Apr 2002 21:50:24 -0400 (EDT)
Date: Fri, 26 Apr 2002 21:50:24 -0400
From: Brendan Cully <brendan@kublai.com>
To: 1162-done@bugs.guug.de
Subject: not a mutt bug
Message-ID: <20020427015023.GB1976@xanadu.kublai.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Operating-System: Linux 2.4.18 i686
User-Agent: Mutt/1.5.0i

according to supplemental information from the submitter, the problem
was fixed by an upgrade of the (nonstandard) libc.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic