Results 1 to 9 of 9

Thread: clanlib3.0 GUI Program crashed

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default clanlib3.0 GUI Program crashed

    crash info:
    Name:  crash code.png
Views: 50
Size:  9.7 KB
    Name:  stack.png
Views: 51
Size:  13.5 KB

    only gui Program crashed

    computer info:
    winxp sp3, graphics card: mobile intel 965 express chipset family, support opengl2.0

    how to fix
    any way can check support before crash
    Last edited by kyelin; 05-21-2015 at 09:42 AM.

  2. #2
    ClanLib Developer
    Join Date
    May 2007


    Please can you verify that the attachment works, I am getting "Invalid Attachment specified".

  3. #3


    ho! sorry, I had submit image again
    and today i got another crash

    > atioglxx.dll!69368c80()
    game.exe!clan::GL1FrameBufferProvider::sync_pbuffe r() line 263 C++
    game.exe!clan::GL1FrameBufferProvider::attach_colo r(const std::queue<ClientPacket *,std::deque<ClientPacket *,std::allocator<ClientPacket *> > > & attachment_index=0) line 118 C++

    code postion
    file: gl1_frame_buffer_provider.cpp
    func: void GL1FrameBufferProvider::sync_pbuffer()
    crashed when call glBindTexture(GL_TEXTURE_2D, 0);
    Last edited by kyelin; 05-23-2015 at 06:36 AM.

  4. #4
    ClanLib Developer
    Join Date
    May 2007


    I see from that screen shot that you are using ClanLib 3.0

    The crash appears in sync_pbuffer, that's the GL1 (legacy GL) clanGL target, for OpenGL that is less than 3.2

    Looking at the GIT logs, the framebuffer handling has had some bug fixes, for example:
    It's possible, that you might have to manually apply these.

    Personally, I would avoid using clanGUI. It was removed in clanlib 4.0. Although it works, it was too complex, replaced with clanUI.
    However, clanUI doesn't support legacy GL. It supports the Direct3D target, that your card might support.

    Sorry, I can't be more help.

  5. #5


    Thank you all the same, i confirmed the GL1FrameBufferProvider was latest.

    is possible to post clanUI to ClanLib3.0 for i have to use vs2010?

  6. #6
    ClanLib Developer
    Join Date
    May 2007


    It would be possible, but to be honest, it is not something that I would personally attempt.

    clanUI requires OpenGL 3.2 (for the path drawing). Although this could be stripped out, you would loose the CSS style rendering.

    Porting from ClanLib 3.x to ClanLib 4.x should be simple, as long as you have a C++11 compiler.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts