UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Bug report #2174 ufo2map -check: Assertion useRangeIndex < keyDef->numRanges
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Bug report
  • Category
    Map Compiler (ufo2map)
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    5. Important
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/2174 Item 2174] imported from sourceforge.net tracker on 2013-01-28 19:22:20

rev 26132. see attached testcase.

ufo2map: src/shared/entitiesdef.c:324: ED_CheckRange: Assertion `useRangeIndex < keyDef->numRanges&#039; failed.
[New Thread 0xb7a9d6c0 (LWP 15064)]

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb7a9d6c0 (LWP 15064)]
0xb7ca8456 in raise () from /lib/libc.so.6
(gdb) bt full
#0 0xb7ca8456 in raise () from /lib/libc.so.6
No symbol table info available.
#1 0xb7ca9e08 in abort () from /lib/libc.so.6
No symbol table info available.
#2 0xb7ca13f0 in __assert_fail () from /lib/libc.so.6
No symbol table info available.
#3 0x08075b76 in ED_CheckRange (keyDef=0xdfea41c, floatOrInt=8, index=2, parsedNumber={i = 0, f = 0})
at src/shared/entitiesdef.c:324
useRangeIndex = 2
kr = (entityKeyRange_t *) 0x9ac4481
discreteFloatEpsilon = 9.99999975e-05
__PRETTY_FUNCTION__ = "ED_CheckRange"
#4 0x08075ec2 in ED_CheckNumericType (keyDef=0xdfea41c, value=0xde0bb84 "0 180 0", floatOrInt=8)
at src/shared/entitiesdef.c:383
tok = 0x9ac4480 "0"
parsedNumber = {i = 0, f = 0}
i = 2
buf_p = 0x9ac74c7 ""
tokBuf = "0 180 0", &#039;\0&#039; <repeats 56 times>
__PRETTY_FUNCTION__ = "ED_CheckNumericType"
#5 0x08075fe1 in ED_CheckKey (kd=0xdfea41c, value=0xde0bb84 "0 180 0") at src/shared/entitiesdef.c:422
No locals.
#6 0x080643dc in CheckEntities () at src/tools/ufo2map/check/checkentities.c:148
e = (entity_t *) 0xaac64e0
kvp = (const epair_t *) 0xde0baf4
name = 0xde0b74c "worldspawn"
ed = (const entityDef_t *) 0xaad4664
kd = (const entityKeyDef_t *) 0xdfea41c
i = 0
#7 0x0804f0aa in main (argc=3, argv=0xbfe4b174) at src/tools/ufo2map/ufo2map.c:695
bspFilename = "base/maps/pipes_const.bsp", &#039;\0&#039; <repeats 230 times>
begin = 5.9491263773250978e-270
start = 1252531123
end = 5.9491263773250978e-270
size = 134779401

===== Comments Ported from Sourceforge =====

====== richlv (2009-09-09 21:23:22) ======

testcase
====== tlh2000 (2009-10-18 07:53:34) ======

not reproducible here - Error: Brush 1064 (entity 0) has invalid mix of clips and solid flags - is the output
====== richlv (2009-10-22 20:32:38) ======

in rev 26712 i get :

./ufo2map(Sys_Backtrace+0x1a)[0x8089a56]
./ufo2map(Sys_Error+0xe)[0x80894a4]
./ufo2map[0x805e11a]
./ufo2map[0x805d862]
./ufo2map[0x805ebac]
./ufo2map(LoadMapFile+0xbf)[0x805f379]
./ufo2map(main+0x32f)[0x804f3c2]
/lib/libc.so.6(__libc_start_main+0xe5)[0xb7de46a5]
./ufo2map[0x804d3d1]
Error: Brush 1064 (entity 0) has invalid mix of clips and solid flags

the backtrace part really looks to me like it shouldn&#039;t be there, but if that&#039;s considered normal, the report can be closed
====== tlh2000 (2009-11-17 06:32:16) ======

yes - a sys_error is producing a backtrace for further testing.
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif