Thanks Charlie for having a look, I thought — the documentation is
missing[1] — the guard

  g_return_val_if_fail (GST_IS_DEVICE (device), NULL);

was supposed to prevent a crash instead of triggering one, but indeed I
found elsewhere that 'the program is considered to be in an undefined
state afterwards'[2].

As such just checking ourselves if that is actually a valid device
should suffice. Can you please check whether the error is still
reproducible after installing from the following PPA?

 https://launchpad.net/~nteodosio/+archive/ubuntu/pidgin

[1]https://docs.gtk.org/glib/func.return_val_if_fail.html
[2]https://docs.gtk.org/glib/warnings.html#pre-condition-assertions

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2136313

Title:
  Pidgin crashed with SIGSEGV in g_type_check_instance_is_a()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pidgin/+bug/2136313/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to