Horde3D
http://www.horde3d.org/forums/

Segmentation Fault in RendQueueItemCompFunc::operator()
http://www.horde3d.org/forums/viewtopic.php?f=3&t=1574
Page 1 of 1

Author:  Orm [ 03.09.2011, 23:34 ]
Post subject:  Segmentation Fault in RendQueueItemCompFunc::operator()

Not sure if this is me or Horde3D, but this is occurring without any sort of threading whatsoever in my engine. Here is the GDB output.

Code:
Program received signal SIGSEGV, Segmentation fault.
0x66c53446 in Horde3D::RendQueueItemCompFunc::operator() (this=0x28fa8c, a=..., b=...) at C:\mengin-git\lib\src\deps\horde3d\v5\egScene.cpp:343
343                     { return a.sortKey < b.sortKey; }
(gdb) bt
#0  0x66c53446 in Horde3D::RendQueueItemCompFunc::operator() (this=0x28fa8c, a=..., b=...) at C:\mengin-git\lib\src\deps\horde3d\v5\egScene.cpp:343
#1  0x66c7c208 in std::__unguarded_partition<__gnu_cxx::__normal_iterator<Horde3D::RendQueueItem*, std::vector<Horde3D::RendQueueItem> >, Horde3D::Rend
QueueItem, Horde3D::RendQueueItemCompFunc> (__first=..., __last=..., __pivot=..., __comp=...)    at c:/mingw/bin/../lib/gcc/mingw32/4.5.2/include/c++/bits/stl_algo.h:2229
#2  0x66c7e9ee in std::__unguarded_partition_pivot<__gnu_cxx::__normal_iterator<Horde3D::RendQueueItem*, std::vector<Horde3D::RendQueueItem> >, Horde3D
::RendQueueItemCompFunc> (__first=..., __last=..., __comp=...) at c:/mingw/bin/../lib/gcc/mingw32/4.5.2/include/c++/bits/stl_algo.h:2261
#3  0x66c7b3ae in std::__introsort_loop<__gnu_cxx::__normal_iterator<Horde3D::RendQueueItem*, std::vector<Horde3D::RendQueueItem> >, int, Horde3D::Rend
QueueItemCompFunc> (__first=..., __last=..., __depth_limit=7, __comp=...) at c:/mingw/bin/../lib/gcc/mingw32/4.5.2/include/c++/bits/stl_algo.h:2302
#4  0x66c7f88b in std::sort<__gnu_cxx::__normal_iterator<Horde3D::RendQueueItem*, std::vector<Horde3D::RendQueueItem> >, Horde3D::RendQueueItemCompFunc
> (__first=..., __last=..., __comp=...) at c:/mingw/bin/../lib/gcc/mingw32/4.5.2/include/c++/bits/stl_algo.h:5250
#5  0x66c29ee4 in Horde3D::SpatialGraph::updateQueues (this=0x650f60, frustum1=..., frustum2=0x0, order=Horde3D::RenderingOrder::BackToFront,
    filterIgnore=1, lightQueue=false, renderQueue=true) at C:\mengin-git\lib\src\deps\horde3d\v5\egScene.cpp:403
#6  0x66c2a38a in Horde3D::SceneManager::updateQueues (this=0x650eb0, frustum1=..., frustum2=0x0, order=Horde3D::RenderingOrder::BackToFront,
    filterIgnore=1, lightQueue=false, renderableQueue=true) at C:\mengin-git\lib\src\deps\horde3d\v5\egScene.cpp:477
#7  0x66c207c8 in Horde3D::Renderer::drawGeometry (this=0x653b40, shaderContext=..., theClass=..., order=Horde3D::RenderingOrder::BackToFront,
    occSet=0) at C:\mengin-git\lib\src\deps\horde3d\v5\egRenderer.cpp:1284
#8  0x66c23432 in Horde3D::Renderer::render (this=0x653b40, camNode=0x9b2f938) at C:\mengin-git\lib\src\deps\horde3d\v5\egRenderer.cpp:1988
#9  0x66c0b88d in h3dRender (cameraNode=11) at C:\mengin-git\lib\src\deps\horde3d\v5\egMain.cpp:113
#10 0x69f5d6ed in Irre::Renderer::Render (this=0xbaadf00d) at C:\mengin-git\lib\src\rendering\Renderer.cpp:231
#11 0x69f4f6f4 in Irre::RenderThread::Run (this=0x6055b8) at C:\mengin-git\lib\src\core\RenderThread.cpp:39
#12 0x69f4709c in Irre::Engine::Run (this=0xa43880) at C:\mengin-git\lib\src\core\Engine.cpp:77
#13 0x69f472b4 in Irre::Run () at C:\mengin-git\lib\src\core\Engine.cpp:144
#14 0x004013e5 in main (ac=1, av=0xa43860) at C:\mengin-git\lib\src\runner\main.cpp:11

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/