Re: emacs/notmuch hangs opening email

2023-02-22 Thread Jon Fineman


David Bremner  writes:

> Jon Fineman  writes:
>
>> When I try and open one specific email, I get a message of
>> "Fontifying..." and then the mouse pointer turns into a watch.
>>
>> If I C-G it breaks out and shows the email message with a red warning
>> at the top of "[some mark read tag changes may have failed]", but
>> since reading the message was interrupted some/many key mappings
>> aren't set, etc.
>>
>
> Is the message by chance SMIME signed? That can be fixed on the gpgsm
> level. Otherwise, the only thing I can think of is to M-x edebug-defun
> on notmuch-show--build-buffer, and step through it to see where it gets
> stuck.
>
> d


Thanks. Well this email didn't help (but I did learn a bit about
edebug), but your reply to another email about emacs crashing with
incoming email did. It prompted me to bisect my init.el and I
discovered that the following line was causing the issue, even though
I wasn't using w3m to view the message.
(setq mm-text-html-renderer 'w3m)

If I change the above to use gnus-w3m it works.

Not sure I have the ability to figure out what is going on beyond
that though.

___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org


Re: crash on incoming email

2023-02-22 Thread David Bremner
Antoine Beaupré  writes:

> When I have the attached email in my `inbox` and hit ENTER on the email
> (notmuch-search-show-thread here), Emacs crashes completely with:
>
> fév 22 11:57:10 angela emacs[112721]: 
> /home/anarcat/.emacs.d/eln-cache/28.2-8532cd27/tab-line-e55f541b-b1fd08d4.eln(F7461622d6c696e652d6175746f2d687363726f6c6c_tab_li>
> fév 22 11:57:10 angela emacs[112721]: 
> /usr/bin/emacs(+0x1b811b)[0x55d1080b011b]
> fév 22 11:57:10 angela emacs[112721]: 
> /home/anarcat/.emacs.d/eln-cache/28.2-8532cd27/tab-line-e55f541b-b1fd08d4.eln(F7461622d6c696e652d666f726d61742d74656d706c617465_>
> fév 22 11:57:10 angela emacs[112721]: 
> /usr/bin/emacs(+0x1b811b)[0x55d1080b011b]
> fév 22 11:57:10 angela emacs[112721]: 
> /home/anarcat/.emacs.d/eln-cache/28.2-8532cd27/tab-line-e55f541b-b1fd08d4.eln(F7461622d6c696e652d666f726d6174_tab_line_format_0+>

I can't duplicate this here (at least not with emacs -q). I suspect we
have pretty similar Debian environments, but maybe try moving your
.emacs.d/eln-cache out of the way.
___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org


crash on incoming email

2023-02-22 Thread Antoine Beaupré
When I have the attached email in my `inbox` and hit ENTER on the email
(notmuch-search-show-thread here), Emacs crashes completely with:

fév 22 11:57:10 angela emacs[112721]: Backtrace:
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0x1536c3)[0x55d10804b6c3]
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0x48835)[0x55d107f40835]
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0x48d25)[0x55d107f40d25]
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0x473cc)[0x55d107f3f3cc]
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0xf0eac)[0x55d107fe8eac]
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0x81ed8)[0x55d107f79ed8]
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0x82e1a)[0x55d107f7ae1a]
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0x7f728)[0x55d107f77728]
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0x84579)[0x55d107f7c579]
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0x85477)[0x55d107f7d477]
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0x17d9cb)[0x55d1080759cb]
fév 22 11:57:10 angela emacs[112721]: 
/home/anarcat/.emacs.d/eln-cache/28.2-8532cd27/tab-line-e55f541b-b1fd08d4.eln(F7461622d6c696e652d6175746f2d687363726f6c6c_tab_li>
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0x1b811b)[0x55d1080b011b]
fév 22 11:57:10 angela emacs[112721]: 
/home/anarcat/.emacs.d/eln-cache/28.2-8532cd27/tab-line-e55f541b-b1fd08d4.eln(F7461622d6c696e652d666f726d61742d74656d706c617465_>
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0x1b811b)[0x55d1080b011b]
fév 22 11:57:10 angela emacs[112721]: 
/home/anarcat/.emacs.d/eln-cache/28.2-8532cd27/tab-line-e55f541b-b1fd08d4.eln(F7461622d6c696e652d666f726d6174_tab_line_format_0+>
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0x1ba9fd)[0x55d1080b29fd]
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0x1bc488)[0x55d1080b4488]
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0x1b811b)[0x55d1080b011b]
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0x1b73f9)[0x55d1080af3f9]
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0x68504)[0x55d107f60504]
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0x68620)[0x55d107f60620]
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0x88839)[0x55d107f80839]
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0x8a0e0)[0x55d107f820e0]
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0x8a54a)[0x55d107f8254a]
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0xa4bf7)[0x55d107f9cbf7]
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0xa8ffb)[0x55d107fa0ffb]
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0x1b7164)[0x55d1080af164]
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0x6ab49)[0x55d107f62b49]
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0x93d51)[0x55d107f8bd51]
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0x95c15)[0x55d107f8dc15]
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0x52244)[0x55d107f4a244]
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0x1b811b)[0x55d1080b011b]
fév 22 11:57:10 angela emacs[112721]: 
/home/anarcat/.emacs.d/eln-cache/28.2-8532cd27/notmuch-show-7f6eba8e-bdb6e2e2.eln(F6e6f746d7563682d73686f772d636f6d6d616e642d686>
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0x1b811b)[0x55d1080b011b]
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0x1b8238)[0x55d1080b0238]
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0x1b73f9)[0x55d1080af3f9]
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0x139151)[0x55d108031151]
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0x1b783d)[0x55d1080af83d]
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0x13ef45)[0x55d108036f45]
fév 22 11:57:10 angela emacs[112721]: /usr/bin/emacs(+0x148a84)[0x55d108040a84]
fév 22 11:57:10 angela emacs[112721]: ...
fév 22 11:57:11 angela systemd[3301]: emacs.service: Main process exited, 
code=killed, status=6/ABRT

I'm not sure what's going on, but it scares the heck out of me.

A.

-- 
Life is like riding a bicycle. To keep your balance you must keep moving.
   - Albert Einstein


1677084681.110728_1.angela,,U=63246:2,S
Description: Binary data


signature.asc
Description: PGP signature
___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org


Re: Thread safety?

2023-02-22 Thread David Bremner
Kevin Boulain  writes:

> The documentation of MatchNothing says it's thread-safe.
>
> If you'd like, I'm happy to submit a patch (likely very small, given the
> limited number of occurrences) after I review a bit more the
> documentation and the code (I'm just starting with Notmuch and Xapian so
> that's probably the extent of what I can do).

Sounds good. With apologies for the imposing table of contents, please
also have a quick look at

 https://notmuchmail.org/contributing/

Probably the relevant bit is

 https://notmuchmail.org/contributing/#index5h2

I suspect a (deterministic) regression test is not really feasible.

___
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org