[Bug 1772471] Re: [SRU] Bug in SDL2 blocks Unity-based games
@mudinlove, this might be a different issue, please open a new bug. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1772471 Title: [SRU] Bug in SDL2 blocks Unity-based games To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1772471/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1772471] Re: [SRU] Bug in SDL2 blocks Unity-based games
I still got similar issue when run CDDA: --- ./cataclysm-launcher dbus[6581]: arguments to dbus_message_new_method_call() were incorrect, assertion "path != NULL" failed in file ../../../dbus/dbus-message.c line 1362. 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) --- I have upgraded the libsdl2 to this version (2.0.8+dfsg1-1ubuntu1.18.04.1): --- apt-cache show libsdl2-2.0-0 Package: libsdl2-2.0-0 Architecture: i386 Version: 2.0.8+dfsg1-1ubuntu1.18.04.1 Multi-Arch: same Priority: optional Section: universe/libs Source: libsdl2 Origin: Ubuntu Maintainer: Ubuntu Developers Original-Maintainer: Debian SDL packages maintainers Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 1249 Depends: libasound2 (>= 1.0.27), libc6 (>= 2.27), libpulse0 (>= 0.99.1), libsndio6.1 (>= 1.1.0), libwayland-client0 (>= 1.9.91), libwayland-cursor0 (>= 1.0.2), libwayland-egl1-mesa (>= 10.0.2) | libwayland-egl1, libx11-6 (>= 2:1.2.99.901), libxcursor1 (>> 1.1.2), libxext6, libxi6 (>= 2:1.2.99.4), libxinerama1, libxkbcommon0 (>= 0.5.0), libxrandr2 (>= 2:1.2.99.3), libxss1, libxxf86vm1 Conflicts: libsdl-1.3-0 Replaces: libsdl-1.3-0 Filename: pool/universe/libs/libsdl2/libsdl2-2.0-0_2.0.8+dfsg1-1ubuntu1.18.04.1_i386.deb Size: 383652 MD5sum: 9fda33c5f6ec98313f62ec3e0f6cfe36 SHA1: f1fc8a330baca873bf436316cce10a4ab831e0d8 SHA256: bcd85071947d8601e50e44c9008b9b4dac2765583ef6bf8c5fce7049bdf1751b Homepage: https://www.libsdl.org/ Description-en: Simple DirectMedia Layer SDL is a library that allows programs portable low level access to a video framebuffer, audio output, mouse, and keyboard. . This version of SDL is compiled with X11 and Wayland graphics drivers and OSS, ALSA, sndio and PulseAudio sound drivers. Description-md5: d559f821a8f0d5e89c678fe44650c80c Task: kubuntu-desktop, kubuntu-full, lubuntu-gtk-desktop, lubuntu-desktop, lubuntu-qt-desktop, ubuntustudio-video, ubuntustudio-graphics, ubuntustudio-audio, ubuntukylin-desktop, ubuntu-budgie-desktop Supported: 3y Package: libsdl2-2.0-0 Architecture: i386 Version: 2.0.8+dfsg1-1ubuntu1 Multi-Arch: same Priority: optional Section: universe/libs Source: libsdl2 Origin: Ubuntu Maintainer: Ubuntu Developers Original-Maintainer: Debian SDL packages maintainers Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 1249 Depends: libasound2 (>= 1.0.27), libc6 (>= 2.27), libpulse0 (>= 0.99.1), libsndio6.1 (>= 1.1.0), libwayland-client0 (>= 1.9.91), libwayland-cursor0 (>= 1.0.2), libwayland-egl1-mesa (>= 10.0.2) | libwayland-egl1, libx11-6 (>= 2:1.2.99.901), libxcursor1 (>> 1.1.2), libxext6, libxi6 (>= 2:1.2.99.4), libxinerama1, libxkbcommon0 (>= 0.5.0), libxrandr2 (>= 2:1.2.99.3), libxss1, libxxf86vm1 Conflicts: libsdl-1.3-0 Replaces: libsdl-1.3-0 Filename: pool/universe/libs/libsdl2/libsdl2-2.0-0_2.0.8+dfsg1-1ubuntu1_i386.deb Size: 383256 MD5sum: 013a266824586b6697d65c83fdbd37c6 SHA1: 4fbdf2acb5a110a8d375d6b490fb1d4421d097c6 SHA256: fa2e4d6a17baa887f450dd3cf59d985d9bab9095c4912887e53f3c4e6c78b785 Homepage: https://www.libsdl.org/ Description-en: Simple DirectMedia Layer SDL is a library that allows programs portable low level access to a video framebuffer, audio output, mouse, and keyboard. . This version of SDL is compiled with X11 and Wayland graphics drivers and OSS, ALSA, sndio and PulseAudio sound drivers. Description-md5: d559f821a8f0d5e89c678fe44650c80c Task: kubuntu-desktop, kubuntu-full, lubuntu-gtk-desktop, lubuntu-desktop, lubuntu-qt-desktop, ubuntustudio-video, ubuntustudio-graphics, ubuntustudio-audio, ubuntukylin-desktop, ubuntu-budgie-desktop Supported: 3y -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1772471 Title: [SRU] Bug in SDL2 blocks Unity-based games To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1772471/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1772471] Re: [SRU] Bug in SDL2 blocks Unity-based games
I'd prefer to see a verification report that includes the package version string tested as requested before releasing to Artful please, especially since there are multiple versions and an override involved here, and people upgrading between them, which I think makes an error in what I'm releasing vs. what was tested more likely. Other SRU team members' views may vary. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1772471 Title: [SRU] Bug in SDL2 blocks Unity-based games To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1772471/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1772471] Re: [SRU] Bug in SDL2 blocks Unity-based games
This bug was fixed in the package libsdl2 - 2.0.8+dfsg1-1ubuntu1.18.04.1 --- libsdl2 (2.0.8+dfsg1-1ubuntu1.18.04.1) bionic; urgency=medium * debian/patches/SDL2-dynapi-symbol-resolution-fix.patch: cherry-pick upstream fix for Unity-based games shipping bundled libsdl2 version (LP: #1772471) - thanks Ryan Gordon for the patch and help! -- Gianfranco Costamagna Tue, 22 May 2018 09:24:20 +0200 ** Changed in: libsdl2 (Ubuntu Bionic) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1772471 Title: [SRU] Bug in SDL2 blocks Unity-based games To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1772471/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1772471] Re: [SRU] Bug in SDL2 blocks Unity-based games
Could you please check and write here which versions of libsdl2 have been used during testing? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1772471 Title: [SRU] Bug in SDL2 blocks Unity-based games To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1772471/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1772471] Re: [SRU] Bug in SDL2 blocks Unity-based games
I switched the main system to bionic, but forgot to update the bug thanks! ** Tags removed: verification-needed-bionic ** Tags added: verification-done-bionic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1772471 Title: [SRU] Bug in SDL2 blocks Unity-based games To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1772471/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1772471] Re: [SRU] Bug in SDL2 blocks Unity-based games
Is this also verification-done for bionic? We can't release the artful update until the bionic update is also ready (to avoid regressions when people update from artful to bionic). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1772471 Title: [SRU] Bug in SDL2 blocks Unity-based games To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1772471/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1772471] Re: [SRU] Bug in SDL2 blocks Unity-based games
I'm using it correctly ** Tags removed: verification-needed verification-needed-artful ** Tags added: verification-done verification-done-artful -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1772471 Title: [SRU] Bug in SDL2 blocks Unity-based games To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1772471/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1772471] Re: [SRU] Bug in SDL2 blocks Unity-based games
Hello Ryan, or anyone else affected, Accepted libsdl2 into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/libsdl2/2.0.8+dfsg1-1ubuntu1.18.04.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: libsdl2 (Ubuntu Bionic) Status: In Progress => Fix Committed ** Tags added: verification-needed verification-needed-bionic ** Changed in: libsdl2 (Ubuntu Artful) Status: In Progress => Fix Committed ** Tags added: verification-needed-artful -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1772471 Title: [SRU] Bug in SDL2 blocks Unity-based games To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1772471/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1772471] Re: [SRU] Bug in SDL2 blocks Unity-based games
This bug was fixed in the package libsdl2 - 2.0.8+dfsg1-1ubuntu2 --- libsdl2 (2.0.8+dfsg1-1ubuntu2) cosmic; urgency=medium * debian/patches/SDL2-dynapi-symbol-resolution-fix.patch: cherry-pick upstream fix for Unity-based games shipping bundled libsdl2 version (LP: #1772471) - thanks Ryan Gordon for the patch and help! -- Gianfranco CostamagnaTue, 22 May 2018 09:24:20 +0200 ** Changed in: libsdl2 (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1772471 Title: [SRU] Bug in SDL2 blocks Unity-based games To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1772471/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1772471] Re: [SRU] Bug in SDL2 blocks Unity-based games
** Description changed: + [ Impact ] + * people using unity3d and steam games, with bundled sdl2 libraries + [ Regression Potential ] + * Low, this is part of the upcoming new release, and the request comes from upstream + + [ Steps to reproduce ] ("Unity" here refers to the video game engine at https://unity3d.com/ and not Ubuntu's Unity project.) There is a bug in SDL2 that causes Unity-based games to fail in certain configurations. The basic idea is that Unity is statically linked to SDL, and then a plugin also links dynamically to SDL, and the dynamically loaded version accidentally resolves an important symbol to the address in the statically linked version, causing chaos. You can see this happen in the game Firewatch ( https://store.steampowered.com/app/383870/Firewatch/ ). This bug will trigger if the game dynamically loads an SDL2 version > 2.0.5. Steam ships their own copy of SDL in their "steam runtime," but will favor a system-installed version if available, which means that Ubuntu is probably having this problem for users that have the libsdl2 package installed since release 17.10, which is the first to ship SDL 2.0.6. Debian Stretch is still on 2.0.5 and probably not triggering this bug quite yet. The upstream fix is simple, and should apply cleanly to any SDL version that is 2.0.3 or later. https://hg.libsdl.org/SDL/rev/7babfecee045 I _think_ all Unity titles are x86-64 binaries, so this doesn't affect every architecture, but the SDL2 patch is correct for any target worth pushing an update for. This fix will be in SDL 2.0.9, but we don't have a timetable for that release yet, so I thought it might be worth encouraging distros to apply that one patch to their current SDL2 packages in the meantime, to make sure Firewatch and other games work out of the box. Steps to Reproduce: 1. Install x86-64 Ubuntu 17.10 or later 2. Install Ubuntu's libsdl2 package. 3. Install Steam ( https://store.steampowered.com/ or maybe a distro-specific package ) 3. Install Firewatch via Steam (if you need a copy, we can supply it) 4. Launch Firewatch - Actual Results: + Actual Results: Game launches, possibly makes an OpenGL window without rendering anything into it, and then either crashes or hangs indefinitely. Be prepared to kill the process if necessary. - Expected Results: + Expected Results: Game launches and gets to its main menu. One can also bypass this bug with the environment variable SDL_DYNAMIC_API=/path/to/where/ubuntu/installed/libSDL2-2.0.so.0, but we'd encourage you to just update the SDL package with the patch. Thanks for your time! --ryan. ** Changed in: libsdl2 (Ubuntu Artful) Status: New => In Progress ** Changed in: libsdl2 (Ubuntu Bionic) Status: New => In Progress ** Changed in: libsdl2 (Ubuntu Bionic) Assignee: (unassigned) => LocutusOfBorg (costamagnagianfranco) ** Changed in: libsdl2 (Ubuntu Artful) Assignee: (unassigned) => LocutusOfBorg (costamagnagianfranco) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1772471 Title: [SRU] Bug in SDL2 blocks Unity-based games To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1772471/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1772471] Re: [SRU] Bug in SDL2 blocks Unity-based games
** Summary changed: - Bug in SDL2 blocks Unity-based games + [SRU] Bug in SDL2 blocks Unity-based games -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1772471 Title: [SRU] Bug in SDL2 blocks Unity-based games To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libsdl2/+bug/1772471/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs