[Qt-interest] suid program with Qt4.7 assertion in gdbusconnection

Abdelrazak Younes younes.abdel at gmail.com
Thu Nov 25 08:11:23 CET 2010


  On 25/11/2010 02:18, Abdelrazak Younes wrote:
> On 24/11/2010 14:18, Thiago Macieira wrote:
>> Em Quarta-feira, 24 de Novembro de 2010, às 13:55:28, Abdelrazak Younes
>> escreveu:
>>>    Hi there,
>>>
>>> I have a big head breaking issue:
>>>
>>> I have a program that is setuid rood (chmod 4555). With Qt4.6 under
>>> ubuntu 10.04, I can run this program without problem. With Qt4.7.0 
>>> under
>>> ubuntu 10.10 this is what I get:
>>>
>>> **
>>> GLib-GIO:ERROR:/build/buildd/glib2.0-2.26.0/gio/gdbusconnection.c:2270:init 
>>>
>>> able_init: assertion failed: (connection->initialization_error == NULL)
>>> Aborted
>>>
>>> Any solution (except recompiling Qt without dbus support)?
>>
>> That has nothing to do with Qt's support for D-Bus. In fact, your 
>> problem has
>> nothing to do with Qt at all.
>>
>> QtDBus doesn't use gdbus.
>
> Well I don't use gdbus nor glib directly (I know that QtCore is 
> generally compiled with glib support). My program is pure Qt ands runs 
> well on Windows and other Linux distribution. OK, well, then I guess 
> it is a ubuntu problem... That's really bad.

In case this happen to someone else, installing kubuntu-desktop and 
fully desinstalling gnome fixed the issue for me.

Abdel.




More information about the Qt-interest-old mailing list