GNOME Bugzilla – Bug 640302
vala segfaults if string template is used as argument to Bus.get_proxy_sync
Last modified: 2018-05-22 13:52:28 UTC
Created attachment 179063 [details] benchmark triggering valac segfault This is segfault on a valid code. Each of the following calls (part of attached vala file triggering the error): // each of following lines segfaults valac o = Bus.get_proxy_sync(BusType.SESSION, @"org.freedesktop.DBus", "/"); o = Bus.get_proxy_sync(BusType.SESSION, "org.freedesktop.DBus", @"/"); It segfaults for valac 0.10.0, 0.10.4 and 0.10.5. Here is gdb backtrace of segfaulting compilation using valac 0.11.5: $ LANG=C gdb --silent --args valac --pkg gio-2.0 segfault.vala Reading symbols from /home/lupan/local/bin/valac...done. (gdb) r Starting program: /home/lupan/local/bin/valac --pkg gio-2.0 segfault.vala [Thread debugging using libthread_db enabled] Program received signal SIGSEGV, Segmentation fault. 0xb7d4fc4c in vala_data_type_get_actual_type (self=0x0, derived_instance_type=0x0, method_access=0x8a0ac08, node_reference=0x8a01140) at valadatatype.c:1778 1778 return VALA_DATA_TYPE_GET_CLASS (self)->get_actual_type (self, derived_instance_type, method_access, node_reference); (gdb) bt
+ Trace 225653
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/vala/issues/159.