LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-07-2013, 08:16 AM   #1
HaroldWho
Member
 
Registered: Nov 2006
Location: southeastern PA
Distribution: Slackware
Posts: 128

Rep: Reputation: 22
Mutt Segfaults in 14.0


New install of 14.0 with mutt-1.5.21-i486-2; mutt segfaults. Recompiled from Slack source with SlackBuild, no joy.

Anyone else seen this? Ideas? Fix?
 
Old 02-07-2013, 10:47 AM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,299

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Run
Quote:
ldd /path/to/mutt |grep found
Whatever that mentions is missing. It's i486. Have you a 32 bit cpu, or a multilib 64 bit system?
 
Old 02-08-2013, 02:33 PM   #3
HaroldWho
Member
 
Registered: Nov 2006
Location: southeastern PA
Distribution: Slackware
Posts: 128

Original Poster
Rep: Reputation: 22
That was a good idea; I'm embarrassed not to have thought of it. Alas, no libs are missing. BTW, it's a 32-bit Intel Core 2 Duo E6300 with Intel D975XBX2KR board. For now I'm happily using an older version of mutt; not sure what the new version in 14.0 actually buys me.
 
Old 02-08-2013, 02:39 PM   #4
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,299

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Maybe a few more/less fleas? :-). From 'man mutt'
Code:
BUGS
       None.  Mutts have fleas, not bugs.

FLEAS
       Suspend/resume  while  editing  a file with an external editor does not
       work under SunOS 4.x if you use the curses lib in /usr/5lib.   It  does
       work with the S-Lang library, however.
--
       Suspend/resume does not work under Ultrix.

       The help line for the index menu is not updated if you change the bind-
       ings for one of the functions listed while Mutt is running.

       For  a more up-to-date list of bugs, errm, fleas, please visit the mutt
       project's bug tracking system under http://bugs.mutt.org/.
 
Old 02-08-2013, 04:53 PM   #5
san
Member
 
Registered: Jan 2006
Location: vienna, .at
Distribution: Slackware64 13.37
Posts: 50

Rep: Reputation: 12
did it work with 13.37? this might just be mutt's reaction to an option in the .muttrc that is not compiled in. you could compare `mutt -v` to your config file.
 
Old 02-08-2013, 05:30 PM   #6
Poucket
Member
 
Registered: Dec 2012
Location: California
Distribution: Slackware 14.1
Posts: 38

Rep: Reputation: Disabled
Hello HaroldWho,

Sometimes when I have misconfigured my muttrc, mutt does not start at all.
Have you been able to reproduce the segfaults?

On 1.5.21-x86_64 mutt has behaved well, although a while ago I had
a problem with mutt freezing. It seemed to happen randomly, or at times when
I was doing something fancy such as reading a message while logged into a
remote mail server, then following a url in the message, then closing the
browser and resuming my session with mutt. These were not segfaults, however.
Mutt would not exit and dump its memory. I would have to chvt to restart.
 
Old 02-11-2013, 03:08 PM   #7
HaroldWho
Member
 
Registered: Nov 2006
Location: southeastern PA
Distribution: Slackware
Posts: 128

Original Poster
Rep: Reputation: 22
I haven't used mutt-1.5.21 before. as I had Slack 13.1. As for the .muttrc config file, mutt only complains about the "alternates" variable. Still segfaults without any further messages if the "alternates" var is commented out.

I d/l'd the source from mutt.org and configured it w/o POP, NLS, or IMAP. Compiles but still segfaults. I'm gonna try recompiling with S-lang instead of ncurses.

Since I have a working version of mutt I'm not going down this road too far though.
 
Old 02-11-2013, 03:48 PM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,579
Blog Entries: 2

Rep: Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037Reputation: 4037
Using Mutt on 14.0 32 Bit and 64 Bit (64 Bit now updated to -current) without any problems.
 
Old 02-11-2013, 06:24 PM   #9
Poucket
Member
 
Registered: Dec 2012
Location: California
Distribution: Slackware 14.1
Posts: 38

Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
Using Mutt on 14.0 32 Bit and 64 Bit (64 Bit now updated to -current) without any problems.
Nor any problems here.

Quote:
Still segfaults without any further messages if the "alternates" var is commented out.
HaroldWho, in the last few days I have changed muttrc and have managed to produce some segfaults.
What I do not understand is why you must recompile. For me, segfault ends when I
revert whatever change I've made that produces a segfault.
 
Old 02-12-2013, 02:54 PM   #10
HaroldWho
Member
 
Registered: Nov 2006
Location: southeastern PA
Distribution: Slackware
Posts: 128

Original Poster
Rep: Reputation: 22
From what I've seen here so far I need to pay closer attention to my ~/.muttrc file. BTW, mutt seems to ignore the -F field to specify another config file. Only seems to look for ~/.muttrc or /etc/mutt/Muttrc.

I recompiled because I don't need POP, NLS, or IMAP in Mutt. BTW, segfaults whether compiled against ncurses or S-lang.

Here's what the syslog shows after a segfault Means nothing to me:

Quote:
Hound kernel: [ 3041.107246] mutt[3506]: segfault at 0 ip 08074f4f sp bfa08ea0 error 4 in mutt[8048000+c6000]
I still have a few ideas to try; then it stick with 1.4.2.3i

Thanks for all the ideas.
 
1 members found this post helpful.
Old 02-12-2013, 06:27 PM   #11
Poucket
Member
 
Registered: Dec 2012
Location: California
Distribution: Slackware 14.1
Posts: 38

Rep: Reputation: Disabled
Quote:
Originally Posted by HaroldWho View Post
BTW, mutt seems to ignore the -F field to specify another config file. Only seems to look for ~/.muttrc or /etc/mutt/Muttrc.
Just tried that option, and mutt did not ignore it. After mutt started it was configured exactly as specified.

Thanks for keeping us posted.

Quote:
I don't need POP, NLS, or IMAP
What does the +nls add?

Last edited by Poucket; 02-12-2013 at 06:48 PM.
 
Old 02-13-2013, 03:47 PM   #12
HaroldWho
Member
 
Registered: Nov 2006
Location: southeastern PA
Distribution: Slackware
Posts: 128

Original Poster
Rep: Reputation: 22
OK, the segfault problem is due to some unrecognized/screwed-up variable in my old ~/.muttrc file. Mutt complains about the "alternates" variable, but something is still there that just causes a segfault. I built a quick-and-dirty Muttrc using http://muttrcbuilder.org/page (a very interesting site BTW) and no segfault. Downside: appearance not at all what I want, and I doubt I'll spend the time on a new Muttrc when mu old Mutt works fine.

BTW, all NLS gives you is support for a lot of non-English languages.

Again, thank you all for the ideas and suggestions.
 
Old 02-13-2013, 07:18 PM   #13
Poucket
Member
 
Registered: Dec 2012
Location: California
Distribution: Slackware 14.1
Posts: 38

Rep: Reputation: Disabled
Nice site. The muttrcbuilder is very interesting.
(edit link?)

Muttrc does do more than set variables. For example, read the mutt documentation about Alternative Addresses.
Confusingly, "alternates" isn't a variable.

You can also read the same documentation when using mutt by pressing F1 -if that key is not already mapped.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Mutt does not change the "unread" flag on the IMAP server and other Mutt questions TobiSGD Linux - Software 1 10-09-2012 08:44 AM
mutt does not honour mutt.rc 'use_from' entry when accepting piped input davidchall Linux - Software 0 05-28-2012 02:13 AM
Mutt Segfaults on Slackware64 13.1 tpreitzel Slackware 4 08-28-2010 06:41 AM
Mutt experts - Mutt won't use the Maildir I specify in .muttrc moistTowelette Debian 2 08-24-2009 08:04 AM
Mutt question: "How can I configure mutt for not automarking as read??" xowl Linux - Software 0 09-25-2007 09:09 AM


All times are GMT -5. The time now is 03:29 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration