Hi,
I have been using kmail for years, but lately I’m having segfaults in akonadi_html_to_text as kmail is indexing blank emails.
This is the error I reproduced after doing a wrapper to akonadi_html_to_text to catch the input:
$ echo -n '' |akonadi_html_to_text.real
thread '<unnamed>' (22200) panicked at /usr/share/cargo/registry/html2text-0.12.6/src/lib.rs:2436:10:
Failed to convert to HTML: TooNarrow
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' (22200) panicked at /usr/share/cargo/registry/cxx-1.0.192/src/unwind.rs:37:9:
panic in ffi function htmlparser::ffi::convert_to_text, aborting.
stack backtrace:
0: 0x5639dc439d25 - <unknown>
1: 0x5639dc45543f - <unknown>
2: 0x5639dc43a17f - <unknown>
3: 0x5639dc431888 - <unknown>
4: 0x5639dc438fe4 - <unknown>
5: 0x5639dc438ea3 - <unknown>
6: 0x5639dc439321 - <unknown>
7: 0x5639dc4391ba - <unknown>
8: 0x5639dc438da9 - <unknown>
9: 0x5639dc437e4d - <unknown>
10: 0x5639dc41ed80 - <unknown>
11: 0x5639dc41b4f8 - <unknown>
12: 0x5639dc423a03 - <unknown>
13: 0x5639dc42297b - <unknown>
14: 0x5639dc42258b - <unknown>
15: 0x7fbda1c33f75 - __libc_start_call_main
at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
16: 0x7fbda1c34027 - __libc_start_main_impl
at ./csu/../csu/libc-start.c:360:3
17: 0x5639dc422771 - <unknown>
18: 0x0 - <unknown>
thread '<unnamed>' (22200) panicked at library/core/src/panicking.rs:233:5:
panic in a destructor during cleanup
thread caused non-unwinding panic. aborting.
Aborted (core dumped) echo -n '' | akonadi_html_to_text.real
Is this an intended behavior ? If not, where should I report the bug?
Thanks in advance for all the amazing KDE suite.