OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004357 [mutt] regular use crash always 2010-03-18 16:20 2010-04-17 21:27
Reporter halifaxunix View Status public  
Assigned To dam
Priority normal Resolution unable to reproduce  
Status closed  
Summary 0004357: mutt crashes on opening nmh mailboxes
Description Hello!

The new version of mutt Mutt 1.5.20 (2009-06-14) installed through opencsw crashes when opening nmh mailboxes.

Behavior details:

> mutt -f +inbox
Reading /local/home/denny/Mail/inbox... 0/58 (0%)
> (crash)

I have attached a truss output from the above command if you would like it.
Additional Information
Tags No tags attached.
Attached Files ? file icon trussout [^] (246,873 bytes) 2010-03-19 16:41
? file icon mutttruss.out [^] (51,601 bytes) 2010-03-29 17:38
? file icon muttnmhfail.out [^] (53,251 bytes) 2010-03-29 17:46

- Relationships

-  Notes
(0007679)
dam (administrator)
2010-03-18 22:22

There is no 2009-06-14 in the repository, the first 1.5.20 release was 2010.02.19. Could you please verify?

Apart from that I would need the stacktrace to further investigate in the problem.
(0007683)
halifaxunix (reporter)
2010-03-19 13:17

Hello from sunny Halifax Nova Scotia (+3C),

Here is more information about the mutt I am running. This was installed using the latest repository from...

http://mirrors.ibiblio.org/pub/mirrors/opencsw/unstable/ [^]

How would you like me to do a stack trace?

mercury-denny->mutt -v
Mutt 1.5.20 (2009-06-14)
Copyright (C) 1996-2009 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: SunOS 5.10 (sun4u)
slang: 10408
libiconv: 1.13
libidn: 1.18 (compiled with 1.16)
hcache backend: GDBM version 1.8.3. 10/15/2002 (built Jan 4 2006 13:24:10)
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL -USE_SETGID +USE_DOTLOCK -DL_STANDALONE +USE_FCNTL -USE_FLOCK
+USE_POP +USE_IMAP +USE_SMTP
+USE_SSL_OPENSSL -USE_SSL_GNUTLS +USE_SASL -USE_GSS +HAVE_GETADDRINFO
+HAVE_REGCOMP -USE_GNU_REGEX
+HAVE_COLOR -HAVE_START_COLOR -HAVE_TYPEAHEAD -HAVE_BKGDSET
-HAVE_CURS_SET -HAVE_META -HAVE_RESIZETERM
+CRYPT_BACKEND_CLASSIC_PGP +CRYPT_BACKEND_CLASSIC_SMIME +CRYPT_BACKEND_GPGME
-EXACT_ADDRESS -SUN_ATTACHMENT
+ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET +HAVE_LANGINFO_YESEXPR
+HAVE_ICONV -ICONV_NONTRANS +HAVE_LIBIDN +HAVE_GETSID +USE_HCACHE
-ISPELL
SENDMAIL="/usr/lib/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/opt/csw/share/mutt"
SYSCONFDIR="/etc/opt/csw"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to <mutt-dev@mutt.org>.
To report a bug, please visit http://bugs.mutt.org/. [^]

mercury-denny->which mutt
/opt/csw/bin/mutt

mercury-denny->pkginfo -l CSWmutt-slang
   PKGINST: CSWmutt-slang
      NAME: mutt_slang - Mutt mail client with slang interface
  CATEGORY: application
      ARCH: sparc
   VERSION: 1.5.20,REV=2010.02.19
   BASEDIR: /
    VENDOR: http://www.mutt.org [^] packaged for CSW by Dagobert Michelsen
    PSTAMP: dam@build8s-20100219100832
  INSTDATE: Mar 18 2010 12:11
   HOTLINE: http://www.opencsw.org/bugtrack/ [^]
     EMAIL: dam@opencsw.org
    STATUS: completely installed
     FILES: 4 installed pathnames
                   1 partially installed pathnames
                   1 shared pathnames
                   2 directories
                   1 executables
                2286 blocks used (approx)
(0007684)
dam (administrator)
2010-03-19 14:20

Ok, please first look at "pstack core". You may also want to try out the ncurses version by switching with
  /opt/csw/sbin/alternatives --config mutt
(0007685)
halifaxunix (reporter)
2010-03-19 14:52

Hello,

There is no core file being created when it crashes. Before I created this ticket I ran both mutt versions from the command line with the same behaviour. If you can provide a detailed example of how to get a stack trace, that would be helpful.
(0007686)
dam (administrator)
2010-03-19 15:03

Please configure your system appropriately to save coredumps with coreadm(1m). Additionally, you may want to post the last 50 lines of the truss output.
(0007687)
halifaxunix (reporter)
2010-03-19 16:39

An update: Mutt doesn't crash when it finishes reading a nmh mailbox, it just thinks there is nothing there, after reading all the messages. Thats why there is no core file. I ran this command:

truss -o trussmutt mutt -f +inbox

which just returns me to the command line with no errors or core file.

Here are the last 80 lines of the truss file:

llseek(5, 0, SEEK_CUR) = 547
llseek(5, 0, SEEK_CUR) = 547
llseek(5, 0, SEEK_CUR) = 547
llseek(5, 0, SEEK_CUR) = 547
llseek(5, 0, SEEK_CUR) = 547
llseek(5, 0, SEEK_CUR) = 547
fstat64(5, 0xFFBFE958) = 0
llseek(5, 0xFFFFFFFFFFFFFFB1, SEEK_CUR) = 468
close(5) = 0
write(1, "1B [ 3 8 ; 4 3 H 71B [ 8".., 22) = 22
stat64("/export/home/denny/Mail/inbox/271", 0xFFBFE9F8) = 0
open64("/export/home/denny/Mail/inbox/271", O_RDONLY) = 5
llseek(5, 0, SEEK_CUR) = 0
fstat64(5, 0xFFBFDF00) = 0
fstat64(5, 0xFFBFDDA8) = 0
ioctl(5, TCGETA, 0xFFBFDE8C) Err#25 ENOTTY
read(5, " R e t u r n - P a t h :".., 8192) = 547
llseek(5, 0, SEEK_CUR) = 547
llseek(5, 0, SEEK_CUR) = 547
llseek(5, 0, SEEK_CUR) = 547
llseek(5, 0, SEEK_CUR) = 547
llseek(5, 0, SEEK_CUR) = 547
llseek(5, 0, SEEK_CUR) = 547
llseek(5, 0, SEEK_CUR) = 547
llseek(5, 0, SEEK_CUR) = 547
llseek(5, 0, SEEK_CUR) = 547
llseek(5, 0, SEEK_CUR) = 547
llseek(5, 0, SEEK_CUR) = 547
fstat64(5, 0xFFBFE958) = 0
llseek(5, 0xFFFFFFFFFFFFFFB1, SEEK_CUR) = 468
close(5) = 0
stat64("/export/home/denny/Mail/inbox/272", 0xFFBFE9F8) = 0
open64("/export/home/denny/Mail/inbox/272", O_RDONLY) = 5
llseek(5, 0, SEEK_CUR) = 0
fstat64(5, 0xFFBFDF00) = 0
fstat64(5, 0xFFBFDDA8) = 0
ioctl(5, TCGETA, 0xFFBFDE8C) Err#25 ENOTTY
read(5, " R e t u r n - P a t h :".., 8192) = 636
llseek(5, 0, SEEK_CUR) = 636
llseek(5, 0, SEEK_CUR) = 636
llseek(5, 0, SEEK_CUR) = 636
llseek(5, 0, SEEK_CUR) = 636
llseek(5, 0, SEEK_CUR) = 636
llseek(5, 0, SEEK_CUR) = 636
llseek(5, 0, SEEK_CUR) = 636
llseek(5, 0, SEEK_CUR) = 636
llseek(5, 0, SEEK_CUR) = 636
llseek(5, 0, SEEK_CUR) = 636
llseek(5, 0, SEEK_CUR) = 636
llseek(5, 0, SEEK_CUR) = 636
llseek(5, 0, SEEK_CUR) = 636
fstat64(5, 0xFFBFE958) = 0
llseek(5, 0xFFFFFFFFFFFFFF8D, SEEK_CUR) = 521
close(5) = 0
open64("/export/home/denny/Mail/inbox/.mh_sequences", O_RDONLY) = 5
fstat64(5, 0xFFBFE8C0) = 0
fstat64(5, 0xFFBFE768) = 0
ioctl(5, TCGETA, 0xFFBFE84C) Err#25 ENOTTY
read(5, " c u r : 1\n", 8192) = 7
read(5, 0x001551F4, 8192) = 0
llseek(5, 0, SEEK_CUR) = 7
close(5) = 0
write(1, "\r1B [ K", 4) = 4
lwp_sigmask(SIG_SETMASK, 0x06880006, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
write(1, "1B [ m0F\r ".., 128) = 128
lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
lwp_sigmask(SIG_SETMASK, 0x06880006, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
ioctl(3, TCSETSW, 0xFF30F460) = 0
close(3) = 0
lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
ioctl(1, TCGETA, 0xFFBFEBDC) = 0
fstat64(1, 0xFFBFEAF8) = 0
write(1, " R e a d i n g / e x p".., 55) = 55
_exit(0)
(0007724)
dam (administrator)
2010-03-22 21:51

What is this "Reading/exp..." message saying fully? Please do
  truss -wall ...
(0007777)
dam (administrator)
2010-03-29 14:12

Asked on mutt-users@ for help:
  <http://marc.info/?l=mutt-users&m=126986465417131&w=2> [^]
(0007779)
dam (administrator)
2010-03-29 17:24
edited on: 2010-03-29 17:24

As suggested from the mailing list:
  http://marc.info/?l=mutt-users&m=126986676919962&w=2 [^]

> have the user try mutt with an empty config, ie:
> mutt -F /dev/null
> if successful, he needs to rebuild his muttrc a bit at a time

(0007780)
halifaxunix (reporter)
2010-03-29 17:47

Using truss -o muttnmhfail.out -wall -f mutt -F /dev/null -f +camping
still fails to show the contents of the nmh mailbox.
(0007809)
dam (administrator)
2010-04-01 12:19

I'm sorry, I have no idea why this fails. It doesn't look like a specific compilation problem to me, more like a general problem with this specific mutt version. Maybe the mutt developers can help?
(0007810)
halifaxunix (reporter)
2010-04-01 14:02

Thanks for looking at it. I moved away from using nmh mailbox's with mutt. I am probably one of the last people using mh mailbox's anyways. :)..

Have a great Easter weekend.

-Doug
(0007871)
dam (administrator)
2010-04-17 21:27

Close on users request.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker