Opened 12 years ago

Closed 12 years ago

#33143 closed defect (fixed)

nmh-1.4: send/post failure

Reported by: mdb@… Owned by: kenh@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: nmh

Description

The new nmh-1.4 port has problems doing a 'post' operation on my MBA running lion.

The bug with a fix was reported against nmh 1.4 here:

http://savannah.nongnu.org/bugs/?35242

and this patch suggested with the problem report:

http://savannah.nongnu.org/bugs/download.php?file_id=24742

fixes my problem using post.

Please consider adding this patch to the client.c file.

To reproduce:

  • 'port install nmh'
  • edit the /opt/local/etc/mts.conf file to change the 'servers: localhost' line to your local smtp gateway like: 'servers: smtp.example.com' where smtp.example.com is listening for smtp submissions on port 25.
  • Use the commands: 'install-mh' to create your nmh mail folder and .mh_profile properly.
  • Use the 'comp' command to edit a new message to send somewhere.
  • Save the file in the editor.
  • At the 'what now?' prompt, use 'send -watch -verbose' and you will get an error like:

post(92684) malloc: *** error for object 0x100102a3a: pointer being freed was not allocated 
set a breakpoint in malloc_error_break to debug
send: message not delivered to anyone

To fix, update the Portfile to patch the nmh-1.4/sbr/client.c file with the patch given in the download.php URL given in this message.

Change History (4)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to kenh@…
Port: nmh added; nmh@1.4+sasl+tls removed

comment:2 Changed 12 years ago by kenh@…

Hi. I replied to your bug report on savannah (and my apologies for missing that; I just discovered that I don't get email about those, I'm looking into it).

Short answer: I agree with part of that patch, but I'm not sure about the other part. I'd like to talk to you more about it. Either way, I would like to make sure this is fixed for the 1.5 release of nmh.

comment:3 in reply to:  description Changed 12 years ago by kenh@…

Okay, with Mark's help I was able to reproduce this problem. I applied the patch from savannah, and it will be in the next release of nmh (which should be out soon). I believe this defect can be closed.

comment:4 Changed 12 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.