jens-maus / yam

:mailbox_with_mail: YAM (short for 'Yet Another Mailer') is a MIME-compliant open-source Internet email client written for Amiga-based computer systems (AmigaOS4, AmigaOS3, MorphOS, AROS). It supports POP3, SMTP, TLSv1/SSLv3 connection security, multiple users, multiple identities, PGPv2/v5 encryption, unlimited hierarchical folders, an ARexx interface, etc...
https://yam.ch
GNU General Public License v2.0
61 stars 18 forks source link

random crash with yam 2.10 (15.02.2018 #669

Open MichaelMerkel opened 6 years ago

MichaelMerkel commented 6 years ago

Submission type

YAM version

2.10 (15.02.2018)

Used operating system

Used Amiga system

X1000

Unexpected behaviour you saw

GrimReaper when fetching mails in background

Steps to reproduce the problem

random crash?

jens-maus commented 6 years ago

? more information please. Your ticket is incomplete.

MichaelMerkel commented 6 years ago

sorry - odysses just saved - and does not let me edit. just connected via my pc. uploading crashlog

MichaelMerkel commented 6 years ago

i have no idea if this helps... but i cannot provide much more than the grim reaper log.

MichaelMerkel commented 6 years ago

Crashlog_YAM thread [1]_2018-03-08_08-47-37.txt

MichaelMerkel commented 6 years ago

i just installed the new amissl update and codeset library.

jens-maus commented 6 years ago

Please try the latest nightly build (2018-03-07) first.

jens-maus commented 6 years ago

@tboeckel Can you reproduce the problem by trying to actually fetch emails with AmiSSL 4.2 in use?

@MichaelMerkel If the latest YAM nightly doesn't solve the issue please downgrade to AmiSSL 4.1 and report if this fixes the issues.

MichaelMerkel commented 6 years ago

Uh? Yam tells me there is no update available when checking? (also autocheck is on). Ok - downloading it manually now.

MichaelMerkel commented 6 years ago

well, i think the problem is, that is was quite random. i mean i manually fetched mails before. no problem. only after some 20 minutes or so the crash occured. let's see if i get this again.

jens-maus commented 6 years ago

Do you have two or more mail providers configured? It seems that this might be caused because YAM is fetching from more than one mail server in parallel.

tboeckel commented 6 years ago

So far I did single-threaded downloads only and these were working perfectly. I'll try parallel downloads as soon as possible.

tboeckel commented 6 years ago

For me the crash looks like a trashed memory pool: [free.c:25] libs:amissl/amissl_v110g.library:free()+0x6c (section 1 @ 0x2179F8) line 25 of free.c is the FreePooled() call, but the real crash happens inside that function. Since the pointer to be freed has been confirmed to be non-NULL before already only the memory pool can be in an invalid state.

MichaelMerkel commented 6 years ago

yes. i have 5 providers active. i also see very often that, when manually checking all servers at once, i often get an ssl error for one of them. trying it again immediately afterwards it usully succeeds. sometimes getting an error from another provider. but again this works with the next try.