# dpkg -l | grep gtk ii gtk3-tqt-engine-trinity 4:14.1.0~s12-0ubuntu18.04.0+3~a amd64 GTK3 theme engine for TDE ii gtk-qt-engine-trinity 4:14.1.0~s14-0ubuntu18.04.0+3~a amd64 theme engine using Qt for GTK+ 2.x and Trinity ii gtk-update-icon-cache 3.22.30-1ubuntu1 amd64 icon theme caching utility ii kgtk-qt3-trinity 4:14.1.0~s14-0ubuntu18.04.0+1 amd64 Use TDE dialogs in Gtk apps ii libcanberra-gtk3-0:amd64 0.30-5ubuntu1 amd64 GTK+ 3.0 helper for playing widget event sounds with libcanberra ii libgtk2.0-0:amd64 2.24.32-1ubuntu1 amd64 GTK+ graphical user interface library ii libgtk2.0-bin 2.24.32-1ubuntu1 amd64 programs for the GTK+ graphical user interface library ii libgtk2.0-common 2.24.32-1ubuntu1 all common files for the GTK+ graphical user interface library ii libgtk-3-0:amd64 3.22.30-1ubuntu1 amd64 GTK+ graphical user interface library ii libgtk-3-common 3.22.30-1ubuntu1 all common files for the GTK+ graphical user interface library ii libgtkmm-3.0-1v5:amd64 3.22.2-2 amd64 C++ wrappers for GTK+ (shared libraries)
# /usr/local/ffe60/firefox -P ffe60 (firefox:27799): Gtk-ERROR **: 04:42:18.938: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported ExceptionHandler::GenerateDump cloned child 27805 ExceptionHandler::SendContinueSignalToChild sent continue signal to child ExceptionHandler::WaitForContinueSignal waiting for continue signal... Trace/breakpoint trap (crashreporter:27810): Gtk-ERROR **: 04:42:19.016: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
Anyone recognize whether this is a bug or missing or conflicting package? If missing or conflict, which?
Am Samstag 04 August 2018 schrieb Felix Miata:
# dpkg -l | grep gtk ii gtk3-tqt-engine-trinity 4:14.1.0~s12-0ubuntu18.04.0+3~a amd64 GTK3 theme engine for TDE ii gtk-qt-engine-trinity 4:14.1.0~s14-0ubuntu18.04.0+3~a amd64 theme engine using Qt for GTK+ 2.x and Trinity ii gtk-update-icon-cache 3.22.30-1ubuntu1 amd64 icon theme caching utility ii kgtk-qt3-trinity 4:14.1.0~s14-0ubuntu18.04.0+1 amd64 Use TDE dialogs in Gtk apps ii libcanberra-gtk3-0:amd64 0.30-5ubuntu1 amd64 GTK+ 3.0 helper for playing widget event sounds with libcanberra ii libgtk2.0-0:amd64 2.24.32-1ubuntu1 amd64 GTK+ graphical user interface library ii libgtk2.0-bin 2.24.32-1ubuntu1 amd64 programs for the GTK+ graphical user interface library ii libgtk2.0-common 2.24.32-1ubuntu1 all common files for the GTK+ graphical user interface library ii libgtk-3-0:amd64 3.22.30-1ubuntu1 amd64 GTK+ graphical user interface library ii libgtk-3-common 3.22.30-1ubuntu1 all common files for the GTK+ graphical user interface library ii libgtkmm-3.0-1v5:amd64 3.22.2-2 amd64 C++ wrappers for GTK+ (shared libraries)
# /usr/local/ffe60/firefox -P ffe60 (firefox:27799): Gtk-ERROR **: 04:42:18.938: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported ExceptionHandler::GenerateDump cloned child 27805 ExceptionHandler::SendContinueSignalToChild sent continue signal to child ExceptionHandler::WaitForContinueSignal waiting for continue signal... Trace/breakpoint trap (crashreporter:27810): Gtk-ERROR **: 04:42:19.016: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
Anyone recognize whether this is a bug or missing or conflicting package? If missing or conflict, which?
Hi Felix,
have you tried to remove kgtk-qt3-trinity? Slávek gave me this advise two or three times in the past in similar cases which I don't remember exactly now, but where also gtk2/gtk3-related... For me that solved it, then.
HTH.
Kind regards, Stefan
Stefan Krusche composed on 2018-08-04 12:13 (UTC+0200):
Felix Miata composed:
# dpkg -l | grep gtk
ii gtk3-tqt-engine-trinity 4:14.1.0~s12-0ubuntu18.04.0+3~a amd64 GTK3 theme engine for TDE ii gtk-qt-engine-trinity 4:14.1.0~s14-0ubuntu18.04.0+3~a amd64 theme engine using Qt for GTK+ 2.x and Trinity ii gtk-update-icon-cache 3.22.30-1ubuntu1 amd64 icon theme caching utility ii kgtk-qt3-trinity 4:14.1.0~s14-0ubuntu18.04.0+1 amd64 Use TDE dialogs in Gtk apps ii libcanberra-gtk3-0:amd64 0.30-5ubuntu1 amd64 GTK+ 3.0 helper for playing widget event sounds with libcanberra ii libgtk2.0-0:amd64 2.24.32-1ubuntu1 amd64 GTK+ graphical user interface library ii libgtk2.0-bin 2.24.32-1ubuntu1 amd64 programs for the GTK+ graphical user interface library>> ii libgtk2.0-common 2.24.32-1ubuntu1 all common files for the GTK+ graphical user interface library ii libgtk-3-0:amd64 3.22.30-1ubuntu1 amd64 GTK+ graphical user interface library >> ii libgtk-3-common 3.22.30-1ubuntu1 all common files for the GTK+ graphical user interface library ii libgtkmm-3.0-1v5:amd64 3.22.2-2 amd64 C++ wrappers for GTK+ (shared libraries)
# /usr/local/ffe60/firefox -P ffe60 (firefox:27799): Gtk-ERROR **: 04:42:18.938: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported ExceptionHandler::GenerateDump cloned child 27805 ExceptionHandler::SendContinueSignalToChild sent continue signal to child ExceptionHandler::WaitForContinueSignal waiting for continue signal... Trace/breakpoint trap (crashreporter:27810): Gtk-ERROR **: 04:42:19.016: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
Anyone recognize whether this is a bug or missing or conflicting package? If missing or conflict, which?
have you tried to remove kgtk-qt3-trinity? Slávek gave me this advise two or three times in the past in similar cases which I don't remember exactly now, but where also gtk2/gtk3-related... For me that solved it, then.
Happened to me many times, but I never remember the name of that package. It worked again this time too. Thanks!
Now I need to figure out which package presence or absence is making the Firefox UI inverse colors. :-p
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
(firefox:27799): Gtk-ERROR **: 04:42:18.938: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
You have both gtk2 and gtk3 engine installed and TDE is not happy. TRy removing one of them and it will work. Had the same issue a few weeks ago when I was testing something related to GTK
Cheers Michele
On Saturday 04 Aug 2018 19:38:46 Michele Calgaro wrote:
Am Samstag 04 August 2018 schrieb Felix Miata:
(firefox:27799): Gtk-ERROR **: 04:42:18.938: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
Hello,
I'm running Trinity R14.0.4 installed over Debian 8.7, and I'm very happy with Trinity.
By coincidence, late yesterday and earlier today, I had exactly the same problem as Felix, for a different program. I had installed kgtk-qt3-trinity earlier yesterday, so suspected that might be causing the problem, so I removed that package, and the problem disappeared. Now I have seen Stefan's message, suggesting exactly that.
But after removing kgtk-qt3-trinity, I have a minor new problem: simple Linux programs like cp and diff, in Konsole, give an erroneous error message before their output:
ERROR: ld.so: object '/opt/trinity/lib/kgtk/libkgtk2.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
I have never seen anything like that before, so I think it must be a consequence of installing and then removing kgtk-qt3-trinity. The description of the package says, "This is an LD_PRELOAD hack ... ." Purging the package has not fixed the problem. The erroneous error message appears in Konsole- Trinity, Konsole-KDE4, UXTerm, and XTerm, all running in Trinity.
The Linux programs, e.g. cp and diff, still seem to be working properly, so it is probably not a serious issue. The erroneous error messages just clutter up the Konsole window.
You have both gtk2 and gtk3 engine installed and TDE is not happy. TRy removing one of them and it will work. Had the same issue a few weeks ago when I was testing something related to GTK
I cannot remove gtk2-engines or gtk3-engines*, because:
root@debian:/home/chris/Debian# dpkg --no-act -r gtk2-engines dpkg: dependency problems prevent removal of gtk2-engines:amd64: gnome-core depends on gtk2-engines (>= 2.20.2).
dpkg: error processing package gtk2-engines:amd64 (--remove): dependency problems - not removing Errors were encountered while processing: gtk2-engines:amd64
root@debian:/home/chris/Debian# dpkg --no-act -r gtk3-engines dpkg: warning: ignoring request to remove gtk3-engines which isn't installed
root@debian:/home/chris/Debian# dpkg --no-act -r gtk3-engines-oxygen dpkg: warning: ignoring request to remove gtk3-engines-oxygen which isn't installed
root@debian:/home/chris/Debian# dpkg --no-act -r gtk3-engines-xfce dpkg: warning: ignoring request to remove gtk3-engines-xfce which isn't installed
(gtk3-engines without -something does not seem to be a Debian Jessie package, at the moment.) I don't use Gnome, although I have some Gnome applications installed, so I could possibly remove gnome-core and reinstall kgtk-qt3- trinity, if there's no other way to fix the problem with the erroneous error message. But I wondered if there might be some way to clean up the removal of kgtk-qt3-trinity.
With best regards, Chris Austin
On Sat August 4 2018 10:50:22 Chris Austin wrote:
But after removing kgtk-qt3-trinity, I have a minor new problem: simple Linux programs like cp and diff, in Konsole, give an erroneous error message before their output:
ERROR: ld.so: object '/opt/trinity/lib/kgtk/libkgtk2.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Is it possible that you have not rebooted (or restarted Trinity) after removing kgtk-qt3-trinity?
--Mike
On Saturday 04 Aug 2018 11:24:35 Mike Bird wrote:
On Sat August 4 2018 10:50:22 Chris Austin wrote:
But after removing kgtk-qt3-trinity, I have a minor new problem: simple Linux programs like cp and diff, in Konsole, give an erroneous error message before their output:
ERROR: ld.so: object '/opt/trinity/lib/kgtk/libkgtk2.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Is it possible that you have not rebooted (or restarted Trinity) after removing kgtk-qt3-trinity?
--Mike
Yes, you are absolutely right. I had to reboot just now, due to a problem, (extremely rare in Trinity), and to my surprise, I found that those erroneous error messages no longer appear. Sorry about the false alarm.
Best regards, Chris
On 08/04/2018 05:38 AM, Michele Calgaro wrote:
(firefox:27799): Gtk-ERROR **: 04:42:18.938: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
You have both gtk2 and gtk3 engine installed and TDE is not happy. TRy removing one of them and it will work. Had the same issue a few weeks ago when I was testing something related to GTK
Cheers Michele
Michelle,
Is there a fix for this -- or ... what needs to be fixed? This will become more and more of a problem as Gtk+ apps move from Gtk+2 to Gtk+3 and disable support for Gtk+2 themes.
My question is why should an application care if both the Gtk+2 and Gtk+3 TDE kconfig engine options are set for each to use TDE colors, fonts, etc...? The application will either be Gtk+2 or Gtk+3, but not both.
I'll admit I'm not up to speed on the issue, but I build several package that rely on Gtk+2 and some with Gtk+3 (with the option to enable which to use through the Makefile or .spec).
I can see why an app wouldn't want to be told twice "Hey use this set of colors/fonts, then again no-wait use this set...", but that shouldn't happen as the app with either be one or the other. What does that mean for TDE where there will still be a mix of Gtk+2 apps and Gtk+3 apps installed?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
On 2018/08/05 05:20 AM, David C. Rankin wrote:
Is there a fix for this -- or ... what needs to be fixed? This will become more and more of a problem as Gtk+ apps move from Gtk+2 to Gtk+3 and disable support for Gtk+2 themes.
Hi David, you are right, the behavior doesn't sound right and we probably need to investigate and make a fix for it. New bug report created. https://bugs.pearsoncomputing.net/show_bug.cgi?id=2956
Cheers Michele