On Fri, Nov 21, 2025 at 11:04:37PM +0000, Gavin Smith wrote:
> I'm yet to track down where encode_with_iconv is being called.  The ↦ 
> character
> does not occur in the output file (test.html), even on my GNU/Linux system
> where I do not get such errors.
> 
> What seems to cause the problem is having the @expansion{} command on the
> @subsection line.  In regular paragraph text, it causes no problems.
> 
> Is there some internal conversion done on section titles that doesn't show
> up in the output?
> 

Slowly, I've been able to run this in "dbx" (the equivalent to gdb on Solaris)
and got the following backtrace:

t@1 (l@1) stopped in encode_with_iconv (optimized) at line 573 in file "utils.c"
  573                       *(unsigned char *)inptr);
(dbx) where
current thread: t@1
=>[1] encode_with_iconv(our_iconv = <value unavailable>, s = <value 
unavailable>, source_info = <value unavailable>) (optimized), at 0xfd797535 
(line ~573) in "utils.c"
  [2] encode_string(input_string = <value unavailable>, encoding = <value 
unavailable>, status = <value unavailable>, source_info = <value unavailable>) 
(optimized), at 0xfd79769b (line ~630) in "utils.c"
  [3] unicode_to_transliterate(0x8d81398), at 0xfd790879 
  [4] normalize_transliterate_texinfo(0x8abc6a0, 0x0, 0x0, 0x0), at 0xfd7908c5 
  [5] normalize_transliterate_texinfo_contents(0x8dec1b0), at 0xfd79094f 
  [6] normalized_sectioning_command_filename(0x8e3eea8), at 0xfd3164be 
  [7] new_sectioning_command_target(0x8e3eea8, 0x8dec1d0, 0x8d88f10, 
0xfeffe0c8), at 0xfd34763b 
  [8] set_root_commands_targets_node_files(0x8e3eea8), at 0xfd347d0b 
  [9] html_prepare_conversion_units_targets(0x8e3eea8), at 0xfd3487b5 
  [10] XS_Texinfo__Convert__ConvertXS_html_output(0x8060df0, 0x855a510, 
0xfeffe1d8, 0xfe5be213), at 0xfcff4b42 
  [11] Perl_pp_entersub(0x8060df0, 0x43, 0x4b, 0xfe5b66da), at 0xfe5be7ee 
  [12] Perl_runops_standard(0x8060df0, 0xfeffe468, 0xfeffe21c, 0xfe55681d), at 
0xfe5b6721 
  [13] S_run_body(0x8060df0, 0x1, 0xfeffe268, 0xfe556581, 0xfeffe2b0, 
0xfeffe418), at 0xfe5568bc 
  [14] S_run_body(0x0, 0x8d813a6, 0x1d, 0xfeffdf5c), at 0xfe556813 
  [15] main(0x6, 0xfeffe4c4, 0xfeffe4e0, 0x805098f), at 0x8050b48 

I'll note that running with TEXINFO_XS=omit doesn't give the error message.

Reply via email to