#55236 closed defect (fixed)
After starting mutt (neomutt @20171027) I get "Segmentation fault: 11" or "Abort trap: 6"
Reported by: | mimaoffice (Michele Marcionelli) | Owned by: | lbschenkel (Leonardo Brondani Schenkel) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.2 |
Keywords: | Cc: | l2dy (Zero King) | |
Port: | neomutt |
Description
Just installed as "root" MacPort on OS X 10.12.6 from scratch as follow:
PREFIX=/opt/local2 export PATH=$PREFIX/bin:$PATH V=2.4.2 cd /tmp/ curl -O http://distfiles.macports.org/MacPorts/MacPorts-$V.tar.bz2 tar jxf MacPorts-$V.tar.bz2 cd MacPorts-$V chown -R 0:0 . ./configure --prefix=$PREFIX make make install
and afterward I installed "neomutt" as follow:
port install neomutt
I have now this version of neomutt installed:
port installed neomutt ==> neomutt @20171027_0+idn+mutt (active)
Now, connecting to some server results in a "Segmentation fault: 11" and to other server in an "Abort trap: 6". I cannot user mutt anymore. The last good version that I can still use is @20170912.
I tested with these minimal configurations:
1) the "Segmentation fault: 11"-version
set imap_user="******" set imap_pass="******" set folder="{mail.ethz.ch/ssl}" set spoolfile="{mail.ethz.ch/ssl}INBOX"
2) the "Abort trap: 6"-version:
set imap_user="******" set imap_pass="******" set folder="{imap.mail.hostpoint.ch/ssl}" set spoolfile="{imap.mail.hostpoint.ch/ssl}INBOX"
the full error message is
mutt(85451,0x7fffc69923c0) malloc: *** error for object 0x1064a80cb: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug Abort trap: 6
Can somebody help me?
Bests, Michele
Attachments (2)
Change History (21)
comment:1 Changed 7 years ago by Schamschula (Marius Schamschula)
Cc: | l2dy added |
---|---|
Owner: | set to lbschenkel |
Priority: | High → Normal |
Status: | new → assigned |
comment:2 Changed 7 years ago by mimaoffice (Michele Marcionelli)
Cc: | mimaoffice added |
---|
comment:3 Changed 7 years ago by mimaoffice (Michele Marcionelli)
Cc: | mimaoffice removed |
---|
comment:4 Changed 7 years ago by mf2k (Frank Schima)
Keywords: | neomutt sierra segfault abort removed |
---|
comment:5 follow-up: 6 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Could you attach the crash logs, please?
comment:6 Changed 7 years ago by mimaoffice (Michele Marcionelli)
Replying to ryandesign:
Could you attach the crash logs, please?
How can I do that? Usually I would install neomutt
with the variant debug
which seems to be disappeared:
https://github.com/macports/macports-ports/blob/master/mail/neomutt/Portfile
By the way: the Portfile
here above corresponds now (as of 3 Nov 2017 @ 22:00) to the version 20171027,
but the info on this page corresponds to the older version 20170912:
https://www.macports.org/ports.php?by=name&substr=neomutt
If I anyway try to install neomutt
with the variant debug
and I start mutt with the option -d2
I get the expected error message
DEBUG was not defined during compilation. -d Ignored.
Any Idea?
Bests, Michele
comment:7 Changed 7 years ago by kencu (Ken)
First hit on Google:
Locating crash logs under OS X 10.7 and later. Under OS X 10.7 ("Lion"), and later, crash logs are stored in the folder ~/Library/Logs/DiagnosticReports/. You can reach this folder by following these steps: In Finder, click on the Go menu and choose Go to Folder... After selecting this command, a text field should appear in Finder. Paste the path ~/Library/Logs/DiagnosticReports/ into the text field. Click the Go button.
comment:8 Changed 7 years ago by mimaoffice (Michele Marcionelli)
Thank you Ken!!
Ok I found out when I get the Segmentation fault: 11
and when then Abort trap: 6
... but still it is strange:
/opt/local2/bin/mutt -F muttrc-test1 ==> Segmentation fault: 11
and
/opt/local2/bin/mutt -F ~/muttrc-test1 ==> mutt(60684,0x7fffc69923c0) malloc: *** error for object 0x7fffbdaaa610: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug Abort trap: 6
Attached see the crash logs for both tests.
Changed 7 years ago by mimaoffice (Michele Marcionelli)
Attachment: | neomutt_2017-11-03-223557_fibonacci.crash added |
---|
Changed 7 years ago by mimaoffice (Michele Marcionelli)
Attachment: | neomutt_2017-11-03-223559_fibonacci.crash added |
---|
comment:9 follow-up: 10 Changed 7 years ago by lbschenkel (Leonardo Brondani Schenkel)
This may be beyond my skills to troubleshoot/fix, it looks like I should report this upstream.
comment:10 Changed 7 years ago by mimaoffice (Michele Marcionelli)
Replying to lbschenkel:
This may be beyond my skills to troubleshoot/fix, it looks like I should report this upstream.
Ok... but can you replicate the problem?
comment:11 Changed 7 years ago by lbschenkel (Leonardo Brondani Schenkel)
No, I cannot. Obviously I cannot use your exact config file, but an equivalent version using my IMAP server works for me.
comment:12 Changed 7 years ago by mimaoffice (Michele Marcionelli)
What if you use my config file with some dummy entries for username and password? You should get a Login failed
and not a Abort trap: 6
.
comment:13 Changed 7 years ago by lbschenkel (Leonardo Brondani Schenkel)
I will try.
In the meantime, I have reported your issue to upstream: https://github.com/neomutt/neomutt/issues/910
Because in case it's a genuine problem, it is unlikely I can fix it downstream.
comment:15 Changed 7 years ago by lbschenkel (Leonardo Brondani Schenkel)
Actually I can reproduce it, using your files exactly as posted with the asterisks...
comment:16 Changed 7 years ago by lbschenkel (Leonardo Brondani Schenkel)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:17 Changed 7 years ago by lbschenkel (Leonardo Brondani Schenkel)
Michelle: upstream has acknowledged the issue, and there is a fix. I have tested the fix and confirmed that it solves the crash. I incorporated the patch and bumped the revision number.
comment:18 Changed 7 years ago by mimaoffice (Michele Marcionelli)
Thank you Leonardo!! How can I install the new revision? I tried with
port selfupdate port upgrade outdated
... but not upgrade for neomutt
has been installed/found.
comment:19 Changed 7 years ago by lbschenkel (Leonardo Brondani Schenkel)
It takes a while for changes made to the repository to propagate to the tarball (and the mirrors). Try again in a few hours.
Please don't set the priority. That field is for MacPorts maintainers.
Please add the maintainers to the CC field. In this case use
port info --maintainers neomutt
.