Re: \mathchoice 中の和文文字

名前: 土村
日時: 2008-06-19 13:23:42
IPアドレス: 133.11.136.*

>>51644 ptexlive で試しました。未初期化変数にアクセスしているようです。 zflushnodelist というC言語の関数は、Web 言語上では flush_node_list と表現されています。 mlisttohlist は同じく mlist_to_hlist です。 ptex-base.ch に改変部分がありますね... もうちょっと調べてみます。 % valgrind ptex sample.tex ==12671== Memcheck, a memory error detector. ==12671== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==12671== Using LibVEX rev 1575, a library for dynamic binary translation. ==12671== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP. ==12671== Using valgrind-3.1.1, a dynamic binary instrumentation framework. ==12671== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==12671== For more details, rerun with: -v ==12671== This is pTeX, Version 3.141592-p3.1.10 (utf8.euc) (Web2C 7.5.6) (./sample.tex==12671== Conditional jump or move depends on uninitialised value(s) ==12671== at 0x413B79: zflushnodelist (ptex0.c:3279) ==12671== by 0x413D2E: zflushnodelist (ptex0.c:3402) ==12671== by 0x42503F: mlisttohlist (ptex1.c:4615) ==12671== by 0x432311: aftermath (ptex1.c:11256) ==12671== by 0x435B28: maincontrol (ptex2.c:1803) ==12671== by 0x40C9F1: mainbody (ptexini.c:4651) ==12671== by 0x43903D: main (ptexextra.c:351) ==12671== ==12671== Use of uninitialised value of size 8 ==12671== at 0x413B81: zflushnodelist (ptex0.c:3279) ==12671== by 0x413D2E: zflushnodelist (ptex0.c:3402) ==12671== by 0x42503F: mlisttohlist (ptex1.c:4615) ==12671== by 0x432311: aftermath (ptex1.c:11256) ==12671== by 0x435B28: maincontrol (ptex2.c:1803) ==12671== by 0x40C9F1: mainbody (ptexini.c:4651) ==12671== by 0x43903D: main (ptexextra.c:351) ==12671== ==12671== Conditional jump or move depends on uninitialised value(s) ==12671== at 0x413B29: zflushnodelist (ptex0.c:3437) ==12671== by 0x413CBE: zflushnodelist (ptex0.c:3285) ......

この書き込みへの返事:

お名前
題名 
メッセージ(タグは <a href="...">...</a> だけ使えます。適宜改行を入れてください)