Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
46 user(s) are online (23 user(s) are browsing Forums)

Members: 2
Guests: 44

mufa, BSzili, more...

Headlines

Report message:*
 

Re: SDL2

Subject: Re: SDL2
by Capehill on 2021/4/18 8:24:50

@kas1e

GL4ES has also destructor and there is no priority set in either SDL or GL4ES so I'm guessing SDL destructor ran first and cleared INewlib, then GL4ES tried to print something and it crashed. In stack trace you can see LogPrintf which is part of GL4ES.

It's probably wisest to remove INewlib from static builds at least and otherwise make SDL destructor more robust if INewlib is still required when loading libSDL2.so using elf.library.

EDIT: pushed a commit to the master branch, maybe it helps with that issue.


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project