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%stderr.spb.ru@localhost>
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 19:26:47 +0300

 With some instrumentation:
 
 makemessage: realloc 0x4c08df0 -> 0x4c1a170
 thread_fix_new_links: head = 0x4c08df0,  message = 0x4c1a170, omsgCount = 0, msgCount = 1
 mail: thread.c:515: thread_fix_new_links: Assertion `message_array.t_head == message' failed.
 Aborted (core dumped)
 
 So the crash is indeed caused by a missing update after realloc in
 makemessage moves the memory.
 
 -uwe
 



Home | Main Index | Thread Index | Old Index