[sylpheed:36762] Re: Strange bug with small screen

Stefan Vorkoetter stefan at capable.ca
Wed Dec 26 23:53:25 JST 2018


On Tue, 25 Dec 2018 17:07:02 -0500
Michael Shell <list1 at michaelshell.org> wrote:

> Great investigating!
> 
> What exactly is in your sylpheed source code in src/compose.c around
> that area? For my sylpheed-3.7.0 source tree, that code is around
> line 3008 rather than 3027 and is:
> 
> 	for (i = 0; valid && i < sizeof(compose->account->sig_names) /
> 		...
> 	}

I have some changes earlier in the file (lines 855 to 860) to be a bit cleverer about which account to use when replying to a message (too often I replied from the wrong account), so the remainder of the code is offset by 16 lines. (I submitted those changes as a suggestion once, but never received a response.)

> As a test, I would try setting
> 
> valid = 0;
> 
> before the above conditional to see if that stops the crash (at least
> when entering the compose mode), even though signature handling would
> be disabled as a result.

I'll give that a try.

> Another thing to try is to restore your entire  .sylpheed-2.0
> directory, not just accountrc. Does that result in a non-crashing
> sylpheed?

I'm not sure I have an old enough backup of it anywhere.

BTW, I discovered that the same bug exists on my Intel laptop running Debian 8. If I launch Sylpheed from an icon, opening the compose window crashes. If launched from the command line, it works fine.

Stefan

-- 
Stefan Vorkoetter
http://www.stefanv.com


More information about the Sylpheed mailing list