Opened 13 years ago
Last modified 13 years ago
#197 new defect
BarnOwl sometimes segfaults on $m->delete_and_expunge called from the recieveMessage hook
Reported by: | jgross@mit.edu | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | internals | Keywords: | |
Cc: |
Description
If you call $m->delete_and_expunge with the object passed to the recieveMessage hook, I'm pretty sure that you either get an admin message with something like
`
Internal error! Non-UTF-8 string encountered: (W\xee Aug 7 05:59:16 2011
`
or BarnOwl segfaults. I presume this has something to do with trying to display an already-freed owl_message, but I haven't looked into it beyond noting that the error message is from owl_new_sv.
Note: See
TracTickets for help on using
tickets.
This also happens if you call $m->delete; BarnOwl::command('expunge'); from the recieveMessage hook.
This will probably be fixed by perlmessages, and should perhaps be left alone until then.