Hi!

> > > > Upon compilation I get the following warnings:
> > > 
> > > Those warnings are because two include statements are missing:
> > > 
> > > #include <stdlib.h>
> > > #include <string.h>
> > > 
> > > Add them, and the warnings should disappear.
> > 
> > Thanks.  I've added them, and indeed the warnings have disappeared.
> 
> Hmm, these changes are already contained contrib/wadalab/DNP.txt.

You're right.  I didn't see that.  I'll have to change the Debian
patch then.


> > But it still segfaults. :/
> 
> Note that I've never touched or looked at the code of wftodm.  To
> debug the problem further I ask you to compile wftodm like this:
> 
>   gcc -O0 -g -o wftodm wftodm.c
> 
> and run the program within gdb like this:
> 
>   gdb --args wftodm <arguments>
> 
> Within gdb, press `r' to start the program.  After the segfault, say
> `bt full' and send me the backtrace.

Okay, backtrace is attached to this mail.

The command was as follows:
gdb --args ./wftodm -FontBase dg build/wadalab-sym/jis*.ps

$ gcc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v 
--enable-languages=c,c++,fortran,objc,obj-c++,ada,treelang --prefix=/usr 
--enable-shared --with-system-zlib --libexecdir=/usr//lib 
--without-included-gettext --enable-threads=posix --enable-nls 
--program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu 
--enable-libstdcxx-debug --enable-mpfr --enable-checking=release 
x86_64-linux-gnu
Thread model: posix
gcc version 4.1.2 20060715 (prerelease) (Debian 4.1.1-9)

Kernel 2.6.17-1-amd64-k8, x86_64 Debian GNU/Linux


On a sidenote, the patch in DNP.txt should have
  @@ -209,14 +211,13 @@
and not
  @@ -209,14 +209,13 @@
to get a clean unpatch.


Best regards




Danai SAE-HAN
韓達耐

-- 
题目:《村行》
作者:王禹称(繁体“称”,换“亻”旁)(954-1001)

马穿山径菊初黄,信马悠悠野兴长。
万壑有声含晚籁,数峰无语立斜阳。
棠梨叶落胭脂色,荞麦花开白雪香。
何事吟余忽惆怅,村桥原树似吾乡。
#0  0x00002b603b9c96a0 in strlen () from /lib/libc.so.6
No symbol table info available.
#1  0x00002b603b99b4cc in vfprintf () from /lib/libc.so.6
No symbol table info available.
#2  0x00002b603b9a1298 in fprintf () from /lib/libc.so.6
No symbol table info available.
#3  0x00000000004012c2 in output_header (file=1) at wftodm.c:200
        i = 4201568
        j = 0
        now = 1154016900
#4  0x0000000000401610 in output_pfa (file=1) at wftodm.c:241
        i = 11104
        j = 0
        len = 0
        charlen = 999647720
        ii = 1
        filename = "dgjsy.pfa\000�;[EMAIL PROTECTED]", '\0' <repeats 12 times>, 
"\220\227&[EMAIL PROTECTED]&o�\177\000\000h\024\232;`+\000\000 
\000\000\0000\000\000\000�\226&o�\177\000\0000\226&[EMAIL 
PROTECTED]&o�\177\000\000ͨ&[EMAIL 
PROTECTED];`+\000\000\000\000\000\000\000\000\000\000\001", '\0' <repeats 15 
times>, "[EMAIL 
PROTECTED];`+\000\000�\036\226;`+\000\000\000\000\000\000\000\000\000"...
#5  0x0000000000400fcd in main (ac=9, ag=0x7fff6f269868) at wftodm.c:158
        i = 1
        j = 1

_______________________________________________
Cjk maillist  -  [email protected]
http://lists.ffii.org/mailman/listinfo/cjk

Reply via email to