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 #2277 Assertion failed r27858 src/common/cmodel.c:715
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
    Battlescape
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    6. Vital
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/2277 Item 2277] imported from sourceforge.net tracker on 2013-01-28 19:26:38

When Im trying to start a map (crashed fighter in mining colony) I get SIGABRT, but it's random hard to reproduce:
CLFLAGS = -O0 -g -ggdb x86_64
sry I translated the "Assertion ... failed"

ufo: src/common/cmodel.c:715: CM_EntTestLineDM: Assert ,,*name[0] == '*'" failed.

Program received signal SIGABRT, Aborted.
0x00007ffff51b4ec5 in raise () from /lib/libc.so.6
(gdb) bt
#0 0x00007ffff51b4ec5 in raise () from /lib/libc.so.6
#1 0x00007ffff51b63c1 in abort () from /lib/libc.so.6
#2 0x00007ffff51ae069 in __assert_fail () from /lib/libc.so.6
#3 0x0000000000500ddf in CM_EntTestLineDM (start=0x7fffffffe050,
stop=0x7fffffffe060, end=0x7fffffffe040, levelmask=256)
at src/common/cmodel.c:715
#4 0x0000000000500d37 in CM_TestLineDMWithEnt (start=0x7fffffffe050,
stop=0x7fffffffe060, end=0x7fffffffe040, levelmask=256, entlist=0x1907360)
at src/common/cmodel.c:683
#5 0x00000000004492f3 in CL_ActorMouseTrace ()
at src/client/battlescape/cl_actor.c:1672
#6 0x000000000043eb3d in IN_Parse () at src/client/input/cl_input.c:615
#7 0x000000000043f072 in IN_Frame () at src/client/input/cl_input.c:887
#8 0x0000000000438532 in CL_Frame (now=5811859, data=0x0)
at src/client/cl_main.c:1127
#9 0x0000000000509472 in tick_timer (now=5811859, data=0x108ca858)
at src/common/common.c:1005
#10 0x000000000050993b in Qcommon_Frame () at src/common/common.c:1156
#11 0x00000000005637c9 in main (argc=1, argv=0x7fffffffe308)
at src/ports/linux/linux_main.c:53
(gdb) bt full
#0 0x00007ffff51b4ec5 in raise () from /lib/libc.so.6
No symbol table info available.
#1 0x00007ffff51b63c1 in abort () from /lib/libc.so.6
No symbol table info available.
#2 0x00007ffff51ae069 in __assert_fail () from /lib/libc.so.6
No symbol table info available.
#3 0x0000000000500ddf in CM_EntTestLineDM (start=0x7fffffffe050,
stop=0x7fffffffe060, end=0x7fffffffe040, levelmask=256)
at src/common/cmodel.c:715
trace = {allsolid = 5656224, startsolid = qfalse,
fraction = -nan(0x7fdf20), endpos = {4.59163468e-41, 6.12089411e-39,
0}, plane = {normal = {-nan(0x7fe300), 4.59163468e-41,
1.40129846e-45}, dist = 0, type = 128 '\200'}, surface = 0x0,
planenum = 533465320, contentFlags = 0, leafnum = 0, mapTile = 10,
le = 0x7fffffffe050, ent = 0x42a690}
model = 0x0
name = 0x1907360
blocked = 0
fraction = 2
__PRETTY_FUNCTION__ = "CM_EntTestLineDM"
#4 0x0000000000500d37 in CM_TestLineDMWithEnt (start=0x7fffffffe050,
stop=0x7fffffffe060, end=0x7fffffffe040, levelmask=256, entlist=0x1907360)
at src/common/cmodel.c:683
hit = 32767
#5 0x00000000004492f3 in CL_ActorMouseTrace ()
at src/client/battlescape/cl_actor.c:1672
i = 0
restingLevel = 99621608
cur = {-0.134765625, 0.0364583321}
frustumSlope = {1182.41333, 886.809998}
projectionDistance = 2048
nDotP2minusP1 = 0
forward = {0, 0, 0}
right = {0, 0, 0}
up = {0, 0, 0}
stop = {0, 0, 0}
from = {0, 0, 0}
end = {0, 0, 0}
dir = {0, 0, -3.0889045e+32}
mapNormal = {0, 0, 1}
P3 = {0, 0, 25.6000004}
P2minusP1 = {0, 0, 0}
P3minusP1 = {-nan(0x7fe050), 4.59163468e-41, 1.34524653e-43}
pA = {5.60519386e-45, 0, 8.23252758e-39}
pB = {6.45900927e-37, 0, 2.1860256e-43}
testPos = "\300\337\377"
actor2x2 = {"\020\000", "\000\060", "\000\000\200"}
fieldSize = 1
le = 0x7fffffffe120
#6 0x000000000043eb3d in IN_Parse () at src/client/input/cl_input.c:615
No locals.
#7 0x000000000043f072 in IN_Frame () at src/client/input/cl_input.c:887
mouse_buttonstate = 0
unicode = 67
key = 32767
event = {type = 192 '\300', active = {type = 192 '\300',
gain = 116 't', state = 151 '\227'}, key = {type = 192 '\300',
which = 116 't', state = 151 '\227', keysym = {
scancode = 0 '\000', sym = SDLK_UNKNOWN, mod = KMOD_NONE,
unicode = 57680}}, motion = {type = 192 '\300', which = 116 't',
state = 151 '\227', x = 0, y = 0, xrel = 0, yrel = 0}, button = {
type = 192 '\300', which = 116 't', button = 151 '\227',
state = 1 '\001', x = 0, y = 0}, jaxis = {type = 192 '\300',
which = 116 't', axis = 151 '\227', value = 0}, jball = {
type = 192 '\300', which = 116 't', ball = 151 '\227', xrel = 0,
yrel = 0}, jhat = {type = 192 '\300', which = 116 't',
hat = 151 '\227', value = 1 '\001'}, jbutton = {type = 192 '\300',
which = 116 't', button = 151 '\227', state = 1 '\001'}, resize = { pC = {1.34524653e-43, 0, 9.80908925e-45}
type = 192 '\300', w = 0, h = 0}, expose = {type = 192 '\300'},
quit = {type = 192 '\300'}, user = {type = 192 '\300', code = 0,
data1 = 0x0, data2 = 0x7fffffffe150}, syswm = {type = 192 '\300',
msg = 0x0}}
#8 0x0000000000438532 in CL_Frame (now=5811859, data=0x0)
at src/client/cl_main.c:1127
delta = 1220
lastFrame = 5811859
#9 0x0000000000509472 in tick_timer (now=5811859, data=0x108ca858)
at src/common/common.c:1005
timer = 0x108ca858
old_interval = 20
lateness = 22
#10 0x000000000050993b in Qcommon_Frame () at src/common/common.c:1156
time_to_next = 0
event = 0x2601cc08
#11 0x00000000005637c9 in main (argc=1, argv=0x7fffffffe308)
at src/ports/linux/linux_main.c:53

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

====== tlh2000 (2010-01-05 19:24:47) ======

looks like it is related to the inline model list bug, too
====== tlh2000 (2010-01-15 07:43:49) ======

maybe the client and server also share the same data here? so game is updating and client doesn't know anything about that update?
====== tlh2000 (2010-01-15 07:51:12) ======

another backtrace
====== technokar (2010-01-15 08:18:41) ======

I want to take screenshot when this happens - but the window buffer is gone. Sometimes I can see wrong meshes (e.g. pilot etc.)
====== o01eg (2010-01-15 17:39:24) ======

I also got this bug at r28028
http://ufoai.ninex.info/forum/index.php?topic=4383.msg33384#msg33384
There wrong values cl.numLEs = 0 and all LEs are empty.
====== tlh2000 (2010-01-20 17:11:50) ======

https://sourceforge.net/tracker/?func=detail&aid=2935545&group_id=157793&atid=805242
====== tlh2000 (2010-01-22 21:06:07) ======

please let me know whether you still encouter this bug after r28210
====== tlh2000 (2010-01-23 06:29:17) ======

https://sourceforge.net/tracker/index.php?func=detail&aid=2937502&group_id=157793&atid=805242 (but still before r28210)
====== tlh2000 (2010-01-24 14:24:11) ======

https://sourceforge.net/tracker/?func=detail&aid=2910977&group_id=157793&atid=805242 (but still before r28210)
====== daveap (2010-01-26 00:06:03) ======

Just thought I should report that issue #2935545 seems to be gone in revision 28279. It's hard to be sure, but I am now able to play through whole battles without crashing, which I wasn't able to before.
====== tlh2000 (2010-01-26 06:55:07) ======

so i'm setting this to pending (until someone reports back that this bug isn't fixed yet)
====== markhawrylak (2010-02-06 11:54:34) ======

I have been trying to make this bug occur in r28450 and cannot reproduce it. I think this defect can be closed.
====== sf-robot (2010-02-10 02:20:08) ======

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
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