Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IQM rocket pod missile crashes in R_CulIIQM #507

Closed
Viech opened this issue Dec 23, 2014 · 1 comment
Closed

IQM rocket pod missile crashes in R_CulIIQM #507

Viech opened this issue Dec 23, 2014 · 1 comment

Comments

@Viech
Copy link
Member

Viech commented Dec 23, 2014

The IQM model used for the rocket pod's missile (available here) produces the following crash:

Thread 1 (Thread 0x7ffff7fae780 (LWP 20024)):
#0  BoundsAdd (mins=0x7fffffffd7a0, maxs=0x7fffffffd7ac, mins2=0x0, maxs2=0xc) at /home/eris/src/Unvanquished/src/engine/qcommon/q_math.cpp:1107
No locals.
#1  0x00000000005549c7 in R_CullIQM (ent=ent@entry=0x7fffeca7e140) at /home/eris/src/Unvanquished/src/engine/renderer/tr_model_iqm.cpp:914
        model = <optimized out>
        localBounds = {{-2.00014162, -10.0084152, -1.21117449}, {2.00014162, 10.0084152, 2.25352907}}
        scale = 1
        anim = <optimized out>
        bounds = <optimized out>
#2  0x0000000000555cb4 in R_AddIQMSurfaces (ent=0x7fffeca7e140) at /home/eris/src/Unvanquished/src/engine/renderer/tr_model_iqm.cpp:1029
        IQModel = 0x7fffe9fea940
        surface = 0x7fffe9fea9e8
        i = <optimized out>
        personalModel = 0
        cull = <optimized out>
        fogNum = <optimized out>
        j = <optimized out>
        shader = <optimized out>
        skin = <optimized out>
#3  0x000000000054ec55 in R_AddEntitySurfaces () at /home/eris/src/Unvanquished/src/engine/renderer/tr_main.cpp:1857
        i = 14
        shader = 0x3
#4  0x000000000054f78e in R_RenderView (parms=0x7fffffffd7a0) at /home/eris/src/Unvanquished/src/engine/renderer/tr_main.cpp:2491
        firstDrawSurf = 0
        firstInteraction = 0
        mvp = {0.0596046858, -0.03794517, -0.991318285, -0.989183724, 0.427486092, 0.00529072154, 0.138220206, 0.137922585, 0, 0.766369939, -0.0500372238, -0.049929481, 
-946.638977, -14.805584, 2455.91748, 2453.62939}
#5  0x00000000005578d2 in RE_RenderScene (fd=0x7fffffffd7a0) at /home/eris/src/Unvanquished/src/engine/renderer/tr_scene.cpp:718
        parms = {orientation = {origin = {2729.00806, 1833.92468, 141.779404}, axis = {{-0.989183724, 0.137922585, -0.049929481}, {-0.138094828, -0.99041903, 0}, 
{-0.049451109, 0.00689500291, 0.998752773}}, viewOrigin = {0, 0, 0}, transformMatrix = {0 <repeats 16 times>}, viewMatrix = {0 <repeats 16 times>}, viewMatrix2 = {0 
<repeats 16 times>}, modelViewMatrix = {0 <repeats 16 times>}}, world = {origin = {0, 0, 0}, axis = {{0, 0, 0}, {0, 0, 0}, {0, 0, 0}}, viewOrigin = {0, 0, 0}, 
transformMatrix = {0 <repeats 16 times>}, viewMatrix = {0 <repeats 16 times>}, viewMatrix2 = {0 <repeats 16 times>}, modelViewMatrix = {0 <repeats 16 times>}}, pvsOrigin 
= {2729.00806, 1833.92468, 141.779404}, isPortal = 0, isMirror = 0, frameSceneNum = 0, frameCount = 0, viewCount = 0, portalPlane = {normal = {0, 0, 0}, dist = 0, type = 
0 '\000', signbits = 0 '\000', pad = "\000"}, viewportX = 0, viewportY = 0, viewportWidth = 1600, viewportHeight = 900, viewportVerts = {{0, 0, 0, 1}, {1600, 0, 0, 1}, 
{1600, 900, 0, 1}, {0, 900, 0, 1}}, gradingWeights = {0, 0, 0, 1}, fovX = 133.307877, fovY = 105, projectionMatrix = {0 <repeats 16 times>}, unprojectionMatrix = {0 
<repeats 16 times>}, parallelSplitDistances = {0, 0, 0, 0, 0, 0}, frustums = {{{normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}, 
{normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}, {normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}, 
{normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}, {normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}, 
{normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}}, {{normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}, 
{normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}, {normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}, 
{normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}, {normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}, 
{normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}}, {{normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}, 
{normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}, {normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}, 
{normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}, {normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}, 
{normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}}, {{normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}, 
{normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}, {normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}, 
{normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}, {normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}, 
{normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}}, {{normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}, 
{normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}, {normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}, 
{normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}, {normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}, 
{normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}}, {{normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}, 
{normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}, {normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}, 
{normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}, {normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}, 
{normal = {0, 0, 0}, dist = 0, type = 0 '\000', signbits = 0 '\000', pad = "\000"}}}, visBounds = {{0, 0, 0}, {0, 0, 0}}, zNear = 0, zFar = 0, numDrawSurfs = 0, 
drawSurfs = 0x0, numInteractions = 0, interactions = 0x0}
        startTime = 40112
#6  0x00000000004e0336 in CL_CgameSystemCalls (args=0x7fffffffe030) at /home/eris/src/Unvanquished/src/engine/client/cl_cgame.cpp:1880
No locals.
#7  0x00000000004614d2 in VM_DllSyscall (arg=339) at /home/eris/src/Unvanquished/src/engine/qcommon/vm.cpp:497
        ret = <optimized out>
        args = {339, 140736225330068, 4294967279, 140736242387840, 193788880, 0, 140736225071872, 140736219365691, 140736225071872, 140736219466608, 0, 10405440, 
10405440, 140736219262136, -3434612412566703193, 4590802}
        i = <optimized out>
        ap = {{gp_offset = 48, fp_offset = 48, overflow_arg_area = 0x7fffffffe1d0, reg_save_area = 0x7fffffffe0b0}}
#8  0x00007fffb460dfbf in trap_R_RenderScene (fd=<optimized out>) at /home/eris/src/Unvanquished/src/gamelogic/cgame/cg_api.c:644
No locals.
#9  0x00007fffb45cc13b in CG_DrawActive () at /home/eris/src/Unvanquished/src/gamelogic/cgame/cg_draw.c:734
No locals.
#10 0x00007fffb45e4b70 in CG_DrawActiveFrame (serverTime=<optimized out>, demoPlayback=<optimized out>) at /home/eris/src/Unvanquished/src/gamelogic/cgame/cg_view.c:1990
        inwater = 0
#11 0x00007fffb45b2cb8 in vmMain (command=<optimized out>, arg0=<optimized out>, arg1=<optimized out>, arg2=<optimized out>, arg3=<optimized out>, arg4=<optimized out>, 
arg5=5213439, arg6=21, arg7=5213544, arg8=21, arg9=5194679, arg10=21, arg11=4502445) at /home/eris/src/Unvanquished/src/gamelogic/cgame/cg_main.c:73
No locals.
#12 0x0000000000460cd2 in VM_Call (vm=0x9ec640 <vmTable>, callnum=callnum@entry=3) at /home/eris/src/Unvanquished/src/engine/qcommon/vm.cpp:1006
        args = {27433, 0, 66, 99995, 21, 5213439, 21, 5213544, 21, 5194679, 21, 4502445, 40, 5877281, 5877453, 821}
        ap = {{gp_offset = 48, fp_offset = 48, overflow_arg_area = 0x7fffffffe3c0, reg_save_area = 0x7fffffffe290}}
        oldVM = 0x9ec640 <vmTable>
        r = <optimized out>
        i = <optimized out>
#13 0x00000000004de6cd in CL_CGameRendering () at /home/eris/src/Unvanquished/src/engine/client/cl_cgame.cpp:2763
No locals.
#14 0x00000000004f8cff in SCR_DrawScreenField () at /home/eris/src/Unvanquished/src/engine/client/cl_scrn.cpp:724
No locals.
#15 0x00000000004f8d68 in SCR_UpdateScreen () at /home/eris/src/Unvanquished/src/engine/client/cl_scrn.cpp:774
        recursive = 1
#16 0x00000000004f43b7 in CL_Frame (msec=21) at /home/eris/src/Unvanquished/src/engine/client/cl_main.cpp:3670
No locals.
#17 0x000000000044b3ad in Com_Frame (GetInput=0x59ae21 <IN_Frame()>, DoneInput=0x59aecd <IN_FrameEnd()>) at 
/home/eris/src/Unvanquished/src/engine/qcommon/common.cpp:2374
        msec = 21
        timeBeforeEvents = 0
        timeBeforeClient = 0
        timeAfter = 0
        timeBeforeFirstEvents = 0
        timeBeforeServer = 0
        minMsec = 8
        lastTime = 40109
        watchdogTime = 0
        watchWarn = 0
#18 0x0000000000462c5a in main (argc=18, argv=0x7fffffffe998) at /home/eris/src/Unvanquished/src/engine/sys/sys_main.cpp:667
        i = 18
        commandLine = "\000set vm.game.type 4 \000set vm.sgame.type 4 \000set fs_basepath /usr/share/unvanquished \000set fs_extrapath . \000set fs_extrapaks \"assets 
git\" \000devmap plat23 ", '\000' <repeats 875 times>
        ver = {major = 2 '\002', minor = 0 '\000', patch = 3 '\003'}
        curses = 1
@Viech Viech changed the title IQM rocket pod missile crashes in R_CullIIQM IQM rocket pod missile crashes in R_CulIIQM Dec 23, 2014
@Viech
Copy link
Member Author

Viech commented Dec 26, 2014

Fixed in 454ab3b. Another similiar issue was fixed in 01341af.

@Viech Viech closed this as completed Dec 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant