On Wed, Aug 02, 2006 at 06:00:51PM +0900, TSUCHIYA Masatoshi wrote: > You mean pure i386? or i386 family like pentium? > And more, what version of building tools including gcc and binutils?
No, I mean arch is i386. Real processor is Celeron (Pentium 4).
> Woops. You should add "-g" build option to gcc. Please try following
> steps.
>
> apt-get source juman
> cd juman-5.1
> fakeroot ./debian/rules pre-build
> cd build-tree/juman-5.1
> ulimit -c unlimited
> env CFLAGS='-g' ./configure
> make
> gdb makepat/.libs/makepat dic/core
I got it:
(gdb) bt
#0 0xb7e5cfe6 in fileno_unlocked () from /lib/libc.so.6
#1 0xb7f2d725 in get_line (f=0x0, pos=0) at pat.c:452
#2 0x08048a2d in insert_dic_data (f=0x0, x_ptr=0x8049180, kugiri=0xbfaf0636
"\t")
at makepat.c:99
#3 0x08048872 in main (argc=Cannot access memory at address 0x0) at
makepat.c:61
(gdb) bt full
#0 0xb7e5cfe6 in fileno_unlocked () from /lib/libc.so.6
No symbol table info available.
#1 0xb7f2d725 in get_line (f=0x0, pos=0) at pat.c:452
i = 0
j = 0
ch = 134517120
ffd = 0
st = {st_dev = 0, __pad1 = 24524, st_ino = 3086871600, st_mode =
3086962676,
st_nlink = 3086963960, st_uid = 1, st_gid = 3215810320, st_rdev =
13258411093463573241,
__pad2 = 0, st_size = 1, st_blksize = 1, st_blocks = 0, st_atim =
{tv_sec = 134513613,
tv_nsec = 9}, st_mtim = {tv_sec = 0, tv_nsec = 134517008}, st_ctim =
{tv_sec = -1208852532,
tv_nsec = 0}, __unused4 = 0, __unused5 = 3086961856}
oldf = -1
addr = 0x0
size = 0
#2 0x08048a2d in insert_dic_data (f=0x0, x_ptr=0x8049180,
kugiri=0xbfaf0636 "\t")
at makepat.c:99
i = 0
entry_ctr = 0
len = 0
corpus_buffer = '\0' <repeats 39724 times>,
"�k���Ui��\025.�\025.�\000\000\000\000\000\000
\000\000�k��(�\000���\020ii\r\004\000\000\000\000��\210S�����.�", '\0'
<repeats 12 times>,
"���\002\000\000\000�O�����\224��\027k��\224�PV��\002\000\000\000���\001\000\000\000\000\000\000\000\001\000\000\000\001\000\000\000����\000\000\000\000\n",
'\0' <repeats 11 times>,
"\002\000\000\000\220!\000\000\001\000\000\000��\000������(�\000\000\000\000\001\000\000\000\000\000"...
c = 0x1000 <Address 0x1000 out of bounds>
#3 0x08048872 in main (argc=Cannot access memory at address 0x0
) at makepat.c:61
comm = 0 '\0'
i = -1079048616
tmp = (pat_node *) 0x8048ad9
kugiri = "\t"
rslt = '\0' <repeats 47463 times>,
"����O��t���\212A��\000��\024)\000\000\003\000\000\0002\000\000\000����", '\0'
<repeats 40 times>, "[EMAIL PROTECTED] \204\004\b����O��\\T��H��8�\005"...
CurPath = "/home/staff/jd/juman-5.1/build-tree/juman-5.1/", '\0'
<repeats 4049 times>
JumanPath = "/", '\0' <repeats 4094 times>
Cheers,
--
Julien Danjou
.''`. Debian Developer
: :' : http://julien.danjou.info
`. `' http://people.debian.org/~acid
`- 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD
signature.asc
Description: Digital signature

