名前: 栗山雅俊 日時: 2005-10-20 00:42:08 IPアドレス: 219.116.79.*
>>38690 なるほど、そのように使うのですね。 わたしの方でも試してみました。 前回と同様 stable の ptetex3-20051003 を、 Fedore Core 4 (kernel-2.6.12-1) で、gcc4 を使って コンパイルしました。 (1) ulimit -c 100000 (2) make tmp ~ make tmptest (3) xdvi.c で setup_signal_handlers(); をコメントアウト make install >>38610 >>38641 xdvi sample ----------------- $ xdvi sample.dvi & [2] 13319 $ Warning: Missing charsets in String to FontSet conversionWarning: Missing charsets in String to FontSet conversion Warning: Missing charsets in String to FontSet conversion Warning: Missing charsets in String to FontSet conversion *** glibc detected *** xdvi-motif.bin: free(): invalid pointer: 0x09d2e6e0 *** ======= Backtrace: ========= /lib/libc.so.6[0x3d3124] /lib/libc.so.6(__libc_free+0x77)[0x3d365f] xdvi-motif.bin[0x804fd32] xdvi-motif.bin[0x805968c] xdvi-motif.bin[0x80597cd] xdvi-motif.bin[0x8056749] xdvi-motif.bin[0x8057362] xdvi-motif.bin[0x8065ea2] xdvi-motif.bin[0x8066cf5] xdvi-motif.bin[0x80856b0] xdvi-motif.bin[0x80869d6] /lib/libc.so.6(__libc_start_main+0xdf)[0x384d5f] xdvi-motif.bin[0x804e519] ======= Memory map: ======== 00101000-00356000 r-xp 00000000 fd:00 820796 /usr/X11R6/lib/libXm.so.3.0.2 00356000-0036f000 rwxp 00255000 fd:00 820796 /usr/X11R6/lib/libXm.so.3.0.2 0036f000-00370000 rwxp 0036f000 00:00 0 00370000-00493000 r-xp 00000000 fd:00 356242 /lib/libc-2.3.5.so 00493000-00495000 r-xp 00123000 fd:00 356242 /lib/libc-2.3.5.so 00495000-00497000 rwxp 00125000 fd:00 356242 /lib/libc-2.3.5.so 00497000-00499000 rwxp 00497000 00:00 0 00499000-0049a000 r-xp 00000000 fd:00 943920 /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2 0049a000-0049b000 rwxp 00000000 fd:00 943920 /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2 006fa000-00714000 r-xp 00000000 fd:00 356226 /lib/ld-2.3.5.so 00714000-00715000 r-xp 00019000 fd:00 356226 /lib/ld-2.3.5.so 00715000-00716000 rwxp 0001a000 fd:00 356226 /lib/ld-2.3.5.so 007f5000-007f6000 r-xp 007f5000 00:00 0 00843000-00866000 r-xp 00000000 fd:00 356251 /lib/libm-2.3.5.so 00866000-00867000 r-xp 00022000 fd:00 356251 /lib/libm-2.3.5.so 00867000-00868000 rwxp 00023000 fd:00 356251 /lib/libm-2.3.5.so 0086a000-0086c000 r-xp 00000000 fd:00 356255 /lib/libdl-2.3.5.so 0086c000-0086d000 r-xp 00001000 fd:00 356255 /lib/libdl-2.3.5.so 0086d000-0086e000 rwxp 00002000 fd:00 356255 /lib/libdl-2.3.5.so 00870000-00882000 r-xp 00000000 fd:00 816173 /usr/lib/libz.so.1.2.2.2 00882000-00883000 rwxp 00011000 fd:00 816173 /usr/lib/libz.so.1.2.2.2 00885000-00955000 r-xp 00000000 fd:00 814355 /usr/X11R6/lib/libX11.so.6.2 00955000-00959000 rwxp 000cf000 fd:00 814355 /usr/X11R6/lib/libX11.so.6.2 0095b000-00969000 r-xp 00000000 fd:00 816035 /usr/X11R6/lib/libXext.so.6.4 00969000-0096a000 rwxp 0000e000 fd:00 816035 /usr/X11R6/lib/libXext.so.6.4 0096c000-00973000 r-xp 00000000 fd:00 817559 /usr/X11R6/lib/libXp.so.6.2 00973000-00974000 rwxp 00006000 fd:00 817559 /usr/X11R6/lib/libXp.so.6.2 00af2000-00af9000 r-xp 00000000 fd:00 816070 /usr/X11R6/lib/libXrender.so.1.2.2 00af9000-00afa000 rwxp 00007000 fd:00 816070 /usr/X11R6/lib/libXrender.so.1.2.2 00b10000-00b19000 r-xp 00000000 fd:00 816920 /usr/X11R6/lib/libXcursor.so.1.0.2 00b19000-00b1a000 rwxp 00008000 fd:00 816920 /usr/X11R6/lib/libXcursor.so.1.0.2 00b76000-00b93000 r-xp 00000000 fd:00 942554 /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2 00b93000-00b95000 rwxp 0001c000 fd:00 942554 /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2 00c78000-00c8d000 r-xp 00000000 fd:00 817985 /usr/X11R6/lib/libXpm.so.4.11 00c8d000-00c8e000 rwxp 00015000 fd:00 817985 /usr/X11R6/lib/libXpm.so.4.11 00c97000-00c9f000 r-xp 00000000 fd:00 816177 /usr/X11R6/lib/libSM.so.6.0 00c9f000-00ca0000 rwxp 00007000 fd:00 816177 /usr/X11R6/lib/libSM.so.6.0 00ca2000-00cb9000 r-xp 00000000 fd:00 809754 /usr/X11R6/lib/libICE.so.6.3 00cb9000-00cba000 rwxp 00016000 fd:00 809754 /usr/X11R6/lib/libICE.so.6.3 00cba000-00cbc000 rwxp 00cba000 00:00 0 00cc3000-00ccc000 r-xp 00000000 fd:00 356274 /lib/libgcc_s-4.0.1-20050727.so.1 00ccc000-00ccd000 rwxp 00009000 fd:00 356274 /lib/libgcc_s-4.0.1-20050727.so.1 00d02000-00d0b000 r-xp 00000000 fd:00 942561 /usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2 00d0b000-00d0c000 rwxp 00008000 fd:00 942561 /usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2 00d5d000-00d5f000 r-xp 00000000 fd:00 943919 /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 00d5f000-00d60000 rwxp 00001000 fd:00 943919 /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 0525c000-05272000 r-xp 00000000 fd:00 817236 /usr/X11R6/lib/libXmu.so.6.2 05272000-05273000 rwxp 000150 [2]+ アボートしました(core dumped) xdvi sample.dvi gdb ---------------------- $ gdb xdvi-motif.bin core.13319 GNU gdb Red Hat Linux (6.3.0.0-1.21rh) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". Reading symbols from shared object read from target memory...done. Loaded system supplied DSO at 0x7f5000 Core was generated by `xdvi-motif.bin -name xdvi sample.dvi'. Program terminated with signal 6, Aborted. warning: svr4_current_sos: Can't read pathname for load map: 入力/出力エラーです Reading symbols from /usr/X11R6/lib/libXm.so.3...done. Loaded symbols for /usr/X11R6/lib/libXm.so.3 Reading symbols from /usr/X11R6/lib/libXmu.so.6...done. Loaded symbols for /usr/X11R6/lib/libXmu.so.6 Reading symbols from /usr/X11R6/lib/libXt.so.6...done. Loaded symbols for /usr/X11R6/lib/libXt.so.6 Reading symbols from /usr/X11R6/lib/libSM.so.6...done. Loaded symbols for /usr/X11R6/lib/libSM.so.6 Reading symbols from /usr/X11R6/lib/libICE.so.6...done. Loaded symbols for /usr/X11R6/lib/libICE.so.6 Reading symbols from /usr/X11R6/lib/libXp.so.6...done. Loaded symbols for /usr/X11R6/lib/libXp.so.6 Reading symbols from /usr/X11R6/lib/libXext.so.6...done. Loaded symbols for /usr/X11R6/lib/libXext.so.6 Reading symbols from /usr/X11R6/lib/libX11.so.6...done. Loaded symbols for /usr/X11R6/lib/libX11.so.6 Reading symbols from /usr/X11R6/lib/libXpm.so.4...done. Loaded symbols for /usr/X11R6/lib/libXpm.so.4 Reading symbols from /lib/libm.so.6...done. Loaded symbols for /lib/libm.so.6 Reading symbols from /usr/lib/libz.so.1...done. Loaded symbols for /usr/lib/libz.so.1 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/libdl.so.2...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2...done. Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2...done. Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2 Reading symbols from /usr/X11R6/lib/libXcursor.so.1...done. Loaded symbols for /usr/X11R6/lib/libXcursor.so.1 Reading symbols from /usr/X11R6/lib/libXrender.so.1...done. Loaded symbols for /usr/X11R6/lib/libXrender.so.1 Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2...done. Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2 Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2...done. Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2 Reading symbols from /lib/libgcc_s.so.1...done. Loaded symbols for /lib/libgcc_s.so.1 #0 0x007f5402 in __kernel_vsyscall () (gdb) (gdb) quit
この書き込みへの返事: