Bug#878505: gnome-control-center: network settings seldom crashes on opening VPN options

James Cowgill jcowgill at debian.org
Sat Oct 21 11:09:29 UTC 2017


Control: retitle -1 gnome-control-center: network settings crashes on opening VPN options
Control: severity -1 important

Hi,

On Sat, 14 Oct 2017 10:49:10 +0200 definetti <lord at brianzaest.it> wrote:
> Package: gnome-control-center
> Version: 1:3.26.1-2
> Severity: normal
> 
> Dear Maintainer,
> 
> when trying to access the vpn options dialog, the application crashes.
> 
> Steps to reproduce: open gnome-control-center, go to "network" tab and try to
> open an installed VPN options (gear icon)
> 
> Expected behavior: options dialog opens
> 
> Real behavior: application crashes with error
> 
> (gnome-control-center:9164): GLib-GObject-CRITICAL **:
> g_type_instance_get_private: assertion 'instance != NULL && instance->g_class
> != NULL' failed
> 
> (gnome-control-center:9164): GLib-GObject-CRITICAL **: g_object_ref: assertion
> 'G_IS_OBJECT (object)' failed
> 
> Notes: it rarely occurs that the settings dialog opens properly

I just hit this bug too. It only happens when opening an existing VPN
(as opposed to a VPN added in the current gnome-control-center session).
It is 100% reproducible in that case.

Here is a backtrace which might help. As you can see, the assertion is
generated from the updated_cb function in libnm. I have no idea if this
is a network-manager or gnome-control-center bug though.


(gnome-control-center:20302): GLib-GObject-CRITICAL **: g_type_instance_get_private: assertion 'instance != NULL && instance->g_class != NULL' failed

Thread 1 "gnome-control-c" received signal SIGTRAP, Trace/breakpoint trap.
_g_log_abort (breakpoint=breakpoint at entry=1) at ../../../../glib/gmessages.c:554
554	../../../../glib/gmessages.c: No such file or directory.
(gdb) thread apply all bt

Thread 6 (Thread 0x7fffbffff700 (LWP 20310)):
#0  0x00007ffff0030219 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff05967ba in g_cond_wait_until (cond=cond at entry=0x7fffc8003f18, mutex=mutex at entry=0x7fffc8003f10, end_time=end_time at entry=13888883828)
    at ../../../../glib/gthread-posix.c:1442
#2  0x00007ffff05252e1 in g_async_queue_pop_intern_unlocked (queue=queue at entry=0x7fffc8003f10, wait=wait at entry=1, end_time=end_time at entry=13888883828) at ../../../../glib/gasyncqueue.c:422
#3  0x00007ffff052589c in g_async_queue_timeout_pop (queue=0x7fffc8003f10, timeout=timeout at entry=15000000) at ../../../../glib/gasyncqueue.c:543
#4  0x00007ffff057909e in g_thread_pool_wait_for_new_pool () at ../../../../glib/gthreadpool.c:167
#5  0x00007ffff057909e in g_thread_pool_thread_proxy (data=<optimized out>) at ../../../../glib/gthreadpool.c:364
#6  0x00007ffff05785f5 in g_thread_proxy (data=0x5555565985e0) at ../../../../glib/gthread.c:784
#7  0x00007ffff02f0494 in start_thread (arg=0x7fffbffff700) at pthread_create.c:333
#8  0x00007ffff0034abf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 5 (Thread 0x7fffc77fe700 (LWP 20309)):
#0  0x00007ffff002b66d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ffff0551119 in g_main_context_poll (priority=<optimized out>, n_fds=3, fds=0x7fffb80010c0, timeout=<optimized out>, context=0x7fffc8014d40) at ../../../../glib/gmain.c:4187
#2  0x00007ffff0551119 in g_main_context_iterate (context=0x7fffc8014d40, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>)
    at ../../../../glib/gmain.c:3881
#3  0x00007ffff05514b2 in g_main_loop_run (loop=0x7fffc8016c20) at ../../../../glib/gmain.c:4082
#4  0x00007ffff0b3aad6 in gdbus_shared_thread_func (user_data=0x7fffc8014d10) at ../../../../gio/gdbusprivate.c:275
#5  0x00007ffff05785f5 in g_thread_proxy (data=0x555555b60f20) at ../../../../glib/gthread.c:784
#6  0x00007ffff02f0494 in start_thread (arg=0x7fffc77fe700) at pthread_create.c:333
#7  0x00007ffff0034abf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 4 (Thread 0x7fffc7fff700 (LWP 20308)):
#0  0x00007ffff002b66d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ffff0551119 in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x7fffc00008c0, timeout=<optimized out>, context=0x7fffc8004000) at ../../../../glib/gmain.c:4187
#2  0x00007ffff0551119 in g_main_context_iterate (context=context at entry=0x7fffc8004000, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3881
#3  0x00007ffff055122c in g_main_context_iteration (context=0x7fffc8004000, may_block=may_block at entry=1) at ../../../../glib/gmain.c:3947
#4  0x00007ffff0551271 in glib_worker_main (data=<optimized out>) at ../../../../glib/gmain.c:5742
---Type <return> to continue, or q <return> to quit---
#5  0x00007ffff05785f5 in g_thread_proxy (data=0x555555b60e80) at ../../../../glib/gthread.c:784
#6  0x00007ffff02f0494 in start_thread (arg=0x7fffc7fff700) at pthread_create.c:333
#7  0x00007ffff0034abf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 3 (Thread 0x7fffccaa5700 (LWP 20307)):
#0  0x00007ffff002b66d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ffff0551119 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fffc80010e0, timeout=<optimized out>, context=0x555555b67920) at ../../../../glib/gmain.c:4187
#2  0x00007ffff0551119 in g_main_context_iterate (context=context at entry=0x555555b67920, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3881
#3  0x00007ffff055122c in g_main_context_iteration (context=0x555555b67920, may_block=1) at ../../../../glib/gmain.c:3947
#4  0x00007fffccaad42d in  () at /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#5  0x00007ffff05785f5 in g_thread_proxy (data=0x555555b608f0) at ../../../../glib/gthread.c:784
#6  0x00007ffff02f0494 in start_thread (arg=0x7fffccaa5700) at pthread_create.c:333
#7  0x00007ffff0034abf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 2 (Thread 0x7fffcda3b700 (LWP 20306)):
#0  0x00007ffff02f615f in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fffda339a6c in std::condition_variable::wait(std::unique_lock<std::mutex>&) () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#2  0x00007fffec3c1c33 in bmalloc::Scavenger::threadRunLoop() () at /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18
#3  0x00007fffda33f72f in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007ffff02f0494 in start_thread (arg=0x7fffcda3b700) at pthread_create.c:333
#5  0x00007ffff0034abf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 1 (Thread 0x7ffff7f47ac0 (LWP 20302)):
#0  0x00007ffff0556911 in _g_log_abort (breakpoint=breakpoint at entry=1) at ../../../../glib/gmessages.c:554
#1  0x00007ffff0557bfb in g_logv (log_domain=0x7ffff0856c7b "GLib-GObject", log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>, args=args at entry=0x7fffffffcf70) at ../../../../glib/gmessages.c:1362
#2  0x00007ffff0557d4f in g_log (log_domain=log_domain at entry=0x7ffff0856c7b "GLib-GObject", log_level=log_level at entry=G_LOG_LEVEL_CRITICAL, format=format at entry=0x7ffff05a2bc4 "%s: assertion '%s' failed") at ../../../../glib/gmessages.c:1403
#3  0x00007ffff0558299 in g_return_if_fail_warning (log_domain=log_domain at entry=0x7ffff0856c7b "GLib-GObject", pretty_function=pretty_function at entry=0x7ffff085f110 <__func__.14070> "g_type_instance_get_private", expression=expression at entry=0x7ffff085e330 "instance != NULL && instance->g_class != NULL") at ../../../../glib/gmessages.c:2702
#4  0x00007ffff085106a in g_type_instance_get_private (instance=instance at entry=0x5555562c76f0, private_type=<optimized out>)
---Type <return> to continue, or q <return> to quit---
    at ../../../../gobject/gtype.c:4715
#5  0x00007ffff2d2ad29 in updated_cb (proxy=<optimized out>, user_data=0x5555562c76f0) at libnm/nm-remote-connection.c:609
#6  0x00007fffdd214038 in ffi_call_unix64 () at ../src/x86/unix64.S:76
#7  0x00007fffdd213a9a in ffi_call (cif=cif at entry=0x7fffffffd250, fn=fn at entry=0x7ffff2d2ad10 <updated_cb>, rvalue=<optimized out>, avalue=avalue at entry=0x7fffffffd180) at ../src/x86/ffi64.c:525
Python Exception <class 'gdb.error'> There is no member named v_pointer.: 
#11 0x00007ffff08449f0 in #12 0x00007ffff2d7cced in nmdbus_settings_connection_proxy_g_signal (proxy=<optimized out>, sender_name=<optimized out>, signal_name=<optimized out>, parameters=<optimized out>) at introspection/org.freedesktop.NetworkManager.Settings.Connection.c:1754
#13 0x00007fffdd214038 in ffi_call_unix64 () at ../src/x86/unix64.S:76
#14 0x00007fffdd213a9a in ffi_call (cif=cif at entry=0x7fffffffd820, fn=fn at entry=0x7ffff2d7cbd0 <nmdbus_settings_connection_proxy_g_signal>, rvalue=<optimized out>, avalue=avalue at entry=0x7fffffffd710) at ../src/x86/ffi64.c:525
#19 0x00007ffff0846378 in <emit signal 0x7ffff0bab083 "g-signal" on instance 0x5555564d8a10 [NMDBusSettingsConnectionProxy]> (instance=instance at entry=0x5555564d8a10, detailed_signal=detailed_signal at entry=0x7ffff0bab083 "g-signal") at ../../../../gobject/gsignal.c:3487
    #15 0x00007ffff082a799 in g_cclosure_marshal_generic (closure=0x7fffc800be70, return_gvalue=0x0, n_param_values=<optimized out>, param_values=<optimized out>, invocation_hint=<optimized out>, marshal_data=<optimized out>) at ../../../../gobject/gclosure.c:1490
    #16 0x00007ffff0829f9d in g_closure_invoke (closure=0x7fffc800be70, return_value=0x0, n_param_values=4, param_values=0x7fffffffda50, invocation_hint=0x7fffffffd9d0) at ../../../../gobject/gclosure.c:804
    #17 0x00007ffff083c728 in signal_emit_unlocked_R (node=node at entry=0x7fffc800bea0, detail=detail at entry=0, instance=instance at entry=0x5555564d8a10, emission_return=emission_return at entry=0x0, instance_and_params=instance_and_params at entry=0x7fffffffda50) at ../../../../gobject/gsignal.c:3673
    #18 0x00007ffff0845485 in g_signal_emit_valist (instance=instance at entry=0x5555564d8a10, signal_id=signal_id at entry=29, detail=0, var_args=var_args at entry=0x7fffffffdc98) at ../../../../gobject/gsignal.c:3391
#20 0x00007ffff0b4605d in signal_cb (connection=<optimized out>, sender_name=0x7fffb8018560 ":1.902", object_path=<optimized out>, interface_name=<optimized out>, signal_name=0x7fffb8040fc0 "Updated", parameters=0x7fffb803ca70, user_data=0x5555564319a0)
    at ../../../../gio/gdbusobjectmanagerclient.c:1072
#21 0x00007ffff0b26814 in emit_signal_instance_in_idle_cb (data=0x7fffb8032c60) at ../../../../gio/gdbusconnection.c:3720
#22 0x00007ffff0550dd5 in g_main_dispatch (context=0x555555b61960) at ../../../../glib/gmain.c:3148
#23 0x00007ffff0550dd5 in g_main_context_dispatch (context=context at entry=0x555555b61960) at ../../../../glib/gmain.c:3813
#24 0x00007ffff05511a0 in g_main_context_iterate (context=context at entry=0x555555b61960, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at ../../../../glib/gmain.c:3886
#25 0x00007ffff055122c in g_main_context_iteration (context=context at entry=0x555555b61960, may_block=may_block at entry=1)
    at ../../../../glib/gmain.c:3947
#26 0x00007ffff0b0ebed in g_application_run (application=0x555555ba7660 [CcApplication], argc=<optimized out>, argv=<optimized out>)
    at ../../../../gio/gapplication.c:2401
#27 0x00005555555a8051 in main (argc=<optimized out>, argv=<optimized out>) at main.c:57

Thanks,
James

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20171021/5e6380bb/attachment-0001.sig>


More information about the pkg-gnome-maintainers mailing list