Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libSDL2-2.0.so.0 - bug in some application using the D-Bus library. #2734

Closed
SDLBugzilla opened this issue Feb 11, 2021 · 0 comments
Closed

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

These attachments are available in the static archive:

Reported in version: 2.0.7
Reported for operating system, platform: Linux, All

Comments on the original bug report:

On 2017-11-24 03:23:22 +0000, coringao wrote:

Created attachment 3099
SDL2 - dbus_current_generation

It has DBus critical error in SDL2, after closing the program.


sistemaids@debian:/github/jag$./bin/jag
dbus[2545]: arguments to dbus_connection_ref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file ../../../dbus/dbus-connection.c line 2688.
This is normally a bug in some application using the D-Bus library.
sistemaids@debian:
/github/jag$

Running 'gdb' on the program results in this problem.


sistemaids@debian:~/github/jag/bin$ gdb ./jag
GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./jag...(no debugging symbols found)...done.
(gdb) break dbus_shutdown
Function "dbus_shutdown" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (dbus_shutdown) pending.
(gdb) run
Starting program: /home/sistemaids/github/jag/bin/jag
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe7080700 (LWP 28073)]
[New Thread 0x7fffde677700 (LWP 28074)]
[New Thread 0x7fffdde76700 (LWP 28075)]
[New Thread 0x7fffcffff700 (LWP 28076)]
[New Thread 0x7fffe404f700 (LWP 28078)]
[New Thread 0x7fffe408f700 (LWP 28079)]
[New Thread 0x7fffbf5c4700 (LWP 28080)]
[Thread 0x7fffe408f700 (LWP 28079) exited]
[Thread 0x7fffe404f700 (LWP 28078) exited]

Thread 1 "jag" hit Breakpoint 1, 0x00007fffee4c73e0 in dbus_shutdown () from /lib/x86_64-linux-gnu/libdbus-1.so.3
(gdb) bt

0 0x00007fffee4c73e0 in dbus_shutdown () from /lib/x86_64-linux-gnu/libdbus-1.so.3

1 0x00007ffff784af39 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0

2 0x00007ffff7833876 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0

3 0x00007ffff779a6d5 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0

4 0x00007ffff779a808 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0

5 0x0000555555565aa9 in main ()

(gdb)

Thanks!

On 2018-08-07 17:11:01 +0000, Ryan C. Gordon wrote:

I believe this was probably fixed by several D-Bus improvements recently, if not specifically by removing the call to dbus_shutdown() in Bug # 3950.

--ryan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant