/lib/libc.so.7: slrn dies in LC_ALL=C env on a particular message
[email protected] Fri, 21 Aug 2015 23:20:42 -1000
| Newsgroups | gmane.network.slrn.user,gmane.os.freebsd.stable |
|---|---|
| Message-ID | <[email protected]> |
Today I came upon a post in rec.arts.anime.misc ... 8B8AD26D-FF8A-4CCE-A10A-239657B79B2E%[email protected] ... with headers ... Content-Type: text/plain; charset=windows-1250 Content-Transfer-Encoding: binary ... which caused slrn to die with segfault. It was when "LC_ALL" was set to "C" (no other LC_* variable was set). slrn also dies while trying to display a reply to that post... [email protected] ... which has ... Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previously, slrn would just show the odd charcaters without fuss, which would be the desired behaviour. Problem remained even after rebuilding slrn & slang. The two messages can be accessed from ... http://bitter-almonds.com/tmp/slrn-segfault-LC_ALL=C slrn displayed the messages without problem with ... # env | fgrep LC_ LC_TIME=en_US.UTF-8 LC_NUMERIC=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 Should I file a PR (for libc*)? Backtrace of slrn.core (on 10-STABLE (r286917)) ... Core was generated by `slrn'. Program terminated with signal 11, Segmentation fault. Reading symbols from /misc/local/lib/libslang.so.2...(no debugging symbols found)...done. Loaded symbols for /misc/local/lib/libslang.so.2 Reading symbols from /misc/local/lib/libuu.so.3...(no debugging symbols found)...doe. Loaded symbols for /misc/local/lib/libuu.so.3 Reading symbols from /usr/lib/libssl.so.7...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libssl.so.7 Reading symbols from /lib/libcrypto.so.7...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypto.so.7 Reading symbols from /misc/local/lib/libintl.so.8...(no debugging symbols found)...done. Loaded symbols for /misc/local/lib/libintl.so.8 Reading symbols from /lib/libncurses.so.8...(no debugging symbols found)...done. Loaded symbols for /lib/libncurses.so.8 Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done. Loaded symbols for /lib/libm.so.5 Reading symbols from /usr/lib/i18n/libiconv_std.so.4...(no debugging symbols found)...done. Loaded symbols for /usr/lib/i18n/libiconv_std.so.4 Reading symbols from /usr/lib/i18n/libmapper_serial.so.4...(no debugging symbols found)...done. Loaded symbols for /usr/lib/i18n/libmapper_serial.so.4 Reading symbols from /usr/lib/i18n/libmapper_std.so.4...(no debugging symbols found)...done. Loaded symbols for /usr/lib/i18n/libmapper_std.so.4 Reading symbols from /usr/lib/i18n/libmapper_646.so.4...(no debugging symbols found)...done. Loaded symbols for /usr/lib/i18n/libmapper_646.so.4 Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x28495a94 in _citrus_pivot_factory_convert () from /lib/libc.so.7 (gdb) bt #0 0x28495a94 in _citrus_pivot_factory_convert () from /lib/libc.so.7 #1 0x2860302e in ?? () from /usr/lib/i18n/libiconv_std.so.4 #2 0x2859f0e8 in _iconv_version () from /lib/libc.so.7 #3 0x29000000 in ?? () #4 0xffdd4abc in ?? () #5 0x00000000 in ?? () - parv -- ------------------------------------------------------------------------------