[Xfce-bugs] [Bug 15104] New: Crash at startup: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Wed Jan 30 00:11:57 CET 2019


https://bugzilla.xfce.org/show_bug.cgi?id=15104

            Bug ID: 15104
           Summary: Crash at startup: GTK+ 2.x symbols detected. Using
                    GTK+ 2.x and GTK+ 3 in the same process is not
                    supported
    Classification: Xfce Core
           Product: Xfce4-session
           Version: Unspecified
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: General
          Assignee: xfce-bugs at xfce.org
          Reporter: alexxcons at xfce.org
  Target Milestone: Xfce 4.14

Created attachment 8275
  --> https://bugzilla.xfce.org/attachment.cgi?id=8275&action=edit
ldd of /usr/local/bin/xfce4-session

I want to install xfce4 master from source on a debain stretch system.
I can build and install everything, however xfce4-session crashes on startup (
Login screen refuses to let me in )

If I boot into recovery root console and start xfce4-session "by hand" as user
(/usr/local/bin/xfce4-session), I get the following error:
Gtk-Error **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same
process is not supported
...

This is the related backtrace:
(gdb) bt
#0  0x00007fe7ce6ee261 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fe7ce6f09a1 in g_log_writer_default () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe7ce6eedfc in g_log_structured_array () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe7ce6ef0f9 in g_log_structured () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fe7d008334f in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#5  0x00007fe7ce6f4790 in g_option_context_parse () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fe7d0083803 in gtk_init_with_args () from
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#7  0x00005645386b3114 in main (argc=<optimized out>, argv=<optimized out>) at
main.c:340

However if I uninstall the self-build xfce4-session, so that I can login again,
I cannot reproduce the bug.
If start xfce4-session from the source folder, 'gtk_init_with_args' is executed
fine. (Exiting with: "Another session manager is already running")

So I assume that I miss some configuration which needs to be present during
startup.

Any idea / proposal is welcome !

Attached he "ldd" of the installed /usr/local/bin/xfce4-session.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list