Project

General

Profile

Actions

Defect #5422

closed

email notification broken on OSX snow leopard

Added by Peter Englmaier about 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Email notifications
Target version:
-
Start date:
2010-05-01
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

Test email is not sent out due to a segmentation fault, according to this log entry in mongrel.3002.log:

/Applications/redmine-0.9.3-0/ruby/lib/ruby/gems/1.8/gems/actionmailer-2.3.5/lib/action_mailer/base.rb:691: [BUG] Segmentation fault
ruby 1.8.7 (2009-12-24 patchlevel 248) [i686-darwin8.10.2], MBARI 0x8770, Ruby Enterprise Edition 2010.01

I've got this error with 0.9.3 as well as the current trunk version 0.9.4.devel.3731 (MySQL). My installation is based on the bitnami osx native install (0.9.3-0), but upgraded using svn to the latest trunk and migrated following the wiki instructions.

I am using the following email.yml:

production:
  delivery_method: :sendmail

Digging through the source code, I realize that email is sent by calling the /usr/sbin/sendmail command. Sending email using sendmail works fine for the redmine user (which is running the servers). But if the redmine server process is trying to send email it never calls the binary, it just segfaults.

bash-3.2$ which ruby
/Applications/redmine-0.9.3-0/ruby/bin/ruby
bash-3.2$ RAILS_ENV=production ruby script/about
About your application's environment
Ruby version              1.8.7 (i686-darwin8.10.2)
RubyGems version          1.3.5
Rack version              1.0
Rails version             2.3.5
Active Record version     2.3.5
Active Resource version   2.3.5
Action Mailer version     2.3.5
Active Support version    2.3.5
Application root          /Applications/redmine-0.9.3-0/apps/redmine
Environment               production
Database adapter          mysql
Database schema version   20100313171051

The .ruby.bin process crashes and leaves a report in /Library/Logs/DiagnosticReports/.ruby.bin_2010-05-01-180921_localhost.crash which is attached to this bug report.

BTW, thanks for creating redmine! I like it a lot :-)


Files

Actions

Also available in: Atom PDF