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

Game crash: Segmentation fault in SortArray<RasterizerGLES2::RenderList::Element*, RasterizerGLES2::RenderList::SortZ>::introsort() #1233

Closed
ScyDev opened this issue Jan 16, 2015 · 2 comments

Comments

@ScyDev
Copy link
Contributor

ScyDev commented Jan 16, 2015

Suddenly, during playing this happens:

Program received signal SIGSEGV, Segmentation fault.
0x0815ef6b in SortArray<RasterizerGLES2::RenderList::Element*, RasterizerGLES2::RenderList::SortZ>::introsort(int, int, RasterizerGLES2::RenderList::Element**, int) const ()
(gdb) backtrace
#0  0x0815ef6b in SortArray<RasterizerGLES2::RenderList::Element*, RasterizerGLES2::RenderList::SortZ>::introsort(int, int, RasterizerGLES2::RenderList::Element**, int) const ()
#1  0x08148b29 in RasterizerGLES2::end_scene() ()
#2  0x08b0f085 in VisualServerRaster::_render_camera(VisualServerRaster::Viewport*, VisualServerRaster::Camera*, VisualServerRaster::Scenario*) ()
#3  0x08b10fb1 in VisualServerRaster::_draw_viewport(VisualServerRaster::Viewport*, int, int, int, int) ()
#4  0x08b11631 in VisualServerRaster::_draw_viewports() ()
#5  0x08b118ef in VisualServerRaster::draw() ()
#6  0x08058dfc in Main::iteration() ()
#7  0x08055f05 in OS_X11::run() ()
#8  0x0805213c in main ()
(gdb) 
@akien-mga
Copy link
Member

Were you able to trigger this issue reliably, and can you still reproduce it in the current master branch?

@akien-mga akien-mga changed the title Game crash: Segmentation fault. 0x0815ef6b in SortArray<RasterizerGLES2::RenderList::Element Game crash: Segmentation fault in SortArray<RasterizerGLES2::RenderList::Element*, RasterizerGLES2::RenderList::SortZ>::introsort() Nov 6, 2015
@akien-mga
Copy link
Member

Closing, as without steps to reproduce or a test project there's not much that can be done to fix this potential bug. Feel free to reopen or open a new issue if you can reproduce a segfault with a similar backtrace.

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

2 participants