Forum .LRN Q&A: urgent: malloc problem in acs-mail-lite?

Hi all
Long time no see....

I haven't done any openacs in a while and my site just stopped working... I am hoping someone can help.

This is the error message

Thanks

Rafa

[12/Aug/2007:12:30:18][258.1035856][-sched:12-] Error: *** malloc[730]: Deallocation of a pointer not malloced: 0xf35f4; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug
*** malloc[731]: Deallocation of a pointer not malloced: 0xe0614; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug
*** malloc[730]: Deallocation of a pointer not malloced: 0xf35f4; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug
*** malloc[731]: Deallocation of a pointer not malloced: 0xe0614; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug
while executing
"close $f"
("uplevel" body line 16)
invoked from within
"uplevel $code"
invoked from within
"with_finally -code {
set sendmail [list [bounce_sendmail] "-f[bounce_address -user_id $rcpt_id -package_id $package_id -message_id $message_id]"..."
(procedure "sendmail" line 6)
invoked from within
"sendmail -from_addr $from_addr -sendlist $to_addr -msg $msg -valid_email_p $valid_email_p -message_id $message_id -package_id $package_id"
(procedure "deliver_mail" line 55)
invoked from within
"deliver_mail -to_addr $to_addr -from_addr $from_addr -subject $subject -body $body -extraheaders $extra_headers -bcc $bcc -valid_email_p $valid_emai..."
("uplevel" body line 2)
invoked from within
"uplevel $code"
invoked from within
"with_finally -code {
deliver_mail -to_addr $to_addr -from_addr $from_addr -subject $subject -body $body -extraheaders $extra_headers -bcc $bcc..."
("uplevel" body line 2)
invoked from within
"uplevel 1 $code_block "
("1" arm line 1)
invoked from within
"switch $errno {
0 {
# TCL_OK
}
1 {
# TCL_ERROR
..."
("while" body line 20)
invoked from within
"while { [db_getrow $db $selection] } {
incr counter
if { [info exists array_val] } {
unset array_val
..."
("uplevel" body line 5)
invoked from within
"uplevel 1 $code_block "
invoked from within
"db_with_handle -dbn $dbn db {
set selection [db_exec select $db $full_statement_name $sql]

set counter 0
while { [db_getrow $..."
(procedure "db_foreach" line 36)
invoked from within
"db_foreach get_queued_messages {} {
with_finally -code {
deliver_mail -to_addr $to_addr -from_addr $from_addr -subject $subject -body $body -..."
("uplevel" body line 2)
invoked from within
"uplevel $code"
invoked from within
"with_finally -code {
db_foreach get_queued_messages {} {
with_finally -code {
deliver_mail -to_addr $to_addr -from_addr $from_addr -subj..."
(procedure "acs_mail_lite::sweeper" line 8)
invoked from within
"acs_mail_lite::sweeper"
("eval" body line 1)
invoked from within
"eval [concat [list $proc] $args]"
(procedure "ad_run_scheduled_proc" line 42)
invoked from within
"ad_run_scheduled_proc {t f 60 acs_mail_lite::sweeper {} 1186883911 0 f}"
[12/Aug/2007:12:30:31][258.1032448][-sched:13-] Notice: acs-mail-lite: about to load qmail queue
[12/Aug/2007:12:30:31][258.1032448][-sched:13-] Notice: queue dir = /Users/weg3user/Maildir/new/*, no messages

Collapse
Posted by Dave Bauer on
I can't imagine any Tcl code in acs_mail_lite that would cause this.

Is there any chance this has to do with an externally executing program? Ie: what is the delivery method you use?
SMTP or exec an external program such as sendmail. Looks like sendmail, so are you using sendmail, postfix, qmail etc?