Closed GoogleCodeExporter closed 9 years ago
QEMU emulator version 1.7.0 (qemu-linaro 2014.01), Copyright (c) 2003-2008
Fabrice Bellard
arm-none-eabi-gcc (GCC) 4.9.0
Original comment by ki.stfu
on 16 May 2014 at 2:02
Attachments:
Hardware watchpoint 1: *0x81b86828
Old value = 6102
New value = 1937076319
0x81073f24 in memcpy (dst_=0x81b864a8, src_=0x8119fe7c
<__pool_storagethread_pool+61052>, n=132)
at src/lib/libc/string/memcpy.c:37
37 *aligned_dst++ = *aligned_src++;
(gdb) bt
#0 0x81073f24 in memcpy (dst_=0x81b864a8, src_=0x8119fe7c
<__pool_storagethread_pool+61052>, n=132)
at src/lib/libc/string/memcpy.c:37
#1 0x81052760 in xdrrec_putbytes (xs=0x8119fcb0
<__pool_storagethread_pool+60592>,
from=0x8119fe7c <__pool_storagethread_pool+61052> ' ' <repeats 24 times>, "FUNCTION\tEXECUTED\n", ' ' <repeats 12 times>, "_ram_base@0x81008040\t false\n", ' ' <repeats 12 times>, "_text_vma@0x81008040\t false\n trap_table_start@0x81008040\t false\n reset_handler_addr@0x81008060"..., size=4096) at src/net/lib/rpc/xdr_rec.c:130
#2 0x810505a4 in xdr_putbytes (xs=0x8119fcb0
<__pool_storagethread_pool+60592>,
from=0x8119fe7c <__pool_storagethread_pool+61052> ' ' <repeats 24 times>, "FUNCTION\tEXECUTED\n", ' ' <repeats 12 times>, "_ram_base@0x81008040\t false\n", ' ' <repeats 12 times>, "_text_vma@0x81008040\t false\n trap_table_start@0x81008040\t false\n reset_handler_addr@0x81008060"..., size=4096) at src/net/lib/rpc/xdr.c:52
#3 0x8105110c in xdr_bytes (xs=0x8119fcb0 <__pool_storagethread_pool+60592>,
ppc=0x8119fc24 <__pool_storagethread_pool+60452>, psize=0x8119fe00 <__pool_storagethread_pool+60928>,
maxsize=4294967295) at src/net/lib/rpc/xdr.c:303
#4 0x8100e754 in xdr_nfs_write_file (xs=0x8119fcb0
<__pool_storagethread_pool+60592>,
point=0x8119fde8 <__pool_storagethread_pool+60904> "P*\030\201") at src/fs/driver/nfs/xdr_nfs.c:306
#5 0x8104ff14 in clnttcp_call (clnt=0x81b35f9c <__pool_storageclnt_pool+48>,
procnum=7,
inproc=0x8100e4fc <xdr_nfs_write_file>, in=0x8119fde8 <__pool_storagethread_pool+60904> "P*\030\201",
outproc=0x8100e4fc <xdr_nfs_write_file>,
out=0x8119fd70 <__pool_storagethread_pool+60784> 'S' <repeats 28 times>, "\264\375\031\201xi\005\201D\036\001\201", timeout=...) at src/net/lib/rpc/clnt_tcp.c:118
#6 0x8104eac4 in clnt_call (clnt=0x81b35f9c <__pool_storageclnt_pool+48>,
procnum=7,
inproc=0x8100e4fc <xdr_nfs_write_file>, in=0x8119fde8 <__pool_storagethread_pool+60904> "P*\030\201",
outproc=0x8100e4fc <xdr_nfs_write_file>,
out=0x8119fd70 <__pool_storagethread_pool+60784> 'S' <repeats 28 times>, "\264\375\031\201xi\005\201D\036\001\201", wait=...) at src/net/lib/rpc/clnt.c:89
#7 0x8100d338 in nfs_call_proc_nfs (nas=0x81150358
<__pool_storagenode_pool+16440>, procnum=7,
req=0x8119fde8 <__pool_storagethread_pool+60904> "P*\030\201",
reply=0x8119fd70 <__pool_storagethread_pool+60784> 'S' <repeats 28 times>, "\264\375\031\201xi\005\201D\036\001\2---Type <return> to continue, or q <return> to quit---
01") at src/fs/driver/nfs/nfs.c:777
#8 0x8100c000 in nfsfs_write (desc=0x81b34530 <__pool_storagedesc_pool+68>,
buf=0x8119fe7c <__pool_storagethread_pool+61052>, size=4096) at src/fs/driver/nfs/nfs.c:169
#9 0x81049e60 in kwrite (buf=0x8119fe7c <__pool_storagethread_pool+61052>,
size=4096,
file=0x81b34530 <__pool_storagedesc_pool+68>) at src/fs/syslib/kfile.c:111
#10 0x8105bae0 in idesc_file_ops_write (idesc=0x81b34530
<__pool_storagedesc_pool+68>,
buf=0x8119fe7c <__pool_storagethread_pool+61052>, nbyte=4096) at src/fs/index_operation.c:35
#11 0x81078630 in write (fd=6, buf=0x8119fe7c
<__pool_storagethread_pool+61052>, nbyte=4096)
at src/compat/posix/fs/write.c:26
#12 0x8101ff94 in exec (argc=3, argv=0x811a0ecc
<__pool_storagethread_pool+65228>) at src/cmds/fs/cp.c:69
#13 0x8105a69c in cmd_exec (cmd=0x810d863c <__mod__embox__cmd__fs(char,
*)+20>, argc=3,
argv=0x811a0ecc <__pool_storagethread_pool+65228>) at src/framework/cmd/core.c:39
#14 0x810168a4 in run_cmd (data=0x8119ce60 <__pool_storagethread_pool+48736>)
at src/cmds/shell/tish.c:151
#15 0x810126c8 in task_trampoline (arg_=0x8119d0d4
<__pool_storagethread_pool+49364>) at src/kernel/task/multi.c:45
#16 0x81013538 in thread_trampoline () at src/kernel/thread/core.c:65
#17 0x8101347c in err_ptr (err_code=-2129014784) at src/include/err.h:13
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) f 1
#1 0x81052760 in xdrrec_putbytes (xs=0x8119fcb0
<__pool_storagethread_pool+60592>,
from=0x8119fe7c <__pool_storagethread_pool+61052> ' ' <repeats 24 times>, "FUNCTION\tEXECUTED\n", ' ' <repeats 12 times>, "_ram_base@0x81008040\t false\n", ' ' <repeats 12 times>, "_text_vma@0x81008040\t false\n trap_table_start@0x81008040\t false\n reset_handler_addr@0x81008060"..., size=4096) at src/net/lib/rpc/xdr_rec.c:130
130 memcpy(xs->extra.rec.out_curr, from, bytes);
(gdb) print byte
No symbol "byte" in current context.
(gdb) print bytes
$1 = 1028
(gdb) print xs->extra.rec
$2 = {handle = 0x81b35f9c <__pool_storageclnt_pool+48>
"H`\263\201h\361\n\201\004", in_hnd = 0x81050124 <readtcp>,
in_base = 0x81b86020 "\024`\270\201\024`\270\201", 'A' <repeats 192 times>...,
in_hdr = 0x81b86020 "\024`\270\201\024`\270\201", 'A' <repeats 192 times>...,
in_curr = 0x81b86020 "\024`\270\201\024`\270\201", 'A' <repeats 192 times>...,
in_boundry = 0x81b86424 "AAAA\001\264\244R", in_prep = 0, in_left = 0, in_last = 1 '\001',
out_hnd = 0x810501c0 <writetcp>, out_base = 0x81b86424 "AAAA\001\264\244R",
out_hdr = 0x81b86424 "AAAA\001\264\244R",
out_curr = 0x81b864a8 ' ' <repeats 24 times>, "FUNCTION\tEXECUTED\n", ' ' <repeats 12 times>, "_ram_base@0x81008040\t false\n", ' ' <repeats 12 times>, "_text_vma@0x81008040\t false\n trap_table_start@0x81008040\t false\n reset_handler_addr@0x81008060"..., out_boundry = 0x81b86828 "_pus\024`\270\201\024`\270\201"}
Original comment by ki.stfu
on 21 May 2014 at 12:32
fixed by r13790
Original comment by ki.stfu
on 21 May 2014 at 2:54
Original issue reported on code.google.com by
ki.stfu
on 16 May 2014 at 12:40