pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/56763: dbus related (?) crash in xfce4-session



>Number:         56763
>Category:       pkg
>Synopsis:       dbus related (?) crash in xfce4-session
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 19 15:30:01 +0000 2022
>Originator:     Martin Husemann
>Release:        NetBSD 9.99.94
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD martins.aprisoft.de 9.99.94 NetBSD 9.99.94 (GENERIC) #113: Fri Mar 18 18:40:25 CET 2022 martin%martins.aprisoft.de@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:

I start xfce4 from xdm (from base/xsrc) with .xsession looking like this:

--8<--
#! /bin/sh

eval `dbus-launch --sh-syntax --exit-with-session`
exec startxfce4
-->8--

Since the latest pkgsrc update this makes xfce4-session crash:

Core was generated by `xfce4-session'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  xfsm_manager_get_shutdown_type (manager=manager@entry=0x0) at xfsm-manager.c:1934
1934      return manager->shutdown_type;
[Current thread is 1 (process 536)]
(gdb) bt
#0  xfsm_manager_get_shutdown_type (manager=manager@entry=0x0) at xfsm-manager.c:1934
#1  0x000000018be1ae90 in name_lost (connection=<optimized out>, name=<optimized out>, user_data=<optimized out>) at main.c:219
#2  0x0000764b8890d735 in call_lost_handler () from /usr/pkg/lib/libgio-2.0.so.0
#3  0x0000764b8890db2c in connection_get_cb () from /usr/pkg/lib/libgio-2.0.so.0
#4  0x0000764b888ac589 in g_task_return_now () from /usr/pkg/lib/libgio-2.0.so.0
#5  0x0000764b888ad122 in g_task_return.part () from /usr/pkg/lib/libgio-2.0.so.0
#6  0x0000764b888fe7db in bus_get_async_initable_cb () from /usr/pkg/lib/libgio-2.0.so.0
#7  0x0000764b888ac589 in g_task_return_now () from /usr/pkg/lib/libgio-2.0.so.0
#8  0x0000764b888ac5d1 in complete_in_idle_cb () from /usr/pkg/lib/libgio-2.0.so.0
#9  0x0000764b8804eb01 in g_main_context_dispatch () from /usr/pkg/lib/libglib-2.0.so.0
#10 0x0000764b8804ee39 in g_main_context_iterate.constprop () from /usr/pkg/lib/libglib-2.0.so.0
#11 0x0000764b8804f107 in g_main_loop_run () from /usr/pkg/lib/libglib-2.0.so.0
#12 0x0000764b8aa3d459 in gtk_main () from /usr/pkg/lib/libgtk-3.so.0
#13 0x000000018be2e0c7 in main (argc=<optimized out>, argv=<optimized out>) at main.c:358
(gdb) list
1929    
1930    
1931    XfsmShutdownType
1932    xfsm_manager_get_shutdown_type (XfsmManager *manager)
1933    {
1934      return manager->shutdown_type;
1935    }

and manager is NULL. It should have come from 

203     static void
204     name_lost (GDBusConnection *connection,
205                const gchar *name,
206                gpointer user_data)
207     {
208       XfsmManager      *manager = XFSM_MANAGER (user_data);
209       GError           *error = NULL;
210       XfsmShutdownType  shutdown_type;
211       XfsmShutdown     *shutdown_helper;
212       gboolean          succeed = TRUE;

(but unfortunately all details are optimized out)

>How-To-Repeat:
s/a

>Fix:
n/a



Home | Main Index | Thread Index | Old Index