NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/59635: mailx(1) regularly dumps core when changing mail folders



The following reply was made to PR bin/59635; it has been noted by GNATS.

From: Valery Ushakov <uwe@snips>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: bin/59635: mailx(1) regularly dumps core when changing mail
 folders
Date: Mon, 15 Jun 2026 14:11:20 +0300

 I'm pretty sure this is fallout from the "offset" fixes.  The observed
 randomness probably depends on whether `realloc` in `makemessage` has
 moved the object or not.  I think I can force it to always crash by
 forcing the reallocation to get new memory.
 
 Someone who groks the internals should look at this, b/c I see
 omsgCount = 0, but omessage != NULL and I don't have time to learn
 what does that mean and how the conditions to call
 `thread_fix_old_links` should be tweaked.
 
 -uwe
 



Home | Main Index | Thread Index | Old Index