generation == _dbus_current_generation" failed in file dbus-connection.c line 2686. This is n"> generation == _dbus_current_generation" failed in file dbus-connection.c line 2686. This is n">
MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002704VCMILauncherpublic2017-06-27 15:462017-08-24 02:21
Reporterz3bu 
Assigned ToSXX 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionfixed 
Platformx86_64OSArchlinuxOS Version4.9.34-1-lts
Product Version0.99 
Target VersionFixed in Version1.next 
Summary0002704: Vcmilauncher doesn't start
DescriptionI am having difficulties with the vcmi Launcher[1]. I built vcmi for the git repository. I am getting this error.

process 12666: arguments to dbus_connection_ref() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file dbus-connection.c line 2686.
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

The problem doesn't appear when it is launched with root (so yeah dbus).
A similar problem occurs on the mupen64 project [2] - It is said that if Qt is build without the SDL2 support the problem is fixed. The package works for ubuntu and fedora (it just prints errors) but it crashes for Arch and Gentoo. So this issue is probably not related to the project and I may have to report it to the Qt and SDL projects.

I was only able to locate the problem in sdldisplayquery.cpp in the function getDisplays(). I am able to use the launcher if I comment the lines:

if(SDL_Init(SDL_INIT_VIDEO))
return QStringList("default display");

Another solution is to replace the whole function by:
return QStringList("default display");

[1] Newbie in bug report here
[2] https://github.com/mupen64plus/mupen64plus-ui-python/issues/91 [^]
Steps To ReproduceStart vcmilauncher - (Archlinux or Gentoo)
Additional Informationqt5-base 5.9.0-2
sdl2 2.0.5-3
(sdl 1.2.15-8 installed too)
dbus 1.10.18-1

Nothing interesting in the Launcher log (still attached)
TagsNo tags attached.
Attached Filestxt file icon VCMI_Launcher_log.txt [^] (5,279 bytes) 2017-06-27 15:46 [Show Content]

- Relationships
duplicate of 0002674resolvedSXX vcmilauncher gives dbus errors 

-  Notes
(0007106)
z3bu (reporter)
2017-07-07 12:33

This issue doesn't happen with the 0.99 version. But with the latest vcmi sources on git.
(0007234)
SXX (administrator)
2017-08-24 01:14
edited on: 2017-08-24 01:57

Ok now I understant why I didn't manage to reproduce it. End up is that Ubuntu have DBus assets as non-fatal by default and proper backtrace could be gathered using:

DBUS_FATAL_WARNINGS=1

(0007235)
SXX (administrator)
2017-08-24 02:21

I just dropped SDL2 usage from launcher and implemented same feature with Qt functions:
https://github.com/vcmi/vcmi/commit/1110dd27d1e2be63a9edb3b90a6f90c228913ca8 [^]

- Issue History
Date Modified Username Field Change
2017-06-27 15:46 z3bu New Issue
2017-06-27 15:46 z3bu File Added: VCMI_Launcher_log.txt
2017-07-07 12:33 z3bu Note Added: 0007106
2017-07-22 12:06 SXX Assigned To => SXX
2017-07-22 12:06 SXX Status new => assigned
2017-07-22 12:06 SXX Relationship added duplicate of 0002674
2017-08-24 01:14 SXX Note Added: 0007234
2017-08-24 01:57 SXX Note Edited: 0007234 View Revisions
2017-08-24 02:21 SXX Note Added: 0007235
2017-08-24 02:21 SXX Status assigned => resolved
2017-08-24 02:21 SXX Fixed in Version => 1.next
2017-08-24 02:21 SXX Resolution open => fixed

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean