Description of problem:
Any graphical application compiled against SDL2 crashes in startup (coredump) with following error:
dbus: arguments to dbus_type_is_basic() were incorrect, assertion "dbus_type_is_valid (typecode) || typecode == DBUS_TYPE_INVALID" failed in file ../../dbus/dbus-signature.c line 323.
This is normally a bug in some application using the D-Bus library.
D-Bus not built with -rdynamic so unable to print a backtrace
Aborted (core dumped)
Version-Release number of selected component (if applicable):
Start any opengl application using SDL2
Steps to Reproduce:
1. Install neverball
2. try to run it
1. Download source code of very basic opengl SDL2 app from here:
2. Install dependencies (g++, SDL2-devel, freeglut-devel)
3. compile app with:
g++ main.cpp -I /usr/include/SDL2/ -lSDL2 -lGL
4. run app with:
Application crashes with coredump
Application should run
I have tried compiling several SDL2 based apps and all of them are crashing with exactly the same error. For example vice 3.0 (use --with-sdlui2) or fs-uae both are having same problem.
Also, neverball installed from Fedora repos seems to crash with same error, so this seems to be problem in all opengl SDL2 apps.
Fedora 27, latest updates installed as in September 28th.
I have laptop with Intel + Nvidia GPU. Result seems to be same regardless which driver is in use (tested Nvidia driver from negativo repo and pure opensource one).
Is this more related to UDEV than SDL2?
interesting that I can't reproduce this on rawhide (which has same version of SDL2)....
Can I produce more logs? This is new Fedora 27 installation (beta compose 1.3).
OK, I just did clean install of Fedora 27 (beta compose 1.3), under KVM virtual machine, using Vmware virtual GPU.
Installed neverball, and it worked fine.
Then, I upgraded Fedora to newest level with dnf upgrade.
Reboot, and after reboot, I got same error and coredump.
This is https://bugzilla.libsdl.org/show_bug.cgi?id=3854 and
it can be reproduced on F20/x86_64 too. I first thought that
it is related to IME, but unset'ing XMODIFIERS does not seem
to remove the issue.
*** Bug 1497483 has been marked as a duplicate of this bug. ***
A fix is suggested at https://bugzilla.libsdl.org/show_bug.cgi?id=3854#c7
This is fixed by http://hg.libsdl.org/SDL/rev/dc7245e3d1f2
SDL2-2.0.6-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-567bca6531
(In reply to Ozkan Sezer from comment #8)
> This is fixed by http://hg.libsdl.org/SDL/rev/dc7245e3d1f2
Thanks a lot and sorry for delay!
SDL2-2.0.6-2.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-567bca6531
SDL2-2.0.6-2.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.