#12 openning CBV crashes chessdb

open
5
2015-02-12
2007-05-13
No

I tried to open a big (~120mb) chess databates. After 10 seconds of importing the file chessdb crashed. Here is the crash report:

*** glibc detected *** tkchessdb: free(): invalid next size (normal): 0x0b7c8f20 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7ab27cd]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb7ab5e30]
/usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0xb7c73d11]
/usr/lib/libstdc++.so.6(_ZdaPv+0x1d)[0xb7c73d6d]
tkchessdb[0x8090be7]
tkchessdb[0x806d8d9]
tkchessdb[0x80724d7]
/usr/lib/libtcl8.4.so.0(TclInvokeStringCommand+0x6e)[0xb7e9f7de]
/usr/lib/libtcl8.4.so.0(TclEvalObjvInternal+0x2fb)[0xb7ea130b]
/usr/lib/libtcl8.4.so.0[0xb7ecdd6d]
/usr/lib/libtcl8.4.so.0(TclCompEvalObj+0x9c)[0xb7ed1acc]
/usr/lib/libtcl8.4.so.0(TclObjInterpProc+0x2e8)[0xb7efea68]
/usr/lib/libtcl8.4.so.0(TclEvalObjvInternal+0x2fb)[0xb7ea130b]
/usr/lib/libtcl8.4.so.0[0xb7ecdd6d]
/usr/lib/libtcl8.4.so.0(TclCompEvalObj+0x9c)[0xb7ed1acc]
/usr/lib/libtcl8.4.so.0(TclObjInterpProc+0x2e8)[0xb7efea68]
/usr/lib/libtcl8.4.so.0(TclEvalObjvInternal+0x2fb)[0xb7ea130b]
/usr/lib/libtcl8.4.so.0[0xb7ecdd6d]
/usr/lib/libtcl8.4.so.0(TclCompEvalObj+0x9c)[0xb7ed1acc]
/usr/lib/libtcl8.4.so.0(Tcl_EvalObjEx+0x69)[0xb7ea2459]
/usr/lib/libtk8.4.so.0(TkInvokeButton+0x5a)[0xb7de19da]
/usr/lib/libtk8.4.so.0[0xb7de33ee]
/usr/lib/libtcl8.4.so.0(TclEvalObjvInternal+0x2fb)[0xb7ea130b]
/usr/lib/libtcl8.4.so.0(Tcl_EvalObjv+0x11b)[0xb7ea22ab]
/usr/lib/libtcl8.4.so.0(Tcl_EvalObjEx+0x1f5)[0xb7ea25e5]
/usr/lib/libtcl8.4.so.0(Tcl_UplevelObjCmd+0x137)[0xb7eff2d7]
/usr/lib/libtcl8.4.so.0(TclEvalObjvInternal+0x2fb)[0xb7ea130b]
/usr/lib/libtcl8.4.so.0[0xb7ecdd6d]
/usr/lib/libtcl8.4.so.0(TclCompEvalObj+0x9c)[0xb7ed1acc]
/usr/lib/libtcl8.4.so.0(TclObjInterpProc+0x2e8)[0xb7efea68]
/usr/lib/libtcl8.4.so.0(TclEvalObjvInternal+0x2fb)[0xb7ea130b]
/usr/lib/libtcl8.4.so.0(Tcl_EvalEx+0x40f)[0xb7ea189f]
/usr/lib/libtk8.4.so.0(Tk_BindEvent+0xa11)[0xb7db79f1]
/usr/lib/libtk8.4.so.0(TkBindEventProc+0x154)[0xb7dbd714]
/usr/lib/libtk8.4.so.0(Tk_HandleEvent+0x35d)[0xb7dc346d]
/usr/lib/libtk8.4.so.0[0xb7dc3a8b]
/usr/lib/libtcl8.4.so.0(Tcl_ServiceEvent+0x87)[0xb7ef3b47]
/usr/lib/libtcl8.4.so.0(Tcl_DoOneEvent+0xa7)[0xb7ef3e17]
/usr/lib/libtk8.4.so.0(Tk_MainLoop+0x2f)[0xb7dc2e8f]
/usr/lib/libtk8.4.so.0(Tk_MainEx+0x4a0)[0xb7dd0f90]
tkchessdb[0x804bb70]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xdc)[0xb7a60ebc]
tkchessdb[0x80497d1]
======= Memory map: ========
08048000-080cf000 r-xp 00000000 08:03 264412 /usr/local/bin/tkchessdb
080cf000-080d3000 rw-p 00087000 08:03 264412 /usr/local/bin/tkchessdb
080d3000-0ba63000 rw-p 080d3000 00:00 0 [heap]
a6ad5000-aead6000 rw-p a6ad5000 00:00 0
b6900000-b6921000 rw-p b6900000 00:00 0
b6921000-b6a00000 ---p b6921000 00:00 0
b6a5e000-b6c6e000 rw-p b6a5e000 00:00 0
b6c6e000-b6c77000 r-xp 00000000 08:03 162773 /lib/tls/i686/cmov/libnss_files-2.5.so
b6c77000-b6c79000 rw-p 00008000 08:03 162773 /lib/tls/i686/cmov/libnss_files-2.5.so
b6c79000-b6c80000 r-xp 00000000 08:03 98271 /usr/lib/libXrender.so.1.3.0
b6c80000-b6c81000 rw-p 00006000 08:03 98271 /usr/lib/libXrender.so.1.3.0
b6c81000-b6c89000 r-xp 00000000 08:03 98241 /usr/lib/libXcursor.so.1.0.2
b6c89000-b6c8a000 rw-p 00007000 08:03 98241 /usr/lib/libXcursor.so.1.0.2
b6c96000-b71ed000 rw-p b6c96000 00:00 0
b71ed000-b7228000 r--p 00000000 08:03 179139 /usr/lib/locale/en_US.utf8/LC_CTYPE
b7228000-b7229000 ---p b7228000 00:00 0
b7229000-b7a2b000 rw-p b7229000 00:00 0
b7a2b000-b7a2f000 r-xp 00000000 08:03 98245 /usr/lib/libXdmcp.so.6.0.0
b7a2f000-b7a30000 rw-p 00003000 08:03 98245 /usr/lib/libXdmcp.so.6.0.0
b7a30000-b7a32000 r-xp 00000000 08:03 98234 /usr/lib/libXau.so.6.0.0
b7a32000-b7a33000 rw-p 00001000 08:03 98234 /usr/lib/libXau.so.6.0.0
b7a33000-b7a46000 r-xp 00000000 08:03 162782 /lib/tls/i686/cmov/libpthread-2.5.so
b7a46000-b7a48000 rw-p 00013000 08:03 162782 /lib/tls/i686/cmov/libpthread-2.5.so
b7a48000-b7a4b000 rw-p b7a48000 00:00 0
b7a4b000-b7b86000 r-xp 00000000 08:03 162756 /lib/tls/i686/cmov/libc-2.5.so
b7b86000-b7b87000 r--p 0013b000 08:03 162756 /lib/tls/i686/cmov/libc-2.5.so
b7b87000-b7b89000 rw-p 0013c000 08:03 162756 /lib/tls/i686/cmov/libc-2.5.so
b7b89000-b7b8c000 rw-p b7b89000 00:00 0
b7b8c000-b7b97000 r-xp 00000000 08:03 129344 /lib/libgcc_s.so.1
b7b97000-b7b98000 rw-p 0000a000 08:03 129344 /lib/libgcc_s.so.1
b7b98000-b7bbd000 r-xp 00000000 08:03 162764 /lib/tls/i686/cmov/libm-2.5.so
b7bbd000-b7bbf000 rw-p 00024000 08:03 162764 /lib/tls/i686/cmov/libm-2.5.so
b7bbf000-b7c9e000 r-xp 00000000 08:03 98925 /usr/lib/libstdc++.so.6.0.8
b7c9e000-b7ca1000 r--p 000de000 08:03 98925 /usr/lib/libstdc++.so.6.0.8
b7ca1000-b7ca3000 rw-p 000e1000 08:03 98925 /usr/lib/libstdc++.so.6.0.8
b7ca3000-b7ca9000 rw-p b7ca3000 00:00 0
b7ca9000-b7d96000 r-xp 00000000 08:03 98228 /usr/lib/libX11.so.6.2.0
b7d96000-b7d9a000 rw-p 000ed000 08:03 98228 /usr/lib/libX11.so.6.2.0
b7d9a000-b7e6d000 r-xp 00000000 08:03 99871 /usr/lib/libtk8.4.so.0
b7e6d000-b7e79000 rw-p 000d3000 08:03 99871 /usr/lib/libtk8.4.so.0
b7e79000-b7e7b000 r-xp 00000000 08:03 162762 /lib/tls/i686/cmov/libdl-2.5.so
b7e7b000-b7e7d000 rw-p 00001000 08:03 162762 /lib/tls/i686/cmov/libdl-2.5.so
b7e7d000-b7e7e000 rw-p b7e7d000 00:00 0
b7e7e000-b7f2d000 r-xp 00000000 08:03 99866 /usr/lib/libtcl8.4.so.0
b7f2d000-b7f33000 rw-p 000af000 08:03 99866 /usr/lib/libtcl8.4.so.0
b7f33000-b7f46000 r-xp 00000000 08:03 98989 /usr/lib/libz.so.1.2.3
b7f46000-b7f47000 rw-p 00012000 08:03 98989 /usr/lib/libz.so.1.2.3
b7f47000-b7f4b000 r-xp 00000000 08:03 98251 /usr/lib/libXfixes.so.3.1.0
b7f4b000-b7f4c000 rw-p 00003000 08:03 98251 /usr/lib/libXfixes.so.3.1.0
b7f4c000-b7f53000 r--s 00000000 08:03 99225 /usr/lib/gconv/gconv-modules.cache
b7f53000-b7f55000 rw-p b7f53000 00:00 0
b7f55000-b7f6e000 r-xp 00000000 08:03 129301 /lib/ld-2.5.so
b7f6e000-b7f70000 rw-p 00019000 08:03 129301 /lib/ld-2.5.so
bf91f000-bf934000 rw-p bf91f000 00:00 0 [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso]
Aborted (core dumped)

I have Ubuntu 7.04, chessdb 3.6.18, and TCL 8.4. The core dump is too big to be attached here.

Discussion

  • Dr. David Kirkby

    Logged In: YES
    user_id=160407
    Originator: NO

    CBV is a file format used by ChessBase, but they have not published the file format, so there is no way ChessDB can support this. Hence it is not possible to open the CBV file in ChessDB.

    If ChessBase were to release the file format, I would almost certainly add support.

    As a workaround, you can export the CBV as PGN from ChessBase.

     
  • Dr. David Kirkby

    • assigned_to: nobody --> drkirkby
     
  • Dr. David Kirkby

    • status: open --> closed
     
  • Dr. David Kirkby

    • status: closed --> open
     

Log in to post a comment.