Crystal Space
Welcome, Guest. Please login or register.
April 20, 2014, 07:44:55 am

Login with username, password and session length
Search:     Advanced search
8990 Posts in 2037 Topics by 7597 Members
Latest Member: Drukareczka1989
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Projects
| |-+  Project Discussion
| | |-+  Assertion failed
« previous next »
Pages: [1] Print
Author Topic: Assertion failed  (Read 3882 times)
mik
Newbie
*
Posts: 36


View Profile Email
« on: December 04, 2008, 01:03:21 pm »

Hi,

i have continued working with the culling, the received aid on my previous problems has been very successful, but now i have a new doubt. When i try to work with a bigger amount of information than my previous sectors i have an assertion failed (i'm going to post it below), and looking the call stack i supose it's relationated with the dynavis plugin, but i don't know waht's the problem. Too many meshes?



crystalspace.canvas.openglwin:
  GL driver: nvoglv32.dll 7.15.11.6925

crystalspace.canvas.openglcommon.driverdb:
  Applied: NVidia: RECT texture extension apparently broken

crystalspace.canvas.openglcommon:
  OpenGL renderer: GeForce 8800 GTS 512/PCI/SSE2 (vendor: NVIDIA Corporation)
  version 2.1.2
  Using windowed mode at resolution 1024x768.
  Pixel format: Color: 32 Alpha: 8 Depth: 24 Stencil: 8 AccumColor: 64
  AccumAlpha: 16 MultiSamples: 0
  Multisample: disabled

crystalspace.canvas.openglwin:
  VSync is disabled.

crystalspace.graphics3d.opengl:
  Using VBO with 64 MB of VBO memory

crystalspace.engine.notify:
  Recalculation of lightmaps forced.
  Initializing lighting (14963 meshes).
  Shining lights (4 lights).
WARNING! Object 'MyObject6989' is not closed!
WARNING! Object 'MyObject1202' is not closed!
WARNING! Object 'MyObject7320' is not closed!
WARNING! Object 'MyObject10770' is not closed!
WARNING! Object 'MyObject11449' is not closed!
WARNING! Object 'MyObject5428' is not closed!
...
  Time taken: 190.2720 seconds.
Assertion failed: vertex_table
Location:         c:\trabajo\jquiles\baip-svn\cs\libs\csgeom\obb.cpp:405
Call stack:
[0x491224ee] (c:\trabajo\jquiles\BAIP-SVN\cs\dynavis.dll)csOBB::FindOBB+0x4e @c:
\trabajo\jquiles\baip-svn\cs\libs\csgeom\obb.cpp:405 (vertex_table = 0(0x0), num
 = 0(0x0), eps = 0(0x0))
[0x490e87d5] (c:\trabajo\jquiles\BAIP-SVN\cs\dynavis.dll)csDynavisObjectModel::G
etOBB+0x85 @c:\trabajo\jquiles\baip-svn\cs\plugins\culling\dynavis\dmodel.cpp:15
5 ()
[0x490e8734] (c:\trabajo\jquiles\BAIP-SVN\cs\dynavis.dll)csDynavisObjectModel::H
asOBB+0x14 @c:\trabajo\jquiles\baip-svn\cs\plugins\culling\dynavis\dmodel.cpp:13
9 ()
[0x490f377f] (c:\trabajo\jquiles\BAIP-SVN\cs\dynavis.dll)csDynaVis::TestObjectVi
sibility+0x29f @c:\trabajo\jquiles\baip-svn\cs\plugins\culling\dynavis\dynavis.c
pp:1690 (obj = 1368298752(0x518e9500), data = 1240692(0x12ee74), frustum_mask =
59(0x3b))
[0x490f51c9] (c:\trabajo\jquiles\BAIP-SVN\cs\dynavis.dll)VisTest_Front2Back+0xb9
 @c:\trabajo\jquiles\baip-svn\cs\plugins\culling\dynavis\dynavis.cpp:1980 (treen
ode = 1571675712(0x5dadde40), userdata = 1240692(0x12ee74), cur_timestamp = 6(0x
6), frustum_mask = 1239376(0x12e950))
[0x49129282] (c:\trabajo\jquiles\BAIP-SVN\cs\dynavis.dll)csKDTree::Front2Back+0x
42 @c:\trabajo\jquiles\baip-svn\cs\libs\csgeom\kdtree.cpp:795 (pos = 1240692(0x1
2ee74), func = 1225740560(0x490f5110), userdata = 1240692(0x12ee74), cur_timesta
mp = 6(0x6), frustum_mask = 59(0x3b))
[0x491292db] (c:\trabajo\jquiles\BAIP-SVN\cs\dynavis.dll)csKDTree::Front2Back+0x
9b @c:\trabajo\jquiles\baip-svn\cs\libs\csgeom\kdtree.cpp:803
[0x49129341] (c:\trabajo\jquiles\BAIP-SVN\cs\dynavis.dll)csKDTree::Front2Back+0x
101 @c:\trabajo\jquiles\baip-svn\cs\libs\csgeom\kdtree.cpp:809
[0x491292db] (c:\trabajo\jquiles\BAIP-SVN\cs\dynavis.dll)csKDTree::Front2Back+0x
9b @c:\trabajo\jquiles\baip-svn\cs\libs\csgeom\kdtree.cpp:803
[0x491292db] (c:\trabajo\jquiles\BAIP-SVN\cs\dynavis.dll)csKDTree::Front2Back+0x
9b @c:\trabajo\jquiles\baip-svn\cs\libs\csgeom\kdtree.cpp:803
[0x491292db] (c:\trabajo\jquiles\BAIP-SVN\cs\dynavis.dll)csKDTree::Front2Back+0x
9b @c:\trabajo\jquiles\baip-svn\cs\libs\csgeom\kdtree.cpp:803
[0x49129341] (c:\trabajo\jquiles\BAIP-SVN\cs\dynavis.dll)csKDTree::Front2Back+0x
101 @c:\trabajo\jquiles\baip-svn\cs\libs\csgeom\kdtree.cpp:809
[0x49129386] (c:\trabajo\jquiles\BAIP-SVN\cs\dynavis.dll)csKDTree::Front2Back+0x
146 @c:\trabajo\jquiles\baip-svn\cs\libs\csgeom\kdtree.cpp:813
[0x491292db] (c:\trabajo\jquiles\BAIP-SVN\cs\dynavis.dll)csKDTree::Front2Back+0x
9b @c:\trabajo\jquiles\baip-svn\cs\libs\csgeom\kdtree.cpp:803
[0x49129386] (c:\trabajo\jquiles\BAIP-SVN\cs\dynavis.dll)csKDTree::Front2Back+0x
146 @c:\trabajo\jquiles\baip-svn\cs\libs\csgeom\kdtree.cpp:813
[0x491292db] (c:\trabajo\jquiles\BAIP-SVN\cs\dynavis.dll)csKDTree::Front2Back+0x
9b @c:\trabajo\jquiles\baip-svn\cs\libs\csgeom\kdtree.cpp:803
[0x49129553] (c:\trabajo\jquiles\BAIP-SVN\cs\dynavis.dll)csKDTree::Front2Back+0x
33 @c:\trabajo\jquiles\baip-svn\cs\libs\csgeom\kdtree.cpp:857 (pos = 1240692(0x1
2ee74), func = 1225740560(0x490f5110), userdata = 1240692(0x12ee74), frustum_mas
k = 63(0x3f))
[0x490f4e1f] (c:\trabajo\jquiles\BAIP-SVN\cs\dynavis.dll)csDynaVis::VisTest+0x54
f @c:\trabajo\jquiles\baip-svn\cs\plugins\culling\dynavis\dynavis.cpp:2140 (rvie
w = 1689556488(0x64b49608), viscallback = 1573436848(0x5dc8bdb0))
[0x441f2b10] (c:\trabajo\jquiles\BAIP-SVN\cs\engine.dll)csSector::GetVisibleMesh
es+0x330 @c:\trabajo\jquiles\baip-svn\cs\plugins\engine\3d\sector.cpp:623 (rview
 = 1689556488(0x64b49608))
[0x4701fe5f] (c:\trabajo\jquiles\BAIP-SVN\cs\rendstep_std.dll)csGenericRenderSte
p::Perform+0x4f @c:\trabajo\jquiles\baip-svn\cs\plugins\engine\renderloop\stdste
ps\generic.cpp:395 (rview = 1689556488(0x64b49608), sector = 1187629092(0x46c9c8
24), light = 0(0x0), stacks = 263001384(0xfad1528))
[0x4701fdfa] (c:\trabajo\jquiles\BAIP-SVN\cs\rendstep_std.dll)csGenericRenderSte
p::Perform+0x2a @c:\trabajo\jquiles\baip-svn\cs\plugins\engine\renderloop\stdste
ps\generic.cpp:309 (rview = 1689556488(0x64b49608), sector = 1187629092(0x46c9c8
24), stacks = 263001384(0xfad1528))
[0x441e4ebd] (c:\trabajo\jquiles\BAIP-SVN\cs\engine.dll)csRenderLoop::Draw+0x1ad
 @c:\trabajo\jquiles\baip-svn\cs\plugins\engine\3d\renderloop.cpp:85 (rview = 16
89556488(0x64b49608), s = 1187629092(0x46c9c824), mesh = 0(0x0))
[0x4412e62f] (c:\trabajo\jquiles\BAIP-SVN\cs\engine.dll)csEngine::Draw+0x1ff @c:
\trabajo\jquiles\baip-svn\cs\plugins\engine\3d\engine.cpp:1510 (c = 1188056344(0
x46d04d18), view = 2870336(0x2bcc40), mesh = 0(0x0))
[0x004daf10] (c:\trabajo\jquiles\BAIP-SVN\cs\simple2.exe)csView::Draw+0xb0 @c:\t
rabajo\jquiles\baip-svn\cs\libs\cstool\csview.cpp:161 (mesh = 1188056344(0x46d04
d18))
[0x004b5832] (c:\trabajo\jquiles\BAIP-SVN\cs\simple2.exe)Simple::ProcessFrame+0x
a42 @c:\trabajo\jquiles\baip-svn\cs\apps\tutorial\simple2\simple2.cpp:138 ()
[0x004c48ee] (c:\trabajo\jquiles\BAIP-SVN\cs\simple2.exe)csBaseEventHandler::Han
dleEvent+0x9e @c:\trabajo\jquiles\baip-svn\cs\libs\csutil\csbaseeventh.cpp:125 (
event = 0(0x0))
[0x004c3c60] (c:\trabajo\jquiles\BAIP-SVN\cs\simple2.exe)csBaseEventHandler::Eve
ntHandlerImpl::HandleEvent+0x30 @c:\trabajo\jquiles\baip-svn\cs\include\csutil\c
sbaseeventh.h:88 (event = 0(0x0))
[0x00598b32] (c:\trabajo\jquiles\BAIP-SVN\cs\simple2.exe)csEventTree::Dispatch+0
xe2 @c:\trabajo\jquiles\baip-svn\cs\libs\csutil\cssubscription.cpp:576 (e = 0(0x
0))
[0x005989fe] (c:\trabajo\jquiles\BAIP-SVN\cs\simple2.exe)csEventTree::Notify+0x8
e @c:\trabajo\jquiles\baip-svn\cs\libs\csutil\cssubscription.cpp:547 ()
[0x005216d4] (c:\trabajo\jquiles\BAIP-SVN\cs\simple2.exe)csEventQueue::Notify+0x
74 @c:\trabajo\jquiles\baip-svn\cs\libs\csutil\cseventq.cpp:278 (name = 0(0x0))
[0x0051fce5] (c:\trabajo\jquiles\BAIP-SVN\cs\simple2.exe)csEventQueue::iTypedFra
meEventDispatcher::HandleEvent+0x25 @c:\trabajo\jquiles\baip-svn\cs\include\csut
il\cseventq.h:263 (__formal = 0(0x0))
[0x00598b32] (c:\trabajo\jquiles\BAIP-SVN\cs\simple2.exe)csEventTree::Dispatch+0
xe2 @c:\trabajo\jquiles\baip-svn\cs\libs\csutil\cssubscription.cpp:576 (e = 0(0x
0))
[0x005989fe] (c:\trabajo\jquiles\BAIP-SVN\cs\simple2.exe)csEventTree::Notify+0x8
e @c:\trabajo\jquiles\baip-svn\cs\libs\csutil\cssubscription.cpp:547 ()
[0x005216d4] (c:\trabajo\jquiles\BAIP-SVN\cs\simple2.exe)csEventQueue::Notify+0x
74 @c:\trabajo\jquiles\baip-svn\cs\libs\csutil\cseventq.cpp:278 (name = 0(0x0))
[0x005217e6] (c:\trabajo\jquiles\BAIP-SVN\cs\simple2.exe)csEventQueue::Process+0
xe6 @c:\trabajo\jquiles\baip-svn\cs\libs\csutil\cseventq.cpp:298 ()
[0x004d890a] (c:\trabajo\jquiles\BAIP-SVN\cs\simple2.exe)csDefaultRunLoop+0x19a
@c:\trabajo\jquiles\baip-svn\cs\libs\csutil\generic\runloop.cpp:92 (r = 0(0x0))
[0x004b6da4] (c:\trabajo\jquiles\BAIP-SVN\cs\simple2.exe)csApplicationFramework:
:Run+0x14 @c:\trabajo\jquiles\baip-svn\cs\include\cstool\csapplicationframework.
h:330 ()
[0x004b6d74] (c:\trabajo\jquiles\BAIP-SVN\cs\simple2.exe)Simple::Application+0x4
4 @c:\trabajo\jquiles\baip-svn\cs\apps\tutorial\simple2\simple2.cpp:236 ()
[0x004c6551] (c:\trabajo\jquiles\BAIP-SVN\cs\simple2.exe)csApplicationFramework:
:Start+0x41 @c:\trabajo\jquiles\baip-svn\cs\libs\cstool\csapplicationframework.c
pp:72 ()
[0x004c68c0] (c:\trabajo\jquiles\BAIP-SVN\cs\simple2.exe)csApplicationFramework:
:Main+0x80 @c:\trabajo\jquiles\baip-svn\cs\libs\cstool\csapplicationframework.cp
p:131 (argc = 0(0x0), argv = 0(0x0))
[0x004bd7a0] (c:\trabajo\jquiles\BAIP-SVN\cs\simple2.exe)csApplicationRunner<Sim
ple>::Run+0x50 @c:\trabajo\jquiles\baip-svn\cs\include\cstool\csapplicationframe
work.h:441 (argc = 2(0x2), argv = 3754744(0x394af8))
[0x004bad56] (c:\trabajo\jquiles\BAIP-SVN\cs\simple2.exe)main+0x16 @c:\trabajo\j
quiles\baip-svn\cs\apps\tutorial\simple2\simple2.cpp:1600 (argc = 2(0x2), argv =
 3754744(0x394af8))
[0x005db556] (c:\trabajo\jquiles\BAIP-SVN\cs\simple2.exe)__tmainCRTStartup+0x1a6
 @f:\sp\vctools\crt_bld\self_x86\crt\src\crtexe.c:597 ()
[0x005db39d] (c:\trabajo\jquiles\BAIP-SVN\cs\simple2.exe)mainCRTStartup+0xd @f:\
sp\vctools\crt_bld\self_x86\crt\src\crtexe.c:414 ()
[0x76074911] (C:\Windows\system32\kernel32.dll)BaseThreadInitThunk+0x12
[0x7715e4b6] (C:\Windows\system32\ntdll.dll)RtlInitializeExceptionChain+0x63
[0x7715e489] (C:\Windows\system32\ntdll.dll)RtlInitializeExceptionChain+0x36
Logged
mik
Newbie
*
Posts: 36


View Profile Email
« Reply #1 on: December 16, 2008, 02:20:46 pm »

I continue with the same problem, but now i know that it couldn't be for an excess of meshes because i have the same assertion with less meshes (only 182). I know that it's something related with de dynavis (with frustvis it doesn't happens), but i don't know what. Anyone could help me?
Logged
Vincent
Full Member
***
Posts: 191


View Profile WWW
« Reply #2 on: December 19, 2008, 11:40:07 pm »

Just a guess, maybe there's some invalid object, and/or a bug in dynavis.
If you're using CS 1.2, try with a more recent version like 1.4 SVN branch
(see http://www.crystalspace3d.org/trac/CS/wiki/Version14Plan ).
If you're using 1.4 or trunk/1.9 already, please create a ticket on CS Trac,
and it's best if you can provide code+map so that the problem can be reproduced...
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 7.279 seconds with 17 queries.