Found core dump in kfs-0.2.3

bin
2009-04-10
2013-04-25
  • bin
    bin
    2009-04-10

    My application read file from somewhere and write to the kfs.  My application has two thread, one thread write to the first 1024k of file A, thread write to the left part of file A, they use different fd. I find my application core dump in the kfs-client. Is any body meet this issue before?

    following is the coredump information:
    #0  KFS::DoOpSend (op=0x8a8005f0, sock=0xb487730) at /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/sstream:444
    444     /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/sstream: No such file or directory.
            in /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/sstream
    Missing separate debuginfos, use: debuginfo-install gcc.i386 glibc.i686 ncurses.i386 zlib.i386
    (gdb) bt
    #0  KFS::DoOpSend (op=0x8a8005f0, sock=0xb487730) at /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/sstream:444
    #1  0x00133e07 in KFS::KfsClientImpl::PushData (this=0xb438d00, fd=3, ops=@0x8b9021e4, start=0, count=32, masterSock=0xb487730)
        at /home/eaggle/kfs-0.2.3/src/cc/libkfsClient/KfsWrite.cc:531
    #2  0x00134371 in KFS::KfsClientImpl::DoPipelinedWrite (this=0xb438d00, fd=3, ops=@0x8b9021e4, masterSock=0xb487730)
        at /home/eaggle/kfs-0.2.3/src/cc/libkfsClient/KfsWrite.cc:590
    #3  0x0013579e in KFS::KfsClientImpl::DoLargeWriteToServer (this=0xb438d00, fd=3, offset=0, buf=0x8a987008 "", numBytes=3145728)
        at /home/eaggle/kfs-0.2.3/src/cc/libkfsClient/KfsWrite.cc:437
    #4  0x00136364 in KFS::KfsClientImpl::WriteToServer (this=0xb438d00, fd=3, offset=0, buf=0x8a987008 "", numBytes=3145728)
        at /home/eaggle/kfs-0.2.3/src/cc/libkfsClient/KfsWrite.cc:245
    #5  0x00137059 in KFS::KfsClientImpl::FlushBuffer (this=0xb438d00, fd=0) at /home/eaggle/kfs-0.2.3/src/cc/libkfsClient/KfsWrite.cc:217
    #6  0x001439b4 in KFS::KfsClientImpl::Close (this=0xb438d00, fd=3) at /home/eaggle/kfs-0.2.3/src/cc/libkfsClient/KfsClient.cc:1283
    #7  0x00143a36 in KFS::KfsClient::Close (this=0xb43aee0, fd=3) at /home/eaggle/kfs-0.2.3/src/cc/libkfsClient/KfsClient.cc:307
    #8  0x080e8643 in kfs_close ()