All pastes #772301 Raw Edit

new core dump from trunk

public text v1 · immutable
·published 2007-11-13 18:33 UTC
rendered paste body
delusional@xlhost:~/4080$ ~thumper/git/bzflag/bzflag-svn/bzflag/src/bzfs/bzfs -dd -world /home/delusional/4080/suttle.bzw 
defining world
reading worldfile /home/delusional/4080/suttle.bzw
LIBCURL version:  libcurl/7.13.2 OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13
bzfs: MeshDrawInfo.cxx:390: bool MeshDrawInfo::serverSetup(const MeshObstacle*): Assertion `array[idx] < vCount && "ERROR: UShort Vertex out of bounds"' failed.
Aborted (core dumped)
delusional@xlhost:~/4080$ gdb ~thumper/git/bzflag/bzflag-svn/bzflag/src/bzfs/bzfs core
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...Using host libthread_db library "/lib/tls/libthread_db.so.1".


warning: exec file is newer than core file.
Core was generated by `/home/thumper/git/bzflag/bzflag-svn/bzflag/src/bzfs/bzfs -dd -world /home/delus'.
Program terminated with signal 6, Aborted.

warning: current_sos: Can't read pathname for load map: Input/output error

Reading symbols from /usr/lib/i686/cmov/libssl.so.0.9.7...done.
Loaded symbols for /usr/lib/i686/cmov/libssl.so.0.9.7
Reading symbols from /usr/lib/i686/cmov/libcrypto.so.0.9.7...done.
Loaded symbols for /usr/lib/i686/cmov/libcrypto.so.0.9.7
Reading symbols from /lib/tls/libdl.so.2...done.
Loaded symbols for /lib/tls/libdl.so.2
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/libstdc++.so.5...done.
Loaded symbols for /usr/lib/libstdc++.so.5
Reading symbols from /lib/tls/libm.so.6...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/tls/libnss_compat.so.2...done.
Loaded symbols for /lib/tls/libnss_compat.so.2
Reading symbols from /lib/tls/libnsl.so.1...done.
Loaded symbols for /lib/tls/libnsl.so.1
Reading symbols from /lib/tls/libnss_nis.so.2...done.
Loaded symbols for /lib/tls/libnss_nis.so.2
Reading symbols from /lib/tls/libnss_files.so.2...done.
Loaded symbols for /lib/tls/libnss_files.so.2
#0  0x4026983b in raise () from /lib/tls/libc.so.6
(gdb) bt full
#0  0x4026983b in raise () from /lib/tls/libc.so.6
No symbol table info available.
#1  0x4026afa2 in abort () from /lib/tls/libc.so.6
No symbol table info available.
#2  0x402632df in __assert_fail () from /lib/tls/libc.so.6
No symbol table info available.
#3  0x08237f64 in MeshDrawInfo::serverSetup (this=0x83f7b00, mesh=0x843f3d0) at MeshDrawInfo.cxx:390
        v = (const float *) 0x845e45c
        idx = 0
        array = (short unsigned int *) 0x840a790
        drawCmd = (DrawCmd &) @0x40703328: {drawMode = 5, count = 4, indices = 0x840a790, indexType = 5123, minIndex = 10302, 
  maxIndex = 10304}
        cmd = 4812
        exts = {mins = {-37.4980621, -52.5333824, -0.00888300035}, maxs = {36.7904358, 60.0949211, 40.7177162}}
        drawSet = (DrawSet &) @0x843efb8: {count = 16729, cmds = 0x406e7008, material = 0x0, wantList = true, sphere = {3.40282347e+38, 
    3.40282347e+38, 3.40282347e+38, 3.40282347e+38}, triangleCount = 0}
        calcSetCenter = true
        calcSetRadius = true
        set = 0
        drawLod = (DrawLod &) @0x843f360: {count = 1, sets = 0x843efb8, lengthPerPixel = 0, triangleCount = 135854609}
        lod = 0
        vCount = 10302
        verts = (float (*)[3]) 0x8440180
        tmpExts = {mins = {-37.4980621, -52.5333824, -0.00888300035}, maxs = {36.7904358, 60.0949211, 40.7177162}}
        calcCenter = true
        calcRadius = true
        calcExtents = true
#4  0x081ab5b6 in CustomMesh::writeToGroupDef (this=0x83f79e8, groupdef=0x8377600) at CustomMesh.cxx:231
        xform = {name = {static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<No data fields>}, _M_p = 0x83eb75c ""}, 
    static _S_empty_rep_storage = {0, 0, 79, 0}}, 
  transforms = {<std::_Vector_base<TransformData, std::allocator<TransformData> >> = {<std::_Vector_alloc_base<TransformData, std::allocator<TransformData>, true>> = {_M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}, <No data fields>}, <No data fields>}}
        forcePassable = false
        mesh = (class MeshObstacle *) 0x843f3d0
        face_it = {<std::iterator<std::random_access_iterator_tag, CustomMeshFace*, int, CustomMeshFace* const*, CustomMeshFace* const&>> = {<No data fields>}, _M_current = 0x0}
#5  0x0818cfb0 in BZWReader::readWorldStream (this=0x83dd8e8, wlist=@0xbffff2d0, groupDef=0x8377600) at BZWReader.cxx:244
        line = 44134
        buffer = "end\000Info\000s: 14469\00032 45434 45432 45435 45428 45436 45427 45436 45426 45436 45437 45435 45438 45435 45439 45435 45440 45434 45440 45433 45440 45441 45439 45442 45439 45443 45438 45443 45444 45442 45444"...
        object = (class WorldFileObject *) 0x83f79e8
        newObject = (class WorldFileObject *) 0x0
        fakeObject = (class WorldFileObject * const) 0x1
        worldDef = (GroupDefinition * const) 0x8377600
        startDef = (GroupDefinition * const) 0x8377600
        customObject = {static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<No data fields>}, _M_p = 0x4021ae8c ""}, 
  static _S_empty_rep_storage = {0, 0, 79, 0}}
        customLines = {<std::_Vector_base<std::string, std::allocator<std::string> >> = {<std::_Vector_alloc_base<std::string, std::allocator<s---Type <return> to continue, or q <return> to quit---
td::string>, true>> = {_M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}, <No data fields>}, <No data fields>}
        gotWorld = false
        retval = 50
#6  0x0818f2a7 in BZWReader::defineWorldFromFile (this=0x83dd8e8) at BZWReader.cxx:427
        myWorld = (WorldInfo *) 0x83e01b0
        list = {<std::_Vector_base<WorldFileObject*, std::allocator<WorldFileObject*> >> = {<std::_Vector_alloc_base<WorldFileObject*, std::allocator<WorldFileObject*>, true>> = {_M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}, <No data fields>}, <No data fields>}
        worldDef = (GroupDefinition *) 0x8377600
        i = 1
        baseList = (const ObstacleList &) @0x1: Cannot access memory at address 0x1