Language:
switch to room list switch to menu My folders
Go to page: First ... 14 15 16 17 [18]
[#] Sun May 08 2022 09:08:36 EDT from BobS

Subject: Re: Attachments to mail

[Reply] [ReplyQuoted] [Headers] [Print]

Put Ubuntu 20 on an old PC along with Citadel loaded from the easy install.  Initially I noticed the same thing.  I would get kicked out of the application about 80% of the time as soon as I posted an attachment.  I began to notice if I waited for 5 to 10 seconds after i did the attachment before closing the page and going back to the email, putting some words in the email, waiting another 5 seconds, then click send, the mail and attachment would go almost 100% of the time. 

i will go  back to the RPi and see if the same scenario plays out when putting the delays in the process.

Bob

Sequim, WA



[#] Sun May 08 2022 15:09:29 EDT from IGnatius T Foobar

Subject: Re: Attachments to mail

[Reply] [ReplyQuoted] [Headers] [Print]

That's a good thought. I've also got a Pi set up with a Citadel environment and I think we've got at least some part of your problem reproduced. People have reported problems with attachments on Pi before, but it's been elusive.
I always assumed it had something to do with memory management, but maybe you're onto something and it's a race condition. Will look into this more!

[#] Wed May 11 2022 09:59:41 EDT from IGnatius T Foobar

Subject: Re: Attachments to mail

[Reply] [ReplyQuoted] [Headers] [Print]


Just as a quick update ... so far, what I have been able to reproduce is that I get s software crash while attempting to upload large attachments on a Pi. The debugger says its crashing inside the base64-encode library. Does this sound like what you miht be experiencing? Incoming mail from the outside would be encoded somewhere else, so it wouldnt crash the library.

[#] Thu May 12 2022 00:16:19 EDT from BobS

Subject: Re: Attachments to mail

[Reply] [ReplyQuoted] [Headers] [Print]

Size of the attachment did not make any difference.    I could reproduce it 100% of the time if I did an attachment, quickly hit close and then, again, quickly hit send.  Also, leave the document blank with no words. 

 

Bob



[#] Mon May 16 2022 11:28:08 EDT from IGnatius T Foobar

Subject: Re: Attachments to mail

[Reply] [ReplyQuoted] [Headers] [Print]

All right, I found at least one bug where it was calculating an encoding buffer size incorrectly on memory-constrained systems such as raspberry pi. Now I am also seeing attachments being cut off before completion; working on that now."

[#] Fri May 20 2022 20:12:30 EDT from IGnatius T Foobar

Subject: Re: Attachments to mail

[Reply] [ReplyQuoted] [Headers] [Print]

Quick update: I've got a set of tests going where I can reliably get the MIME parser to produce decodes of an incorrect length when running on a Pi. Looking into it now.

Go to page: First ... 14 15 16 17 [18]