gnome calculator crash on IMF server error

Bug #2036426 reported by realivanjx
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
GNOME Calculator
Fix Released
Unknown
gnome-calculator (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Description: Ubuntu 23.04
Release: 23.04

gnome-calculator:
  Installed: 1:44.0-1ubuntu1
  Candidate: 1:44.0-1ubuntu1
  Version table:
 *** 1:44.0-1ubuntu1 500
        500 http://mirror.sg.gs/ubuntu lunar/main amd64 Packages
        100 /var/lib/dpkg/status

when i tried to open the app, it crashed immediately with this in the log:

** (gnome-calculator:75655): WARNING **: 19:43:34.821: currency-provider.vala:161: Couldn't download IMF currency rate file: HTTP/2 Error: INTERNAL_ERROR

(gnome-calculator:75655): libsoup-WARNING **: 19:43:34.821: (../libsoup/soup-session.c:334):soup_session_dispose: runtime check failed: (soup_connection_manager_get_num_conns (priv->conn_manager) == 0)

(gnome-calculator:75655): libsoup-WARNING **: 19:43:34.821: (../libsoup/soup-connection-manager.c:84):soup_host_free: runtime check failed: (host->conns == NULL)
Segmentation fault (core dumped)

Revision history for this message
realivanjx (realivanjx) wrote :

works fine after i do this:

dconf write /org/gnome/calculator/refresh-interval 0

Revision history for this message
Nathan Teodosio (nteodosio) wrote (last edit ):

The problem looks to be

     var bodyinput = yield session.send_async (message, 1, new GLib.Cancellable());

That is not the signature of the function and it doesn't return the body input. But: I don't know Vala and could be misinterpreting.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-calculator (Ubuntu):
status: New → Confirmed
Revision history for this message
Jose Gómez (adler-dreamcoder) wrote :

Similar issue here:

    ** (gnome-calculator:58236): WARNING **: 14:38:49.211: currency-provider.vala:386: Cannot use ECB rates as don't have EUR rate

    ** (gnome-calculator:58236): WARNING **: 14:38:49.966: currency-provider.vala:161: Couldn't download IMF currency rate file: HTTP/2 Error: INTERNAL_ERROR

    (gnome-calculator:58236): libsoup-WARNING **: 14:38:49.966: (../libsoup/soup-session.c:334):soup_session_dispose: runtime check failed: (soup_connection_manager_get_num_conns (priv->conn_manager) == 0)

    (gnome-calculator:58236): libsoup-WARNING **: 14:38:49.966: (../libsoup/soup-connection-manager.c:84):soup_host_free: runtime check failed: (host->conns == NULL)
Segmentation fault (core dumped)

I can confirm that doing the following has removed the issue:

    dconf write /org/gnome/calculator/refresh-interval 0

Revision history for this message
Marius Gedminas (mgedmin) wrote :
Changed in gnome-calculator:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.