Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832936 - gnome-extra/gnome-calendar-41.2: crashes when you try to add a calendar via https
Summary: gnome-extra/gnome-calendar-41.2: crashes when you try to add a calendar via h...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-08 14:21 UTC by Norman Rieß
Modified: 2023-10-26 15:41 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Norman Rieß 2022-02-08 14:21:18 UTC
gnome-extra/gnome-calendar-41.2 crashes when you try to add/import a calendar via https.
After typing the ":" after https gnome-calendar crashes with the following error message.

(gnome-calendar:24737): libsoup-CRITICAL **: 15:11:49.668: soup_host_uri_hash: assertion 'uri != NULL && uri->host != NULL' failed

(gnome-calendar:24737): GLib-GObject-CRITICAL **: 15:11:49.668: object SoupAddress 0xffff78002dc0 finalized while still in-construction

(gnome-calendar:24737): GLib-GObject-CRITICAL **: 15:11:49.668: Custom constructor for class SoupAddress returned NULL (which is invalid). Please use GInitable instead.

(gnome-calendar:24737): libsoup-CRITICAL **: 15:11:49.668: soup_host_uri_hash: assertion 'uri != NULL && uri->host != NULL' failed

(gnome-calendar:24737): libsoup-CRITICAL **: 15:11:49.668: soup_host_uri_hash: assertion 'uri != NULL && uri->host != NULL' failed

(gnome-calendar:24737): libsoup-CRITICAL **: 15:11:49.668: soup_host_uri_equal: assertion 'one->host != NULL && two->host != NULL' failed

(gnome-calendar:24737): GLib-GObject-CRITICAL **: 15:11:49.684: object SoupAddress 0xffff78002e20 finalized while still in-construction

(gnome-calendar:24737): GLib-GObject-CRITICAL **: 15:11:49.684: Custom constructor for class SoupAddress returned NULL (which is invalid). Please use GInitable instead.

(gnome-calendar:24737): GLib-GObject-CRITICAL **: 15:11:49.684: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(gnome-calendar:24737): libsoup-CRITICAL **: 15:11:49.684: soup_socket_connect_sync_internal: assertion 'priv->remote_addr != NULL' failed

(gnome-calendar:24737): GLib-Net-CRITICAL **: 15:11:49.684: g_tls_connection_gnutls_initable_init: assertion '!!base_io_stream != !!base_socket' failed
**
GLib-Net:ERROR:../glib-networking-2.70.1/tls/base/gtlsconnection-base.c:2437:g_tls_connection_base_close_internal: code should not be reached
Bail out! GLib-Net:ERROR:../glib-networking-2.70.1/tls/base/gtlsconnection-base.c:2437:g_tls_connection_base_close_internal: code should not be reached


Reproducible: Always

Steps to Reproduce:
1. Start gnome-calendar
2. Got to Manage your Calendars
3. Got to Manage your Calendars.. (again)
4. Got to Add Calendar...
5. Under Import a Calendar type "https:" 
6. Right after typing the ":" gnome-calendar is gone.
Actual Results:  
Crash:

(gnome-calendar:24737): libsoup-CRITICAL **: 15:11:49.668: soup_host_uri_hash: assertion 'uri != NULL && uri->host != NULL' failed

(gnome-calendar:24737): GLib-GObject-CRITICAL **: 15:11:49.668: object SoupAddress 0xffff78002dc0 finalized while still in-construction

(gnome-calendar:24737): GLib-GObject-CRITICAL **: 15:11:49.668: Custom constructor for class SoupAddress returned NULL (which is invalid). Please use GInitable instead.

(gnome-calendar:24737): libsoup-CRITICAL **: 15:11:49.668: soup_host_uri_hash: assertion 'uri != NULL && uri->host != NULL' failed

(gnome-calendar:24737): libsoup-CRITICAL **: 15:11:49.668: soup_host_uri_hash: assertion 'uri != NULL && uri->host != NULL' failed

(gnome-calendar:24737): libsoup-CRITICAL **: 15:11:49.668: soup_host_uri_equal: assertion 'one->host != NULL && two->host != NULL' failed

(gnome-calendar:24737): GLib-GObject-CRITICAL **: 15:11:49.684: object SoupAddress 0xffff78002e20 finalized while still in-construction

(gnome-calendar:24737): GLib-GObject-CRITICAL **: 15:11:49.684: Custom constructor for class SoupAddress returned NULL (which is invalid). Please use GInitable instead.

(gnome-calendar:24737): GLib-GObject-CRITICAL **: 15:11:49.684: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(gnome-calendar:24737): libsoup-CRITICAL **: 15:11:49.684: soup_socket_connect_sync_internal: assertion 'priv->remote_addr != NULL' failed

(gnome-calendar:24737): GLib-Net-CRITICAL **: 15:11:49.684: g_tls_connection_gnutls_initable_init: assertion '!!base_io_stream != !!base_socket' failed
**
GLib-Net:ERROR:../glib-networking-2.70.1/tls/base/gtlsconnection-base.c:2437:g_tls_connection_base_close_internal: code should not be reached
Bail out! GLib-Net:ERROR:../glib-networking-2.70.1/tls/base/gtlsconnection-base.c:2437:g_tls_connection_base_close_internal: code should not be reached


Expected Results:  
Add a calendar.

I run this not in a Gnome, but in a XFCE4 environment.
Comment 1 Jonas Stein gentoo-dev 2022-02-08 20:55:57 UTC
there are 49 open tickets with "crash" in the title.
https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues?scope=all&state=opened&search=crash

Is this report one of these?
Perhaps this one?
https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/674

To me it sounds like 
a bug in the software provided upstream [3].
Does the same source work for you on another distribution?
If it works on other distributions, but not on Gentoo Linux, I suggest to discuss this problem 
on a related mailing list, forum or IRC channel. I have had very good experience on the 
Gentoo IRC [1], of course there are also forums and mailing lists. [2]


[1] https://www.gentoo.org/get-involved/irc-channels/
[2] https://www.gentoo.org/support/
[3] look up the upstream forums; search in their bug tracker
Comment 2 Norman Rieß 2022-02-11 12:47:35 UTC
None of them seem to be a complete match.
I created an upstream bugreport.

https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/794
Comment 3 Pacho Ramos gentoo-dev 2023-10-26 15:41:17 UTC
It should be solved by upstream in current releases