Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Possible Bug SFML 2.0 RC [Solved]  (Read 1734 times)

0 Members and 1 Guest are viewing this topic.

sfml_fan

  • Newbie
  • *
  • Posts: 8
    • View Profile
Possible Bug SFML 2.0 RC [Solved]
« on: July 09, 2012, 12:19:19 pm »
I'm not sure where to report this.  Sometimes exiting will lead to a seg fault.  Using gdb, I am getting the following backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x0000003a3ea7925c in _int_free (av=0x3a3ed951e0, p=0x31fa7a0, have_lock=0) at malloc.c:4973
4973      unlink(nextchunk, bck, fwd);
(gdb) backtrace
#0  0x0000003a3ea7925c in _int_free (av=0x3a3ed951e0, p=0x31fa7a0, have_lock=0) at malloc.c:4973
#1  0x00007ffff70628ac in _mesa_reference_buffer_object (ctx=0x28f6d00, ptr=0x7fffffffd908, bufObj=0x0) at main/bufferobj.c:279
#2  0x00007ffff6fb7b3e in delete_bufferobj_cb (id=<optimized out>, data=<optimized out>, userData=0x28f6d00) at main/shared.c:206
#3  0x00007ffff6f8a517 in _mesa_HashDeleteAll (table=0x268ee00, callback=0x7ffff6fb7b00 <delete_bufferobj_cb>, userData=0x28f6d00) at main/hash.c:295
#4  0x00007ffff6fb7e3b in free_shared_state (shared=0x2661100, ctx=0x28f6d00) at main/shared.c:345
#5  _mesa_release_shared_state (ctx=0x28f6d00, shared=0x2661100) at main/shared.c:418
#6  0x00007ffff6f5e1a9 in _mesa_free_context_data (ctx=0x28f6d00) at main/context.c:1145
#7  0x00007ffff6ff334d in st_destroy_context (st=0x2928910) at state_tracker/st_context.c:255
#8  0x00007ffff6f37c1d in dri_destroy_context (cPriv=<optimized out>) at dri_context.c:135
#9  0x00007ffff6f17ba0 in driDestroyContext (pcp=0x26cad50) at ../common/dri_util.c:588
#10 0x0000003c5544e545 in dri2_destroy_context (context=0x275edd0) at dri2_glx.c:129
#11 0x00007ffff7932b70 in sf::priv::GlxContext::~GlxContext() () from /usr/local/lib/libsfml-window.so.2
#12 0x00007ffff7932bf9 in sf::priv::GlxContext::~GlxContext() () from /usr/local/lib/libsfml-window.so.2
#13 0x00007ffff792ec67 in sf::priv::GlContext::globalCleanup() () from /usr/local/lib/libsfml-window.so.2
#14 0x00007ffff792ef5d in sf::GlResource::~GlResource() () from /usr/local/lib/libsfml-window.so.2
#15 0x00000000004026ad in main () at main.cpp:114

Is this just an issue with my video driver?

Linux
VGA compatible controller: ATI Technologies Inc M96 [Mobility Radeon HD 4650]
« Last Edit: July 17, 2012, 12:54:58 pm by sfml_fan »

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Possible Bug SFML 2.0 RC
« Reply #1 on: July 09, 2012, 12:22:27 pm »
Can you show a complete and minimal code that reproduces this problem?
Laurent Gomila - SFML developer

sfml_fan

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Possible Bug SFML 2.0 RC
« Reply #2 on: July 17, 2012, 12:54:29 pm »
It was my fault, I believe.

I am trying to use VBOs in my application and something about window.close, if called before I release the vbo memory seemed to be giving me issues.

Thanks!

 

anything