Solved gnome-calculator (from pkg & ports) сloses after 1 sec when launched.

1. Before the package update (before the llvm install & update to version 19 a few days ago) the gnome-calculator
worked fine and without problems. It was installed from packages.
Now:
# pkg query -e "%a=1" "%n" | grep llvm
Bash:
llvm19
spirv-llvm-translator-llvm19
2. After
# pkg update && pkg upgrade llvm installed, hooked dependencies, updated several more packages and, most likely, because of this, the calculator immediately closes upon startup. The calculator window freezes for 1 sec. and closes automatically.
Log:
# cat /var/log/messages
Bash:
Mar  4 20:10:40 none kernel: pid 89700 (gnome-calculator), jid 0, uid 0: exited on signal 6 (core dumped)
3. I think this is a bug. See similar posts at the links below.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264344
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227461
4. # freebsd-version -kru
Bash:
14.2-RELEASE-p1
14.2-RELEASE-p1
14.2-RELEASE-p2
5. # pkg info xfce
Bash:
xfce-4.20
5. Deleted:
# rm -rf /root/.cache/gnome-calculator/eurofxref-daily.xml
Didn't help.
6. What I did: removed, reinstalled from the package and from the port. /usr/src and /usr/ports updated via
# git pull -p
Branches:
# git status respectively:
Bash:
On branch releng/14.2
Your branch is up to date with 'freebsd/releng/14.2'
Bash:
On branch 2025Q1
Your branch is up to date with 'origin/2025Q1'
7. How to fix? Not critical. For now I installed elementary-calculator.
8. Thanks.
 
I had the same problem.

Try this in the terminal:

gsettings set org.gnome.calculator refresh-interval 0



The gnome-calculator trys to download currency rates and this doesn't work.

With the above setting you disable this function and the gnome-calculator
starts again.

You can also disable downloading currency rates in the settings menu.
 
Thanks for your help! It helped. Now everything works.
I'll add. I saw an interesting command in this thread. And indeed, these exchange rates...
https://forums.freebsd.org/threads/...gbus-signal-10-before-complete-startup.97047/
# truss -f -a -e -s 256 -o trace gnome-calculator
Bash:
** (gnome-calculator:2438): WARNING **: 08:38:27.296: currency-provider.vala:386: Cannot use ECB rates as don't have EUR rate
WARNING: radv is not a conformant Vulkan implementation, testing use only.
** (gnome-calculator:2438): WARNING **: 08:38:31.357: currency-provider.vala:161: Couldn't download IMF currency rate file: HTTP/2 Error: INTERNAL_ERROR
(gnome-calculator:2438): libsoup-WARNING **: 08:38:31.358: (../libsoup/soup-session.c:334):soup_session_dispose: runtime check failed: (soup_connection_manager_get_num_conns (priv->conn_manager) == 0)
(gnome-calculator:2438): libsoup-WARNING **: 08:38:31.358: (../libsoup/soup-connection-manager.c:78):soup_host_free: runtime check failed: (host->conns == NULL)
GLib (gthread-posix.c): Unexpected error from C library during 'pthread_mutex_lock': Invalid argument.  Aborting.
 
Back
Top