• Show log

    Commit

  • Hash : f9f45d0b
    Author : Sam Lantinga
    Date : 2018-02-25T19:51:34

    Fixed bug 4097 - Segmentation fault by SDL_CreateThreadWithStackSize
    
    Dongsun Kim
    
    Normal case
    1. [thread 1] SDL_CreateThreadWithStackSize calls SDL_SYS_CreateThread.
    2. [thread 1] If successful, it calls SDL_SemWait.
    3. [thread 2] SDL_RunThread calls SDL_SYS_SetupThread, SDL_ThreadID, SDL_SemPost.
    4. [thread 1] SDL_CreateThreadWithStackSize calls SDL_DestroySemaphore, SDL_free.
    
    Crash case (Segmentation fault)
    1. [thread 1] SDL_CreateThreadWithStackSize calls SDL_SYS_CreateThread.
    2. [thread 1] If successful, it calls SDL_SemWait.
    --> Error return due to SIGNAL(SYSTEM or Real Time) at sem_wait(pthread).
    3. [thread 1] SDL_CreateThreadWithStackSize calls SDL_DestroySemaphore, SDL_free.
    4. [thread 2] SDL_RunThread calls SDL_SYS_SetupThread, SDL_ThreadID, SDL_SemPost.
    --> Segmentation fault at strlen or sem_post.
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/SDL.git
    Git SSH git@git.kmx.io:kc3-lang/SDL.git
    Public access ? public
    Description

    Fork of https://github.com/libsdl-org/SDL

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags

  • README.txt

  •                          Simple DirectMedia Layer
    
                                      (SDL)
    
                                    Version 2.0
    
    ---
    https://www.libsdl.org/
    
    Simple DirectMedia Layer is a cross-platform development library designed
    to provide low level access to audio, keyboard, mouse, joystick, and graphics
    hardware via OpenGL and Direct3D. It is used by video playback software,
    emulators, and popular games including Valve's award winning catalog
    and many Humble Bundle games.
    
    More extensive documentation is available in the docs directory, starting
    with README.md
    
    Enjoy!
    	Sam Lantinga				(slouken@libsdl.org)