[rt-users] rt-mailgate segfaulting (was: rt-mailgate exiting with status 11)
Andrew Pollock
andrew-rt at andrew.net.au
Wed Jun 11 05:45:17 EDT 2003
On Wed, Jun 11, 2003 at 06:44:03PM +1000, Andrew Pollock wrote:
>
> I've done some debugging on this and gotten to the point where I don't
> understand the internals of RT enough to continue.
>
> rt-mailgate is segfaulting inside RT::Attachment::Create
>
> >From what I can determine, this gets called for each part of a multi-part
> MIME message.
>
> I'm testing it with a message that contains a PDF attachment. I'm not sure
> about the structure of a multi-part MIME message, but if I look at the
> file, I see the boundary appear once at the start of the message, once at
> the start of the attachment and once at the end.
>
> >From the debugging code I've inserted, I'm seeing RT::Attachment::Create
> called three times, and it's within the third call, where it appears about
> to call RT::Attachment::Create for a fourth time, that it seems to be
> segfaulting.
>
> Should it be being called this many times? Has it lost the plot about how
> many parts there are in the message, and is why it's segfaulting?
Furthermore, I just figured out how all that SUPER stuff works, and it
appears to be inside DBIx::SearchBuilder::Record::Cachable (or something
along those lines) that's falling over. Sheesh, this is a voyage of
discovery...
Andrew
More information about the rt-users
mailing list